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/30392] [4.3 Regression] ice for legal kernel code with -Os



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-01-06 19:43 -------
Reduced testcase:
typedef unsigned long size_t;
static inline __attribute__((always_inline)) __attribute__((always_inline)) int
index_of(const int size)
{
 return __builtin_constant_p(size);
}
static inline int setup_cpu_cache(int t)
{
  return index_of(2);
}
int f(void)
{
  return setup_cpu_cache(0);
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30392


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