]> gcc.gnu.org Git - gcc.git/commitdiff
inclhack.def (sunos_matherr_decl): Bypass matherr declarations that use `__MATH_EXCEP...
authorMark Mitchell <mark@codesourcery.com>
Sun, 12 Nov 2000 04:16:07 +0000 (04:16 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 12 Nov 2000 04:16:07 +0000 (04:16 +0000)
* fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
declarations that use `__MATH_EXCEPTION' in their prototypes, too.
* fixinc/fixincl.x: Regenerated.

From-SVN: r37402

gcc/ChangeLog
gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.def

index d380b7b0fb12e1366af4eb118ff99a3c6d609054..c4060f3bd974701ce3963afc046d906356a77d91 100644 (file)
@@ -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
index 92912600b1d30db3ca707578d9797ec6ed797c6a..ddfe5a5d2267bcdd62cffbe44858c6da12054fa5 100644 (file)
@@ -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[] = {
index 73b50fd36a7b7e2ddb38a69ab6b2371f7b40dd11..a172593cdc51f596e66e46fa85dfe823a61aa51f 100644 (file)
@@ -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;
This page took 0.088426 seconds and 5 git commands to generate.