This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/18548] [4.0 Regression] Miscompiles code generated by Gambit-C Scheme->C compiler
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Dec 2004 14:03:12 -0000
- Subject: [Bug middle-end/18548] [4.0 Regression] Miscompiles code generated by Gambit-C Scheme->C compiler
- References: <20041118185317.18548.lucier@math.purdue.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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