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

Erik Schnetter <schnetter at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |

--- Comment #2 from Erik Schnetter <schnetter at gmail dot com> 2011-03-09 
12:55:28 UTC ---
Strangely, I now receive the same error message for a different source file. I
am therefore reopening this bug report instead of opening a new one.

I am using:

g++ (GCC) 4.6.0 20110308 (experimental)

When I execute:

$ /Users/eschnett/gcc/bin/g++ -fopenmp -Wall -g3 -m128bit-long-double
-march=native -std=gnu++0x -fbounds-check -fstack-protector-all -ftrapv -O0
-fopenmp -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Woverloaded-virtual -c iobasic.ii

I receive the error message:

/Users/eschnett/EinsteinToolkit-hg/arrangements/Carpet/CarpetIOBasic/src/iobasic.cc:
In function ‘bool CarpetIOBasic::UseScientificNotation(const T&) [with T =
int]’:
/Users/eschnett/EinsteinToolkit-hg/arrangements/Carpet/CarpetLib/src/typecase.hh:149:118:
  instantiated from here
/Users/eschnett/EinsteinToolkit-hg/arrangements/Carpet/CarpetIOBasic/src/iobasic.cc:703:22:
internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13386

I can compile the same source code without problems with g++ 4.5.2.

Reply via email to