[Bug rtl-optimization/36182] [4.3 Regression] Fix for PR 36090 causes libstdc++ regressions

rsandifo at nildram dot co dot uk gcc-bugzilla@gcc.gnu.org
Fri May 9 17:17:00 GMT 2008



------- Comment #11 from rsandifo at nildram dot co dot uk  2008-05-09 17:17 -------
Subject: Re:  [4.3 Regression] Fix for PR 36090 causes libstdc++ regressions

"bonzini at gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> I'll revert my patch on Monday even if no alternative solution for PR36090 is
> found during the weekend.  It opened too big cans of worms for a release
> branch, even though it fixed a serious regression.

For the record, I think it would be easier if the rs6000 port
used an unspec wrapper around the symbol, rather than a MINUS
of two symbols.  E.g.

   (const (unspec [(symbol_ref "foo")] UNSPEC_TOC))

and:

   (const (plus (unspec [(symbol_ref "foo")] UNSPEC_TOC)
                (const_int OFFSET)))

Richard


-- 


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



More information about the Gcc-bugs mailing list