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
2db70b29
Commit
2db70b29
authored
Apr 28, 1995
by
Doug Evans
Committed by
Doug Evans
Apr 28, 1995
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* typeck.c (common_type): Call lookup_attribute instead of value_member.
From-SVN: r9526
parent
19a0120c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
gcc/cp/ChangeLog
+5
-0
gcc/cp/typeck.c
+4
-3
No files found.
gcc/cp/ChangeLog
View file @
2db70b29
Thu Apr 27 21:49:36 1995 Doug Evans <dje@cygnus.com>
* typeck.c (common_type): Call lookup_attribute instead of
value_member.
Tue Apr 25 18:07:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* Make-lang.in: Change "realclean" to "maintainer-clean".
...
...
gcc/cp/typeck.c
View file @
2db70b29
...
...
@@ -286,14 +286,15 @@ common_type (t1, t2)
attributes
=
a2
;
else
{
/* Pick the longest list, and hang on the other
list
. */
/* Pick the longest list, and hang on the other
list. */
/* ??? For the moment we punt on the issue of attrs with args
. */
if
(
list_length
(
a1
)
<
list_length
(
a2
))
attributes
=
a2
,
a2
=
a1
;
for
(;
a2
;
a2
=
TREE_CHAIN
(
a2
))
if
(
!
value_member
(
attributes
,
a2
))
if
(
lookup_attribute
(
IDENTIFIER_POINTER
(
TREE_PURPOSE
(
a2
)),
attributes
)
==
NULL_TREE
)
{
a1
=
copy_node
(
a2
);
TREE_CHAIN
(
a1
)
=
attributes
;
...
...
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