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

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

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

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to David Binderman from comment #0)
> 1.
> 
> trunk/gcc/ipa-pure-const.c:1270:16: warning: enumeration value
> 'IPA_REF_ALIAS' not handled in switch [-Wswitch]
> 
> Source code is
> 
>           switch (ref->use)
> 
> Some code to deal with the IPA_REF_ALIAS might be a good idea.
> 
> 2.
> 
> trunk/gcc/ipa-reference.c:474:15: warning: enumeration value 'IPA_REF_ALIAS'
> not handled in switch [-Wswitch]
> 
> Source code is
> 
>       switch (ref->use)


GCC's -Wswitch does not catch this?

Reply via email to