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
72db02bf
Commit
72db02bf
authored
Feb 04, 2002
by
Richard Henderson
Committed by
Richard Henderson
Feb 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/abi/offsetof.C: Fix size comparison.
From-SVN: r49487
parent
563c12b0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/abi/offsetof.C
+1
-1
No files found.
gcc/testsuite/ChangeLog
View file @
72db02bf
2002-02-04 Richard Henderson <rth@redhat.com>
* g++.dg/abi/offsetof.C: Fix size comparison.
2002-02-04 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/cast-qual-2.c: New test.
...
...
gcc/testsuite/g++.dg/abi/offsetof.C
View file @
72db02bf
...
...
@@ -18,5 +18,5 @@ struct C: public B { };
int
main
()
{
return
((
unsigned
long
)
&
((
C
*
)
0
)
->
i
)
!=
4
;
// { dg-warning "offsetof" "" }
return
((
unsigned
long
)
&
((
C
*
)
0
)
->
i
)
!=
sizeof
(
void
*
)
;
// { dg-warning "offsetof" "" }
}
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