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


------- Additional Comments From snyder at fnal dot gov  2004-09-13 13:52 -------
Subject: Re:  [3.5 Regression] internal compiler
 error: in optimize_mode_switching, at lcm.c:1225


Here's one without loops or throws.
I ran into this independently; it looks like a common feature is a float->int conversion.

--------------------------------------------------
struct vector
{
  ~vector();
};

float bar();
void foo(int r);

void Draw ()
{
  vector counts;
  foo ((int)bar());
}
--------------------------------------------------


-- 


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]