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++/14083] [3.3/3.4/3.5 regression] ICE in conditional expression operator with throw


------- Additional Comments From bangerth at dealii dot org  2004-02-09 14:36 -------
OK, here's the redux: 
----------------------- 
struct A { 
    A() throw() { } 
    A(const A&) throw() { } 
}; 
 
struct X { 
    A a; 
    X(); 
    X& operator=(const X& __str); 
}; 
 
bool operator==(const X& __lhs, const char* __rhs); 
        
int main() { 
  X x; 
  x=="" ? x : throw 1; 
} 
------------------- 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-02-09 14:36:09
               date|                            |


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


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