public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/17944] New: ICE Segmentation fault
@ 2004-10-12 8:34 micis at gmx dot de
2004-10-12 8:37 ` [Bug preprocessor/17944] " micis at gmx dot de
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: micis at gmx dot de @ 2004-10-12 8:34 UTC (permalink / raw)
To: gcc-bugs
I build gcc40 with patches for bug16882 and bug17724 (newest patch
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00853.html)
applied I get a new ICE when I compile ACE542:
/usr/local/gcc40/bin/g++40 -W -Wall -Wpointer-arith -fpermissive -O2 -
D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/home/cie019/ace542-
gcc40 /ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I.. -c -
o .obj/Map_Test.o Map_Test.cpp -g
Map_Test.cpp: In function `void functionality_test(MAP&, size_t)':
Map_Test.cpp:44: internal compiler error: in cp_tree_equal, at /cp/tree.c:1586
Please submit a full bug report, with preprocessed source if appropriate.
But when I specify -save-temps, this ICE does not occur.
Also it does not occur if I omit "-g".
I tried to copy the source and all include files needed in one directory and
now I get a segmentation fault while there are still includes missing.
Michael Cieslinski
--
Summary: ICE Segmentation fault
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: micis at gmx dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-unknown-linux-gnu
GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17944
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug preprocessor/17944] ICE Segmentation fault
2004-10-12 8:34 [Bug preprocessor/17944] New: ICE Segmentation fault micis at gmx dot de
@ 2004-10-12 8:37 ` micis at gmx dot de
2004-10-12 11:12 ` micis at gmx dot de
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: micis at gmx dot de @ 2004-10-12 8:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From micis at gmx dot de 2004-10-12 08:37 -------
Created an attachment (id=7329)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7329&action=view)
set of source files
command line:
g++40 -fpermissive -O2 -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE
-DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I. -c -o Map_Test.o Map_Test.cpp -g
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17944
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug preprocessor/17944] ICE Segmentation fault
2004-10-12 8:34 [Bug preprocessor/17944] New: ICE Segmentation fault micis at gmx dot de
2004-10-12 8:37 ` [Bug preprocessor/17944] " micis at gmx dot de
@ 2004-10-12 11:12 ` micis at gmx dot de
2004-10-12 11:54 ` [Bug c++/17944] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: micis at gmx dot de @ 2004-10-12 11:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From micis at gmx dot de 2004-10-12 11:12 -------
With a complete set of files this ICE doesn't occur.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17944
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/17944] ICE Segmentation fault
2004-10-12 8:34 [Bug preprocessor/17944] New: ICE Segmentation fault micis at gmx dot de
2004-10-12 8:37 ` [Bug preprocessor/17944] " micis at gmx dot de
2004-10-12 11:12 ` micis at gmx dot de
@ 2004-10-12 11:54 ` pinskia at gcc dot gnu dot org
2004-10-12 16:07 ` micis at gmx dot de
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-12 11:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-12 11:54 -------
Was it before or after the fix for PR 17826?
--
What |Removed |Added
----------------------------------------------------------------------------
Component|preprocessor |c++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17944
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/17944] ICE Segmentation fault
2004-10-12 8:34 [Bug preprocessor/17944] New: ICE Segmentation fault micis at gmx dot de
` (2 preceding siblings ...)
2004-10-12 11:54 ` [Bug c++/17944] " pinskia at gcc dot gnu dot org
@ 2004-10-12 16:07 ` micis at gmx dot de
2004-10-13 7:15 ` micis at gmx dot de
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: micis at gmx dot de @ 2004-10-12 16:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From micis at gmx dot de 2004-10-12 16:07 -------
I will check this tomorrow.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17944
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/17944] ICE Segmentation fault
2004-10-12 8:34 [Bug preprocessor/17944] New: ICE Segmentation fault micis at gmx dot de
` (3 preceding siblings ...)
2004-10-12 16:07 ` micis at gmx dot de
@ 2004-10-13 7:15 ` micis at gmx dot de
2004-10-13 9:16 ` [Bug preprocessor/17944] [3.4/4.0 regression] ICE with pragma once reichelt at gcc dot gnu dot org
2004-10-13 11:31 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: micis at gmx dot de @ 2004-10-13 7:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From micis at gmx dot de 2004-10-13 07:15 -------
I can't reproduce the original ICE (internal compiler error: in cp_tree_equal).
The segfault occurs still with the (incomplete) set of source files in my
attachment.
There is no difference between an unpatched and a patched version of the
compiler.
Has anybody reproduced this segfault?
Michael Cieslinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17944
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug preprocessor/17944] [3.4/4.0 regression] ICE with pragma once
2004-10-12 8:34 [Bug preprocessor/17944] New: ICE Segmentation fault micis at gmx dot de
` (4 preceding siblings ...)
2004-10-13 7:15 ` micis at gmx dot de
@ 2004-10-13 9:16 ` reichelt at gcc dot gnu dot org
2004-10-13 11:31 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-13 9:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-13 09:16 -------
Here's a reduced testcase which consists of three files:
PR17944.c:
#include "include/bug1.h"
#include "include/bug2.h"
include/bug1.h:
#pragma once
#include "bug1.h"
include/bug2.h:
#include "bug1.h"
Compiling this with "gcc -c PR17944.c" I get a segfault since gcc 3.4.0.
With gcc 2.95.3 - 3.3.5 I just get a warning:
In file included from PR17944.c:1:
include/bug1.h:1:9: warning: #pragma once is obsolete
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|c++ |preprocessor
Ever Confirmed| |1
GCC build triplet|powerpc-unknown-linux-gnu |
GCC host triplet|powerpc-unknown-linux-gnu |
GCC target triplet|powerpc-unknown-linux-gnu |
Keywords| |ice-on-valid-code
Known to fail| |3.4.0 3.4.2 4.0.0
Known to work| |3.3.5
Last reconfirmed|0000-00-00 00:00:00 |2004-10-13 09:16:09
date| |
Summary|ICE Segmentation fault |[3.4/4.0 regression] ICE
| |with pragma once
Target Milestone|--- |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17944
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug preprocessor/17944] [3.4/4.0 regression] ICE with pragma once
2004-10-12 8:34 [Bug preprocessor/17944] New: ICE Segmentation fault micis at gmx dot de
` (5 preceding siblings ...)
2004-10-13 9:16 ` [Bug preprocessor/17944] [3.4/4.0 regression] ICE with pragma once reichelt at gcc dot gnu dot org
@ 2004-10-13 11:31 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-13 11:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-13 11:31 -------
*** This bug has been marked as a duplicate of 15167 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17944
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-10-13 11:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-12 8:34 [Bug preprocessor/17944] New: ICE Segmentation fault micis at gmx dot de
2004-10-12 8:37 ` [Bug preprocessor/17944] " micis at gmx dot de
2004-10-12 11:12 ` micis at gmx dot de
2004-10-12 11:54 ` [Bug c++/17944] " pinskia at gcc dot gnu dot org
2004-10-12 16:07 ` micis at gmx dot de
2004-10-13 7:15 ` micis at gmx dot de
2004-10-13 9:16 ` [Bug preprocessor/17944] [3.4/4.0 regression] ICE with pragma once reichelt at gcc dot gnu dot org
2004-10-13 11:31 ` pinskia 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).