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
809e5f82
Commit
809e5f82
authored
Apr 18, 2012
by
Steven Bosscher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix accidentally checked-in assert.
From-SVN: r186580
parent
0cd2402d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
+1
-2
gcc/ChangeLog
+1
-1
gcc/gimplify.c
+0
-1
No files found.
gcc/ChangeLog
View file @
809e5f82
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
* stmt.c (add_case_node, expand_case): Move logic to remove/reduce
* stmt.c (add_case_node, expand_case): Move logic to remove/reduce
case range and type folding from here...
case range and type folding from here...
* gimplify.c (gimplify_switch_expr): ... to here. Expect NULL_TREE
* gimplify.c (gimplify_switch_expr): ... to here. Expect NULL_TREE
type, as documented in tree.def
type, as documented in tree.def
.
2012-04-18 Jan Hubicka <jh@suse.cz>
2012-04-18 Jan Hubicka <jh@suse.cz>
...
...
gcc/gimplify.c
View file @
809e5f82
...
@@ -1578,7 +1578,6 @@ gimplify_switch_expr (tree *expr_p, gimple_seq *pre_p)
...
@@ -1578,7 +1578,6 @@ gimplify_switch_expr (tree *expr_p, gimple_seq *pre_p)
tree
index_type
=
TREE_TYPE
(
switch_expr
);
tree
index_type
=
TREE_TYPE
(
switch_expr
);
if
(
index_type
==
NULL_TREE
)
if
(
index_type
==
NULL_TREE
)
index_type
=
TREE_TYPE
(
SWITCH_COND
(
switch_expr
));
index_type
=
TREE_TYPE
(
SWITCH_COND
(
switch_expr
));
gcc_assert
(
INTEGRAL_TYPE_P
(
index_type
));
ret
=
gimplify_expr
(
&
SWITCH_COND
(
switch_expr
),
pre_p
,
NULL
,
is_gimple_val
,
ret
=
gimplify_expr
(
&
SWITCH_COND
(
switch_expr
),
pre_p
,
NULL
,
is_gimple_val
,
fb_rvalue
);
fb_rvalue
);
...
...
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