[Bug other/77421] Bugs found in GCC with the help of PVS-Studio

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 31 18:56:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77421

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #6)
> Oh one more I missed. alter_output_for_subst_insn in gensupport.c has:
> 
>   if (alt < 2 || *insn_out == '*' || *insn_out != '@')
>     return insn_out;
> 
> The second condition is redundant, since if it's == '*' then it's also != '@'
> 

The missing warning is PR71345


More information about the Gcc-bugs mailing list