Martin Liska wrote:
> Following error message can be seen for LTO boostrap:
> ../../gcc/fortran/resolve.c:3812:1: error: type âcomparisonâ violates one 
> definition rule [-Werror=odr]
> comparison;
> ^
>../../gcc/compare-elim.c:95:0: note: a different type is defined in another 
>translation unit
>   rtx_insn *insn;

> I've removed enum type in resolve.c, which is quite small change (I hope so).
> With patch applied, GCC can bootstrap.
> Ready for trunk?

> gcc/fortran/ChangeLog:
>
> 2015-02-26  Martin Liska  <mli...@suse.cz>
> 
>       * resolve.c: Rename enum 'comparison' to 'compare_result' as
>       solution for -Wodr issue.


OK. Thanks for the patch!

Tobias

PS: For Fortran patches, it helps to have fortran@ CCed as not all developers
also read gcc-patches@.

Reply via email to