public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38322] New: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64
@ 2008-11-30 2:39 howarth at nitro dot med dot uc dot edu
2008-12-01 0:18 ` [Bug preprocessor/38322] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-11-30 2:39 UTC (permalink / raw)
To: gcc-bugs
The gcc.dg/cpp/trad/include.c -fno-show-column compilation test ICEs with...
/sw/src/fink.build/gcc44-4.3.999-20081129/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc44-4.3.999-20081129/darwin_objdir/gcc/
/sw/src/fink.build/gcc44-4.3.999-20081129/gcc-4.4-20081129/gcc/testsuite/gcc.dg/cpp/trad/include.c
-fno-show-column -traditional-cpp -E -m32 -o include.i
<built-in>:0: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
No luck so far in getting a backtrace. Same error at -m64.
--
Summary: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -
m32 and -m64
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: howarth at nitro dot med dot uc dot edu
GCC build triplet: x86_64-apple-darwin10
GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38322
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/38322] ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64
2008-11-30 2:39 [Bug c/38322] New: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64 howarth at nitro dot med dot uc dot edu
@ 2008-12-01 0:18 ` pinskia at gcc dot gnu dot org
2008-12-01 14:25 ` howarth at nitro dot med dot uc dot edu
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-01 0:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-01 00:17 -------
I had the same thing for the PS3 compiler, it turned out due to C++ style
comments in the system headers. This was causing libcpp to abort.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |preprocessor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38322
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/38322] ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64
2008-11-30 2:39 [Bug c/38322] New: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64 howarth at nitro dot med dot uc dot edu
2008-12-01 0:18 ` [Bug preprocessor/38322] " pinskia at gcc dot gnu dot org
@ 2008-12-01 14:25 ` howarth at nitro dot med dot uc dot edu
2009-01-02 16:47 ` tromey at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-12-01 14:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from howarth at nitro dot med dot uc dot edu 2008-12-01 14:23 -------
I don't see any c++ comments in the included system headers. Is there a way in
gcc to dump the preprocessed source in a manner that won't parse out the
comments? When I dropped the '-fno-show-column -traditional-cpp' flags, the
abort was eliminated but the resulting include.i is missing the comments. A
manual search of the system headers didn't show any but it would be nice to be
able to verify through gcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38322
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/38322] ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64
2008-11-30 2:39 [Bug c/38322] New: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64 howarth at nitro dot med dot uc dot edu
2008-12-01 0:18 ` [Bug preprocessor/38322] " pinskia at gcc dot gnu dot org
2008-12-01 14:25 ` howarth at nitro dot med dot uc dot edu
@ 2009-01-02 16:47 ` tromey at gcc dot gnu dot org
2009-01-02 17:18 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2009-01-02 16:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tromey at gcc dot gnu dot org 2009-01-02 16:44 -------
You can try -C to keep the comments.
In the original report you said you can't get a backtrace.
That makes it a lot harder :(
Could you try shrinking the test case somehow?
Or perhaps you could change the abort() calls in libcpp to something
that would print __FILE__ and __LINE__. That might help a little.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38322
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/38322] ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64
2008-11-30 2:39 [Bug c/38322] New: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64 howarth at nitro dot med dot uc dot edu
` (2 preceding siblings ...)
2009-01-02 16:47 ` tromey at gcc dot gnu dot org
@ 2009-01-02 17:18 ` pinskia at gcc dot gnu dot org
2009-01-02 17:19 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-02 17:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2009-01-02 17:09 -------
Here is a reduced testcase:
t.c:
#include <t.h>
--- CUT ---
t.h:
#ifdef __PME__
#define _TLS_QUAL /*0123456790*/
#endif // __PME__
Compile with "gcc t.c -isystem . -traditional-cpp".
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-01-02 17:09:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38322
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/38322] ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64
2008-11-30 2:39 [Bug c/38322] New: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64 howarth at nitro dot med dot uc dot edu
` (3 preceding siblings ...)
2009-01-02 17:18 ` pinskia at gcc dot gnu dot org
@ 2009-01-02 17:19 ` pinskia at gcc dot gnu dot org
2009-01-02 22:41 ` howarth at nitro dot med dot uc dot edu
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-02 17:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2009-01-02 17:11 -------
I can reproduce the abort on both i686-linux-gnu and i386-darwin8.11 with my
reduced testcase.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|x86_64-apple-darwin10 |
GCC host triplet|x86_64-apple-darwin10 |
GCC target triplet|x86_64-apple-darwin10 |
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38322
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/38322] ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64
2008-11-30 2:39 [Bug c/38322] New: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64 howarth at nitro dot med dot uc dot edu
` (4 preceding siblings ...)
2009-01-02 17:19 ` pinskia at gcc dot gnu dot org
@ 2009-01-02 22:41 ` howarth at nitro dot med dot uc dot edu
2009-02-21 20:18 ` howarth at nitro dot med dot uc dot edu
2010-03-10 3:47 ` howarth at nitro dot med dot uc dot edu
7 siblings, 0 replies; 9+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-01-02 22:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from howarth at nitro dot med dot uc dot edu 2009-01-02 22:40 -------
The test case from Comment 4 triggers the error on x86_64-apple-darwin10 as
well.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38322
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/38322] ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64
2008-11-30 2:39 [Bug c/38322] New: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64 howarth at nitro dot med dot uc dot edu
` (5 preceding siblings ...)
2009-01-02 22:41 ` howarth at nitro dot med dot uc dot edu
@ 2009-02-21 20:18 ` howarth at nitro dot med dot uc dot edu
2010-03-10 3:47 ` howarth at nitro dot med dot uc dot edu
7 siblings, 0 replies; 9+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-02-21 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from howarth at nitro dot med dot uc dot edu 2009-02-21 20:18 -------
This problem in darwin10 is in fact due to c++ comments in
/usr/include/Availability.h and /usr/include/AvailabilityInternal.h. Replacing
those with c style comments allows the gcc.dg/cpp/trad/include.c
-fno-show-column testcase to pass without ICE'ing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38322
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/38322] ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64
2008-11-30 2:39 [Bug c/38322] New: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64 howarth at nitro dot med dot uc dot edu
` (6 preceding siblings ...)
2009-02-21 20:18 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-10 3:47 ` howarth at nitro dot med dot uc dot edu
7 siblings, 0 replies; 9+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-10 3:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from howarth at nitro dot med dot uc dot edu 2010-03-10 03:47 -------
This bug is fixed for the release Mac OS X 10.6 (ie the c++ comments are
removed from /usr/include/Availability.h and
/usr/include/AvailabilityInternal.h.
--
howarth at nitro dot med dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38322
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-03-10 3:47 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-30 2:39 [Bug c/38322] New: ICE in gcc.dg/cpp/trad/include.c -fno-show-column at -m32 and -m64 howarth at nitro dot med dot uc dot edu
2008-12-01 0:18 ` [Bug preprocessor/38322] " pinskia at gcc dot gnu dot org
2008-12-01 14:25 ` howarth at nitro dot med dot uc dot edu
2009-01-02 16:47 ` tromey at gcc dot gnu dot org
2009-01-02 17:18 ` pinskia at gcc dot gnu dot org
2009-01-02 17:19 ` pinskia at gcc dot gnu dot org
2009-01-02 22:41 ` howarth at nitro dot med dot uc dot edu
2009-02-21 20:18 ` howarth at nitro dot med dot uc dot edu
2010-03-10 3:47 ` howarth at nitro dot med dot uc dot edu
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).