public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/7150: gcc -dM -E ... SegFault
@ 2002-06-28 10:26 Neil Booth
0 siblings, 0 replies; 3+ messages in thread
From: Neil Booth @ 2002-06-28 10:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c/7150; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.co.uk>
To: joel.soete@freebel.net
Cc: gcc-gnats@gcc.gnu.org, John David Anglin <dave@hiauly1.hia.nrc.ca>
Subject: Re: c/7150: gcc -dM -E ... SegFault
Date: Fri, 28 Jun 2002 17:38:17 +0100
joel.soete@freebel.net wrote:-
> In the continuity of PR: c/7138: gcc-3.2 failed to compile kernel, I try to have a look in the preprocessor output with -dM -E option which do "Segmentation Fault" as follow:
>
> palx2000:/Develop/parisc-linux/src/linux/arch/parisc/kernel# gcc -dM -E -D__ASSEMBLY__ -traditional -D__KERNEL__ -I/Develop/parisc-linux/src/linux/include -c -o pacache.CPP pacache.S
> In file included from /Develop/parisc-linux/src/linux/include/asm/assembly.h:31,
> from pacache.S:44:
> /Develop/parisc-linux/src/linux/include/asm/offset.h:3: unterminated #ifndef
> cc1: internal compiler error: internal error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Thanks, but I need a testcase to have a hope of fixing it.
Neil.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c/7150: gcc -dM -E ... SegFault
@ 2002-06-29 8:26 neil
0 siblings, 0 replies; 3+ messages in thread
From: neil @ 2002-06-29 8:26 UTC (permalink / raw)
To: dave, gcc-bugs, gcc-prs, joel.soete, neil, nobody
Synopsis: gcc -dM -E ... SegFault
Responsible-Changed-From-To: unassigned->neil
Responsible-Changed-By: neil
Responsible-Changed-When: Sat Jun 29 07:15:46 2002
Responsible-Changed-Why:
Testing a fix.
State-Changed-From-To: open->analyzed
State-Changed-By: neil
State-Changed-When: Sat Jun 29 07:15:46 2002
State-Changed-Why:
Reproduced.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7150
^ permalink raw reply [flat|nested] 3+ messages in thread
* c/7150: gcc -dM -E ... SegFault
@ 2002-06-28 2:16 joel.soete
0 siblings, 0 replies; 3+ messages in thread
From: joel.soete @ 2002-06-28 2:16 UTC (permalink / raw)
To: gcc-gnats; +Cc: John David Anglin
>Number: 7150
>Category: c
>Synopsis: gcc -dM -E ... SegFault
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 28 01:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: joel.soete@freebel.net
>Release: gcc-3.2 (snapshot)
>Organization:
>Environment:
parisc-linux
>Description:
In the continuity of PR: c/7138: gcc-3.2 failed to compile kernel, I try to have a look in the preprocessor output with -dM -E option which do "Segmentation Fault" as follow:
palx2000:/Develop/parisc-linux/src/linux/arch/parisc/kernel# gcc -dM -E -D__ASSEMBLY__ -traditional -D__KERNEL__ -I/Develop/parisc-linux/src/linux/include -c -o pacache.CPP pacache.S
In file included from /Develop/parisc-linux/src/linux/include/asm/assembly.h:31,
from pacache.S:44:
/Develop/parisc-linux/src/linux/include/asm/offset.h:3: unterminated #ifndef
cc1: internal compiler error: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Here is also some additional more expert comment:
"The '-c' shouldn't be there but cc1 shouldn't ICE on an unterminated #ifdef.
Is the #ifdef actually unterminated? Would you file a PR on this one as
well?
I'm also seeing a problem with the preprocessor on the vax :(
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
"
Thanks in advance for additional attention,
Joel
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-06-29 14:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-28 10:26 c/7150: gcc -dM -E ... SegFault Neil Booth
-- strict thread matches above, loose matches on Subject: below --
2002-06-29 8:26 neil
2002-06-28 2:16 joel.soete
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).