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
26e20555
Commit
26e20555
authored
Jul 30, 2002
by
Bernd Schmidt
Committed by
Bernd Schmidt
Jul 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix null pointer crash and a merge error
From-SVN: r55884
parent
0559cc77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
gcc/ChangeLog
+5
-0
gcc/ifcvt.c
+3
-11
No files found.
gcc/ChangeLog
View file @
26e20555
2002-07-30 Bernd Schmidt <bernds@redhat.com>
* ifcvt.c (cond_exec_process_if_block): Fix a merging error.
Bail out early if false_expr is NULL and we'd crash due to this.
2002-07-30 David Edelsohn <edelsohn@gnu.org>
Zack Weinberg <zack@codesourcery.com>
...
...
gcc/ifcvt.c
View file @
26e20555
...
...
@@ -426,17 +426,6 @@ cond_exec_process_if_block (ce_info, do_multiple_p)
#ifdef IFCVT_MODIFY_TESTS
/* If the machine description needs to modify the tests, such as setting a
conditional execution register from a comparison, it can do so here. */
IFCVT_MODIFY_TESTS
(
true_expr
,
false_expr
,
test_bb
,
then_bb
,
else_bb
,
join_bb
);
/* See if the conversion failed */
if
(
!
true_expr
||
!
false_expr
)
goto
fail
;
#endif
#ifdef IFCVT_MODIFY_TESTS
/* If the machine description needs to modify the tests, such as setting a
conditional execution register from a comparison, it can do so here. */
IFCVT_MODIFY_TESTS
(
ce_info
,
true_expr
,
false_expr
);
/* See if the conversion failed */
...
...
@@ -460,6 +449,9 @@ cond_exec_process_if_block (ce_info, do_multiple_p)
basic_block
bb
=
test_bb
;
basic_block
last_test_bb
=
ce_info
->
last_test_bb
;
if
(
!
false_expr
)
goto
fail
;
do
{
rtx
start
,
end
;
...
...
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