This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/45230] gcc.c-torture/execute/strncmp-1.c ICEs with -fgraphite-identity
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2010 18:39:49 -0000
- Subject: [Bug middle-end/45230] gcc.c-torture/execute/strncmp-1.c ICEs with -fgraphite-identity
- References: <bug-45230-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from zsojka at seznam dot cz 2010-09-15 18:39 -------
You are right, it still fails in the graphite branch, though with different
ICE:
(r164299, x86_64-linux)
$ gcc gcc/testsuite/gcc.c-torture/execute/strncmp-1.c -Os -m32
gcc/testsuite/gcc.c-torture/execute/strncmp-1.c: In function 'test':
gcc/testsuite/gcc.c-torture/execute/strncmp-1.c:37:5: warning: incompatible
implicit declaration of built-in function 'abort' [enabled by default]
gcc/testsuite/gcc.c-torture/execute/strncmp-1.c: In function 'main':
gcc/testsuite/gcc.c-torture/execute/strncmp-1.c:139:3: warning: incompatible
implicit declaration of built-in function 'exit' [enabled by default]
gcc/testsuite/gcc.c-torture/execute/strncmp-1.c:44:1: error: Invalid first
operand of MEM_REF.
&u1.buf
gcc/testsuite/gcc.c-torture/execute/strncmp-1.c:79:12: note: in statement
# .MEM_120 = VDEF <.MEM_12>
MEM[(unsigned char *)&u1.buf] = 0;
gcc/testsuite/gcc.c-torture/execute/strncmp-1.c:44:1: error: Invalid first
operand of MEM_REF.
&u2.buf
gcc/testsuite/gcc.c-torture/execute/strncmp-1.c:80:12: note: in statement
# .MEM_119 = VDEF <.MEM_120>
MEM[(unsigned char *)&u2.buf] = 0;
gcc/testsuite/gcc.c-torture/execute/strncmp-1.c:44:1: internal compiler error:
verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45230