2018 21:57
To: Vinay Kumar
Cc: gcc-patches@gcc.gnu.org
Subject: RE: Add new warning flag "warn_prio_ctor_dtor"
On Mon, 3 Sep 2018, Vinay Kumar wrote:
> Thanks for reviewing the patch and your suggestions.
> Please find attached the modified patch as per your review comments.
>
Hi Joseph,
>> The documentation is of a new option, not of -Wreturn-type
Done
>> you should list the option as -Wno-prio-ctor-dtor when documenting
Done
>> You're not meant to have the literal text ", no ()" in the manual
Sorry for the confusion. Modified it accordingly
>> I don't see why a
Hi Joseph,
>> Isn't it enabled by default, not by -Wall (so the main option is
>> -Wno-prio-ctor-dtor to disable the warning)?
Thanks for reviewing the patch and your suggestions.
Please find attached the modified patch as per your review comments.
Please review the patch and let me know if it
patch and let me know if its okay.
Tested on X86 Toolchain with no regressions.
2018-08-30 Vinay Kumar
gcc
* doc/invoke.texi (-Wreturn-type): Document new warning
-Wprio-ctor-dtor.
c-family
* c-attribs.c (get_priority): Add a warning flag warn_prio_ctor_dtor
to
ions have been added to check for this.
Tested with rl78-elf target simulator.
Regards,
Vinay Kumar
vina...@kpitcummins.com
gcc/ChangeLog
2013-05-06 Vinay Kumar
* config/rl78/rl78.c (rl78_expand_prologue): G10 target
support added.
(rl78_expand_epilogue): G10