From 845c76ce64bf1cbfcf89651ff84ce8abc28533af Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 24 Aug 2017 16:18:57 +0200 Subject: [PATCH] dwarf2out.c (MAX_ARTIFICIAL_LABEL_BYTES): Increase to 40. * dwarf2out.c (MAX_ARTIFICIAL_LABEL_BYTES): Increase to 40. * dwarf2cfi.c (MAX_ARTIFICIAL_LABEL_BYTES): Remove. From-SVN: r251334 --- gcc/ChangeLog | 7 ++++++- gcc/dwarf2cfi.c | 3 --- gcc/dwarf2out.c | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cca96ed3c13..50ebb2b71ee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,9 @@ -2017-08-23 Richard Biener +2017-08-24 Uros Bizjak + + * dwarf2out.c (MAX_ARTIFICIAL_LABEL_BYTES): Increase to 40. + * dwarf2cfi.c (MAX_ARTIFICIAL_LABEL_BYTES): Remove. + +2017-08-24 Richard Biener PR target/81921 * targhooks.c (default_target_can_inline_p): Properly diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c index a5f9832fc4a..371e90e2a30 100644 --- a/gcc/dwarf2cfi.c +++ b/gcc/dwarf2cfi.c @@ -52,9 +52,6 @@ along with GCC; see the file COPYING3. If not see #ifndef INCOMING_RETURN_ADDR_RTX #define INCOMING_RETURN_ADDR_RTX (gcc_unreachable (), NULL_RTX) #endif - -/* Maximum size (in bytes) of an artificially generated label. */ -#define MAX_ARTIFICIAL_LABEL_BYTES 30 /* A collected description of an entire row of the abstract CFI table. */ struct GTY(()) dw_cfi_row diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index a4887b572f2..9fc32fefc59 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -178,7 +178,7 @@ static GTY(()) section *debug_ranges_section; static GTY(()) section *debug_frame_section; /* Maximum size (in bytes) of an artificially generated label. */ -#define MAX_ARTIFICIAL_LABEL_BYTES 30 +#define MAX_ARTIFICIAL_LABEL_BYTES 40 /* According to the (draft) DWARF 3 specification, the initial length should either be 4 or 12 bytes. When it's 12 bytes, the first 4 -- 2.30.2