Re: [PATCH] [ARC][COMMITTED] Fix diagnostic messages.

2019-04-24 Thread Claudiu Zissulescu
The DOC/DOC0/DOC1 are like keywords to be placed into the warning message. They shouldn't be translated as they can referenced directly in the specific processor architectural options. So, I will use %qs for them, and fix the other signalized problems. Thank you On Wed, Apr 17, 2019 at 2:25 PM Jak

Re: [PATCH] [ARC][COMMITTED] Fix diagnostic messages.

2019-04-17 Thread Marek Polacek
On Wed, Apr 17, 2019 at 01:25:05PM +0200, Jakub Jelinek wrote: > On Wed, Apr 17, 2019 at 02:09:33PM +0300, Claudiu Zissulescu wrote: > >/* Warn for unimplemented PIC in pre-ARC700 cores, and disable flag_pic. > > */ > >if (flag_pic && TARGET_ARC600_FAMILY) > > { > >warning (0

Re: [PATCH] [ARC][COMMITTED] Fix diagnostic messages.

2019-04-17 Thread Jakub Jelinek
On Wed, Apr 17, 2019 at 02:09:33PM +0300, Claudiu Zissulescu wrote: >/* Warn for unimplemented PIC in pre-ARC700 cores, and disable flag_pic. > */ >if (flag_pic && TARGET_ARC600_FAMILY) > { >warning (0, > -"PIC is not supported for %s. Generating non-PIC code only

[PATCH] [ARC][COMMITTED] Fix diagnostic messages.

2019-04-17 Thread Claudiu Zissulescu
Apply upper/dot rule on diagnostic messages. gcc/ -xx-xx Claudiu Zissulescu * config/arc/arc.c (arc_init): Format diagnostic string. (arc_override_options): Likewise. (check_if_valid_regno_const): Likewise. (arc_reorg): Likewise. --- gcc/ChangeLog|