Different outputs in Gimple pass dump generated by two different architectures

Marc Glisse marc.glisse@inria.fr
Fri Nov 11 08:55:27 GMT 2022


On Thu, 10 Nov 2022, Kevin Lee wrote:

> While looking at the failure for gcc.dg/uninit-pred-9_b.c, I observed that
> x86-64 and risc-v has a different output for the gimple pass since
> r12-4790-g4b3a325f07acebf4
> <https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=4b3a325f07acebf4>.

Probably since earlier.

> What would be causing the difference? Is this intended? Link 
> <https://godbolt.org/z/eWxnYsK1z> for details. Thank you!

See LOGICAL_OP_NON_SHORT_CIRCUIT in fold-const.cc (and various discussions 
on the topic in mailing lists and bugzilla).

-- 
Marc Glisse


More information about the Gcc mailing list