--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-15
03:24 ---
Closing as fixed then.
--
What|Removed |Added
Status|WAITING
--- Additional Comments From tom at hukatronic dot cz 2005-06-10 15:58
---
This seems to be fixed in GCC 4.0.0. This is the code produced by GCC 4.0.0
with following command
line:
~/Projects/gcc_m68k/bin/m68k-bsd-elf-gcc -S -O3 -m68000 -msoft-float
-fno-exceptions -fno-
inline test.c
--- Additional Comments From gccbug at sarek dot cc 2004-12-13 18:29
---
I'm sorry I forget to include "-fno-inline" as a compiler option I'm using. When
I compile without "-fno-inline" I do get the same code as you posted here.
This is the code produced using this option:
lin
--- Additional Comments From bernie at develer dot com 2004-12-13 08:53
---
What happens here is that func2() is inlined
inside func(), and j loaded into %a0 before
entering the loop, for improved speed.
The test for Array[i] > 0 is correctly
performed *inside* the loop.
This PR appear
--
What|Removed |Added
Component|c++ |rtl-optimization
Keywords||wrong-code
http://gcc.gnu.org/bugzilla/show_