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
92140ff9
Commit
92140ff9
authored
Jan 13, 2008
by
Eric Botcazou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nit.
From-SVN: r131507
parent
726612d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gcc/testsuite/gcc.dg/struct-ret-3.c
+3
-2
No files found.
gcc/testsuite/gcc.dg/struct-ret-3.c
View file @
92140ff9
...
...
@@ -45,7 +45,8 @@ struct STRUCT_6_BYTES INIT_6_BYTES_ZERO()
void
Initialize
(
struct
XXX
*
this
,
int
iIndex
)
{
struct
SQLU_DICT_INFO_0
*
pDictRidderInfo
=
this
->
m_pDatapart
[
iIndex
].
pDictRidderInfo
;
struct
SQLU_DICT_INFO_0
*
pDictRidderInfo
=
this
->
m_pDatapart
[
iIndex
].
pDictRidderInfo
;
pDictRidderInfo
->
bSomeFlag1
=
0
;
pDictRidderInfo
->
bSomeFlag2
=
0
;
pDictRidderInfo
->
dRID
=
INIT_6_BYTES_ZERO
();
...
...
@@ -68,7 +69,7 @@ int main(void)
char
buf
[
sizeof
(
struct
stuff
)
+
4096
];
struct
stuff
*
u
=
(
struct
stuff
*
)
ossAlignX
((
unsigned
long
)
&
buf
[
0
],
4096
);
memset
(
u
,
1
,
sizeof
(
u
));
memset
(
u
,
1
,
sizeof
(
struct
stuff
));
u
->
c1
[
0
]
=
'\xAA'
;
u
->
c2
[
0
]
=
'\xBB'
;
u
->
c3
[
0
]
=
'\xCC'
;
...
...
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