inclhack.def (hpux_longjmp): Adjust select regular expression.

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

From-SVN: r239976
This commit is contained in:
John David Anglin 2016-09-04 16:17:10 +00:00
parent 21234eb5e8
commit abb62d32a1
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2016-09-04 John David Anglin <danglin@gcc.gnu.org>
* inclhack.def (hpux_longjmp): Adjust select regular expression.
* fixincl.x: Regenerate.
2016-08-13 John David Anglin <danglin@gcc.gnu.org>
* inclhack.def (hpux_longjmp): New fix.

View File

@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed Saturday August 13, 2016 at 02:05:44 PM EDT
* It has been AutoGen-ed Sunday September 4, 2016 at 12:15:33 PM EDT
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT SVN-MERGE THIS FILE, EITHER Sat 13 Aug 2016 14:05:44 EDT
/* DO NOT SVN-MERGE THIS FILE, EITHER Sun 4 Sep 2016 12:15:33 EDT
*
* You must regenerate it. Use the ./genfixes script.
*
@ -5106,7 +5106,7 @@ tSCC* apzHpux_LongjmpMachs[] = {
* content selection pattern - do fix if pattern found
*/
tSCC zHpux_LongjmpSelect0[] =
"^[ \t]*extern[ \t]+void.*longjmp[ \t]+__\\(\\(.*int\\)\\)";
"^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
#define HPUX_LONGJMP_TEST_CT 1
static tTestDesc aHpux_LongjmpTests[] = {

View File

@ -2648,7 +2648,7 @@ fix = {
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__))";