https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96058
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Martin Liska <mar...@gcc.gnu.org>: https://gcc.gnu.org/g:c0438ced53bcf57e4ebb1c38c226e41571aca892 commit r10-8542-gc0438ced53bcf57e4ebb1c38c226e41571aca892 Author: Martin Liska <mli...@suse.cz> Date: Mon Jul 27 12:30:24 2020 +0200 expr: build string_constant only for a char type gcc/ChangeLog: PR tree-optimization/96058 * expr.c (string_constant): Build string_constant only for a type that has same precision as char_type_node and is an integral type. (cherry picked from commit 7355a9408b990cdd20db91e2e1ba0b03e801d6a6)