public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/112592] New: FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in expand_fn_using_insn, at internal-fn.cc:216)
@ 2023-11-17 17:04 danglin at gcc dot gnu.org
2023-11-20 16:12 ` [Bug middle-end/112592] " jakub at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2023-11-17 17:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112592
Bug ID: 112592
Summary: FAIL: c-c++-common/pr111309-1.c -std=gnu++14
(internal compiler error: in expand_fn_using_insn, at
internal-fn.cc:216)
Product: gcc
Version: 13.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: danglin at gcc dot gnu.org
CC: jakub at gcc dot gnu.org
Target Milestone: ---
Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
Build: hppa64-hp-hpux11.11
spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir64/gcc/testsuite/g++/../../xg++
-B/home/dave/gnu/gcc/objdir64/gcc/testsuite/g++/../../
/home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/pr111309-1.c
-fdiagnostics-plain-output -nostdinc++
-I/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++14 -O2
-L/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs
-B/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs
-L/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs
-L/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/./libstdc++-v3/src/experimental/.libs
-lm -o ./pr111309-1.exe
during RTL pass: expand
/home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/pr111309-1.c: In function
'int clzI(__int128 unsigned)':
/home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/pr111309-1.c:69:27: internal
compiler error: in expand_fn_using_insn, at internal-fn.cc:216
libbacktrace could not find executable to open
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in
expand_fn_using_insn, at internal-fn.cc:216)
FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (test for excess errors)
Breakpoint 1, expand_fn_using_insn (stmt=0x800003ffbff071b0,
icode=CODE_FOR_nothing, ninputs=1, noutputs=1)
at ../../gcc/gcc/internal-fn.cc:216
216 gcc_assert (icode != CODE_FOR_nothing);
(gdb) p icode
$1 = CODE_FOR_nothing
(gdb) bt
#0 expand_fn_using_insn (stmt=0x800003ffbff071b0, icode=CODE_FOR_nothing,
ninputs=1, noutputs=1) at ../../gcc/gcc/internal-fn.cc:216
#1 0x4000000000c55dd4 in expand_direct_optab_fn (fn=<optimized out>,
stmt=0x800003ffbff071b0, optab=clz_optab, nargs=1)
at ../../gcc/gcc/internal-fn.cc:3817
#2 0x4000000000c55ee0 in expand_CLZ (fn=<optimized out>,
stmt=<optimized out>) at ../../gcc/gcc/internal-fn.def:431
#3 0x4000000000c63918 in expand_internal_call (stmt=<optimized out>,
fn=<optimized out>) at ../../gcc/gcc/internal-fn.cc:4920
#4 expand_internal_call (stmt=<optimized out>)
at ../../gcc/gcc/internal-fn.cc:4928
#5 0x40000000009dacd8 in expand_call_stmt (stmt=0x800003ffbff071b0)
at ../../gcc/gcc/cfgexpand.cc:2737
#6 expand_gimple_stmt_1 (stmt=0x800003ffbff071b0)
at ../../gcc/gcc/cfgexpand.cc:3880
#7 expand_gimple_stmt (stmt=0x800003ffbff071b0)
at ../../gcc/gcc/cfgexpand.cc:4044
#8 0x40000000009db63c in expand_gimple_tailcall (bb=0x800003ffbff071b0,
stmt=0x69, can_fallthru=0x800003ffbfb00508)
at ../../gcc/gcc/cfgexpand.cc:4090
#9 0x40000000009e3c98 in expand_gimple_basic_block (
disable_tail_calls=<optimized out>, bb=<optimized out>)
at ../../gcc/gcc/cfgexpand.cc:6074
---Type <return> to continue, or q <return> to quit---
#10 (anonymous namespace)::pass_expand::execute (this=<optimized out>,
fun=<optimized out>) at ../../gcc/gcc/cfgexpand.cc:6835
#11 0x4000000000e4f508 in execute_one_pass (pass=0x800003ffbff071b0)
at ../../gcc/gcc/passes.cc:2641
#12 0x4000000000e50088 in execute_pass_list_1 (pass=0x800003ffbff071b0)
at ../../gcc/gcc/passes.cc:2750
#13 0x4000000000e50120 in execute_pass_list (fn=<optimized out>,
pass=<optimized out>) at ../../gcc/gcc/passes.cc:2761
#14 0x4000000000a27844 in expand (this=0x800003ffbff071b0)
at ../../gcc/gcc/context.h:48
#15 cgraph_node::expand (this=0x800003ffbff071b0)
at ../../gcc/gcc/cgraphunit.cc:1794
#16 0x4000000000a29fe4 in expand_all_functions ()
at ../../gcc/gcc/cgraphunit.cc:2022
#17 symbol_table::compile (this=0x45043) at ../../gcc/gcc/cgraphunit.cc:2398
#18 0x4000000000a2c9e4 in compile (this=0x1)
at ../../gcc/gcc/cgraphunit.cc:2583
#19 symbol_table::finalize_compilation_unit (this=0x1)
at ../../gcc/gcc/cgraphunit.cc:2583
#20 0x4000000000f92b78 in compile_file () at ../../gcc/gcc/toplev.cc:473
#21 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/112592] FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in expand_fn_using_insn, at internal-fn.cc:216)
2023-11-17 17:04 [Bug c++/112592] New: FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in expand_fn_using_insn, at internal-fn.cc:216) danglin at gcc dot gnu.org
@ 2023-11-20 16:12 ` jakub at gcc dot gnu.org
2023-11-22 20:07 ` [Bug target/112592] " cvs-commit at gcc dot gnu.org
2023-11-22 20:29 ` danglin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-11-20 16:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112592
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That seems like a backend bug.
pa_scalar_mode_supported_p returns true for TARGET_64BIT && mode == TImode, but
MAX_FIXED_MODE_SIZE macro doesn't reflect that and is still using the default
definition of GET_MODE_BITSIZE (DImode).
All other targets which support __int128 properly use something like
#define MAX_FIXED_MODE_SIZE GET_MODE_BITSIZE (TARGET_64BIT ? TImode : DImode)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/112592] FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in expand_fn_using_insn, at internal-fn.cc:216)
2023-11-17 17:04 [Bug c++/112592] New: FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in expand_fn_using_insn, at internal-fn.cc:216) danglin at gcc dot gnu.org
2023-11-20 16:12 ` [Bug middle-end/112592] " jakub at gcc dot gnu.org
@ 2023-11-22 20:07 ` cvs-commit at gcc dot gnu.org
2023-11-22 20:29 ` danglin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-11-22 20:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112592
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by John David Anglin <danglin@gcc.gnu.org>:
https://gcc.gnu.org/g:6f59f959e751d73b371d52f9c657f78d7a77983c
commit r14-5765-g6f59f959e751d73b371d52f9c657f78d7a77983c
Author: John David Anglin <danglin@gcc.gnu.org>
Date: Wed Nov 22 20:06:22 2023 +0000
hppa: Define MAX_FIXED_MODE_SIZE
Replace default define. We support TImode when TARGET_64BIT is true.
2023-11-22 John David Anglin <danglin@gcc.gnu.org>
gcc/ChangeLog:
PR target/112592
* config/pa/pa.h (MAX_FIXED_MODE_SIZE): Define.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/112592] FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in expand_fn_using_insn, at internal-fn.cc:216)
2023-11-17 17:04 [Bug c++/112592] New: FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in expand_fn_using_insn, at internal-fn.cc:216) danglin at gcc dot gnu.org
2023-11-20 16:12 ` [Bug middle-end/112592] " jakub at gcc dot gnu.org
2023-11-22 20:07 ` [Bug target/112592] " cvs-commit at gcc dot gnu.org
@ 2023-11-22 20:29 ` danglin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2023-11-22 20:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112592
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-22 20:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-17 17:04 [Bug c++/112592] New: FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in expand_fn_using_insn, at internal-fn.cc:216) danglin at gcc dot gnu.org
2023-11-20 16:12 ` [Bug middle-end/112592] " jakub at gcc dot gnu.org
2023-11-22 20:07 ` [Bug target/112592] " cvs-commit at gcc dot gnu.org
2023-11-22 20:29 ` danglin 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).