[LLVMbugs] [Bug 589] NEW: Error in optimization: A > ( A && A )

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jun 25 14:59:31 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=589

           Summary: Error in optimization: A > ( A && A )
           Product: tools
           Version: 1.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bryan.turner at pobox.com


Diff outputs of this program in Debug vs Optimized (-O3) mode.


/*
// --- RANDOMLY GENERATED PROGRAM ---
// Program Generator by Bryan Turner (bryan.turner at pobox.com)
*/

#include <stdio.h>

/* --- MAIN --- */
/* ------------------------------------------ */
int main(  )
{
  unsigned short l_42279818 = 0xA737;
  if ( ( l_42279818 > ( l_42279818 && l_42279818 )  )  )
  {
  	printf( "Good!\n");
  }
}



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list