This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/27742] [4.2 regression] ICE with -ftree-vectorizer-verbose



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]