Command line: $ g++ -fgraphite-identity -m32 -Os id-19.c Compiler output: $ /mnt/svn/gcc-trunk/binary-160165-lto-fortran/bin/g++ -fgraphite-identity -m32 -Os id-19.c id-19.c: In function 'void byte_insert_op1(unsigned char*, unsigned char*)': id-19.c:1:6: internal compiler error: in build2_stat, at tree.c:3670 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r160165 - crash r160122 - crash r159696 - crash r158095 - crash r153685 - OK 4.5 r158978 - OK Reduced testcase (not much different from gcc.dg/graphite/id-19.c) ------------------------------ void byte_insert_op1 (unsigned char *loc, unsigned char *end, unsigned *pto) { while (end != loc) *pto = *--end; } ------------------------------
Mine.
Patch http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01519.html
Subject: Bug 44391 Author: spop Date: Tue Jun 15 19:11:59 2010 New Revision: 160803 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160803 Log: Fix PR44391: use size_one_node for pointer types. 2010-06-15 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/44391 * graphite-clast-to-gimple.c (graphite_create_new_loop_guard): Use size_one_node for pointer types. Do not call gmp_cst_to_tree. * gcc.dg/graphite/pr44391.c: New. Added: trunk/gcc/testsuite/gcc.dg/graphite/pr44391.c Modified: trunk/gcc/ChangeLog trunk/gcc/graphite-clast-to-gimple.c trunk/gcc/testsuite/ChangeLog
Fixed.