[PATCH] Use -flto instead of -flto=N in DWARF producer string.
Martin Liška
mliska@suse.cz
Wed Jul 10 11:25:00 GMT 2019
On 7/10/19 1:15 PM, Jakub Jelinek wrote:
> On Wed, Jul 10, 2019 at 01:08:52PM +0200, Martin Liška wrote:
>> --- a/gcc/dwarf2out.c
>> +++ b/gcc/dwarf2out.c
>> @@ -24460,6 +24460,13 @@ gen_producer_string (void)
>> case OPT_fchecking_:
>> /* Ignore these. */
>> continue;
>> + case OPT_flto_:
>> + {
>> + const char *lto_canonical = "-flto";
>> + switches.safe_push (lto_canonical);
>> + len += strlen (lto_canonical) + 1;
>> + break;
>> + }
>
> The indentation looks off, when case is indented by 6 columns,
> { should be by 8 (i.e. a tab) and const by 10 (i.e. a tab + 2 spaces).
>
> Jakub
>
You are right, sorry for that.
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-flto-instead-of-flto-N-in-DWARF-producer-string.patch
Type: text/x-patch
Size: 964 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190710/7b9cda54/attachment.bin>
More information about the Gcc-patches
mailing list