[Bug optimization/13677] Generates Sub-Optimal Code in 'for' Loops
theman at josephdwagner dot info
gcc-bugzilla@gcc.gnu.org
Wed Jan 14 17:54:00 GMT 2004
------- Additional Comments From theman at josephdwagner dot info 2004-01-14 17:53 -------
I would like to point out that this is not a problem in the optimizer. It is
a problem in the code generation component.
Compiled with command:
gcc -v -save-temps -S -masm=intel -pipe -std=gnu99 -O0 -o bug13677.S
bug13677.c
Resulting output:
gcc: warning: -pipe ignored because -save-temps specified
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: /usr/src/gcc-3.3.2/configure --enable-shared --with-gnu-as
--with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld
--enable-threads
Thread model: posix
gcc version 3.3.2
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/cc1 -E -quiet -v -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 bug13677.c -masm=intel -std=gnu99
-O0
bug13677.i
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/cc1 -fpreprocessed bug13677.i
-quiet
-dumpbase bug13677.c -masm=intel -auxbase-strip bug13677.S -O0 -std=gnu99
-version -o
bug13677.S
GNU C version 3.3.2 (i686-pc-linux-gnu)
compiled by GNU C version 3.3.2.
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32016
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed| |1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13677
More information about the Gcc-bugs
mailing list