--- Comment #6 from vmakarov at redhat dot com 2009-04-23 17:27 ---
Jakub, thanks for reducing the test. I'll investigate this bug more.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39856
--- Comment #5 from jakub at gcc dot gnu dot org 2009-04-23 09:13 ---
I guess this is related to the (sometimes) uninitialized r variable (the same
as in the original povray sources).
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #4 from jakub at gcc dot gnu dot org 2009-04-23 08:50 ---
Even more reduced:
extern double pow (double, double);
extern double fabs (double);
void foo (double *);
static double
bar (double x, double e)
{
if ((int) e == 1)
return x;
return pow (x, e);
}
void
test (d
--- Comment #3 from jakub at gcc dot gnu dot org 2009-04-23 08:45 ---
Simplified testcase (ICEs with both C and C++ FEs):
extern double pow (double, double);
extern double fabs (double);
void foo (double *);
void bar (double *);
static double
baz (double x, double e)
{
if ((int) e ==
--- Comment #2 from jakub at gcc dot gnu dot org 2009-04-22 22:05 ---
ICEs since http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143757
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-22 21:08 ---
Created an attachment (id=17678)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17678&action=view)
reduced testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39856