http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58809
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed May 7 16:11:42 2014 New Revision: 210180 URL: http://gcc.gnu.org/viewcvs?rev=210180&root=gcc&view=rev Log: Backported from mainline 2013-10-21 Marek Polacek <pola...@redhat.com> PR middle-end/58809 * fold-const.c (fold_range_test): Return 0 if the type is not an integral type. * gcc.dg/gomp/pr58809.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/gomp/pr58809.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/fold-const.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog