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
4fe8db68
Commit
4fe8db68
authored
Sep 06, 2005
by
Volker Reichelt
Committed by
Volker Reichelt
Sep 06, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c (check_elaborated_type_specifier): Remove redundant check.
From-SVN: r103939
parent
452ed063
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl.c
+1
-2
No files found.
gcc/cp/ChangeLog
View file @
4fe8db68
2005-09-06 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* decl.c (check_elaborated_type_specifier): Remove redundant check.
2005-09-06 Jakub Jelinek <jakub@redhat.com>
2005-09-06 Jakub Jelinek <jakub@redhat.com>
PR c++/23056
PR c++/23056
...
...
gcc/cp/decl.c
View file @
4fe8db68
...
@@ -9146,8 +9146,7 @@ check_elaborated_type_specifier (enum tag_types tag_code,
...
@@ -9146,8 +9146,7 @@ check_elaborated_type_specifier (enum tag_types tag_code,
return
error_mark_node
;
return
error_mark_node
;
}
}
else
if
(
TREE_CODE
(
type
)
!=
ENUMERAL_TYPE
else
if
(
TREE_CODE
(
type
)
!=
ENUMERAL_TYPE
&&
tag_code
==
enum_type
&&
tag_code
==
enum_type
)
&&
tag_code
!=
typename_type
)
{
{
error
(
"%qT referred to as enum"
,
type
);
error
(
"%qT referred to as enum"
,
type
);
error
(
"%q+T has a previous declaration here"
,
type
);
error
(
"%q+T has a previous declaration here"
,
type
);
...
...
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