[Bug c++/20280] [4.0/4.1 regression] ICE in create_tmp_var, at gimplify.c:368

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 2 13:31:00 GMT 2005


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-03-02 13:31 -------
Confirmed. Reduced testcase:

==================================
struct A
{
    ~A();
};

struct B : A {};

A& foo();

void bar(bool b)
{
    (B&) (b ? foo() : foo());
}
==================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code, monitored
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-02 13:31:27
               date|                            |
            Summary|internal compiler error: in |[4.0/4.1 regression] ICE in
                   |create_tmp_var, at          |create_tmp_var, at
                   |gimplify.c:368              |gimplify.c:368
   Target Milestone|---                         |4.0.0


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



More information about the Gcc-bugs mailing list