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
a3378cea
Commit
a3378cea
authored
Jul 29, 2010
by
Xinliang David Li
Committed by
Xinliang David Li
Jul 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix PR45121
From-SVN: r162687
parent
a1a6c2df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/c-c++-common/uninit-17.c
+2
-2
No files found.
gcc/testsuite/ChangeLog
View file @
a3378cea
2010-07-29 Xinliang David Li <davidxl@google.com>
PR tree-optimization/45121
* c-c++-common/uninit-17.c: Fix expected output.
2010-07-29 Richard Guenther <rguenther@suse.de>
PR tree-optimization/45120
...
...
gcc/testsuite/c-c++-common/uninit-17.c
View file @
a3378cea
...
...
@@ -9,9 +9,9 @@ static void bar(int a, int *ptr)
{
do
{
int
b
;
/* { dg-warning "is used uninitializ
ed" } */
int
b
;
/* { dg-message "declar
ed" } */
if
(
b
<
40
)
{
ptr
[
0
]
=
b
;
ptr
[
0
]
=
b
;
/* { dg-warning "may be used uninitialized" } */
}
b
+=
1
;
ptr
++
;
...
...
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