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.
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
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
--- 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
--- 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
--- 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
--- 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
--- 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
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