public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: joel.soete@freebel.net
To: gcc-gnats@gcc.gnu.org
Cc: John David Anglin <dave@hiauly1.hia.nrc.ca>
Subject: c/7150: gcc -dM -E ... SegFault
Date: Fri, 28 Jun 2002 02:16:00 -0000	[thread overview]
Message-ID: <20020628080214.13462.qmail@sources.redhat.com> (raw)


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


             reply	other threads:[~2002-06-28  8:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-28  2:16 joel.soete [this message]
2002-06-28 10:26 Neil Booth
2002-06-29  8:26 neil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020628080214.13462.qmail@sources.redhat.com \
    --to=joel.soete@freebel.net \
    --cc=dave@hiauly1.hia.nrc.ca \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).