------- Comment #8 from reichelt at gcc dot gnu dot org 2006-07-26 20:08
-------
Here's a reduced testcase:
Compile (on x86_64-unknown-linux-gnu) with:
g++ -O -ftree-vectorize -ftree-vectorizer-verbose=1 --param ggc-min-expand=0
--param ggc-min-heapsize=0
On i686-pc-linux-gnu you'll probably have to add -march=pentium4 or so.
====================================
void foo() {}
void bar(int *p)
{
for (int i = 0; i < 4; i++)
p[i] = 0;
}
inline void baz(int i)
{
while (i) ++i;
}
struct A
{
A() { baz(3); }
};
A a, b;
====================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27742