[Bug c/64136] gcc tree optimization removes basic block containing break condition

2014-12-01 Thread ecd at brainaid dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64136 --- Comment #4 from Eddie C. Dost --- Andrew, thank you very much, you are correct and I was blind. I now see the problem from gcc's optimizer view and it makes sense to remove the second condition.

[Bug c/64136] gcc tree optimization removes basic block containing break condition

2014-12-01 Thread ecd at brainaid dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64136 --- Comment #1 from Eddie C. Dost --- Created attachment 34153 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34153&action=edit bug.i cunrolli dump

[Bug c/64136] New: gcc tree optimization removes basic block containing break condition

2014-12-01 Thread ecd at brainaid dot de
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ecd at brainaid dot de Created attachment 34152 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34152&action=edit bug.i source code When compiling the following code t

[Bug c/32874] Strange global register allocation, depends on order of functions

2007-07-24 Thread ecd at brainaid dot de
--- Comment #5 from ecd at brainaid dot de 2007-07-24 08:54 --- Command line to compile the samples: gcc -Wall -O2 -ffixed-i0 -ffixed-i1 -ffixed-i2 -ffixed-i3 -fno-strict-aliasing-fno-delayed-branch -fno-reorder-blocks -fno-optimize-sibling-calls -Wa,-Av9a -I

[Bug c/32874] Strange global register allocation, depends on order of functions

2007-07-24 Thread ecd at brainaid dot de
--- Comment #4 from ecd at brainaid dot de 2007-07-24 08:53 --- Created an attachment (id=13958) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13958&action=view) Output number 2 (function order reversed) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32874

[Bug c/32874] Strange global register allocation, depends on order of functions

2007-07-24 Thread ecd at brainaid dot de
--- Comment #3 from ecd at brainaid dot de 2007-07-24 08:52 --- Created an attachment (id=13957) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13957&action=view) Output number 1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32874

[Bug c/32874] Strange global register allocation, depends on order of functions

2007-07-24 Thread ecd at brainaid dot de
--- Comment #2 from ecd at brainaid dot de 2007-07-24 08:52 --- Created an attachment (id=13956) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13956&action=view) Input file to trigger the problem with order of functions reversed -- http://gcc.gnu.org/bugzilla/show_bug

[Bug c/32874] Strange global register allocation, depends on order of functions

2007-07-24 Thread ecd at brainaid dot de
--- Comment #1 from ecd at brainaid dot de 2007-07-24 08:51 --- Created an attachment (id=13955) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13955&action=view) Input file to trigger the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32874

[Bug c/32874] New: Strange global register allocation, depends on order of functions

2007-07-24 Thread ecd at brainaid dot de
dot gnu dot org ReportedBy: ecd at brainaid dot de GCC build triplet: sparc-linux-gnu GCC host triplet: sparc-linux-gnu GCC target triplet: sparc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32874