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]

[committed] hppa-hpux11: New include fix for alloca.h


The alloca.h header on hppa-hpux needs to include sys/stdsyms.h to define _PROTOTYPES, etc.
It was assumed that stddef.h would include sys/stdsyms.h.  However, the HP version of stddef.h is
now replaced by a GCC version and it doesn't include sys/stdsyms.h. 

The attached change modifies alloca.h to explicitly include sys/stdsyms.h if it hasn't been included
previously.  This fixes the libgomp.oacc-c-c++-common/loop-dim-default.c test case.

Tested on hppa64-hp-hpux11.11.  Committed to trunk.

Dave
--
John David Anglin	dave.anglin@bell.net


Attachment: alloca.h.d.1.txt
Description: Text document


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