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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:6f346913f2a87e26c6095d9fbf3d20f926c5470a

commit r10-6184-g6f346913f2a87e26c6095d9fbf3d20f926c5470a
Author: Jason Merrill <ja...@redhat.com>
Date:   Thu Jan 23 12:43:15 2020 -0500

    c++: Avoid ICE when constant evaluation of __builtin_strchr fails.

    If we can't change the argument to &"...", use the original arg instead of
    the partially munged one.

        PR c++/93331 - ICE with __builtin_strchr.
        * constexpr.c (cxx_eval_builtin_function_call): Use the original
        argument if we didn't manage to extract a STRING_CST.

Reply via email to