[PATCH] ipa-icf.c: Fix issues generated by original latest commit
Andreas Schwab
schwab@linux-m68k.org
Sat Jan 10 10:16:00 GMT 2015
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> Chen Gang S <gang.chen@sunrus.com.cn> writes:
>
>> The related commit is "275e275 IPA ICF: target and optimization flags
>> comparison.". For sem_function::equals_private(), fix the typo issue,
>> and for target_opts_for_fn(), fix access NULL issue.
>
> The NULL pointer dereference issue also broke Solaris/SPARC bootstrap...
It broke almost everywhere, since there are only three targets that
register a pragma_parse hook and thus set target_option_default_node.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc-patches
mailing list