[Bug middle-end/18548] [4.0 Regression] Miscompiles code generated by Gambit-C Scheme->C compiler

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 18 14:03:00 GMT 2004


------- Additional Comments From steven at gcc dot gnu dot org  2004-12-18 14:03 -------
Right... so this is miscompiled: 
;; a = MAX_EXPR <b, *(long int *) (a + 1)>  
 
but this is not: 
;; a = MAX_EXPR <*(long int *) (a + 1), b>  
 
Tricky to have a stable test case for this. 
 
I suppose we should just force both options of the MAX_EXPR into a reg. 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18548



More information about the Gcc-bugs mailing list