This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47808] internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13326
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 9 Mar 2011 13:27:19 +0000
- Subject: [Bug c++/47808] internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13326
- Auto-submitted: auto-generated
- References: <bug-47808-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47808
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-09 13:27:02 UTC ---
(In reply to comment #2)
>
> $ /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
Most of these options have no effect on the ICE, when reporting bugs it is
helpful if you could reduce the command to the minimum that still causes the
error. In this case I don't think any of the options are relevant to the
error except -std=gnu++0x and maybe -fopenmp.
It's even more helpful if you can reduce the source code to something smaller
that still fails, see http://gcc.gnu.org/bugs/minimize.html for tips.
At the very least, compiling with -DNDEBUG would remove the __assert_rtn calls
which don't compile anywhere except Mac OS X.