This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24173] ICE on returning a variable in a static templated member function



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]