This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I noticed that we were running the IPA passes if there was an error had been emitted already which is wrong. This caused an ICE because we would cause early inline to work but not update the cgraph data.
Anyways the correct thing is to disable IPA passes if there was an error.
Committed as approved by Honza in the bug report and a bootstrap on x86_64-linux-gnu and i686-linux-gnu.
Thanks, Andrew Pinski
* cgraphunit.c (cgraph_optimize): Don't run ipa passes if error or sorry count is non zero.
Attachment:
t.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |