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
ace8b015
Commit
ace8b015
authored
25 years ago
by
Geoff Keating
Committed by
Geoffrey Keating
25 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/cast-qual-1.c: Revert last change.
From-SVN: r32914
parent
86a44e25
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
30 deletions
+4
-30
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/cast-qual-1.c
+0
-30
No files found.
gcc/testsuite/ChangeLog
View file @
ace8b015
2000-04-04 Geoff Keating <geoffk@cygnus.com>
* gcc.dg/cast-qual-1.c: Revert last change.
2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/cast-qual-1.c: Check casts through a pointer typedef.
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.dg/cast-qual-1.c
View file @
ace8b015
...
...
@@ -28,33 +28,3 @@ bad_assign(const void *bar)
{
const
char
**
foo
=
bar
;
/* { dg-warning "initialization discards" "discarding `const' warning" } */
}
typedef
struct
rtx_def
*
rtx
;
void
typedef_cast
(
const
void
*
bar
)
{
(
const
rtx
)
bar
;
/* { dg-bogus "cast discards" "discarding `const' warning" } */
(
const
rtx
*
)
bar
;
/* { dg-warning "cast discards" "discarding `const' warning" } */
}
void
typedef_cast2
(
const
rtx
bar
)
{
(
const
void
*
)
bar
;
/* { dg-bogus "cast discards" "discarding `const' warning" } */
(
const
void
**
)
bar
;
/* { dg-warning "cast discards" "discarding `const' warning" } */
}
void
typedef_assign
(
const
void
*
bar
)
{
rtx
const
*
foo1
=
bar
;
/* { dg-bogus "initialization discards" "discarding `const' warning" } */
const
rtx
*
foo2
=
bar
;
/* { dg-warning "initialization discards" "discarding `const' warning" } */
}
void
typdef_assign2
(
const
rtx
bar
)
{
void
*
const
*
foo1
=
bar
;
/* { dg-bogus "initialization discards" "discarding `const' warning" } */
const
void
**
foo2
=
bar
;
/* { dg-warning "initialization discards" "discarding `const' warning" } */
}
This diff is collapsed.
Click to expand it.
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