This is the mail archive of the gcc@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]

3.0-pre crashes on i686 code


I have a piece of code that crashes when compiled with -O -march=i686
(version from the cvs today).  This used to work couple of weeks back,
and it compiles if either -O or -march is omitted.

Is a proper bug report needed or is this some temporary problem?

Teemu

/usr/local/gcc3/lib/gcc-lib/i686-pc-linux-gnu/3.0/include/g++/bits/basic_ios.tcc:
In
   member function `void std::basic_ios<_CharT, 
   _Traits>::init(std::basic_streambuf<_CharT, _Traits>*) [with _CharT =
char, 
   _Traits = std::char_traits<char>]':
/usr/local/gcc3/lib/gcc-lib/i686-pc-linux-gnu/3.0/include/g++/bits/std_ostream.h:67:  
instantiated from `std::basic_ostream<_CharT,
_Traits>::basic_ostream(std::basic_streambuf<_CharT, _Traits>*) [with
_CharT = char, _Traits = std::char_traits<char>]'
test-money.cc:266:   instantiated from here
/usr/local/gcc3/lib/gcc-lib/i686-pc-linux-gnu/3.0/include/g++/bits/basic_ios.tcc:130:
Unrecognizable
   insn:
(insn 127 126 112 (set (reg:SI 52)
        (if_then_else:SI (ne (reg:CCZ 17 flags)
                (const_int 0 [0x0]))
            (mem/u/f:SI (symbol_ref:SI ("_ZNSt8ios_base7goodbitE")) 0)
            (mem/u/f:SI (symbol_ref:SI ("_ZNSt8ios_base6badbitE")) 0)))
-1 (insn_list 126 (nil))
    (expr_list:REG_DEAD (reg:CCZ 17 flags)
        (nil)))
/usr/local/gcc3/lib/gcc-lib/i686-pc-linux-gnu/3.0/include/g++/bits/basic_ios.tcc:130:
Internal
   compiler error in extract_insn, at recog.c:2210


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