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++/17655] g++ getting SEGFAULT compilling the code with HUGE_VAL comparasions


------- Additional Comments From programm at metrocom dot ru  2004-09-24 18:13 -------
To bangerth@dealii.org:

Have you try to compile the preprocessed source, test1.cc?

It seems to me, the problem is releated to the expansion of
HUGE_VAL macro which can be system-dependent (for ex., I use 
linux 2.2 kernel on my system):
 
template<typename T> void GetFromString()
{
    if ((__extension__ ((union { unsigned char __c[8]; double __d; }) { __c: {
0, 0, 0, 0, 0, 0, 0xf0, 0x7f } }).__d)) {};
};

-- 


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


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