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++/24996] [4.0/4.1/4.2 Regression] ICE on throw code



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-11-23 05:09 -------
Reduced testcase:
struct allocator {
  ~allocator();
};
struct string {
  string(int, const allocator& __a = allocator());
};
struct logic_error {
  logic_error(const string& __arg);
};
void foo(bool b) {
  throw b ? logic_error(0) : logic_error(0);
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
 GCC target triplet|i686-pc-linux-gnu           |
      Known to fail|                            |4.0.0 4.1.0 4.2.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-23 05:09:51
               date|                            |


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


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