https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70336
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Jul 7 12:33:10 2016 New Revision: 238090 URL: https://gcc.gnu.org/viewcvs?rev=238090&root=gcc&view=rev Log: Backported from mainline 2016-04-05 Jakub Jelinek <ja...@redhat.com> PR c++/70336 * match.pd (nested int casts): Limit to GIMPLE. * c-c++-common/pr70336.c: New test. * gcc.dg/torture/builtin-isinf_sign-1.c (foo): Guard tests no longer optimized away at -O0 with #ifndef __OPTIMIZE__. Added: branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr70336.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/match.pd branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/builtin-isinf_sign-1.c