OSDN Git Service

* gimple.c (gimple_types_compatible_p) <ARRAY_TYPE>: Treat bounds of
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 May 2010 12:06:57 +0000 (12:06 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:03:41 +0000 (14:03 +0900)
domain types as equal if they are both PLACEHOLDER_EXPRs.

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

gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/lto6.adb

index b3097a6..735c120 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-08  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gimple.c (gimple_types_compatible_p) <ARRAY_TYPE>: Treat bounds of
+       domain types as equal if they are both PLACEHOLDER_EXPRs.
+
 2010-05-08  Richard Guenther  <rguenther@suse.de>
 
        * lto-wrapper.c (run_gcc): Remove linker output from
index 85dd6b9..b0d26f1 100644 (file)
@@ -1,5 +1,10 @@
 2010-05-08  Eric Botcazou  <ebotcazou@adacore.com>
 
+       * gnat.dg/lto6.adb: New test.
+       * gnat.dg/lto6_pkg.ads: New helper.
+
+2010-05-08  Eric Botcazou  <ebotcazou@adacore.com>
+
        * gnat.dg/lto5.adb: New test.
        * gnat.dg/lto5_pkg.ad[sb]: New helper.
 
index f8cbf4d..f3d4841 100644 (file)
@@ -1,5 +1,5 @@
 -- { dg-do run }
--- { dg-options "-O2 -flto" { target lto } }
+-- { dg-options "-gnat05 -O2 -flto" }
 
 with Lto6_Pkg; use Lto6_Pkg;