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 middle-end/17345] [3.5 Regression] internal compiler error: in optimize_mode_switching, at lcm.c:1225


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-08 16:55 -------
Here is something smaller without templates:
double sqrt(double);
struct arr
{
  ~arr();
};
int t;
void alloc (long sz);
void blah ()
{
  arr index;
  alloc(10);
  for (int i=0; i<(int)sqrt(t); ++i)
    throw 2;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-09-08 11:15:05         |2004-09-08 16:55:31
               date|                            |


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


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