[Bug target/55142] [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88

2012-11-01 Thread ebotcazou at gcc dot gnu.org


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



Eric Botcazou  changed:



   What|Removed |Added



  Component|middle-end  |target



--- Comment #12 from Eric Botcazou  2012-11-01 
12:51:26 UTC ---

Recategorizing.


[Bug target/55142] [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88

2012-11-01 Thread ebotcazou at gcc dot gnu.org


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



--- Comment #13 from Eric Botcazou  2012-11-01 
14:20:17 UTC ---

Created attachment 28591

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28591

Tentative fix



This generates (essentially) the same RTL as in non-PIC mode, so the generated

code should be correct if it is correct in non-PIC mode.



Tested only in LP64 mode though.


[Bug target/55142] [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88

2012-11-13 Thread hjl.tools at gmail dot com


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



H.J. Lu  changed:



   What|Removed |Added



URL||http://gcc.gnu.org/ml/gcc-p

   ||atches/2012-11/msg00991.htm

   ||l

  Component|middle-end  |target



--- Comment #34 from H.J. Lu  2012-11-13 14:32:23 
UTC ---

A patch is posted at



http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00991.html


[Bug target/55142] [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88

2012-11-13 Thread hjl.tools at gmail dot com


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



--- Comment #35 from H.J. Lu  2012-11-13 18:21:30 
UTC ---

This regression is triggered by revision 188008:



http://gcc.gnu.org/ml/gcc-cvs/2012-05/msg00038.html



aka the un-sign-extension of sizetype constants.