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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|ASSIGNED                    |NEW
                 CC|                            |msebor at gcc dot gnu.org
          Component|middle-end                  |c
           Assignee|rguenth at gcc dot gnu.org         |unassigned at gcc dot 
gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
gimple_fold_builtin_strchr expects the call LHS to be of pointer type.  And the
bug is (again) the C frontend happily setting DECL_FUNCTION_CODE on such bogus
prototypes.

Reply via email to