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
46a16203
Commit
46a16203
authored
May 28, 2015
by
DJ Delorie
Committed by
DJ Delorie
May 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/execute/pr65369.c: Don't assume int is 32 bits.
From-SVN: r223851
parent
384d8786
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/pr65369.c
+2
-1
No files found.
gcc/testsuite/ChangeLog
View file @
46a16203
2015-05-28 DJ Delorie <dj@redhat.com>
* gcc.c-torture/execute/pr65369.c: Don't assume int is 32 bits.
2015-05-28 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/discr43.adb: New test.
...
...
gcc/testsuite/gcc.c-torture/execute/pr65369.c
View file @
46a16203
/* PR tree-optimization/65369 */
#include <stdint.h>
static
const
char
data
[]
=
"12345678901234567890123456789012345678901234567890"
...
...
@@ -14,7 +15,7 @@ static void foo (const unsigned int *buf)
__attribute__
((
noinline
))
static
void
bar
(
const
unsigned
char
*
block
)
{
u
nsigned
in
t
buf
[
16
];
u
int32_
t
buf
[
16
];
__builtin_memcpy
(
buf
+
0
,
block
+
0
,
4
);
__builtin_memcpy
(
buf
+
1
,
block
+
4
,
4
);
__builtin_memcpy
(
buf
+
2
,
block
+
8
,
4
);
...
...
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