From 553cba65d21ab16c89bf98415712d89158eff7d1 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 3 May 2004 15:19:16 +0000 Subject: [PATCH] inclhack.def (svr4_profil): Don't apply on IRIX 5/6. * fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6. * fixinc/fixincl.x: Regenerate. From-SVN: r81437 --- gcc/ChangeLog | 5 +++++ gcc/fixinc/fixincl.x | 15 +++++++++++---- gcc/fixinc/inclhack.def | 3 +++ 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bcf0c0ebb76..cba6deffee7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-05-03 Rainer Orth + + * fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6. + * fixinc/fixincl.x: Regenerate. + 2004-05-03 Uros Bizjak * config/i386/i386.md (*fyl2x_sfxf3, *fyl2x_dfxf3): Remove insn diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index efd41f300e8..a1b650e5dc6 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -2,11 +2,11 @@ * * DO NOT EDIT THIS FILE (fixincl.x) * - * It has been AutoGen-ed Friday April 23, 2004 at 06:53:51 AM MDT + * It has been AutoGen-ed Monday May 3, 2004 at 05:17:48 PM MEST * From the definitions inclhack.def * and the template file fixincl */ -/* DO NOT CVS-MERGE THIS FILE, EITHER Fri Apr 23 06:53:51 MDT 2004 +/* DO NOT CVS-MERGE THIS FILE, EITHER Mon May 3 17:17:49 MEST 2004 * * You must regenerate it. Use the ./genfixes script. * @@ -5382,8 +5382,15 @@ tSCC zSvr4_ProfilList[] = tSCC zSvr4_ProfilSelect0[] = "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)"; -#define SVR4_PROFIL_TEST_CT 1 +/* + * content bypass pattern - skip fix if pattern found + */ +tSCC zSvr4_ProfilBypass0[] = + "Silicon Graphics"; + +#define SVR4_PROFIL_TEST_CT 2 static tTestDesc aSvr4_ProfilTests[] = { + { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL }, { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, }; /* @@ -6929,7 +6936,7 @@ static const char* apzX11_SprintfPatch[] = { * * List of all fixes */ -#define REGEX_COUNT 196 +#define REGEX_COUNT 197 #define MACH_LIST_SIZE_LIMIT 261 #define FIX_COUNT 175 diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 2e57d0f0e5c..aa26ff7c013 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -3161,6 +3161,9 @@ fix = { select = 'profil\(unsigned short \*, unsigned int, unsigned int, unsigned int\)'; + /* The fix is wrong on IRIX 5/6 and creates a conflict with another + prototype in . */ + bypass = 'Silicon Graphics'; c_fix = format; c_fix_arg = 'profil(unsigned short *, size_t, int, unsigned int)'; -- 2.30.2