-
Notifications
You must be signed in to change notification settings - Fork 54
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
Optimisation fails in PIC modes #244
Comments
I'm rapidly growing to dislike I also assume that it's related to #232... The assertion failure is close to a 'HALF-UNDERSTOOD HACK' that I added to prevent a different internal compiler error. So the first thing to try will be to disable that hack... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wolfgang, thank you for fixing my previous issue with -msep-data. My ROM driver is working well. Working with the A5 data model I also noticed that compilation fails on any non-0 optimisation level.
Currently I work around this by giving a long list of individual "-fsomething" arguments that does NOT include "-fcombine-stack-adjustments".
I poked around expr.cc, where I got the vague idea that "note" structures track how much scratch data needs to be popped from the stack, but my understanding is limited. From the history of expr.cc it seems that this is bug came from upstream GCC.
The text was updated successfully, but these errors were encountered: