[committed] fix IA-64 as infinite loop with bad input

Jan Beulich JBeulich@novell.com
Wed Nov 23 07:47:00 GMT 2005
>>> James E Wilson <wilson@specifix.com> 23.11.05 02:58:18 >>>
>This is a fix for PR 1889.  Given a template, and an insn that did
not
>fit into that template, IA-64 gas was going into an infinite loop. 
This
>can be reproduced with a simple two line testcase.
>        .mmi
>        br.call.sptk.many b0 = splay_tree_new#
>We already have code to check for this, but it was only enabled when
>manual_bundling was true.  We just need to enable it always.

Wouldn't it be more appropriate/consistent to issue an error only when
manual_bundling, and otherwise fill the entire bundle with nop-s and
issue only a warning?

Jan



More information about the Binutils mailing list