Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit opting out of auto-optimization in GCC #2528

Closed
mwinterb opened this issue Oct 2, 2021 · 1 comment
Closed

Permit opting out of auto-optimization in GCC #2528

mwinterb opened this issue Oct 2, 2021 · 1 comment

Comments

@mwinterb
Copy link
Contributor

mwinterb commented Oct 2, 2021

I don't know if this is what #2526 is attempting to address since there's not enough detail, but old GCC's targeting ARM (and AVR and MSP430) emit a warning on #pragma GCC pop_options, see https://godbolt.org/z/YqrGTGMEq. The ARM and AVR targets are using GCC's older than what fmtlib supports, but I know that ARM targeting GCC 4.8.3 as well as 4.9 based on this bug report also emitted it, but godbolt doesn't have those specific versions.

@vitaut
Copy link
Contributor

vitaut commented Oct 2, 2021

Implemented a workaround for the GCC bug in 012cc70. You don't really need to opt out (although you could by defining FMT_PRAGMA).

@vitaut vitaut closed this as completed Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants