Commit b51c6a2c by Joseph Myers Committed by Joseph Myers

inclhack.def (glibc_tgmath): Correct bypass.

	* inclhack.def (glibc_tgmath): Correct bypass.
	* fixincl.x: Regenerate.

From-SVN: r147580
parent ae63687c
2009-05-15 Joseph Myers <joseph@codesourcery.com>
* inclhack.def (glibc_tgmath): Correct bypass.
* fixincl.x: Regenerate.
2009-04-28 Steve Ellcey <sje@cup.hp.com> 2009-04-28 Steve Ellcey <sje@cup.hp.com>
* inclhack.def (hpux11_uint32_c): Remove. * inclhack.def (hpux11_uint32_c): Remove.
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
* *
* DO NOT EDIT THIS FILE (fixincl.x) * DO NOT EDIT THIS FILE (fixincl.x)
* *
* It has been AutoGen-ed Tuesday April 28, 2009 at 08:26:48 AM PDT * It has been AutoGen-ed Friday May 15, 2009 at 07:23:47 AM PDT
* From the definitions inclhack.def * From the definitions inclhack.def
* and the template file fixincl * and the template file fixincl
*/ */
/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Apr 28 08:26:48 PDT 2009 /* DO NOT SVN-MERGE THIS FILE, EITHER Fri May 15 07:23:47 PDT 2009
* *
* You must regenerate it. Use the ./genfixes script. * You must regenerate it. Use the ./genfixes script.
* *
...@@ -2282,7 +2282,7 @@ tSCC zGlibc_TgmathSelect0[] = ...@@ -2282,7 +2282,7 @@ tSCC zGlibc_TgmathSelect0[] =
* content bypass pattern - skip fix if pattern found * content bypass pattern - skip fix if pattern found
*/ */
tSCC zGlibc_TgmathBypass0[] = tSCC zGlibc_TgmathBypass0[] =
"__floating_type \\\\\n\ "__floating_type\\(type\\) \\\\\n\
.*__builtin_classify_type"; .*__builtin_classify_type";
#define GLIBC_TGMATH_TEST_CT 2 #define GLIBC_TGMATH_TEST_CT 2
......
...@@ -1286,7 +1286,7 @@ fix = { ...@@ -1286,7 +1286,7 @@ fix = {
hackname = glibc_tgmath; hackname = glibc_tgmath;
files = tgmath.h; files = tgmath.h;
select = '\(\(\(type\) 0.25\) && \(\(type\) 0.25 - 1\)\)'; select = '\(\(\(type\) 0.25\) && \(\(type\) 0.25 - 1\)\)';
bypass = "__floating_type \\\\\n.*__builtin_classify_type"; bypass = "__floating_type\\(type\\) \\\\\n.*__builtin_classify_type";
c_fix = format; c_fix = format;
c_fix_arg = "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))"; c_fix_arg = "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))";
test_text = "# define __floating_type(type) (((type) 0.25) && ((type) 0.25 - 1))"; test_text = "# define __floating_type(type) (((type) 0.25) && ((type) 0.25 - 1))";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment