[Bug target/91767] [10 regression] After r274953, clang-compiled xgcc segfaults during RTL pass: stv

dimitry at andric dot com gcc-bugzilla@gcc.gnu.org
Sat Sep 14 12:29:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91767

--- Comment #3 from Dimitry Andric <dimitry at andric dot com> ---
(In reply to Jakub Jelinek from comment #2)
> Isn't that a clang bug though?  hash_map has a constructor which should be
> invoked by the general_scalar_chain constructor...

It is possible, though I think it is more likely that clang optimizes some sort
of undefined behavior differently from gcc.  I attempted to get the initial
stage (e.g. the xgcc build, is that the first stage, or the "zeroth" stage?) to
build with -fsanitize=undefined, but it failed with linker errors.


More information about the Gcc-bugs mailing list