Re: RFA: Prevent an ICE when redeclaring a static function as weak

2016-04-26 Thread Jeff Law
On 02/17/2016 07:24 AM, Nick Clifton wrote: Hi Guys, Redefining a previously defined static function as both public and weak triggers an ICE in ipa-visibility.c: internal compiler error: in function_and_variable_visibility, at ipa-visibility.c:518 This bug has been discussed and patch p

Re: RFA: Prevent an ICE when redeclaring a static function as weak

2016-02-23 Thread Nick Clifton
Hi Jeff, > My inclination would be to defer to gcc-7. Richi, Jakub or Joseph, as > release managers, would have the final say though. It's OK. I will resubmit after gcc 6 branches. Cheers Nick

Re: RFA: Prevent an ICE when redeclaring a static function as weak

2016-02-22 Thread Jeff Law
On 02/22/2016 02:49 AM, Nick Clifton wrote: Hi Jeff, Redefining a previously defined static function as both public and weak triggers an ICE in ipa-visibility.c: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49899 Does this fix a regression? How far back am I allowed to go ? :-)

Re: RFA: Prevent an ICE when redeclaring a static function as weak

2016-02-22 Thread Nick Clifton
Hi Jeff, >>Redefining a previously defined static function as both public and >>weak triggers an ICE in ipa-visibility.c: >> >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49899 > Does this fix a regression? How far back am I allowed to go ? :-) The bug as reported in the PR existed i

Re: RFA: Prevent an ICE when redeclaring a static function as weak

2016-02-19 Thread Jeff Law
On 02/17/2016 07:24 AM, Nick Clifton wrote: Hi Guys, Redefining a previously defined static function as both public and weak triggers an ICE in ipa-visibility.c: internal compiler error: in function_and_variable_visibility, at ipa-visibility.c:518 This bug has been discussed and patc

RFA: Prevent an ICE when redeclaring a static function as weak

2016-02-17 Thread Nick Clifton
Hi Guys, Redefining a previously defined static function as both public and weak triggers an ICE in ipa-visibility.c: internal compiler error: in function_and_variable_visibility, at ipa-visibility.c:518 This bug has been discussed and patch proposed here: https://gcc.gnu.org/bugzilla/sh