public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/103910] openjdk17 causes ICE on -O3 -march=opteron -fcheck-new: during GIMPLE pass: aprefetch: in gimple_build_call, at gimple.c:267
Date: Wed, 05 Jan 2022 22:38:32 +0000	[thread overview]
Message-ID: <bug-103910-4-2UsNjHbWkI@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-103910-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>:

https://gcc.gnu.org/g:d243f4009d8071b734df16cd70f4c5d09a373769

commit r12-6274-gd243f4009d8071b734df16cd70f4c5d09a373769
Author: Andrew Pinski <apinski@marvell.com>
Date:   Wed Jan 5 22:00:07 2022 +0000

    Fix target/103910: missing GTY on x86_mfence causing PCH usage to ICE

    With -O3 -march=opteron, a mfence builtin is added after the loop
    to say the nontemporal stores are no longer needed. This all good
    without precompiled headers as the function decl that is referneced
    by x86_mfence is referenced in another variable but with precompiled
    headers, x86_mfence is all messed up and the decl was GC'ed away.
    This fixes the problem by marking x86_mfence as GTY to save/restore
    during precompiled headers just like most other variables in
    the header file.

    Committed as obvious after a bootstrap/test on x86_64-linux-gnu.

    gcc/ChangeLog:

            PR target/103910
            * config/i386/i386.h (x86_mfence): Mark with GTY.

  parent reply	other threads:[~2022-01-05 22:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-04 22:30 [Bug c++/103910] New: openjdk17 causes ICE on -O3 -march=opteron -fchecking-new: " slyfox at gcc dot gnu.org
2022-01-04 22:35 ` [Bug target/103910] " pinskia at gcc dot gnu.org
2022-01-04 22:35 ` slyfox at gcc dot gnu.org
2022-01-04 22:37 ` pinskia at gcc dot gnu.org
2022-01-05  8:37 ` slyfox at gcc dot gnu.org
2022-01-05 21:11 ` [Bug target/103910] openjdk17 causes ICE on -O3 -march=opteron -fcheck-new: " pinskia at gcc dot gnu.org
2022-01-05 22:38 ` cvs-commit at gcc dot gnu.org [this message]
2022-01-05 22:41 ` pinskia at gcc dot gnu.org
2022-01-07 15:34 ` sam at gentoo dot org
2022-01-07 15:35 ` sam at gentoo dot org
2022-01-07 22:45 ` pinskia at gcc dot gnu.org
2022-01-08  0:20 ` sam at gentoo dot org
2022-02-01 22:18 ` egallager at gcc dot gnu.org
2024-02-07  2:27 ` alx at kernel dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-103910-4-2UsNjHbWkI@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).