public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11639] New: -Os produces unrecognizable insn
@ 2003-07-23 0:55 seffendi at web dot de
2003-07-23 0:58 ` [Bug c/11639] " seffendi at web dot de
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: seffendi at web dot de @ 2003-07-23 0:55 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11639
Summary: -Os produces unrecognizable insn
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: seffendi at web dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i486-suse-linux
GCC host triplet: i486-suse-linux
GCC target triplet: i486-suse-linux
Compiling 'busybox-1.00-pre1* I found a compiler bug as stated in 'compiler_fail
ed_message'. It is caused by the optimization option (-Os).
gcc -Wall -c src/dump.c -I src/include/ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOUR
CE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -march=i386 -mpreferred-stac
k-boundary=2 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-po
inter -D_GNU_SOURCE -DNDEBUG -Wshadow -Os --save-temps -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-
prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/us
r/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-lib
gcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zl
ib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
/usr/lib/gcc-lib/i486-suse-linux/3.3/cc1 -E -quiet -v -I src/include/ -D__GNUC_
_=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -D_LARGEFILE_SOURCE
-D_LARGEFILE6
4_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DNDEBUG src/dump.c
-march=i386 -m
preferred-stack-boundary=2 -Wall -Wall -Wstrict-prototypes -Wshadow -falign-func
tions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer -Os dump.i
#include "..." search starts here:
#include <...> search starts here:
src/include
/usr/local/include
/usr/lib/gcc-lib/i486-suse-linux/3.3/include
/usr/i486-suse-linux/include
/usr/include
End of search list.
/usr/lib/gcc-lib/i486-suse-linux/3.3/cc1 -fpreprocessed dump.i -quiet -dumpbase
dump.c -march=i386 -mpreferred-stack-boundary=2 -auxbase dump -Os -Wall -Wall -
Wstrict-prototypes -Wshadow -version -falign-functions=0 -falign-jumps=0 -falign
-loops=0 -fomit-frame-pointer -o dump.s
GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=62211
GNU C version 3.3 20030226 (prerelease) (SuSE Linux) (i486-suse-linux)
compiled by GNU C version 3.3 20030226 (prerelease) (SuSE Linux).
src/dump.c: In function `rewrite':
src/dump.c:307: error: unrecognizable insn:
(insn:HI 1046 915 1047 33 0x404c491c (set (reg:CC 17 flags)
(compare:CC (const:SI (plus:SI (symbol_ref:SI ("lcc"))
(const_int 1 [0x1])))
(reg/f:SI 116))) -1 (nil)
(expr_list:REG_DEAD (reg/f:SI 116)
(nil)))
src/dump.c:307: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/11639] -Os produces unrecognizable insn
2003-07-23 0:55 [Bug c/11639] New: -Os produces unrecognizable insn seffendi at web dot de
@ 2003-07-23 0:58 ` seffendi at web dot de
2003-07-23 1:07 ` pinskia at physics dot uc dot edu
2003-08-18 14:23 ` cvs-commit at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: seffendi at web dot de @ 2003-07-23 0:58 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11639
------- Additional Comments From seffendi at web dot de 2003-07-23 00:58 -------
Created an attachment (id=4461)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4461&action=view)
the *.i file
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/11639] -Os produces unrecognizable insn
2003-07-23 0:55 [Bug c/11639] New: -Os produces unrecognizable insn seffendi at web dot de
2003-07-23 0:58 ` [Bug c/11639] " seffendi at web dot de
@ 2003-07-23 1:07 ` pinskia at physics dot uc dot edu
2003-08-18 14:23 ` cvs-commit at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-23 1:07 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11639
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-23 01:07 -------
I cannot reproduce it on 3.3.1 (20030707) or the mainline (20030719). You are reporting
this against a motified version of gcc by SuSE, report it to them.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/11639] -Os produces unrecognizable insn
2003-07-23 0:55 [Bug c/11639] New: -Os produces unrecognizable insn seffendi at web dot de
2003-07-23 0:58 ` [Bug c/11639] " seffendi at web dot de
2003-07-23 1:07 ` pinskia at physics dot uc dot edu
@ 2003-08-18 14:23 ` cvs-commit at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-08-18 14:23 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11639
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-08-18 14:23 -------
Subject: Bug 11639
CVSROOT: /cvs/gcc
Module name: gcc
Branch: hammer-3_3-branch
Changes by: hubicka@gcc.gnu.org 2003-08-18 14:23:46
Modified files:
gcc : ChangeLog.hammer
gcc/config/i386: i386.c
Log message:
PR c/11639
* i386.c (ix86_expand_carry_flag_compare): Validate operand.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.hammer.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.1.2.173&r2=1.1.2.174
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.490.2.47&r2=1.490.2.48
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-08-18 14:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-23 0:55 [Bug c/11639] New: -Os produces unrecognizable insn seffendi at web dot de
2003-07-23 0:58 ` [Bug c/11639] " seffendi at web dot de
2003-07-23 1:07 ` pinskia at physics dot uc dot edu
2003-08-18 14:23 ` cvs-commit at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).