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

Re: [Ping^2][PATCH][GCC-5] Fix "#pragma GCC pop_options" warning.


On 03/03/16 12:11, Bernd Schmidt wrote:
> On 03/03/2016 11:45 AM, Andre Vieira (lists) wrote:
>> On 29/02/16 10:47, Andre Vieira (lists) wrote:
>>> On 15/02/16 10:33, Andre Vieira (lists) wrote:
>>>> On 18/01/16 11:04, Andre Vieira (lists) wrote:
>>>>> Hi there,
>>>>>
>>>>> Can we have the "#pragma GCC pop_options" fix backported to GCC-5?
>>>>>
>>>>> Patch found in
>>>>> https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01261.html
>>>>> and was committed in r228794.
>>>>>
>>>>> The same patch applies cleanly to gcc-5, which would otherwise not be
>>>>> able to use this pragma even though the support is there.
> 
>> I understood it was a good idea to CC the appropriate maintainer on
>> this, so adding Bernd Schmidt to the CC.
> 
> Yeah, I think I remember this one. Ok.
> 
> 
> Bernd
> 

Thomas committed on my behalf at revision r233939.

2016-03-03  Andre Vieira  <andre.simoesdiasvieira@arm.com>

    Backport from mainline
    2015-10-14  Dominik Vogt  <vogt@linux.vnet.ibm.com>

    Fix "#pragma GCC pop_options"

    gcc/ChangeLog

    * targhooks.c (default_target_option_pragma_parse): Do not warn if
    called on behalf of "#pragma GCC pop_options".

    gcc/testsuite/ChangeLog
    * gcc.dg/pragma-pop_options-1.c: New test.

Thank you Thomas and Bernd.

Cheers,
Andre


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