OSDN Git Service

* expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Only use conversion
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Apr 2010 16:16:50 +0000 (16:16 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:35:20 +0000 (14:35 +0900)
between modes if both types are integral.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158675 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/testsuite/ChangeLog

index e67fc91..eb7d2fd 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-23  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Only use conversion
+       between modes if both types are integral.
+
 2010-04-23  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/43572
index d0723cb..517bf62 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-23  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/unchecked_convert5.adb: New test.
+
 2010-04-23  Richard Guenther  <rguenther@suse.de>
 
        PR lto/41734