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
e19a77e6
Commit
e19a77e6
authored
Jan 25, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(unary_expr => ANDAND identifier): Handle lookup_label returning 0.
From-SVN: r3325
parent
7d9795e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
gcc/c-parse.in
+9
-3
No files found.
gcc/c-parse.in
View file @
e19a77e6
...
...
@@ -390,9 +390,15 @@ unary_expr:
/* Refer to the address of a label as a pointer. */
|
ANDAND
identifier
{
tree
label
=
lookup_label
(
$
2
);
TREE_USED
(
label
)
=
1
;
$$
=
build1
(
ADDR_EXPR
,
ptr_type_node
,
label
);
TREE_CONSTANT
(
$$
)
=
1
;
}
if
(
label
==
0
)
$$
=
null_pointer_node
;
else
{
TREE_USED
(
label
)
=
1
;
$$
=
build1
(
ADDR_EXPR
,
ptr_type_node
,
label
);
TREE_CONSTANT
(
$$
)
=
1
;
}
}
/* This seems to be impossible on some machines, so let's turn it off.
You can use __builtin_next_arg to find the anonymous stack args.
| '&' ELLIPSIS
...
...
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