[Bug target/43698] [4.5/4.6 Regression] Invalid code when building gentoo pax-utils-0.1.19 with -Os optimizations

2010-07-03 Thread armin76 at gentoo dot org


--- Comment #11 from armin76 at gentoo dot org  2010-07-03 16:05 ---
Ping :)


-- 


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



[Bug target/43698] [4.5/4.6 Regression] Invalid code when building gentoo pax-utils-0.1.19 with -Os optimizations

2010-05-19 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


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



[Bug target/43698] [4.5/4.6 Regression] Invalid code when building gentoo pax-utils-0.1.19 with -Os optimizations

2010-05-17 Thread siarhei dot siamashka at gmail dot com


--- Comment #10 from siarhei dot siamashka at gmail dot com  2010-05-17 
18:48 ---
Maybe I'm too impatient, but is there anything that prevents this patch from
getting committed to SVN?


-- 


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



[Bug target/43698] [4.5/4.6 Regression] Invalid code when building gentoo pax-utils-0.1.19 with -Os optimizations

2010-04-12 Thread ramana dot radhakrishnan at arm dot com


--- Comment #9 from ramana dot radhakrishnan at arm dot com  2010-04-12 
09:51 ---
Subject: Re:  [4.5/4.6 Regression] Invalid code when
building gentoo pax-utils-0.1.19 with -Os optimizations


On Mon, 2010-04-12 at 09:34 +, siarhei dot siamashka at gmail dot
com wrote:
> 
> --- Comment #8 from siarhei dot siamashka at gmail dot com  2010-04-12 
> 09:34 ---
> (In reply to comment #7)
> > Patch submitted here. 
> > 
> > http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00401.html
> 
> Thank you. I have been testing it for two days already.
> 
> It really helps (in the sense that it is apparently better to have this fix
> than not to have). I have bootstrapped the hard vfp system successfully and 
> did
> not notice any other problems so far. Btw, miscompilation (of all the same
> package) also happens with -O2 optimization settings in some other place, but 
> I
> did not try to investigate where exactly it fails.
> 
> But I understand that it is just a workaround for the problem which happens
> somewhere in the upper layer? If REV instruction did not actually support
> conditional execution, then the fix would require actually finding the real
> cause.

There were 2 issues, one is that REV isn't marked as being allowed
conditional and the other is that the CCFSM state machine appears to go
wrong in this particular case which is something I need to investigate
when I have some more free time. (Note this is ARM backend specific
only.)

Thus the fix isn't a work-around because it introduces predicated
support for something like the REV instruction which is the right thing
to do here.


-- 


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



Re: [Bug target/43698] [4.5/4.6 Regression] Invalid code when building gentoo pax-utils-0.1.19 with -Os optimizations

2010-04-12 Thread Ramana Radhakrishnan

On Mon, 2010-04-12 at 09:34 +, siarhei dot siamashka at gmail dot
com wrote:
> 
> --- Comment #8 from siarhei dot siamashka at gmail dot com  2010-04-12 
> 09:34 ---
> (In reply to comment #7)
> > Patch submitted here. 
> > 
> > http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00401.html
> 
> Thank you. I have been testing it for two days already.
> 
> It really helps (in the sense that it is apparently better to have this fix
> than not to have). I have bootstrapped the hard vfp system successfully and 
> did
> not notice any other problems so far. Btw, miscompilation (of all the same
> package) also happens with -O2 optimization settings in some other place, but 
> I
> did not try to investigate where exactly it fails.
> 
> But I understand that it is just a workaround for the problem which happens
> somewhere in the upper layer? If REV instruction did not actually support
> conditional execution, then the fix would require actually finding the real
> cause.

There were 2 issues, one is that REV isn't marked as being allowed
conditional and the other is that the CCFSM state machine appears to go
wrong in this particular case which is something I need to investigate
when I have some more free time. (Note this is ARM backend specific
only.)

Thus the fix isn't a work-around because it introduces predicated
support for something like the REV instruction which is the right thing
to do here.






[Bug target/43698] [4.5/4.6 Regression] Invalid code when building gentoo pax-utils-0.1.19 with -Os optimizations

2010-04-12 Thread siarhei dot siamashka at gmail dot com


--- Comment #8 from siarhei dot siamashka at gmail dot com  2010-04-12 
09:34 ---
(In reply to comment #7)
> Patch submitted here. 
> 
> http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00401.html

Thank you. I have been testing it for two days already.

It really helps (in the sense that it is apparently better to have this fix
than not to have). I have bootstrapped the hard vfp system successfully and did
not notice any other problems so far. Btw, miscompilation (of all the same
package) also happens with -O2 optimization settings in some other place, but I
did not try to investigate where exactly it fails.

But I understand that it is just a workaround for the problem which happens
somewhere in the upper layer? If REV instruction did not actually support
conditional execution, then the fix would require actually finding the real
cause.


-- 


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



[Bug target/43698] [4.5/4.6 Regression] Invalid code when building gentoo pax-utils-0.1.19 with -Os optimizations

2010-04-12 Thread ramana at gcc dot gnu dot org


--- Comment #7 from ramana at gcc dot gnu dot org  2010-04-12 08:38 ---
Patch submitted here. 

http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00401.html


-- 


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



[Bug target/43698] [4.5/4.6 Regression] Invalid code when building gentoo pax-utils-0.1.19 with -Os optimizations

2010-04-09 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|Invalid code when building  |[4.5/4.6 Regression] Invalid
   |gentoo pax-utils-0.1.19 with|code when building gentoo
   |-Os optimizations   |pax-utils-0.1.19 with -Os
   ||optimizations
   Target Milestone|--- |4.5.1


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