Re: [PATCH] ipa-icf.c: Fix issues generated by original latest commit

2015-01-12 Thread Martin Liška
On 01/12/2015 09:51 AM, Richard Biener wrote: On Sat, Jan 10, 2015 at 10:03 AM, Chen Gang S wrote: 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. Fo

Re: [PATCH] ipa-icf.c: Fix issues generated by original latest commit

2015-01-12 Thread Richard Biener
On Sat, Jan 10, 2015 at 10:03 AM, Chen Gang S wrote: > 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. > > For cross compiling h8300, it will cause t

Re: [PATCH] ipa-icf.c: Fix issues generated by original latest commit

2015-01-10 Thread Martin Liška
On 01/10/2015 10:03 AM, Chen Gang S wrote: > 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. > > For cross compiling h8300, it will cause the issue b

Re: [PATCH] ipa-icf.c: Fix issues generated by original latest commit

2015-01-10 Thread Andreas Schwab
Rainer Orth writes: > Chen Gang S 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

Re: [PATCH] ipa-icf.c: Fix issues generated by original latest commit

2015-01-10 Thread Rainer Orth
Chen Gang S 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... > T