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++/22626] New: [4.1 Regression] ICE with optimization turned on while trying to exand complex multiply


Take the following invalid code:
=====================
__complex__ double _M_value;
void f(void)
{
  __complex__ double __t;
  _M_value *= __t;
=====================

Yes the } is missing.  We get an ICE after the error.  This is only with -O1 and above.

-- 
           Summary: [4.1 Regression] ICE with optimization turned on while
                    trying to exand complex multiply
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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