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
4d7ea4fc
Commit
4d7ea4fc
authored
Apr 26, 2002
by
Richard Henderson
Committed by
Richard Henderson
Apr 26, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/c99-bool-1.c: Expect always true warning.
From-SVN: r52787
parent
7ba47445
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/c99-bool-1.c
+3
-1
No files found.
gcc/testsuite/ChangeLog
View file @
4d7ea4fc
2002-04-26 Richard Henderson <rth@redhat.com>
* gcc.dg/c99-bool-1.c: Expect always true warning.
2002-04-25 Roger Sayle <roger@eyesopen.com>
2002-04-25 Roger Sayle <roger@eyesopen.com>
* gcc.dg/i386-memset-1.c: New test case for PR target/6456.
* gcc.dg/i386-memset-1.c: New test case for PR target/6456.
...
...
gcc/testsuite/gcc.dg/c99-bool-1.c
View file @
4d7ea4fc
...
@@ -228,7 +228,9 @@ main (void)
...
@@ -228,7 +228,9 @@ main (void)
abort
();
abort
();
if
((
u
|=
2
)
!=
1
)
if
((
u
|=
2
)
!=
1
)
abort
();
abort
();
if
((
u
^=
3
)
!=
1
)
/* ??? A bit queer, since this gets optimized to ((u = (u != 3)) != 1)
early in semantic analysis, which then yields the warning below. */
if
((
u
^=
3
)
!=
1
)
/* { dg-warning "always true due to limited range" } */
abort
();
abort
();
/* Test comma expressions. */
/* Test comma expressions. */
u
=
1
;
u
=
1
;
...
...
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