This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/7150: gcc -dM -E ... SegFault
- From: joel dot soete at freebel dot net
- To: gcc-gnats at gcc dot gnu dot org
- Cc: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Date: 28 Jun 2002 08:02:14 -0000
- Subject: c/7150: gcc -dM -E ... SegFault
- Reply-to: joel dot soete at freebel dot net
>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: