Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
cdf974df
Commit
cdf974df
authored
Aug 04, 2007
by
Matthias Braun
Browse files
alloca fails in loops
[r15466]
parent
d8a39b02
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/test/fehler59.c
0 → 100644
View file @
cdf974df
#include
<alloca.h>
int
main
()
{
char
*
b1
=
alloca
(
13
);
int
i
;
for
(
i
=
0
;
i
<
5
;
++
i
)
{
char
*
bfs
=
alloca
(
24
);
printf
(
"Offset: %d
\n
"
,
bfs
-
b1
);
}
return
0
;
}
Write
Preview
Supports
Markdown
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