public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/16298] Internal error compilation aborded
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
@ 2004-06-30 15:40 ` taillefu at mpi-halle dot de
2004-06-30 15:55 ` bangerth at dealii dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: taillefu at mpi-halle dot de @ 2004-06-30 15:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From taillefu at mpi-halle dot de 2004-06-30 15:40 -------
Created an attachment (id=6665)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6665&action=view)
All files needed to crash gcc
The file contains all headers files and source file in c, needed to crash gcc
during compilation. I also add the *.i and *.s file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c/16298] New: Internal error compilation aborded
@ 2004-06-30 15:40 taillefu at mpi-halle dot de
2004-06-30 15:40 ` [Bug c/16298] " taillefu at mpi-halle dot de
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: taillefu at mpi-halle dot de @ 2004-06-30 15:40 UTC (permalink / raw)
To: gcc-bugs
The compilation is aborded after compiling the main file join as attached document.
the command line is the following one.
cc -O -v -save-temps -I../../src -Izlib -DUSE_LIBZ -c -o main.o main.c
and the output
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/usr --disable-debug
--enable-shared
Thread model: posix
gcc version 3.4.0
/usr/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1 -E -quiet -v -I../../src -Izlib
-DUSE_LIBZ main.c -mtune=pentiumpro -O -o main.i
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/include"
ignoring nonexistent directory "../../src"
ignoring nonexistent directory "zlib"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include
/usr/include
End of search list.
/usr/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1 -fpreprocessed main.i -quiet
-dumpbase main.c -mtune=pentiumpro -auxbase-strip main.o -O -version -o main.s
GNU C version 3.4.0 (i686-pc-linux-gnu)
compiled by GNU C version 3.4.0.
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64571
main.c: In function `mainTotalTaskEntryInitialisations':
main.c:2237: internal compiler error: output_operand: invalid expression as operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Some precision about my computer.
This is a laptop with pentium4 processor and linux kernel 2.6.5 and glibc 2.3.2.
--
Summary: Internal error compilation aborded
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: taillefu at mpi-halle dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c/16298] Internal error compilation aborded
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
2004-06-30 15:40 ` [Bug c/16298] " taillefu at mpi-halle dot de
@ 2004-06-30 15:55 ` bangerth at dealii dot org
2004-06-30 15:57 ` [Bug c/16298] [3.4/3.5 regression] ICE in output_operand bangerth at dealii dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bangerth at dealii dot org @ 2004-06-30 15:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-06-30 15:44 -------
Confirmed. Working on a small testcase.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c/16298] [3.4/3.5 regression] ICE in output_operand
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
2004-06-30 15:40 ` [Bug c/16298] " taillefu at mpi-halle dot de
2004-06-30 15:55 ` bangerth at dealii dot org
@ 2004-06-30 15:57 ` bangerth at dealii dot org
2004-07-13 21:44 ` [Bug target/16298] " reichelt at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bangerth at dealii dot org @ 2004-06-30 15:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-06-30 15:56 -------
This is a 3.4/3.5 regression:
------------------------
extern char ca[4000000];
extern int i;
void foo() {
i = 0;
i = (int)(ca+ (3 - ((int)(ca+i-1) & 3)));
}
-------------------------
g/x> /home/bangerth/bin/gcc-3.3.4-pre/bin/gcc -c x.c -O
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -c x.c -O
x.c: In function `foo':
x.c:7: internal compiler error: output_operand: invalid expression as operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/gcc -c x.c -O
x.c: In function `foo':
x.c:7: internal compiler error: output_operand: invalid expression as operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-06-30 15:56:17
date| |
Summary|Internal error compilation |[3.4/3.5 regression] ICE in
|aborded |output_operand
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16298] [3.4/3.5 regression] ICE in output_operand
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
` (2 preceding siblings ...)
2004-06-30 15:57 ` [Bug c/16298] [3.4/3.5 regression] ICE in output_operand bangerth at dealii dot org
@ 2004-07-13 21:44 ` reichelt at gcc dot gnu dot org
2004-07-13 22:43 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-13 21:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-07-13 21:44 -------
Even more compact testcase:
========================================
char c;
int foo()
{
return 1 - (1 & (int)(&c-1));
}
========================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
Known to fail| |3.4.0 3.4.1 3.5.0
Known to work| |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16298] [3.4/3.5 regression] ICE in output_operand
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
` (3 preceding siblings ...)
2004-07-13 21:44 ` [Bug target/16298] " reichelt at gcc dot gnu dot org
@ 2004-07-13 22:43 ` pinskia at gcc dot gnu dot org
2004-08-23 19:37 ` mmitchel at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-13 22:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-13 22:43 -------
The problem is that the back-end does not reject
(const:SI (neg:SI (symbol_ref:SI ("c") <var_decl 0x401004fc c>)))
as a constant, I think this is just like the case where 1-c was not rejected also.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet| |i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16298] [3.4/3.5 regression] ICE in output_operand
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
` (4 preceding siblings ...)
2004-07-13 22:43 ` pinskia at gcc dot gnu dot org
@ 2004-08-23 19:37 ` mmitchel at gcc dot gnu dot org
2004-08-23 21:49 ` rth at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-23 19:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-08-23 19:37 -------
Richard, this looks like it might have an easy fix. Care to take a whack?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16298] [3.4/3.5 regression] ICE in output_operand
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
` (5 preceding siblings ...)
2004-08-23 19:37 ` mmitchel at gcc dot gnu dot org
@ 2004-08-23 21:49 ` rth at gcc dot gnu dot org
2004-08-24 21:46 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-08-23 21:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-08-23 21:49 -------
Testing patch.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16298] [3.4/3.5 regression] ICE in output_operand
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
` (6 preceding siblings ...)
2004-08-23 21:49 ` rth at gcc dot gnu dot org
@ 2004-08-24 21:46 ` cvs-commit at gcc dot gnu dot org
2004-08-25 5:19 ` [Bug target/16298] [3.4 " rth at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-24 21:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-24 21:46 -------
Subject: Bug 16298
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2004-08-24 21:46:00
Modified files:
gcc : ChangeLog
gcc/config/i386: i386.c
Log message:
PR target/16298
* config/i386/i386.c (legitimate_constant_p): Rework to not accept
random codes within CONST.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5074&r2=2.5075
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.715&r2=1.716
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16298] [3.4 regression] ICE in output_operand
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
` (8 preceding siblings ...)
2004-08-25 5:19 ` [Bug target/16298] [3.4 " rth at gcc dot gnu dot org
@ 2004-08-25 5:19 ` cvs-commit at gcc dot gnu dot org
2004-08-25 13:16 ` giovannibajo at libero dot it
2004-08-25 16:41 ` rth at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-25 5:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-25 05:19 -------
Subject: Bug 16298
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: rth@gcc.gnu.org 2004-08-25 05:19:09
Modified files:
gcc : ChangeLog
gcc/config/i386: i386.c
Log message:
PR target/16298
* config/i386/i386.c (legitimate_constant_p): Rework to not accept
random codes within CONST.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.593&r2=2.2326.2.594
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.635.2.14&r2=1.635.2.15
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16298] [3.4 regression] ICE in output_operand
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
` (7 preceding siblings ...)
2004-08-24 21:46 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-25 5:19 ` rth at gcc dot gnu dot org
2004-08-25 5:19 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-08-25 5:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-08-25 05:19 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16298] [3.4 regression] ICE in output_operand
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
` (9 preceding siblings ...)
2004-08-25 5:19 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-25 13:16 ` giovannibajo at libero dot it
2004-08-25 16:41 ` rth at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: giovannibajo at libero dot it @ 2004-08-25 13:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-08-25 13:16 -------
Richard, is there a reason why the testcase wasn't added to the testsuite?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at libero dot
| |it
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16298] [3.4 regression] ICE in output_operand
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
` (10 preceding siblings ...)
2004-08-25 13:16 ` giovannibajo at libero dot it
@ 2004-08-25 16:41 ` rth at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-08-25 16:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-08-25 16:41 -------
Um, no, I guess not.
--
What |Removed |Added
----------------------------------------------------------------------------
CC|rth at redhat dot com |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16298
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2004-08-25 16:41 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-30 15:40 [Bug c/16298] New: Internal error compilation aborded taillefu at mpi-halle dot de
2004-06-30 15:40 ` [Bug c/16298] " taillefu at mpi-halle dot de
2004-06-30 15:55 ` bangerth at dealii dot org
2004-06-30 15:57 ` [Bug c/16298] [3.4/3.5 regression] ICE in output_operand bangerth at dealii dot org
2004-07-13 21:44 ` [Bug target/16298] " reichelt at gcc dot gnu dot org
2004-07-13 22:43 ` pinskia at gcc dot gnu dot org
2004-08-23 19:37 ` mmitchel at gcc dot gnu dot org
2004-08-23 21:49 ` rth at gcc dot gnu dot org
2004-08-24 21:46 ` cvs-commit at gcc dot gnu dot org
2004-08-25 5:19 ` [Bug target/16298] [3.4 " rth at gcc dot gnu dot org
2004-08-25 5:19 ` cvs-commit at gcc dot gnu dot org
2004-08-25 13:16 ` giovannibajo at libero dot it
2004-08-25 16:41 ` rth 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).