On Fri, Nov 19, 2021 at 7:35 AM Gary Oblock via Gcc wrote:
>
> Our test group added "-fchecking" to a script and my optimization
> failed.
>
> I can't find any explanation of this type of bug. I grepped the code
> and flag_checking was all over the place so it's not like
> I can use gdb to pin it down.
>
> Can somebody help me make sense out of this?
>
> lto1: error: type variant differs by TYPE_UNSIGNED
> size bitsizetype> constant 64>
> unit-size sizetype> constant 8>
> align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
> 0x7f399333a738 precision:64 min max
>
> pointer_to_this >
> size bitsizetype> constant 64>
> unit-size sizetype> constant 8>
> align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
> 0x7f3992d1a3f0 precision:64 min -9223372036854775808> max
> pointer_to_this >
> (null):0: confused by earlier errors, bailing out
> lto-wrapper: fatal error: /home/gary/gcc_build_gcc11_v4/install/bin/gcc
> returned 1 exit status
> compilation terminated.
> [Leaving LTRANS ./exe.lto.o]
> /usr/bin/ld: error: lto-wrapper failed
> [Leaving exe.lto_wrapper_args]
> collect2: error: ld returned 1 exit status
>
> Thanks,
>
> Gary
>
>
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
> for the sole use of the intended recipient(s) and contains information that
> is confidential and proprietary to Ampere Computing or its subsidiaries. It
> is to be used solely for the purpose of furthering the parties' business
> relationship. Any unauthorized review, copying, or distribution of this email
> (or any attachments thereto) is strictly prohibited. If you are not the
> intended recipient, please contact the sender immediately and permanently
> delete the original and any copies of this email and any attachments thereto.