public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/113197] [14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
Date: Tue, 09 Jan 2024 11:45:54 +0000	[thread overview]
Message-ID: <bug-113197-4-ZKtacJojxq@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-113197-4@http.gcc.gnu.org/bugzilla/>

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
From the last reproducer, one doesn't really need any extra libraries.
Just
./cc1 -quiet -Wdate-time -std=gnu99 -W -Wall -Wmissing-prototypes
-Wwrite-strings -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast
-Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls
-Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -g
-O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection libct_proto_udp.i -fPIC
./cc1 -quiet -Wdate-time -std=gnu99 -W -Wall -Wmissing-prototypes
-Wwrite-strings -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast
-Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls
-Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -g
-O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection conntrack.i -fpie
./xgcc -B ./ -std=gnu99 -W -Wall -Wmissing-prototypes -Wwrite-strings
-Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare
-Waggregate-return -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -g -O2
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-Bsymbolic-functions -flto=auto
-ffat-lto-objects -Wl,-z -Wl,relro -o conntrack.so conntrack.i
libct_proto_udp.s -v -save-temps
reproduces it.
The ICE is on
4105      /* As an compile time optimization if we make no difference between
4106         direct and indirect accesses make arg transitively closed.
4107         This avoids the need to build indir arg and do everything twice. 
*/
4108      if (((flags & EAF_NO_INDIRECT_CLOBBER) != 0)
4109          == ((flags & EAF_NO_DIRECT_CLOBBER) != 0)
4110          && (((flags & EAF_NO_INDIRECT_READ) != 0)
4111              == ((flags & EAF_NO_DIRECT_READ) != 0))
4112          && (((flags & EAF_NO_INDIRECT_ESCAPE) != 0)
4113              == ((flags & EAF_NO_DIRECT_ESCAPE) != 0))
4114          && (((flags & EAF_NOT_RETURNED_INDIRECTLY) != 0)
4115              == ((flags & EAF_NOT_RETURNED_DIRECTLY) != 0)))
4116        {
4117          make_transitive_closure_constraints (tem);
4118          callarg_transitive = true;
4119          gcc_checking_assert (!(flags & EAF_NO_DIRECT_READ));
4120        }

  parent reply	other threads:[~2024-01-09 11:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] " doko at gcc dot gnu.org
2024-01-02 16:13 ` [Bug lto/113197] " doko at gcc dot gnu.org
2024-01-02 16:20 ` doko at gcc dot gnu.org
2024-01-02 18:04 ` doko at gcc dot gnu.org
2024-01-08 14:29 ` [Bug ipa/113197] [14 Regression] " rguenth at gcc dot gnu.org
2024-01-09 11:45 ` jakub at gcc dot gnu.org [this message]
2024-01-09 11:46 ` jakub at gcc dot gnu.org
2024-01-09 12:13 ` rguenth at gcc dot gnu.org
2024-01-10 13:43 ` jamborm at gcc dot gnu.org
2024-01-11  2:23 ` [Bug ipa/113197] [12/13/14 " pinskia at gcc dot gnu.org
2024-01-11  8:13 ` rguenth 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-113197-4-ZKtacJojxq@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).