public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/103246] [12 Regression] 416.gamess miscompare with -O2 -g -flto=auto since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e Date: Mon, 15 Nov 2021 11:13:04 +0000 [thread overview] Message-ID: <bug-103246-4-cBgzPH1VWW@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-103246-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103246 --- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Looking into optimized dump, I wonder why IPA-SRA is rpelacing some of parameters passed by reference but not all of them: -__attribute__((fn spec (". w w w w w w w w w w w w w "))) -double dco (int & restrict l, int & restrict m, int & restrict kx, int & restrict ky, int & restrict kz, int & restrict lp, int & restrict mp, double[15625] * restrict fpqr, double[0:] * restrict zlm, int[0:] * restrict lmf, int[0:] * restrict lmx, int[0:] * restrict lmy, int[0:] * restrict lmz) +double dco.isra (int ISRA.1, int ISRA.1, int & restrict kx, int & restrict ky, int & restrict kz, int ISRA.2, int ISRA.3, double[15625] * restrict fpqr, double[0:] * restrict zlm, int[0:] * restrict lmf, int[0:] * restrict lmx, int[0:] * restrict lmy, int[0:] * restrict lmz) I would expect kx,ky and kz to be also replaced. -void formdr.constprop (double[0:] * restrict g, double[0:] * restrict g2, double[0:] * restrict xin, double[0:] * restrict yin, double[0:] * restrict zin, int & restrict mini, int & restrict maxi, int & restrict minj, int & restrict maxj, logical(kind=4) & restrict norm) +void formdr.constprop (double[0:] * restrict g, double[0:] * restrict g2, double[0:] * restrict xin, double[0:] * restrict yin, double[0:] * restrict zin, int & restrict minj, int & restrict maxj) similarly here we drop some parameters by we do not seem to do the replacement for rest of them.
next prev parent reply other threads:[~2021-11-15 11:13 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-15 10:22 [Bug ipa/103246] New: " marxin at gcc dot gnu.org 2021-11-15 10:24 ` [Bug ipa/103246] " marxin at gcc dot gnu.org 2021-11-15 10:39 ` marxin at gcc dot gnu.org 2021-11-15 10:39 ` marxin at gcc dot gnu.org 2021-11-15 10:40 ` marxin at gcc dot gnu.org 2021-11-15 10:40 ` marxin at gcc dot gnu.org 2021-11-15 11:13 ` hubicka at gcc dot gnu.org [this message] 2021-11-16 16:09 ` jamborm at gcc dot gnu.org 2021-11-16 17:09 ` jamborm at gcc dot gnu.org 2021-11-16 19:24 ` marxin at gcc dot gnu.org 2021-11-16 19:34 ` marxin at gcc dot gnu.org 2021-11-16 20:53 ` marxin at gcc dot gnu.org 2021-11-16 22:42 ` hubicka at gcc dot gnu.org 2021-11-17 0:44 ` cvs-commit at gcc dot gnu.org 2021-11-17 9:11 ` marxin at gcc dot gnu.org 2021-11-17 9:38 ` hubicka at kam dot mff.cuni.cz 2021-11-17 12:27 ` hubicka at gcc dot gnu.org 2021-11-17 13:03 ` hubicka at gcc dot gnu.org 2021-11-17 13:15 ` hubicka at gcc dot gnu.org 2021-11-17 13:31 ` hubicka at gcc dot gnu.org 2021-11-17 18:58 ` hubicka at gcc dot gnu.org 2021-11-17 19:36 ` hubicka at gcc dot gnu.org 2021-11-17 21:06 ` cvs-commit at gcc dot gnu.org 2021-11-18 8:27 ` hubicka at gcc dot gnu.org 2021-11-18 8:28 ` hubicka at gcc dot gnu.org 2021-11-18 12:22 ` marxin at gcc dot gnu.org 2021-11-18 19:10 ` cvs-commit at gcc dot gnu.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-103246-4-cBgzPH1VWW@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: linkBe 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).