This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: error when building with LTO
2012/9/30 Alan Modra:
> Does this cure the warning?
>
> Index: gas/write.c
> ===================================================================
> RCS file: /cvs/src/src/gas/write.c,v
> retrieving revision 1.151
> diff -u -p -r1.151 write.c
> --- gas/write.c 2 Jul 2012 07:35:06 -0000 1.151
> +++ gas/write.c 30 Sep 2012 02:42:58 -0000
> @@ -406,8 +406,8 @@ chain_frchains_together_1 (segT section,
> prev_fix = frchp->fix_tail;
> }
> }
> - gas_assert (prev_frag->fr_type != 0);
> - gas_assert (prev_frag != &dummy);
> + gas_assert (prev_frag != &dummy
> + && prev_frag->fr_type != 0);
> prev_frag->fr_next = 0;
> return prev_frag;
> }
Yes, thank you.
--
Regards,
niXman
___________________________________________________
Dual-target(32 & 64 bit) MinGW compilers for 32 and 64 bit Windows:
http://sourceforge.net/projects/mingwbuilds/