This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36090] [4.3/4.4 Regression] ppc64 cacoshl miscompilation
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 May 2008 09:46:50 -0000
- Subject: [Bug target/36090] [4.3/4.4 Regression] ppc64 cacoshl miscompilation
- References: <bug-36090-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from jakub at gcc dot gnu dot org 2008-05-02 09:46 -------
Created an attachment (id=15561)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15561&action=view)
gcc44-pr36090.patch
Untested patch that 1) tightens the checking in
legitimate_constant_pool_address_p - previously it could accept e.g. two
symrefs, two tocrefs or say MINUS (tocref, symref) etc. 2) should be able to
output everything that is accepted by that routine. All I've tested so far is
that it fixes this testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36090