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