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



--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-01-09 
21:20:48 UTC ---

(In reply to comment #10)

> I am still seeing some UNSPEC notes during my mipt-mti-elf build, here is a

> testcase cut down from newlib/libc/misc/init.c, (ps and pe were originally 

> __preinit_array_start and __preinit_array_end):



I found those were hard to handle as it only shows up when taking the

difference between two addresses:

The RTL something looks like:

(minus:DI (plus:DI (minus:DI 

                      (ashift:DI (const:DI (unspec:DI [ (end  ) ] 227))

(const_int 32 [0x20]))

                      (ashift:DI (const:DI (unspec:DI [ (start) ] 227))

(const_int 32 [0x20]))

                   )

                   (const:DI (unspec:DI [ (end  ) ] 229))

           )

           (const:DI (unspec:DI [ (start) ] 229))

)

Reply via email to