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

--- Comment #26 from Paul Eggert <eggert at cs dot ucla.edu> ---
(In reply to Sam James from comment #25)
> The testcases in this bug work now, but PR119085 still fails. I'll reopen it.
Since PR119085 motivates Emacs 'configure' to always use -fno-tree-sra when
compiling with GCC 4+, I just now updated Emacs master to mention PR119085
instead. See:

https://cgit.git.savannah.gnu.org/cgit/emacs.git/commit/?id=07ee5ebeca0ddeab436d449f626638d85c083da1

In Emacs we have been conservative and so have not adopted the localized
workaround that Andrew suggested in comment #19. Emacs uses lots of unions in
lots of places, we suspect that the bug can be triggered in other places, and
it's too much to ask developers to track all those places down.

So I hope PR119085 can be fixed too, so that we can change Emacs 'configure' to
not use -fno-tree-sra in GCC versions where that bug is fixed.

Thanks to all of you for looking into these bugs.
  • [Bug tree-optimization/117423] ... eggert at cs dot ucla.edu via Gcc-bugs

Reply via email to