committed] correct memcmp expansion of constant representations containing embedded nuls (PR 95189)

Martin Sebor msebor@gmail.com
Thu Jul 23 20:12:29 GMT 2020


On 7/22/20 2:23 AM, Rainer Orth wrote:
> Hi Martin,
> 
>> I have committed this change in r11-2231 after Jeff approved it
>> off list last Thursday.
> 
> the new gcc.target/i386/memcpy-pr95886.c test FAILs on 32-bit x86
> (i386-pc-solaris2.11):
> 
> +FAIL: gcc.target/i386/memcpy-pr95886.c scan-rtl-dump-times expand "const_int 1976943448883713" 1
> +FAIL: gcc.target/i386/memcpy-pr95886.c scan-rtl-dump-times expand "const_int 576467370915332609" 1
> +FAIL: gcc.target/i386/memcpy-pr95886.c scan-rtl-dump-times expand "const_int 578431098682540545" 1
> +FAIL: gcc.target/i386/memcpy-pr95886.c scan-rtl-dump-times expand "const_int 578437695685198337" 1
> +FAIL: gcc.target/i386/memcpy-pr95886.c scan-rtl-dump-times expand "const_int 578437695685198337" 1
> +FAIL: gcc.target/i386/memcpy-pr95886.c scan-rtl-dump-times expand "const_int 578437695752110593" 1
> +FAIL: gcc.target/i386/memcpy-pr95886.c scan-rtl-dump-times expand "const_int 578437695752306689" 1
> +FAIL: gcc.target/i386/memcpy-pr95886.c scan-rtl-dump-times expand "const_int 578437695752307200" 1
> +FAIL: gcc.target/i386/memcpy-pr95886.c scan-rtl-dump-times expand "const_int 578437695752307201" 2

Thanks for letting me know.  The test looks for patterns that are
apparently LP64-specific so I restricted it to just that data model.

Martin


More information about the Gcc-patches mailing list