[LLVMbugs] [Bug 6364] gcc option -fno-toplevel-reorder separates top level inline asm which affects eglibc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 21 16:31:28 PST 2010


http://www.llvm.org/bugs/show_bug.cgi?id=6364

--- Comment #7 from Sergey Yakoushkin <sergey.yakoushkin at gmail.com> 2010-02-21 18:31:28 CST ---
Wouldn't simple saving of initial lexical order in parser be enough to reorder
inlined top level asm to output correctly?

I've contacted eglibc maintainers and got the following answer. Seems they
expect this option to be supported by compilers:

2010/2/22 Joseph S. Myers <joseph at codesourcery.com>:
> On Mon, 22 Feb 2010, Sergey Yakoushkin wrote:
>
>> This option might become deprecated in gcc (~v 4.6),
>
> That seems an *extremely* unlikely speculation.  What actual evidence from
> GCC development discussions do you have for it?  I think someone has got
> confused by some old discussions of -fno-toplevel-reorder as the
> replacement for deprecated -fno-unit-at-a-time into thinking it's
> -fno-toplevel-reorder that's deprecated; it's not and is hardly likely to
> be.
>
> --
> Joseph S. Myers
> joseph at codesourcery.com
>

-- 
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the llvm-bugs mailing list