[llvm-commits] [llvm-gcc-4.2] r52263 - in /llvm-gcc-4.2/trunk/gcc: c-cppbuiltin.c cfgexpand.c common.opt function.c toplev.c

Devang Patel dpatel at apple.com
Fri Jun 13 16:03:56 PDT 2008


On Jun 13, 2008, at 3:52 PM, Evan Cheng wrote:

> /tmp/llvmgcc42.roots/llvmgcc42~obj/src/gcc/function.c: In function
> ‘get_func_frame_size’:
> /tmp/llvmgcc42.roots/llvmgcc42~obj/src/gcc/function.c:347: error:
> ‘flag_stack_protect’ undeclared (first use in this function)
> /tmp/llvmgcc42.roots/llvmgcc42~obj/src/gcc/function.c:347: error:

I have

  345 get_func_frame_size (struct function *f)
  346 {
  347   if (FRAME_GROWS_DOWNWARD)
  348     return -f->x_frame_offset;
  349   else
  350     return f->x_frame_offset;
  351 }

What do you see in your function.c ?
-
Devang



More information about the llvm-commits mailing list