Opened 7 years ago
Closed 7 years ago
#11712 closed Bugs (duplicate)
dump_avx2 breaks -flto
Reported by: | Owned by: | Andrey Semashev | |
---|---|---|---|
Milestone: | To Be Determined | Component: | log |
Version: | Boost 1.59.0 | Severity: | Problem |
Keywords: | Cc: |
Description
you know this already, but according to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61043#c3 you can use https://gcc.gnu.org/onlinedocs/gcc-5.2.0/gcc/Function-Specific-Option-Pragmas.html since gcc 4.9. or at least provide build-time switch for disabling this optimization, the best workaround i found is commenting out offending sources in jamfile, which is suboptimal.
Note:
See TracTickets
for help on using tickets.
Duplicates #9766.
LTO is not supported, I believe, until gcc 5 (I did not check), which attaches the necessary target attributes to functions automatically. I see no point in marking functions specifically for 4.9. Marking functions is not possible for pre-4.9 gcc releases.