Skip to content

Commit

Permalink
* inclhack.def (hpux_longjmp): Adjust select regular expression.
Browse files Browse the repository at this point in the history
	* fixincl.x: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239976 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
danglin committed Sep 4, 2016
1 parent 8ff61e5 commit 0eb78fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions fixincludes/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions fixincludes/fixincl.x
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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[] = {
Expand Down
2 changes: 1 addition & 1 deletion fixincludes/inclhack.def
Original file line number Diff line number Diff line change
Expand Up @@ -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__))";
Expand Down

0 comments on commit 0eb78fb

Please sign in to comment.