Committed as obvious. gcc/ xxxx-xx-xx Claudiu Zissulescu <claz...@synopsys.com>
* config/arc/arc.h (ASM_FORMAT_PRIVATE_NAME): Fix it. --- gcc/ChangeLog | 6 +++++- gcc/config/arc/arc.h | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 928c7939925..9da7a4a76b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,10 +1,14 @@ +2020-03-31 Claudiu Zissulescu <claz...@synopsys.com> + + * config/arc/arc.h (ASM_FORMAT_PRIVATE_NAME): Fix it. + 2020-03-31 Srinath Parvathaneni <srinath.parvathan...@arm.com> * config/arm/arm_mve.h (vbicq): Define MVE intrinsic polymorphic variant. (__arm_vbicq): Likewise. -2020-0-31 Vineet Gupta <vgu...@synopsys.com> +2020-03-31 Vineet Gupta <vgu...@synopsys.com> * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700. diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index be1d5cb21e7..fd6e21adfaa 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -1136,9 +1136,9 @@ do { \ /* Store in OUTPUT a string (made with alloca) containing an assembler-name for a local static variable named NAME. LABELNO is an integer which is different for each call. */ -#define ASM_FORMAT_PRIVATE_NAME(OUTPUT, NAME, LABELNO) \ -( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 10), \ - sprintf ((OUTPUT), "%s.%d", (NAME), (LABELNO))) +#define ASM_FORMAT_PRIVATE_NAME(OUTPUT, NAME, LABELNO) \ + ((OUTPUT) = (char *) alloca (strlen ((NAME)) + 10), \ + sprintf ((OUTPUT), "%s.%u", (NAME), (unsigned int)(LABELNO))) /* The following macro defines the format used to output the second operand of the .type assembler directive. Different svr4 assemblers -- 2.24.1