This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19551] [3.4/4.0 Regression] LAPACK routine claic1.f bug
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2005 16:13:17 -0000
- Subject: [Bug middle-end/19551] [3.4/4.0 Regression] LAPACK routine claic1.f bug
- References: <20050120222246.19551.billingd@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jakub at gcc dot gnu dot org 2005-01-21 16:13 -------
Simplified testcase:
extern void abort ();
__attribute__((pure)) _Complex float
foo (int x)
{
_Complex float r;
__real r = x + 1;
__imag r = x - 1;
return r;
}
void
bar (float *f)
{
*f = foo (5);
}
int
main (void)
{
float f;
bar (&f);
if (f != 6.0)
abort ();
return 0;
}
Likely the culprit is in libcall_dead_p.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19551