This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/7150: gcc -dM -E ... SegFault


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]