This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/55721] -mabi=64 compilation results in unknown UNSPEC note


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]