public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: pavel.zeldin@idt.com
To: gcc-gnats@gcc.gnu.org
Subject: preprocessor/10769: cpp internal error while processing pragmas
Date: Tue, 13 May 2003 16:06:00 -0000	[thread overview]
Message-ID: <20030513160406.10707.qmail@sources.redhat.com> (raw)


>Number:         10769
>Category:       preprocessor
>Synopsis:       cpp internal error while processing pragmas
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 13 16:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Zeldin
>Release:        3.01, 3.2
>Organization:
>Environment:
/tools/sw_build/gcc-3.2_2.13.2/i586-pc-linux-gnu/bin/cpp -v        
Reading specs from /tools/sw_build/gcc-3.2_2.13.2/i586-pc-linux-gnu/lib/gcc-lib/i586-pc-linux-gnu/3.2/specs
Configured with: /tools/sw_build/src/gcc-3.2/configure --prefix=/tools/sw_build/gcc-3.2_2.13.2 --exec-prefix=/tools/sw_build/gcc-3.2_2.13.2/i586-pc-linux-gnu --host=i586-pc-linux-gnu --target=i586-pc-linux-gnu --enable-shared --enable-languages=c,c++,java --disable-multilib --with-gnu-as --with-gnu-ld --with-as=/tools/sw_build/gcc-3.2_2.13.2/i586-pc-linux-gnu/bin/as --with-ld=/tools/sw_build/gcc-3.2_2.13.2/i586-pc-linux-gnu/bin/ld
Thread model: posix
gcc version 3.2
 /tools/sw_build/gcc-3.2_2.13.2/i586-pc-linux-gnu/lib/gcc-lib/i586-pc-linux-gnu/3.2/cpp0 -lang-c -v -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i586__ -D__tune_pentium__ -
GNU CPP version 3.2 (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/tools/sw_build/gcc-3.2_2.13.2/i586-pc-linux-gnu/i586-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /tools/sw_build/gcc-3.2_2.13.2/include
 /tools/sw_build/gcc-3.2_2.13.2/i586-pc-linux-gnu/lib/gcc-lib/i586-pc-linux-gnu/3.2/include
 /usr/include
End of search list.

ldd /tools/sw_build/gcc-3.2_2.13.2/i586-pc-linux-gnu/bin/cpp   
	not a dynamic executable
uname -a
Linux saturn.ott.idt.com 2.2.19 #1 Tue Oct 2 15:03:14 EDT 2001 i686 unknown
>Description:
This is an example from gcc-3.2 info page for pragma:
#define DO_PRAGMA(x) _Pragma (#x)
DO_PRAGMA (GCC dependency "parse.y")

cpp from gcc-3.01 and gcc-3.2 dies on it, while cpp from gcc-2.91 is OK
>How-To-Repeat:
/tools/sw_build/gcc-3.2_2.13.2/i586-pc-linux-gnu/bin/cpp pragma.cpp
# 1 "pragma.cpp"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "pragma.cpp"

cpp: Internal error: Segmentation fault (program cpp0)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="pragma.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="pragma.cpp"

I2RlZmluZSBET19QUkFHTUEoeCkgX1ByYWdtYSAoI3gpCkRPX1BSQUdNQSAoR0NDIGRlcGVuZGVu
Y3kgInBhcnNlLnkiKQo=


             reply	other threads:[~2003-05-13 16:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-13 16:06 pavel.zeldin [this message]
2003-05-13 17:16 Dara Hazeghi
2003-05-14  6:02 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=20030513160406.10707.qmail@sources.redhat.com \
    --to=pavel.zeldin@idt.com \
    --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).