[PATCH] opts: do not do sanity check when an error is seen

Martin Liška mliska@suse.cz
Wed Jan 12 11:52:04 GMT 2022


On 12/16/21 17:44, Jeff Law wrote:
> 
> 
> On 12/16/2021 7:37 AM, Martin Liška wrote:
>> Do not check global options modification when an error is seen in parsing
>> of options (pragmas or attributes).
>>
>> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>>
>> Ready to be installed?
>> Thanks,
>> Martin
>>
>>     PR target/103709
>>
>> gcc/c-family/ChangeLog:
>>
>>     * c-pragma.c (handle_pragma_pop_options): Do not check
>>     global options modification when an error is seen in parsing
>>     of options (pragmas or attributes).
> OK
> jeff
> 

The following patch handled the same for attributes.

Pushed as obvious.
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-opts-do-not-do-sanity-check-when-an-error-is-seen.patch
Type: text/x-patch
Size: 962 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20220112/26d42521/attachment-0001.bin>


More information about the Gcc-patches mailing list