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 04:47:18 +0000 (13:47 +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 c7eecfb..6b5feae 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 dacc10e..fc5f35f 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