re PR c/5059 (Compiling s/w containing the use of DIR.H fails on other stat-calls)
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Mon, 24 Feb 2003 18:52:51 +0000 (18:52 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 24 Feb 2003 18:52:51 +0000 (18:52 +0000)
commitf8dc212b5deccabd4f3f32beb4459ba944cfca98
treeb75b02a1b40335aa83b4aaebc6fdb4ed8f808707
parent391cd0955eb2a5018af9fb791ffeeac171ebb9b9
re PR c/5059 (Compiling s/w containing the use of DIR.H fails on other stat-calls)

* config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
__EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
* doc/extend.texi (Tru64 Pragmas): Reflect this.

* fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
testcase.
Fixes PR c/5059, c/6126, other/9671.

testsuite:
* g++.dg/other/pragma-ep-1.C: Test for __PRAGMA_EXTERN_PREFIX.
* gcc.dg/pragma-ep-1.c: Likewise.

From-SVN: r63370
gcc/ChangeLog
gcc/config/alpha/osf.h
gcc/doc/extend.texi
gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.def
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pragma-ep-1.C
gcc/testsuite/gcc.dg/pragma-ep-1.c