[LLVMbugs] [Bug 12556] Function attribute 'constructor' priority parameter not respected
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Apr 14 05:20:01 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12556
Duncan Sands <baldrick at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |baldrick at free.fr
Resolution| |INVALID
--- Comment #1 from Duncan Sands <baldrick at free.fr> 2012-04-14 07:20:01 CDT ---
If you read the GCC docs carefully you will discover that the priority has to
be between 101 and 65535 inclusive. If I add 200 to each of your priorities,
then the testcase passes with the development version of clang. Note that
there have been fixes to LLVM's handling of cross-unit priorities since 3.0,
so it might not work with 3.0 even if you tweak priorities like this.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list