This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29059] [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator ""[0];)
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2007 11:49:09 -0000
- Subject: [Bug tree-optimization/29059] [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator ""[0];)
- References: <bug-29059-13019@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from jakub at gcc dot gnu dot org 2007-06-26 11:49 -------
Subject: Bug 29059
Author: jakub
Date: Tue Jun 26 11:48:55 2007
New Revision: 126024
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126024
Log:
PR tree-opt/29059
* tree-ssa-propagate.c (set_rhs): Reject MODIFY_EXPR right
away for the expr argument.
* gcc.c-torture/compile/strcpy-1.c: New test.
* gcc.c-torture/compile/strcpy-2.c: New test.
* gcc.c-torture/compile/memcpy-1.c: New test.
* gcc.c-torture/compile/memcpy-2.c: New test.
Added:
branches/redhat/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/memcpy-1.c
branches/redhat/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/memcpy-2.c
branches/redhat/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/strcpy-1.c
branches/redhat/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/strcpy-2.c
Modified:
branches/redhat/gcc-4_1-branch/gcc/ChangeLog
branches/redhat/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/redhat/gcc-4_1-branch/gcc/tree-ssa-propagate.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29059