$ uname -a
Linux localhost 2.4.7-10 #1 Thu Sep 6 16:46:36 EDT 2001 i686 unknown
$ g++ -v
Using built-in specs.
Configured with: ../configure --prefix=/usr/local/toolchain-4.0.0
--with-gcc-version-trigger=/home/syncad/gcc-4.0-20050130/gcc/version.c
--enable-languages=c,c++
Thread model: posix
gcc version 4.0.0 20050130 (experimental)
$ g++ -g3 -ggdb3 -gstabs+ -O0 -fPIC -Wl,-O1 -trigraphs -Wall
-Wno-unknown-pragmas -Wno-trigraphs -Wno-deprecated -fpermissive
-fno-strict-aliasing -fPIC -fno-for-scope -fPIC  -c -o xxx  
importwaveformdlg.cpp
<built-in>:1:1: warning: "__STDC_HOSTED__" redefined
<built-in>:1:1: warning: this is the location of the previous definition
g++: -O1: linker input file unused because linking not done
<built-in>:1:1: warning: "__STDC_HOSTED__" redefined
<built-in>:1:1: warning: this is the location of the previous definition
In file included from ./gridtreectrl/GridOptionCell_src/GridComboCell.h:12,
                 from ./gridtreectrl/TreeColumn_src/GridTreeCell.h:66,
                 from ./newt/ch/igridtreecontrol.h:10,
                 from ./gridtreectrl/dep/acommongridtreecontrol.h:9,
                 from ./gridtreectrl/dep/avirtualgridtreecontrol.h:9,
                 from newt/asyncadvirtualgridtreecontrol.h:9,
                 from newt/availablesignalsvirttreectrl.h:9,
                 from newt/importwaveformdlg.h:11,
                 from newt/importwaveformdlg.cpp:22:
owl6/include/owl/commctrl.h:910: 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.
$ 
 
I tried to remove parts of the code which are not needed to make gcc crash but
it did not go well. The code contains almost no implementation. It is almost all
only declarations. Regardless of this, trying to change class declarations with
forward declararions makes the crash disappear. I was able to remove something
but it seems that preprocessed code must be really so long (about 160,000 
lines).

I do not see a way to attach the preprocessed code here. So, please, (whoever
will look into this) send me an email to [EMAIL PROTECTED] so that I can send 
the
code as attachement.

Peter.

-- 
           Summary: compiler crash  (segmentation fault)
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peter at syncad dot com
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to