http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54486
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-03 18:18:54 UTC --- Author: jakub Date: Wed Apr 3 17:57:32 2013 New Revision: 197444 URL: http://gcc.gnu.org/viewcvs?rev=197444&root=gcc&view=rev Log: Backported from mainline 2012-09-05 Jakub Jelinek <ja...@redhat.com> PR middle-end/54486 * builtins.c (fold_builtin_strspn, fold_builtin_strcspn): Use build_int_cst with size_type_node instead of size_int. * c-c++-common/pr54486.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/c-c++-common/pr54486.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/builtins.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog