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
46042c01
Commit
46042c01
authored
Oct 12, 2012
by
Jan Hubicka
Committed by
Jan Hubicka
Oct 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* web.c (web_main): Do not set DF_RD_PRUNE_DEAD_DEFS flag.
From-SVN: r192413
parent
4a9ad294
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
1 deletions
+45
-1
gcc/ChangeLog
+4
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/webizer.c
+35
-0
gcc/web.c
+2
-1
No files found.
gcc/ChangeLog
View file @
46042c01
2012-10-12 Jan Hubicka <jh@suse.cz>
* web.c (web_main): Do not set DF_RD_PRUNE_DEAD_DEFS flag.
2012-10-12 Aaron Gray <aaronngray.lists@gmail.com>
Diego Novillo <dnovillo@google.com>
gcc/testsuite/ChangeLog
View file @
46042c01
2012-10-12 Jan Hubicka <jh@suse.cz>
* gcc.dg/webizer.c: New testcase.
2012-10-12 Janis Johnson <janisjo@codesourcery.com>
* gcc.dg/vect/pr48765.c: Skip for conflicting options, don't
...
...
gcc/testsuite/gcc.dg/webizer.c
0 → 100644
View file @
46042c01
/* { dg-do run } */
/* { dg-options "-O3 -funroll-loops" } */
typedef
struct
rowbox
{
int
startx
;
int
endx
;
int
endx1
;
int
startx2
;
int
ypos
;
int
desiredL
;
}
ROWBOX
;
ROWBOX
rowArray1
[
2
]
;
ROWBOX
*
rowArray
=
rowArray1
;
int
numRows
=
2
;
int
row
=
1
;
int
block
=
0
;
double
ckt_size_factor
;
__attribute__
((
noinline
))
configure2
()
{
block
=
0
;
for
(
row
=
1
;
row
<=
numRows
;
row
++
)
{
block
++
;
if
(
rowArray
[
row
].
endx1
>
0
)
{
block
++
;
}
}
}
main
()
{
configure2
();
}
gcc/web.c
View file @
46042c01
...
...
@@ -313,7 +313,8 @@ web_main (void)
rtx
insn
;
df_set_flags
(
DF_NO_HARD_REGS
+
DF_EQ_NOTES
);
df_set_flags
(
DF_RD_PRUNE_DEAD_DEFS
);
/* We can not RD_PRUNE_DEAD_DEFS, because we care about REG_EQUAL
notes. */
df_chain_add_problem
(
DF_UD_CHAIN
);
df_analyze
();
df_set_flags
(
DF_DEFER_INSN_RESCAN
);
...
...
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