[Bug preprocessor/15167] [3.4/3.5 Regression] Internal compiler error with "#pragma once"

ossama at dre dot vanderbilt dot edu gcc-bugzilla@gcc.gnu.org
Wed Apr 28 17:01:00 GMT 2004


------- Additional Comments From ossama at dre dot vanderbilt dot edu  2004-04-28 16:55 -------
I get similar errors when compiling the latest CVS HEAD branch ACE sources:

$ /usr/local/gcc-3.4/bin/g++ -v  -W -Wall -Wpointer-arith -O -g -pipe  -pedantic
-Wno-long-long -Wuninitialized -Wwrite-strings -Wcast-align
-D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -Wundef  
-I/home/ossama/work/head/ACE_wrappers -DACE_HAS_EXCEPTIONS -DACE_NO_INLINE
-DACE_BUILD_DLL -DACE_OS_BUILD_DLL  -c -fPIC -o .shobj/OS_NS_Thread.o
OS_NS_Thread.cpp
Reading specs from /usr/local/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ./configure --prefix=/usr/local/gcc-3.4 --enable-shared
--enable-threads=posix --enable-__cxa_atexit
Thread model: posix
gcc version 3.4.0
 /usr/local/gcc-3.4/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1plus -quiet -v
-I/home/ossama/work/head/ACE_wrappers -D_GNU_SOURCE -D_REENTRANT
-DACE_HAS_AIO_CALLS -D_GNU_SOURCE -DACE_HAS_EXCEPTIONS -DACE_NO_INLINE
-DACE_BUILD_DLL -DACE_OS_BUILD_DLL OS_NS_Thread.cpp -quiet -dumpbase
OS_NS_Thread.cpp -mtune=pentiumpro -auxbase-strip .shobj/OS_NS_Thread.o -g -O -W
-Wall -Wpointer-arith -pedantic -Wno-long-long -Wuninitialized -Wwrite-strings
-Wcast-align -Wundef -version -fPIC -o -
|
 as -V -Qy -o .shobj/OS_NS_Thread.o -
ignoring nonexistent directory
"/usr/local/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/ossama/work/head/ACE_wrappers
 /usr/local/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0
 /usr/local/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/i686-pc-linux-gnu
 /usr/local/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/backward
 /usr/local/include
 /usr/local/gcc-3.4/include
 /usr/local/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.0/include
 /usr/include
End of search list.
GNU C++ version 3.4.0 (i686-pc-linux-gnu)
        compiled by GNU C version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64160
GNU assembler version 2.13.90.0.18 (i386-redhat-linux) using BFD version
2.13.90.0.18 20030206
In file included from /home/ossama/work/head/ACE_wrappers/ace/OS_NS_Thread.h:31,
                from OS_NS_Thread.cpp:1:
/home/ossama/work/head/ACE_wrappers/ace/os_include/os_pthread.h:24: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


Similarly, I was not able to produce preprocessed output that triggered the problem.



-- 


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



More information about the Gcc-bugs mailing list