diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-11-12 04:16:07 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-11-12 04:16:07 +0000 |
commit | 995c461cce152453f4e161379b82507bec5c4d0c (patch) | |
tree | 29bb6f0bd9c1d6f3624c3877618ffef90c100278 /gcc | |
parent | 56a77e1e84bc997047f8924ad4804ffa4e8b67f6 (diff) | |
download | gcc-995c461cce152453f4e161379b82507bec5c4d0c.zip gcc-995c461cce152453f4e161379b82507bec5c4d0c.tar.gz gcc-995c461cce152453f4e161379b82507bec5c4d0c.tar.bz2 |
inclhack.def (sunos_matherr_decl): Bypass matherr declarations that use `__MATH_EXCEPTION' in their prototypes, too.
* fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
declarations that use `__MATH_EXCEPTION' in their prototypes, too.
* fixinc/fixincl.x: Regenerated.
From-SVN: r37402
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fixinc/fixincl.x | 2 | ||||
-rw-r--r-- | gcc/fixinc/inclhack.def | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d380b7b..c4060f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com> + + * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr + declarations that use `__MATH_EXCEPTION' in their prototypes, too. + * fixinc/fixincl.x: Regenerated. + 2000-11-11 Bruce Korb <bkorb@gnu.org> * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index 9291260..ddfe5a5 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -4021,7 +4021,7 @@ tSCC zSunos_Matherr_DeclSelect0[] = * content bypass pattern - skip fix if pattern found */ tSCC zSunos_Matherr_DeclBypass0[] = - "matherr.*struct exception"; + "matherr.*(struct exception|__MATH_EXCEPTION)"; #define SUNOS_MATHERR_DECL_TEST_CT 2 static tTestDesc aSunos_Matherr_DeclTests[] = { diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 73b50fd..a172593 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -2201,7 +2201,7 @@ fix = { files = math.h; /* If matherr has a prototype already, the header needs no fix. */ - bypass = 'matherr.*struct exception'; + bypass = 'matherr.*(struct exception|__MATH_EXCEPTION)'; select = matherr; c_fix = wrap; |