http://llvm.org/bugs/show_bug.cgi?id=2276
Summary: probable integer codegen bug
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Using recent svn targeting x86-32 running on Ubuntu Linux this program behaves
differently at -O0 and -O1:
int g_91 = 1;
void func_64 (void);
void func_64 (void)
{
long tmp = 1;
if ((1 | g_91) % tmp)
{
printf ("foo\n");
}
else
{
printf ("bar\n");
}
}
int
main (void)
{
func_64 ();
return (0);
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs