re PR target/61656 (Undefined behavior in classify_argument)
PR target/61656 * config/i386/i386.c (classify_argument): Don't merge classes above number of words. From-SVN: r212509
This commit is contained in:
parent
e89ff446df
commit
03e0ad94a2
@ -1,3 +1,9 @@
|
||||
2014-07-14 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/61656
|
||||
* config/i386/i386.c (classify_argument): Don't merge classes above
|
||||
number of words.
|
||||
|
||||
2014-07-13 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* cgraph.h (symtab_node): Add nonzero_address.
|
||||
|
@ -6581,7 +6581,7 @@ classify_argument (enum machine_mode mode, const_tree type,
|
||||
bit_offset);
|
||||
if (!num)
|
||||
return 0;
|
||||
for (i = 0; i < num; i++)
|
||||
for (i = 0; i < num && i < words; i++)
|
||||
classes[i] = merge_classes (subclasses[i], classes[i]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user