[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-19 Thread rguenth at gcc dot gnu dot org


--- Comment #8 from rguenth at gcc dot gnu dot org  2005-11-19 10:12 ---
Bootstrapped and regtested on s390-linux-gnu for all default languages.  We
already branched, so I leave it to you comitting the patch.


-- 


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



[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-18 Thread mmitchel at gcc dot gnu dot org


--- Comment #7 from mmitchel at gcc dot gnu dot org  2005-11-19 02:16 
---
S390 is not release critical.


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P5


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



[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-18 Thread rguenth at gcc dot gnu dot org


--- Comment #6 from rguenth at gcc dot gnu dot org  2005-11-18 20:30 ---
I'll do it.


-- 


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



[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-18 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.1.0


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



[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-18 Thread ian at airs dot com


--- Comment #5 from ian at airs dot com  2005-11-18 20:13 ---
Created an attachment (id=10277)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10277&action=view)
Patch

This patch appears to fix the problem.

However, I am about to leave for the weekend, and won't be back until Monday. 
Given that we are about to branch, I would greatly appreciate if somebody else
could run a bootstrap and testsuite run.  I will preapprove the patch if those
pass.

(Otherwise I will tackle it on Monday, but it would be nice to get it done
before then.  Thanks!)


-- 


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



[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-17 Thread uweigand at gcc dot gnu dot org


--- Comment #4 from uweigand at gcc dot gnu dot org  2005-11-17 12:45 
---
It looks like the simplify-rtx patch is not really the cause of the problem,
it simply exposes a pre-existing bug in combine and/or flow.

Before combine, we have a situation that looks like (simplified):

  insn 82:  reg46 = reg49 ^ reg50  (REG_DEAD reg49)
  insn 87:  reg50 = reg46 ^ reg50  (REG_READ reg46)

Note that reg 50 is live both at the start and the end of the current
basic block.

Now, due to the improved XOR optimization in simplify-rtx, combine
recognized these insn can be combined into:

  insn 87:  reg50 = reg49  (REG_READ reg49)

And suddenly reg50 is no longer live at the start of this basic block.

Unfortunately, there appears to be no code in combine that recognizes
this fact and schedules the basic block for updating of global life
info.  (The only cases where that happens are related to moving REG_DEAD
notes, but in this situation we don't *have* a REG_DEAD note for reg50
in the first place.)

Thus, reg50 remains marked live-at-start in this basic block, and when
a later pass does a local live info update on the block, the sanity
check in verify_local_life_at_start triggers.

Right now I don't know how and where to fix this.


-- 

uweigand at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2005-11-17 12:45:27
   date||


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



[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-17 Thread saurabh dot verma at codito dot com


--- Comment #3 from saurabh dot verma at codito dot com  2005-11-17 10:05 
---
Adding myself to CC list, as the offending patch was given by me


-- 

saurabh dot verma at codito dot com changed:

   What|Removed |Added

 CC||saurabh dot verma at codito
   ||dot com


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



[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-16 Thread janis at gcc dot gnu dot org


--- Comment #2 from janis at gcc dot gnu dot org  2005-11-16 19:31 ---
A regression hunt using an s390-linux cross compiler on powerpc-linux
identified the following patch:

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

r103955 | ian | 2005-09-06 17:51:48 + (Tue, 06 Sep 2005) | 3 lines

* simplify-rtx.c (simplify_binary_operation_1): Correct the
condition for detecting cases like (a&a) and (a^a).


-- 

janis at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ian at gcc dot gnu dot org


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



[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-15 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2005-11-15 22:03 ---
Created an attachment (id=10245)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10245&action=view)
reduced testcase

testcase


-- 


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