public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/109477] New: [13 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 8) when building busybox
@ 2023-04-11 20:13 sjames at gcc dot gnu.org
2023-04-11 20:13 ` [Bug tree-optimization/109477] " sjames at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-04-11 20:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109477
Bug ID: 109477
Summary: [13 regression] ICE: internal compiler error:
verify_flow_info failed (error: returns_twice call is
not first in basic block 8) when building busybox
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: sjames at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build: x86_64-pc-linux-gnu
Created attachment 54832
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54832&action=edit
wget.i.orig
Hit this when building busybox-1.34.1 w/ 13.0.1 20230409 with checking.
```
x86_64-pc-linux-gnu-gcc -Wp,-MD,networking/.wget.o.d -std=gnu99 -Iinclude
-Ilibbb -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DBB_VER='"1.34.1"' -O2 -pipe
-march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type
-fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes
-Wunused -Wunused-parameter -Wunused-function -Wunused-value
-Wmissing-prototypes -Wmissing-declarations -Wno-format-security
-Wdeclaration-after-statement -Wold-style-definition -finline-limit=0
-fno-builtin-strlen -ffunction-sections -fdata-sections
-fno-guess-branch-probability -funsigned-char -fno-unwind-tables
-fno-asynchronous-unwind-tables -fno-builtin-printf
-DKBUILD_BASENAME='"wget"' -DKBUILD_MODNAME='"wget"' -c -o networking/wget.o
networking/wget.c
networking/wget.c: In function ‘spawn_https_helper_openssl’:
networking/wget.c:666:12: error: returns_twice call is not first in basic block
8
666 | static int spawn_https_helper_openssl(const char *host, unsigned port)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
bb__xvfork_pid_45 = vfork ();
during GIMPLE pass: slp
networking/wget.c:666:12: internal compiler error: verify_flow_info failed
0x7acafb verify_flow_info()
/usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r1/gcc-13-20230409/gcc/cfghooks.cc:285
0x1523abd execute_function_todo
/usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r1/gcc-13-20230409/gcc/passes.cc:2110
0x1489c51 do_per_function
/usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r1/gcc-13-20230409/gcc/passes.cc:1694
0x1489c51 execute_todo
/usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r1/gcc-13-20230409/gcc/passes.cc:2152
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
```
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/109477] [13 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 8) when building busybox
2023-04-11 20:13 [Bug tree-optimization/109477] New: [13 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 8) when building busybox sjames at gcc dot gnu.org
@ 2023-04-11 20:13 ` sjames at gcc dot gnu.org
2023-04-11 20:14 ` sjames at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-04-11 20:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109477
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 54833
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54833&action=edit
wget.i (reduced)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/109477] [13 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 8) when building busybox
2023-04-11 20:13 [Bug tree-optimization/109477] New: [13 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 8) when building busybox sjames at gcc dot gnu.org
2023-04-11 20:13 ` [Bug tree-optimization/109477] " sjames at gcc dot gnu.org
@ 2023-04-11 20:14 ` sjames at gcc dot gnu.org
2023-04-11 20:16 ` sjames at gcc dot gnu.org
2023-04-12 6:05 ` amonakov at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-04-11 20:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109477
--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 54834
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54834&action=edit
wget.i (reduced further, cleaned up, check)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/109477] [13 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 8) when building busybox
2023-04-11 20:13 [Bug tree-optimization/109477] New: [13 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 8) when building busybox sjames at gcc dot gnu.org
2023-04-11 20:13 ` [Bug tree-optimization/109477] " sjames at gcc dot gnu.org
2023-04-11 20:14 ` sjames at gcc dot gnu.org
@ 2023-04-11 20:16 ` sjames at gcc dot gnu.org
2023-04-12 6:05 ` amonakov at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-04-11 20:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109477
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
See also PR109469 and PR109410.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/109477] [13 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 8) when building busybox
2023-04-11 20:13 [Bug tree-optimization/109477] New: [13 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 8) when building busybox sjames at gcc dot gnu.org
` (2 preceding siblings ...)
2023-04-11 20:16 ` sjames at gcc dot gnu.org
@ 2023-04-12 6:05 ` amonakov at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: amonakov at gcc dot gnu.org @ 2023-04-12 6:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109477
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
CC| |amonakov at gcc dot gnu.org
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
This is also SLP emitting a vector ctor in an unexpected place, just like in
PR109469, so I'll go ahead and mark it as a dup. Thanks for the report.
*** This bug has been marked as a duplicate of bug 109469 ***
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-04-12 6:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-11 20:13 [Bug tree-optimization/109477] New: [13 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 8) when building busybox sjames at gcc dot gnu.org
2023-04-11 20:13 ` [Bug tree-optimization/109477] " sjames at gcc dot gnu.org
2023-04-11 20:14 ` sjames at gcc dot gnu.org
2023-04-11 20:16 ` sjames at gcc dot gnu.org
2023-04-12 6:05 ` amonakov 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).