This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41661] [4.5 Regression] ICE due to IPCP trying to create/fold a REAL typed comparision
- 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: 10 Oct 2009 16:27:14 -0000
- Subject: [Bug tree-optimization/41661] [4.5 Regression] ICE due to IPCP trying to create/fold a REAL typed comparision
- References: <bug-41661-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-10 16:27 -------
Here is a testcase that fails also on x86_64 (but it also fails most likely
everywhere):
check (int result, const char *name)
{
if (!result)
printf ("fail %s\n", name);
}
#define vector __attribute__((vector_size(16) ))
static vector unsigned char value =
{ 0x7c, 0x12, 0x1, 0xd5,
0x39, 0x66, 0xa8, 0x87 };
int g(int, vector unsigned char, vector unsigned char);
void initn_c (
double p5 ,
vector unsigned char p6)
{
check(p5 == 1, "p5");
check(g (2, (p6), (value)), "p6");
}
void test(int a)
{
initn_c (1, value);
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|powerpc*-linux-gnu |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41661