The attached change updates the hpux_longjmp fix to handle the various longjmp 
declarations
on hpux11.00.

Tested with hppa2.0w-hp-hpux11.00 and hppa64-hp-hpux11.11 builds.  Committed to 
trunk.

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


2016-09-04  John David Anglin  <dang...@gcc.gnu.org>

        * inclhack.def (hpux_longjmp): Adjust select regular expression.
        * fixincl.x: Regenerate.

Index: inclhack.def
===================================================================
--- inclhack.def        (revision 239975)
+++ inclhack.def        (working copy)
@@ -2648,7 +2648,7 @@
     hackname = hpux_longjmp;
     mach     = "*-hp-hpux*";
     files    = setjmp.h;
-    select   = "^[ \t]*extern[ \t]+void.*longjmp[ \t]+__\\(\\(.*int\\)\\)";
+    select   = "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ 
\t]*\(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\)\)";
 
     c_fix     = format;
     c_fix_arg = "%0 __attribute__ ((__noreturn__))";

Reply via email to