[Bug c++/29059] [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator ""[0];)

2006-09-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-13 16:17 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug c++/29059] [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator ""[0];)

2006-09-13 Thread janis at gcc dot gnu dot org
--- Comment #2 from janis at gcc dot gnu dot org 2006-09-13 18:13 --- A regression hunt on powerpc-linux identified the following patch: http://gcc.gnu.org/viewcvs?view=rev&rev=116656 r116656 | jakub | 2006-09-02 06:55:09 + (Sat, 02 Sep 2006) Interestingly enough, I've bee

[Bug c++/29059] [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator ""[0];)

2006-09-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-13 18:34 --- (In reply to comment #2) > A regression hunt on powerpc-linux identified the following patch: This is what I was expecting actually, I might look at this later, we might just need a fold (read from constant string)

[Bug c++/29059] [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator ""[0];)

2006-09-13 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2006-09-13 21:33 --- Here's a C testcase: [EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O -Wwrite-strings bsdgames-input.c bsdgames-input.c: In function 'rezero': bsdgames-input.c:15: error: invalid operand to unary operator ""[0]; bsd

[Bug c++/29059] [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator ""[0];)

2006-09-13 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-09-14 04:11 --- *** Bug 29070 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/29059] [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator ""[0];)

2006-09-13 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-09-14 04:12 --- Mine I have a patch. set_rhs forgets to reject MODIFY_EXPRs right away. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -