Commit c49af82c by John David Anglin

fptr.c: Disable -Warray-bounds warning.

	* config/pa/fptr.c: Disable -Warray-bounds warning.

From-SVN: r276556
parent 320be74c
2019-10-03 John David Anglin <danglin@gcc.gnu.org>
* config/pa/fptr.c: Disable -Warray-bounds warning.
2019-09-25 Richard Henderson <richard.henderson@linaro.org> 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
* config.in, configure: Re-rebuild with stock autoconf 2.69, * config.in, configure: Re-rebuild with stock autoconf 2.69,
......
...@@ -62,6 +62,9 @@ _dl_read_access_allowed (unsigned int *addr) ...@@ -62,6 +62,9 @@ _dl_read_access_allowed (unsigned int *addr)
return result; return result;
} }
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
/* __canonicalize_funcptr_for_compare must be hidden so that it is not /* __canonicalize_funcptr_for_compare must be hidden so that it is not
placed in the dynamic symbol table. Like millicode functions, it placed in the dynamic symbol table. Like millicode functions, it
must be linked into all binaries in order access the got table of must be linked into all binaries in order access the got table of
...@@ -141,3 +144,5 @@ __canonicalize_funcptr_for_compare (fptr_t fptr) ...@@ -141,3 +144,5 @@ __canonicalize_funcptr_for_compare (fptr_t fptr)
return plabel[0]; return plabel[0];
} }
#pragma GCC diagnostic pop
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