This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17345] [3.5 Regression] internal compiler error: in optimize_mode_switching, at lcm.c:1225
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2004 16:55:32 -0000
- Subject: [Bug middle-end/17345] [3.5 Regression] internal compiler error: in optimize_mode_switching, at lcm.c:1225
- References: <20040907105846.17345.wanderer@rsu.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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