http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54063
Mikael Pettersson <mikpe at it dot uu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gcc dot gnu.org --- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2012-07-21 18:47:30 UTC --- It's caused by Alan Modra's "rs6000 toc reference rtl again" change in r187699: http://gcc.gnu.org/ml/gcc-cvs/2012-05/msg00696.html http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00006.html Here's the diff in output from r187698 and r187699 on this test case: --- glovar.s-r187698 2012-07-21 20:31:01.000000000 +0200 +++ glovar.s-r187699 2012-07-21 20:35:59.000000000 +0200 @@ -11,8 +11,9 @@ .previous .type lookup, @function .L.lookup: + addis 10,2,.LANCHOR0@toc@ha addis 8,2,.LANCHOR0@toc@ha - ld 9,.LANCHOR0@toc@l(8) + ld 9,.LANCHOR0@toc@l(10) addi 8,8,.LANCHOR0@toc@l cmpd 7,9,8 bne 7,.L4