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
42a3beeb
Commit
42a3beeb
authored
Sep 08, 2010
by
Michael Matz
Committed by
Michael Matz
Sep 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-c++-common/uninit-17.c: Adjust.
From-SVN: r164002
parent
0f443ad0
Show 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 @
42a3beeb
2010-09-08 Michael Matz <matz@suse.de>
* c-c++-common/uninit-17.c: Adjust.
2010-09-08 Michael Matz <matz@suse.de>
PR tree-optimization/43430
* gcc.dg/vect/pr43430-2.c: New test.
...
...
gcc/testsuite/c-c++-common/uninit-17.c
View file @
42a3beeb
...
...
@@ -11,9 +11,9 @@ static void bar(int a, int *ptr)
{
int
b
;
/* { dg-message "declared" } */
if
(
b
<
40
)
{
ptr
[
0
]
=
b
;
/* { dg-warning "may be used uninitialized" } */
ptr
[
0
]
=
b
;
}
b
+=
1
;
b
+=
1
;
/* { dg-warning "may be used uninitialized" } */
ptr
++
;
}
while
(
--
a
!=
0
);
...
...
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