Hi,

I've also reported this bug to the Debian Bug tracking system at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=331265

I'll repeat it here.

Package: g++-3.3
Version: 1:3.3.5-13
Severity: normal

When building on x86, g++ 3.3 fails with the following error.

scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -Wall -g -O3 -save-temps -c -o geometry.o geometry.cpp
g++ -Wall -g -O3 -save-temps -c -o msi_tester.o msi_tester.cpp
In file included from msi_tester.cpp:5:
environment_test.hpp: In member function void
   environment_test::test_collision()':
   environment_test.hpp:74: internal compiler error: in
   resolve_overloaded_unification, at cp/pt.c:8541

I attach the msi_tester.ii file from -save-temps.

I have tried this with g++-3.4 and g++-4.0.1 from testing, and get similar
errors from both. Switching off optimization makes no difference in all
cases. Suggestions for a workaround would be appreciated.

I have not tried earlier versions of g++.

I can send original sources if necessary. Let me know if you want me to
report this upstream, or if you need more information.

                                                                  Faheem.


-- 
           Summary: g++-3.3: internal compiler error: in
                    resolve_overloaded_unification, at cp/pt.c:8541
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: faheem at email dot unc dot edu


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

Reply via email to