Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
c49af82c
Commit
c49af82c
authored
Oct 03, 2019
by
John David Anglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fptr.c: Disable -Warray-bounds warning.
* config/pa/fptr.c: Disable -Warray-bounds warning. From-SVN: r276556
parent
320be74c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
libgcc/ChangeLog
+4
-0
libgcc/config/pa/fptr.c
+5
-0
No files found.
libgcc/ChangeLog
View file @
c49af82c
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
>
*
config
.
in
,
configure
:
Re
-
rebuild
with
stock
autoconf
2.69
,
...
...
libgcc/config/pa/fptr.c
View file @
c49af82c
...
...
@@ -62,6 +62,9 @@ _dl_read_access_allowed (unsigned int *addr)
return
result
;
}
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
/* __canonicalize_funcptr_for_compare must be hidden so that it is not
placed in the dynamic symbol table. Like millicode functions, it
must be linked into all binaries in order access the got table of
...
...
@@ -141,3 +144,5 @@ __canonicalize_funcptr_for_compare (fptr_t fptr)
return
plabel
[
0
];
}
#pragma GCC diagnostic pop
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment