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
3d6cc50a
Commit
3d6cc50a
authored
May 31, 2013
by
Rainer Orth
Committed by
Rainer Orth
May 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gcc.dg/shrink-wrap-alloca.c
* gcc.dg/shrink-wrap-alloca.c: Use __builtin_alloca. From-SVN: r199533
parent
ccc20e5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/shrink-wrap-alloca.c
+1
-3
No files found.
gcc/testsuite/ChangeLog
View file @
3d6cc50a
2013-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/shrink-wrap-alloca.c: Use __builtin_alloca.
2013-05-31 Marek Polacek <polacek@redhat.com>
2013-05-31 Marek Polacek <polacek@redhat.com>
PR tree-optimization/57478
PR tree-optimization/57478
...
...
gcc/testsuite/gcc.dg/shrink-wrap-alloca.c
View file @
3d6cc50a
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2 -g" } */
/* { dg-options "-O2 -g" } */
extern
int
*
alloca
(
int
);
int
*
p
;
int
*
p
;
void
void
test
(
int
a
)
test
(
int
a
)
{
{
if
(
a
>
0
)
if
(
a
>
0
)
p
=
alloca
(
4
);
p
=
__builtin_
alloca
(
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