public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12510] New: Compilation failing with internal error in final_scan_insn
@ 2003-10-04 20:05 lskovlun at image dot dk
2003-10-04 20:06 ` [Bug c/12510] " lskovlun at image dot dk
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: lskovlun at image dot dk @ 2003-10-04 20:05 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=12510
Summary: Compilation failing with internal error in
final_scan_insn
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lskovlun at image dot dk
CC: gcc-bugs at gcc dot gnu dot org
Compilation of the attached file fails with gcc 3.3.2. 2.95 works fine.
gcc -v yields the following output (it's the packaged version from Debian
GNU/Linux):
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.2 20030908 (Debian prerelease)
The error message reads:
lars@hydra:~/praat/fon$ gcc -DUNIX -I /usr/X11R6/include -Wimplicit
-Wreturn-type -Wunused -Wuninitialized -O -I ../sys -I ../dwsys -I ../dwtools -I
../LPC -I ../fon -c -o ManipulationEditor.o ManipulationEditor.c
ManipulationEditor.c: In function `cb_addPitchPointAtSlice':
ManipulationEditor.c:298: internal compiler error: in final_scan_insn, at
final.c:2799
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/12510] Compilation failing with internal error in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
@ 2003-10-04 20:06 ` lskovlun at image dot dk
2003-10-04 20:19 ` [Bug optimization/12510] [3.3 regression] ICE " ebotcazou at gcc dot gnu dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: lskovlun at image dot dk @ 2003-10-04 20:06 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=12510
------- Additional Comments From lskovlun at image dot dk 2003-10-04 20:06 -------
Created an attachment (id=4889)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4889&action=view)
bzip2'ed preprocessed failing source file
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
2003-10-04 20:06 ` [Bug c/12510] " lskovlun at image dot dk
@ 2003-10-04 20:19 ` ebotcazou at gcc dot gnu dot org
2003-10-05 21:03 ` reichelt at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-04 20:19 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=12510
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Component|c |optimization
Ever Confirmed| |1
GCC build triplet| |i486-pc-linux-gnu
GCC host triplet| |i486-pc-linux-gnu
GCC target triplet| |i486-pc-linux-gnu
Last reconfirmed|0000-00-00 00:00:00 |2003-10-04 20:19:14
date| |
Summary|Compilation failing with |[3.3 regression] ICE in
|internal error in |final_scan_insn
|final_scan_insn |
Target Milestone|--- |3.3.2
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-10-04 20:19 -------
Confirmed on the 3.3 branch, a regression from GCC 3.2.3.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
2003-10-04 20:06 ` [Bug c/12510] " lskovlun at image dot dk
2003-10-04 20:19 ` [Bug optimization/12510] [3.3 regression] ICE " ebotcazou at gcc dot gnu dot org
@ 2003-10-05 21:03 ` reichelt at gcc dot gnu dot org
2003-10-06 6:54 ` ebotcazou at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-10-05 21:03 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=12510
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-10-05 21:03 -------
Here's a reduced example that crashes on i686-pc-linux-gnu
when compiled with "-O" (it *does* compile with "-O2").
=======================================
void foo (double);
void bar (double x, double y)
{
foo (x);
if (y) x = y ? 0 : 1/y;
else if (y) x = y < 1 ? 1 : y;
else x = 1/y < 1 ? 1 : x;
foo (x);
}
=======================================
According to Phil's regression hunter, the regression was introduced in
February:
: Search converges between 2003-02-26-3.3 (#68) and 2003-02-28-3.3 (#69).
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (2 preceding siblings ...)
2003-10-05 21:03 ` reichelt at gcc dot gnu dot org
@ 2003-10-06 6:54 ` ebotcazou at gcc dot gnu dot org
2003-10-06 7:00 ` mihai_adrian at olteniaonline dot ro
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-06 6:54 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=12510
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-10-06 06:54 -------
Fixing.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (3 preceding siblings ...)
2003-10-06 6:54 ` ebotcazou at gcc dot gnu dot org
@ 2003-10-06 7:00 ` mihai_adrian at olteniaonline dot ro
2003-10-07 20:58 ` ebotcazou at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mihai_adrian at olteniaonline dot ro @ 2003-10-06 7:00 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=12510
------- Additional Comments From mihai_adrian at olteniaonline dot ro 2003-10-06 07:00 -------
Subject: Re: [3.3 regression] ICE in
final_scan_insn
On Mon, 2003-10-06 at 09:54, ebotcazou at gcc dot gnu dot org wrote:
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12510
>
>
> ebotcazou at gcc dot gnu dot org changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
> |dot org |org
> Status|NEW |ASSIGNED
>
>
> ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-10-06 06:54 -------
> Fixing.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (4 preceding siblings ...)
2003-10-06 7:00 ` mihai_adrian at olteniaonline dot ro
@ 2003-10-07 20:58 ` ebotcazou at gcc dot gnu dot org
2003-10-08 5:21 ` mmitchel at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-07 20: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=12510
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at codesourcery dot com
Version|3.3.2 |3.3.1
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-10-07 20:58 -------
Patch: http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00538.html
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (5 preceding siblings ...)
2003-10-07 20:58 ` ebotcazou at gcc dot gnu dot org
@ 2003-10-08 5:21 ` mmitchel at gcc dot gnu dot org
2003-10-08 5:33 ` ebotcazou at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-10-08 5:21 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=12510
------- Additional Comments From mmitchel at gcc dot gnu dot org 2003-10-08 05:21 -------
I'd actually feel more comfortable with Jakub's patch since it's received a fair
amount of testing. I'd approve a backport of his patch. Are you willing to
test that out?
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (6 preceding siblings ...)
2003-10-08 5:21 ` mmitchel at gcc dot gnu dot org
@ 2003-10-08 5:33 ` ebotcazou at gcc dot gnu dot org
2003-10-09 5:01 ` ebotcazou at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-08 5:33 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=12510
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-10-08 05:33 -------
They are equivalent, but I understand your position so I'll do the backport.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (7 preceding siblings ...)
2003-10-08 5:33 ` ebotcazou at gcc dot gnu dot org
@ 2003-10-09 5:01 ` ebotcazou at gcc dot gnu dot org
2003-10-09 18:50 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-09 5:01 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=12510
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-10-09 05:01 -------
Backported patch: http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00636.html
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (8 preceding siblings ...)
2003-10-09 5:01 ` ebotcazou at gcc dot gnu dot org
@ 2003-10-09 18:50 ` mmitchel at gcc dot gnu dot org
2003-10-09 20:53 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-10-09 18:50 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=12510
------- Additional Comments From mmitchel at gcc dot gnu dot org 2003-10-09 18:50 -------
Eric, please check this in and close the PR. Thanks!
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (9 preceding siblings ...)
2003-10-09 18:50 ` mmitchel at gcc dot gnu dot org
@ 2003-10-09 20:53 ` cvs-commit at gcc dot gnu dot org
2003-10-09 21:02 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-09 20:53 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=12510
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-10-09 20:53 -------
Subject: Bug 12510
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: ebotcazou@gcc.gnu.org 2003-10-09 20:53:40
Modified files:
gcc : ChangeLog toplev.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: 20031009-1.c
Log message:
PR optimization/12510
Backport from mainline:
2003-09-08 Jakub Jelinek <jakub@redhat.com>
* toplev.c (rest_of_compilation): Call split_all_insns before
regstack if optimizing but not scheduling after reload.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.775&r2=1.16114.2.776
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.690.2.22&r2=1.690.2.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.303&r2=1.2261.2.304
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20031009-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (10 preceding siblings ...)
2003-10-09 20:53 ` cvs-commit at gcc dot gnu dot org
@ 2003-10-09 21:02 ` ebotcazou at gcc dot gnu dot org
2003-10-10 8:57 ` ebotcazou at gcc dot gnu dot org
2003-10-15 14:37 ` ebotcazou at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-09 21:02 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=12510
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-10-09 21:02 -------
Backported patch applied.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (11 preceding siblings ...)
2003-10-09 21:02 ` ebotcazou at gcc dot gnu dot org
@ 2003-10-10 8:57 ` ebotcazou at gcc dot gnu dot org
2003-10-15 14:37 ` ebotcazou at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-10 8:57 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=12510
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |skon at kr dot FreeBSD dot
| |org
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-10-10 08:57 -------
*** Bug 12565 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug optimization/12510] [3.3 regression] ICE in final_scan_insn
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
` (12 preceding siblings ...)
2003-10-10 8:57 ` ebotcazou at gcc dot gnu dot org
@ 2003-10-15 14:37 ` ebotcazou at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-15 14:37 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=12510
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |barnett2 at slb dot com
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-10-15 14:37 -------
*** Bug 12621 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2003-10-15 14:37 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-04 20:05 [Bug c/12510] New: Compilation failing with internal error in final_scan_insn lskovlun at image dot dk
2003-10-04 20:06 ` [Bug c/12510] " lskovlun at image dot dk
2003-10-04 20:19 ` [Bug optimization/12510] [3.3 regression] ICE " ebotcazou at gcc dot gnu dot org
2003-10-05 21:03 ` reichelt at gcc dot gnu dot org
2003-10-06 6:54 ` ebotcazou at gcc dot gnu dot org
2003-10-06 7:00 ` mihai_adrian at olteniaonline dot ro
2003-10-07 20:58 ` ebotcazou at gcc dot gnu dot org
2003-10-08 5:21 ` mmitchel at gcc dot gnu dot org
2003-10-08 5:33 ` ebotcazou at gcc dot gnu dot org
2003-10-09 5:01 ` ebotcazou at gcc dot gnu dot org
2003-10-09 18:50 ` mmitchel at gcc dot gnu dot org
2003-10-09 20:53 ` cvs-commit at gcc dot gnu dot org
2003-10-09 21:02 ` ebotcazou at gcc dot gnu dot org
2003-10-10 8:57 ` ebotcazou at gcc dot gnu dot org
2003-10-15 14:37 ` ebotcazou 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).