[LLVMbugs] [Bug 2276] New: probable integer codegen bug

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri May 2 21:20:33 PDT 2008


           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: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu

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");
      printf ("bar\n");
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.

More information about the llvm-bugs mailing list