public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rob1weld at aol dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/39213]  New: [4.4 Regression] Preprocessor ICE with -m64 and --traditional-cpp
Date: Tue, 17 Feb 2009 04:28:00 -0000	[thread overview]
Message-ID: <bug-39213-13830@http.gcc.gnu.org/bugzilla/> (raw)

+++ This bug was initially created as a clone of 
Bug #15913 "[4.0 Regression] Preprocessor dies 
on // comment if --traditional-cpp is specified" +++

The example in Bug #15913 compiles correctly with trunk revision 144203
but the Testsuite ../gcc_trunk/gcc/testsuite/gcc.dg/cpp/trad/include.c
does not. It compile without an ICE using gcc 3.4.3 so this is a 
Regression on the Trunk.


Works (gcc "3.4.3 (csl-sol210-3_4-branch+sol_rpath)") :

# /usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

#/usr/sfw/bin/gcc -m64 -E --traditional-cpp
../gcc_trunk/gcc/testsuite/gcc.dg/cpp/trad/include.c -o delete-include.i
# (no error messages)


Works (Without "--traditional-cpp") :

# /usr/local/bin/gcc -m64 -E
/usr/share/src/gcc_trunk/gcc/testsuite/gcc.dg/cpp/trad/include.c -o
delete-include.i
/usr/share/src/gcc_trunk/gcc/testsuite/gcc.dg/cpp/trad/include.c:10:1: warning:
"__STDC__" redefined
# (no error messages)


Works (Without "-m64") :

# /usr/local/bin/gcc -E --traditional-cpp
/usr/share/src/gcc_trunk/gcc/testsuite/gcc.dg/cpp/trad/include.c -o
delete-include.i
# (no error messages)



ICE (use both "-m64" and "--traditional-cpp"):

# /usr/local/bin/gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc_trunk/configure --build=i386-pc-solaris2.11
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared
--disable-static --enable-multilib --enable-decimal-float
--with-long-double-128 --with-included-gettext --enable-stage1-checking
--enable-checking=release --with-tune=k8 --with-cpu=k8 --with-arch=k8
--with-gnu-as --with-as=/usr/local/bin/as --without-gnu-ld
--with-ld=/usr/bin/amd64/ld --with-gmp=/usr/local --with-mpfr=/usr/local
--without-ppl
Thread model: posix
gcc version 4.4.0 20090216 (experimental) [trunk revision 144203] (GCC) 

# /usr/local/bin/gcc -m64 -E --traditional-cpp
/usr/share/src/gcc_trunk/gcc/testsuite/gcc.dg/cpp/trad/include.c -o
delete-include.i
<built-in>:0: internal compiler error: Abort
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Thanks,
Rob


-- 
           Summary: [4.4 Regression] Preprocessor ICE with -m64 and --
                    traditional-cpp
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39213


             reply	other threads:[~2009-02-17  4:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17  4:28 rob1weld at aol dot com [this message]
2009-02-17 21:51 ` [Bug preprocessor/39213] " pinskia at gcc dot gnu dot org
2010-03-19 20:33 ` ro at gcc dot gnu dot org
2010-06-20  2:11 ` [Bug preprocessor/39213] Regression [3.4.3] " rob1weld at aol dot com
2010-06-21 12:36 ` [Bug preprocessor/39213] [4.4/4.5/4.6 regression] " ro at gcc dot gnu dot org
2010-06-24 11:52 ` jakub at gcc dot gnu dot org
2010-06-24 12:20 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2010-06-24 12:56 ` jakub at gcc dot gnu dot org
2010-06-24 13:50 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2010-06-25 16:48 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2010-07-14 17:27 ` rob1weld at aol dot com

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=bug-39213-13830@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).