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
4f566bd6
Commit
4f566bd6
authored
Dec 07, 2009
by
Andy Hutchinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/execute/vla-dealloc-1.c: Use lower loop count for 16bit int targets.
From-SVN: r155029
parent
849c1a90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
gcc/testsuite/ChangeLog
+5
-0
gcc/testsuite/gcc.c-torture/execute/vla-dealloc-1.c
+7
-1
No files found.
gcc/testsuite/ChangeLog
View file @
4f566bd6
2009-12-06 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
* gcc.c-torture/execute/vla-dealloc-1.c: Use lower loop count
for 16bit int targets.
2009-12-06 Janus Weil <janus@gcc.gnu.org>
PR fortran/41478
...
...
gcc/testsuite/gcc.c-torture/execute/vla-dealloc-1.c
View file @
4f566bd6
/* VLAs should be deallocated on a jump to before their definition,
including a jump to a label in an inner scope. PR 19771. */
#if (__SIZEOF_INT__ <= 2)
#define LIMIT 10000
#else
#define LIMIT 1000000
#endif
void
*
volatile
p
;
int
...
...
@@ -16,7 +22,7 @@ main (void)
x
[
n
%
1000
]
=
2
;
p
=
x
;
n
++
;
if
(
n
<
1000000
)
if
(
n
<
LIMIT
)
goto
lab
;
return
0
;
}
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