This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
calls.c:2697: `alignment_pad' undeclared
- To: Catherine Moore <clm at cygnus dot com>, gcc-bugs at gcc dot gnu dot org
- Subject: calls.c:2697: `alignment_pad' undeclared
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Fri, 29 Oct 1999 20:18:34 +0200 (MET DST)
Hi Catherine,
I am afraid your patch below broke bootstrap on sparc-sun-solaris2.6:
Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
* expr.c (emit_push_insn): New argument alignment_pad.
Update all callers. Adjust stack pointer based on alignment pad.
* function.c (pad_to_arg_alignment): New argument alignment_pad.
Update all callers. Track alignment_pad if boundary >PARM_BOUNDARY.
(locate_and_pad_parm): New argument alignment_pad. Update all
callers.
* expr.h (emit_push_insn): Update prototype.
(locate_and_pad_parm): Update prototype.
* calls.c (arg_data): Add new field alignment_pad.
(initialize_argument_information): Initialize alignment_pad.
Would you mind having a look?
/sw/test/gcc/gcc/gcc/calls.c: In function `expand_call':
/sw/test/gcc/gcc/gcc/calls.c:1911: warning: passing arg 3 of `init_cumulative_args' from incompatible pointer type
/sw/test/gcc/gcc/gcc/calls.c: In function `emit_library_call':
/sw/test/gcc/gcc/gcc/calls.c:2636: warning: passing arg 3 of `init_cumulative_args' from incompatible pointer type
/sw/test/gcc/gcc/gcc/calls.c:2697: `alignment_pad' undeclared (first use in this function)
/sw/test/gcc/gcc/gcc/calls.c:2697: (Each undeclared identifier is reported only once
/sw/test/gcc/gcc/gcc/calls.c:2697: for each function it appears in.)
/sw/test/gcc/gcc/gcc/calls.c: In function `emit_library_call_value':
/sw/test/gcc/gcc/gcc/calls.c:3168: warning: passing arg 3 of `init_cumulative_args' from incompatible pointer type
/sw/test/gcc/gcc/gcc/calls.c:3646: parse error before `struct'
gmake[2]: *** [calls.o] Error 1
gmake[2]: Leaving directory `/files/pfeifer/OBJ-2910-20:07/gcc'
Thanks,
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/