public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/39213]  New: [4.4 Regression] Preprocessor ICE with -m64 and --traditional-cpp
@ 2009-02-17  4:28 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
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2009-02-17  4:28 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2011-01-05 16:27 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39213-4@http.gcc.gnu.org/bugzilla/>
2010-09-30 11:58 ` [Bug preprocessor/39213] [4.4/4.5/4.6 regression] Preprocessor ICE with -m64 and --traditional-cpp rguenth at gcc dot gnu.org
2010-11-22 23:17 ` ebotcazou at gcc dot gnu.org
2010-11-24 12:04 ` ebotcazou at gcc dot gnu.org
2010-11-24 12:46 ` ebotcazou at gcc dot gnu.org
2010-11-29  9:06 ` ebotcazou at gcc dot gnu.org
2010-12-17 10:46 ` jakub at gcc dot gnu.org
2010-12-18 17:35 ` ebotcazou at gcc dot gnu.org
2010-12-18 17:37 ` ebotcazou at gcc dot gnu.org
2011-01-04 23:18 ` ebotcazou at gcc dot gnu.org
2011-01-04 23:19 ` ebotcazou at gcc dot gnu.org
2011-01-04 23:19 ` ebotcazou at gcc dot gnu.org
2011-01-04 23:20 ` ebotcazou at gcc dot gnu.org
2011-01-05 16:45 ` rob1weld at aol dot com
2009-02-17  4:28 [Bug preprocessor/39213] New: [4.4 Regression] " 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

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).