--- Comment #5 from gdr at gcc dot gnu dot org 2007-02-03 16:51 ---
Fixed in GC-4.1.0.
--
gdr at gcc dot gnu dot org changed:
What|Removed |Added
Status|NEW
--- Comment #4 from reichelt at gcc dot gnu dot org 2006-05-03 10:56
---
The testcase in comment #3 only crashes on x86_64-unknown-linux-gnu,
but not on i686-pc-linux-gnu.
The testcase below crashes on both archs:
===
char *p, *q;
inline int foo(int i)
--- Comment #3 from reichelt at gcc dot gnu dot org 2006-04-19 20:07
---
Confirmed.
Reduced testcase (compile with "-O -ftrapv"):
==
char *p, *q;
inline int foo(int i)
{
return (p - q) + i;
}
void bar()
{
int n, i;
for (n = 7; n-- > 0; )
fo