This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/55721] -mabi=64 compilation results in unknown UNSPEC note
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Jan 2013 21:20:48 +0000
- Subject: [Bug target/55721] -mabi=64 compilation results in unknown UNSPEC note
- Auto-submitted: auto-generated
- References: <bug-55721-4@http.gcc.gnu.org/bugzilla/>
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))
)