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
c0ff19d5
Commit
c0ff19d5
authored
7 years ago
by
Martin Sebor
Committed by
Martin Sebor
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builtin-attrs.def: Add comments.
gcc/ChangeLog: * builtin-attrs.def: Add comments. From-SVN: r251101
parent
27be025d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
gcc/ChangeLog
+4
-0
gcc/builtin-attrs.def
+7
-2
No files found.
gcc/ChangeLog
View file @
c0ff19d5
2017
-
08
-
14
Martin
Sebor
<
msebor
@
redhat
.
com
>
*
builtin
-
attrs
.
def
:
Add
comments
.
2017
-
08
-
14
Martin
Sebor
<
msebor
@
redhat
.
com
>
PR
c
/
81117
*
doc
/
extend
.
texi
(
attribute
nonstring
):
Document
new
attribute
.
...
...
This diff is collapsed.
Click to expand it.
gcc/builtin-attrs.def
View file @
c0ff19d5
...
...
@@ -18,7 +18,10 @@ along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
/* This header provides a declarative way of describing the attributes
that are applied to some functions by default.
that are applied to some built-in functions by default. Attributes
that are meant to be used by user-defined functions but aren't used
by any built-ins, or attributes that apply to types or variables
but not to functions need not and should not be defined here.
Before including this header, you must define the following macros.
In each case where there is an ENUM, it is an identifier used to
...
...
@@ -85,7 +88,9 @@ DEF_LIST_INT_INT (5,0)
DEF_LIST_INT_INT (5,6)
#undef DEF_LIST_INT_INT
/* Construct trees for identifiers. */
/* Construct trees for identifiers used in built-in function attributes.
The construction contributes to startup costs so only attributes that
are used to define built-ins should be defined here. */
DEF_ATTR_IDENT (ATTR_ALLOC_SIZE, "alloc_size")
DEF_ATTR_IDENT (ATTR_COLD, "cold")
DEF_ATTR_IDENT (ATTR_CONST, "const")
...
...
This diff is collapsed.
Click to expand it.
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