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++/13392] [3.3/3.4 regression] ICE in convert_from_eh_region_ranges_1, at except.c:1133


------- Additional Comments From bkoz at redhat dot com  2003-12-15 16:14 -------
Subject: Re:  ICE in convert_from_eh_region_ranges_1, at
 except.c:1133


>Confirmed. A regression in 3.3 and mainline from 3.2.3. Here is 
>something smaller: 
>---------------------- 
>#include <string> 
> 
>bool foo(std::string s = std::string()) { 
>  return false; 
>} 
> 
>void RemoveArgument() { 
>  (__builtin_expect (foo() && true, 1) ? 0 : (abort(), 0)); 
>} 
>---------------------- 

Wow, this reduction is pretty impressive. You went from 856k to 5 lines! Awesome. 

-benjamin


-- 


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


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