This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24173] ICE on returning a variable in a static templated member function
- From: "jaschmidt at uofu dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2005 02:40:51 -0000
- Subject: [Bug c++/24173] ICE on returning a variable in a static templated member function
- References: <bug-24173-11451@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jaschmidt at uofu dot net 2005-10-03 02:40 -------
(In reply to comment #2)
> >When recompiling with -save-temps, no longer get the ICE and code compiles.
>
> Can you try without -save-temps again and see if you can reproducible.
>
Without the -save-temps, the code gives me an ICE:
GNU C++ version 4.0.2 (Debian 4.0.2-2) (i486-linux-gnu)
compiled by GNU C version 4.0.2 (Debian 4.0.2-2).
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129554
../src/Packages/Uintah/StandAlone/compare_uda.cc:724: warning: 'class
FieldComparator' has virtual functions but non-virtual destructor
../src/Packages/Uintah/Core/Grid/Variables/SFCZVariable.h: In static member
function 'static const Uintah::TypeDescription*
Uintah::SFCZVariable<T>::getTypeDescription() [with T = float]':
../src/Packages/Uintah/Core/Grid/Variables/SFCZVariable.h:227: internal
compiler error: Segmentation fault
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24173