[Bug tree-optimization/27830] [4.1/4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator)

2006-06-13 Thread rguenth at gcc dot gnu dot org


--- Comment #9 from rguenth at gcc dot gnu dot org  2006-06-13 07:22 ---
Subject: Bug 27830

Author: rguenth
Date: Tue Jun 13 07:22:04 2006
New Revision: 114600

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114600
Log:
2006-06-13  Richard Guenther  <[EMAIL PROTECTED]>

PR tree-optimization/27830
* tree-inline.c (copy_body_r): For copying the operand
of an ADDR_EXPR make sure to fold &* afterwards.

* g++.dg/tree-ssa/pr27830.C: New testcase.

Added:
trunk/gcc/testsuite/g++.dg/tree-ssa/pr27830.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-inline.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27830



[Bug tree-optimization/27830] [4.1/4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator)

2006-06-08 Thread patchapp at dberlin dot org


--- Comment #8 from patchapp at dberlin dot org  2006-06-08 08:26 ---
Subject: Bug number PR27830

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-06/msg00385.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27830



[Bug tree-optimization/27830] [4.1/4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator)

2006-06-07 Thread rguenth at gcc dot gnu dot org


--- Comment #7 from rguenth at gcc dot gnu dot org  2006-06-07 20:37 ---
I have a fix.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2006-05-31 07:53:03 |2006-06-07 20:37:18
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27830



[Bug tree-optimization/27830] [4.1/4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator)

2006-06-07 Thread rguenth at gcc dot gnu dot org


--- Comment #6 from rguenth at gcc dot gnu dot org  2006-06-07 19:51 ---
I guess the patch uncovered a latent problem due to different inlining.  I will
have a look though.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27830



[Bug tree-optimization/27830] [4.1/4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator)

2006-06-07 Thread janis at gcc dot gnu dot org


--- Comment #5 from janis at gcc dot gnu dot org  2006-06-07 18:23 ---
A regression hunt on powerpc-linux with the testcase in comment #3 identified
this mainline patch:

http://gcc.gnu.org/viewcvs?view=rev&rev=112709

r112709 | rguenth | 2006-04-05 15:41:18 + (Wed, 05 Apr 2006)

The same patch was added to the 4.1 branch a couple of days later, so I assume
it's also the cause of the failure there.  GCC 4.1.0 does not fail.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27830



[Bug tree-optimization/27830] [4.1/4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator)

2006-06-07 Thread rguenth at gcc dot gnu dot org


--- Comment #4 from rguenth at gcc dot gnu dot org  2006-06-07 14:52 ---
Also fails with 4.1.2.  Janis, can you look what introduced this?


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||janis at gcc dot gnu dot org
  Known to fail||4.1.2 4.2.0
  Known to work||4.1.0
Summary|[4.2 regression] ICE:   |[4.1/4.2 regression] ICE:
   |verify_stmts failed (invalid|verify_stmts failed (invalid
   |operand to unary operator)  |operand to unary operator)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27830