This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/49284] -fdump-ipa-cgraph leads to ICE in generate_canonical_option, at opts-common.c:303
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 6 Jun 2011 09:07:55 +0000
- Subject: [Bug other/49284] -fdump-ipa-cgraph leads to ICE in generate_canonical_option, at opts-common.c:303
- Auto-submitted: auto-generated
- References: <bug-49284-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49284
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-06-06 09:07:54 UTC ---
On Sun, 5 Jun 2011, andi-gcc at firstfloor dot org wrote:
> FWIW I just commented out the offending assert and the option works
> now.
>
> Is that the correct fix?
No, that's certainly wrong. The caller of generate_canonical_option
should never be passing an argument to an option that doesn't take one.