On 11/01/14 05:51, Bernd Schmidt wrote:
LTO has a mechanism not to stream out common nodes that are expected to
be identical on each run. When using LTO to communicate between
compilers for different targets, the va_list_type_node and related ones
must be excluded from this.
Richard B mentioned in a recent mail that the i386 backend uses direct
comparisons to va_list_type_node. After investigating a bit it seems to
me that this is not actually a problem: what's being compared is the
return value of ix86_canonical_va_list_type, which always chooses one of
va_list_type_node or its ABI variants, so the comparison should hold
even with this patch.
Bootstrapped and tested on x86_64-linux, ok?
Would like the SuSE guys to chime in here since they know more about the
streamer than I.
jeff