------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-12
16:53 -------
Reduced C testcase, just compile at -O3:
void write_char(char);
int len(char*);
void f(char *a)
{
int col = 0;
int i;
void wchar(char c)
{
if (c == '\t')
{
do {
wchar(' ');
} while ((col%8)!=0);
}
else
{
write_char (c);
col++;
}
}
for(i =0;i<len(a);i++)
{
wchar(*a);
}
}
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |normal
Status|UNCONFIRMED |NEW
Component|ada |tree-optimization
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-12 16:53:33
date| |
Summary|[4.0 Regression] ada does |[4.0 Regression] ada does
|not compile at -O3 |not compile at -O3 (nested
| |functions related)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19337