This is the mail archive of the gcc-patches@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]

Re: [PATCH] nvptx: do not implicitly enable -ftoplevel-reorder


On 08/01/2016 10:44 PM, Joseph Myers wrote:
On Fri, 22 Jul 2016, Bernd Schmidt wrote:

What's the motivation for supporting -fno-toplevel-reorder anyway? That's
practically just a legacy mode as far as I know.

It's for code that uses toplevel asms in ways for which it matters where
they appear in relation to functions in the .s file, or otherwise uses
asms or has a build system that manipulates the .s file in ways that break
with reordering.

Yes, but that sort of thing tends not to work with nvptx anyway, so I still don't really see the point.


Bernd


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