This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]