https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90892
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Wed Jul 3 08:32:25 2019 New Revision: 272993 URL: https://gcc.gnu.org/viewcvs?rev=272993&root=gcc&view=rev Log: Handle '\0' in strcmp in RTL expansion (PR tree-optimization/90892). 2019-07-03 Martin Liska <mli...@suse.cz> PR tree-optimization/90892 * builtins.c (inline_expand_builtin_string_cmp): Handle '\0' in string constants. 2019-07-03 Martin Liska <mli...@suse.cz> PR tree-optimization/90892 * gcc.dg/pr90892.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr90892.c Modified: trunk/gcc/ChangeLog trunk/gcc/builtins.c trunk/gcc/testsuite/ChangeLog