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
06f9b2f7
Commit
06f9b2f7
authored
Aug 11, 2006
by
Matthias Braun
Browse files
- don't end in an endless loop for invalid types (but hit an assert)
parent
fdc8d1a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_gen_decls.c
View file @
06f9b2f7
...
...
@@ -469,7 +469,7 @@ static void dump_global(struct obstack *rdata_obstack, struct obstack *data_obst
stepsize
=
(
get_type_size_bits
(
step_type
)
+
7
)
>>
3
;
/* Search the next free position in vals depending on the information from above (ai). */
while
(
vals
[
offset
])
{
while
(
vals
[
offset
]
&&
aipos
>=
0
)
{
if
(
ai
[
aipos
].
visit_cnt
<
ai
[
aipos
].
n_elems
)
{
offset
+=
stepsize
;
ai
[
aipos
].
visit_cnt
++
;
...
...
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