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
aacc93b5
Commit
aacc93b5
authored
Jun 18, 2007
by
Seongbae Park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert 125825 due to mismatching patch/changelog.
From-SVN: r125826
parent
af4c82ed
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
42 deletions
+11
-42
gcc/ChangeLog
+0
-6
gcc/gcse.c
+11
-14
gcc/testsuite/ChangeLog
+0
-5
gcc/testsuite/gcc.c-torture/compile/pr32339.c
+0
-17
No files found.
gcc/ChangeLog
View file @
aacc93b5
2007-06-18 Seongbae Park <seongbae.park@gmail.com>
PR rtl-optimization/32339
* df-scan.c (df_uses_record): Don't modify flags but just add to
it for df_ref_record.
2007-06-18 David Daney <ddaney@avtrex.com
Revert:
...
...
gcc/gcse.c
View file @
aacc93b5
...
...
@@ -6341,6 +6341,17 @@ replace_store_insn (rtx reg, rtx del, basic_block bb, struct ls_expr *smexpr)
mem
=
smexpr
->
pattern
;
insn
=
gen_move_insn
(
reg
,
SET_SRC
(
single_set
(
del
)));
insn
=
emit_insn_after
(
insn
,
del
);
if
(
dump_file
)
{
fprintf
(
dump_file
,
"STORE_MOTION delete insn in BB %d:
\n
"
,
bb
->
index
);
print_inline_rtx
(
dump_file
,
del
,
6
);
fprintf
(
dump_file
,
"
\n
STORE MOTION replaced with insn:
\n
"
);
print_inline_rtx
(
dump_file
,
insn
,
6
);
fprintf
(
dump_file
,
"
\n
"
);
}
for
(
ptr
=
ANTIC_STORE_LIST
(
smexpr
);
ptr
;
ptr
=
XEXP
(
ptr
,
1
))
if
(
XEXP
(
ptr
,
0
)
==
del
)
...
...
@@ -6368,20 +6379,6 @@ replace_store_insn (rtx reg, rtx del, basic_block bb, struct ls_expr *smexpr)
XEXP
(
note
,
0
)
=
insn
;
}
/* Emit the insn AFTER all the notes are transferred.
This is cheaper since we avoid df rescanning for the note change. */
insn
=
emit_insn_after
(
insn
,
del
);
if
(
dump_file
)
{
fprintf
(
dump_file
,
"STORE_MOTION delete insn in BB %d:
\n
"
,
bb
->
index
);
print_inline_rtx
(
dump_file
,
del
,
6
);
fprintf
(
dump_file
,
"
\n
STORE MOTION replaced with insn:
\n
"
);
print_inline_rtx
(
dump_file
,
insn
,
6
);
fprintf
(
dump_file
,
"
\n
"
);
}
delete_insn
(
del
);
/* Now we must handle REG_EQUAL notes whose contents is equal to the mem;
...
...
gcc/testsuite/ChangeLog
View file @
aacc93b5
2007
-
06
-
18
Martin
Michlmayr
<
tbm
@cyrius
.
com
>
PR
rtl
-
optimization
/
32339
*
gcc
.
c
-
torture
/
compile
/
pr32339
.
c
:
New
test
.
2007
-
06
-
18
Kenneth
Zadeck
<
zadeck
@naturalbridge
.
com
>
*
gcc
.
c
-
torture
/
compile
/
pr32355
.
c
:
New
testcase
.
gcc/testsuite/gcc.c-torture/compile/pr32339.c
deleted
100644 → 0
View file @
af4c82ed
/* We used to ICE in insert_save at caller-save.c,
due to missing REG_DEAD for register use in post-decrement on ia64. */
struct
city_dialog
{
struct
city
*
pcity
;
char
change_list_names
[
200
][
200
];
int
change_list_ids
[
200
];
};
change_callback
(
void
)
{
struct
city_dialog
*
pdialog
;
int
n
;
int
i
;
get_city_dialog_production_full
(
pdialog
->
change_list_names
[
n
],
pdialog
->
pcity
);
pdialog
->
change_list_ids
[
n
++
]
=
i
;
}
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