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