mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-19 02:44:59 +08:00
Use -flto instead of -flto=N in DWARF producer string.
2019-07-23 Martin Liska <mliska@suse.cz> * dwarf2out.c (gen_producer_string): Canonize -flto=N to -flto in dwarf producer string. From-SVN: r273717
This commit is contained in:
parent
9215b32807
commit
c0cdef59af
@ -1,3 +1,8 @@
|
||||
2019-07-23 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* dwarf2out.c (gen_producer_string): Canonize -flto=N
|
||||
to -flto in dwarf producer string.
|
||||
|
||||
2019-07-23 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* tree-cfg.c (label_for_bb): Remove global var.
|
||||
|
@ -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;
|
||||
}
|
||||
default:
|
||||
if (cl_options[save_decoded_options[j].opt_index].flags
|
||||
& CL_NO_DWARF_RECORD)
|
||||
|
Loading…
Reference in New Issue
Block a user