While testing the current gcc trunk with... Index: opts.c =================================================================== --- opts.c (revision 162966) +++ opts.c (working copy) @@ -781,6 +781,9 @@
/* -O2 optimizations. */ opt2 = (optimize >= 2); +#ifdef HAVE_cloog + flag_graphite_identity = opt2; +#endif flag_inline_small_functions = opt2; flag_indirect_inlining = opt2; flag_partial_inlining = opt2; ...number of failures appear associated with lto... FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c compilation, -O2 -flto (internal compiler error) FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c compilation, -O2 -fwhopr (internal compiler error) FAIL: gcc.c-torture/execute/builtins/memmove-chk.c compilation, -O2 -flto (internal compiler error) FAIL: gcc.c-torture/execute/builtins/memmove-chk.c compilation, -O2 -fwhopr (internal compiler error) FAIL: gcc.c-torture/execute/builtins/mempcpy-chk.c compilation, -O2 -flto (internal compiler error) FAIL: gcc.c-torture/execute/builtins/mempcpy-chk.c compilation, -O2 -fwhopr (internal compiler error) FAIL: gcc.c-torture/execute/builtins/memset-chk.c compilation, -O2 -flto (internal compiler error) FAIL: gcc.c-torture/execute/builtins/memset-chk.c compilation, -O2 -fwhopr (internal compiler error) FAIL: gcc.c-torture/execute/builtins/strncpy-chk.c compilation, -O2 -flto (internal compiler error) FAIL: gcc.c-torture/execute/builtins/strncpy-chk.c compilation, -O2 -fwhopr (internal compiler error) FAIL: gcc.c-torture/execute/builtins/strstr-asm.c compilation, -O2 -fwhopr FAIL: gcc.c-torture/execute/991016-1.c compilation, -O2 -flto (internal compiler error) FAIL: gcc.c-torture/execute/991016-1.c compilation, -O2 -fwhopr (internal compiler error) These are all of the form... Executing on host: /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/ /sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100821/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk.c /sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100821/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk-lib.c /sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100821/gcc/testsuite/gcc.c-torture/execute/builtins/lib/main.c -w -O2 -flto -lm -m32 -o /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/testsuite/gcc/memcpy-chk.x8 (timeout = 300) /sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100821/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk.c: In function 'test3': /sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100821/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk.c:249:1: internal compiler error: in get_alias_set, at alias.c:701 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: gcc.c-torture/execute/builtins/memcpy-chk.c -O2 -flto, etc ICEs with -fgraphite-identity Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45368