* expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: For a bit-field
commitfc0bb78b0c166626a9be6988707825660807e7ef
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Feb 2014 14:45:16 +0000 (19 14:45 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Feb 2014 14:45:16 +0000 (19 14:45 +0000)
treeac0e212d9e729fb65c18549463678f0d9037031a
parentb9b03799fa559d095373088ebbda65a51bd8fbc2
* expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: For a bit-field
destination type, extract only the valid bits if the source type is not
integral and has a different mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207902 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt31.adb [new file with mode: 0644]