This is the mail archive of the gcc-bugs@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]

[Bug other/49284] -fdump-ipa-cgraph leads to ICE in generate_canonical_option, at opts-common.c:303


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]