public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/110818] New: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'
@ 2023-07-26 16:06 19373742 at buaa dot edu.cn
  2023-07-26 16:09 ` [Bug c/110818] " pinskia at gcc dot gnu.org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: 19373742 at buaa dot edu.cn @ 2023-07-26 16:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110818
           Summary: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp
                    -fno-tree-dce -fno-tree-sink'
           Product: gcc
           Version: 11.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: 19373742 at buaa dot edu.cn
  Target Milestone: ---

Created attachment 55640
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55640&action=edit
The preprocessed file

*******************************************************************************
OS and Platform:
CentOS Linux release 7.9.2009 (Core), x86_64 GNU/Linux
*******************************************************************************
gcc version:
gcc -v
Using built-in specs.
COLLECT_GCC=/home/gcc-releases/gcc-11-0720/bin/gcc
COLLECT_LTO_WRAPPER=/home/gcc-releases/gcc-11-0720/libexec/gcc/x86_64-pc-linux-gnu/11.4.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ./configure --prefix=/home/gcc-releases/gcc-11-0720
--disable-multilib --enable-language=c,c++
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.1 20230720 (GCC)
*******************************************************************************
Command lines:
# /home/gcc-releases/gcc-11-0720/bin/gcc -O3 -fno-dce -fno-ipa-cp -fno-tree-dce
-fno-tree-sink tmpp.i -o works
# ./works
Segmentation fault
*******************************************************************************
Reduced issue:
a() { b(); }
b(int, int *c) { d(*c <= 0); }
d() {}
main() { a(); }

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-07-29  8:07 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-26 16:06 [Bug c/110818] New: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink' 19373742 at buaa dot edu.cn
2023-07-26 16:09 ` [Bug c/110818] " pinskia at gcc dot gnu.org
2023-07-26 16:19 ` 19373742 at buaa dot edu.cn
2023-07-26 16:20 ` 19373742 at buaa dot edu.cn
2023-07-26 21:43 ` [Bug middle-end/110818] " pinskia at gcc dot gnu.org
2023-07-27  1:17 ` xry111 at gcc dot gnu.org
2023-07-27  1:22 ` xry111 at gcc dot gnu.org
2023-07-29  2:55 ` 19373742 at buaa dot edu.cn
2023-07-29  7:15 ` pinskia at gcc dot gnu.org
2023-07-29  7:22 ` xry111 at gcc dot gnu.org
2023-07-29  7:26 ` [Bug middle-end/110818] [11 Regression] " xry111 at gcc dot gnu.org
2023-07-29  7:30 ` pinskia at gcc dot gnu.org
2023-07-29  7:39 ` pinskia at gcc dot gnu.org
2023-07-29  7:40 ` xry111 at gcc dot gnu.org
2023-07-29  7:43 ` xry111 at gcc dot gnu.org
2023-07-29  7:51 ` [Bug ipa/110818] " pinskia at gcc dot gnu.org
2023-07-29  7:58 ` pinskia at gcc dot gnu.org
2023-07-29  7:58 ` pinskia at gcc dot gnu.org
2023-07-29  8:05 ` pinskia at gcc dot gnu.org
2023-07-29  8:07 ` pinskia at gcc dot gnu.org

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).