This is the mail archive of the gcc-patches@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]

Re: PTR-PLUS merge into the mainline


On 6/19/07, Steve Ellcey <sje@cup.hp.com> wrote:
Is anyone seeing this bootstrap error since the PTR-PLUS merge:

/proj/opensrc/sje/svn.reg/src/trunk/libgcc/../gcc/libgcov.c: In function '__gcov_execl':
/proj/opensrc/sje/svn.reg/src/trunk/libgcc/../gcc/libgcov.c:834: internal compiler error: in expand_expr_real_1, at expr.c:7109
Please submit a full bug report,
with preprocessed source if appropriate.



I can reproduce it on HP-UX IA64 with the following test program:

typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;
void foo (const char *path, const char *arg, ...)
{
  va_list ap;
  __builtin_va_start(ap,arg);
}


It looks like pmode is set to SImode and the mode of decl_rtl is DImode. I will investigate some more but I thought I would see if anyone else is having the same problem.

This is likely a bug in your target dependent gimplifying of va_args.


Richard.


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