This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2005 06:24:23 -0000
- Subject: [Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions
- References: <20050819061804.23476.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 06:24 -------
Ignore the comment about fold, copy prop is doing its job.
Also here is a testcase which can be repduced with a simple -O2 so this is definitely a regression now
and not just a latent bug waiting to be exposed by other changes:
int h(int);
int t;
static inline int f(const int i)
{
int tt = i;
_Bool a = i < t;
if (a)
return h(t);
return 9;
}
int g(void)
{
return f(0x7FFFFFFF);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23476