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

            Bug ID: 118723
           Summary: internal compiler error
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: regev.ran at gmail dot com
  Target Milestone: ---

gcc was invoked with:
/home/ran/bin/compilers/gcc-trunk/bin/g++ -MD -MT build/dev/main.o -MF
build/dev/main.o.d -std=gnu++23 -I/home/ran/dev/scylladb/seastar/include
-I/home/ran/dev/scylladb/build/dev/seastar/gen/include -Wno-maybe-uninitialized
-Werror=unused-result -fstack-clash-protection -DSEASTAR_P2581R1
-DSEASTAR_API_LEVEL=7 -DSEASTAR_BUILD_SHARED_LIBS -DSEASTAR_SSTRING
-DSEASTAR_ENABLE_ALLOC_FAILURE_INJECTION -DSEASTAR_LOGGER_COMPILE_TIME_FMT
-DSEASTAR_SCHEDULING_GROUPS_COUNT=19 -DSEASTAR_LOGGER_TYPE_STDOUT
-DSEASTAR_TYPE_ERASE_MORE -DFMT_SHARED -I/usr/include/p11-kit-1 -DWITH_GZFILEOP
-Wno-changes-meaning -ffile-prefix-map=/home/ran/dev/scylladb=.
-DSEASTAR_NO_EXCEPTION_HACK -march=westmere -DDEVEL
-DSEASTAR_ENABLE_ALLOC_FAILURE_INJECTION -DSCYLLA_ENABLE_ERROR_INJECTION
-DSCYLLA_ENABLE_PREEMPTION_SOURCE -O2 -Wstack-usage=21504
-Wno-error=stack-usage= -DSCYLLA_BUILD_MODE=dev -iquote. -iquote build/dev/gen
-std=gnu++23 -Wno-changes-meaning -ffile-prefix-map=/home/ran/dev/scylladb=.
-DSEASTAR_NO_EXCEPTION_HACK -march=westmere -DBOOST_ALL_DYN_LINK   
-fvisibility=hidden -isystem abseil -Wall -Wextra -Wimplicit-fallthrough
-Wno-mismatched-tags -Wno-overloaded-virtual -Wno-unused-parameter
-Wno-missing-field-initializers -Wno-deprecated-copy -Wno-narrowing
-Wno-error=deprecated-declarations -DXXH_PRIVATE_API -DSEASTAR_TESTING_MAIN
-freport-bug  -c -o 


The head of the attached zip file:

head ccs6MUzo.out 
// Target: x86_64-pc-linux-gnu
// Configured with: ../gcc-trunk/configure
--prefix=/home/ran/bin/compilers/gcc-trunk
--with-mpfr=/home/ran/compilers/mpfr/ --with-mpc=/home/ran/compilers/mpc/
--with-gmp=/home/ran/compilers/gmp --disable-multilib
// Thread model: posix
// Supported LTO compression algorithms: zlib zstd
// gcc version 15.0.1 20250131 (experimental) (GCC) 
// 
// In file included from ./db/config.hh:29,
//                  from transport/server.hh:39,
//                  from main.cc:32:
// ./utils/advanced_rpc_compressor.hh: In constructor ‘constexpr
utils::compression_algorithm::compression_algorithm(underlying)’:
// ./utils/advanced_rpc_compressor.hh:44:15: warning: comparison is always
false due to limited range of data type [-Wtype-limits]
//    44 |         if (x < 0 || x >= static_cast<underlying>(type::COUNT)) {
//       |             ~~^~~
// In file included from
/home/ran/dev/scylladb/seastar/include/seastar/core/task.hh:24,
//                  from
/home/ran/dev/scylladb/seastar/include/seastar/core/future.hh:36,
//                  from
/home/ran/dev/scylladb/seastar/include/seastar/util/closeable.hh:26,
//                  from main.cc:14:
// /home/ran/dev/scylladb/seastar/include/seastar/core/scheduling.hh: In
instantiation of ‘void seastar::internal::apply_constructor(void*, Tuple,
std::index_sequence<_Idx ...>) [with ConstructorType =
service::storage_proxy_stats::stats; Tuple = std::tuple<>; long unsigned int
...Idx = {}; std::index_sequence<_Idx ...> = std::integer_sequence<long
unsigned int>]’:
// /home/ran/dev/scylladb/seastar/include/seastar/core/scheduling.hh:253:39:  
required from ‘seastar::scheduling_group_key_config
seastar::make_scheduling_group_key_config(ConstructorArgs ...) [with T =
service::storage_proxy_stats::stats; ConstructorArgs = {}]’
//   253 |         internal::apply_constructor<T>(p, args,
std::make_index_sequence<sizeof...(ConstructorArgs)>());
//       |        
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// main.cc:1338:90:   required from here
//  1338 |                    
make_scheduling_group_key_config<service::storage_proxy_stats::stats>();
//       |                    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
// /home/ran/dev/scylladb/seastar/include/seastar/core/scheduling.hh:230:54:
warning: parameter ‘args’ set but not used [-Wunused-but-set-parameter]
//   230 | void apply_constructor(void* pre_alocated_mem, Tuple args,
std::index_sequence<Idx...>) {
//       |                                                ~~~~~~^~~~
// main.cc: In function ‘void
read_object_storage_config(_Z26read_object_storage_configRN2db6configE.Frame*)’:
// main.cc:262:1: internal compiler error: in gimplify_var_or_parm_decl, at
gimplify.cc:3346
//   262 | }
//       | ^
// 0x25ccedf internal_error(char const*, ...)
//      ../../gcc-trunk/gcc/diagnostic-global-context.cc:517
// 0x710093 fancy_abort(char const*, int, char const*)
//      ../../gcc-trunk/gcc/diagnostic.cc:1722
// 0x54bb01 gimplify_var_or_parm_decl
//      ../../gcc-trunk/gcc/gimplify.cc:3346
// 0xd4a602 gimplify_expr(tree_node**, gimple**, gimple**, bool
(*)(tree_node*), int)
//      ../../gcc-trunk/gcc/gimplify.cc:19791
// 0xd578d2 gimplify_addr_expr
//      ../../gcc-trunk/gcc/gimplify.cc:7637
// 0xd4a8dd gimplify_expr(tree_node**, gimple**, gimple**, bool
(*)(tree_node*), int)
//      ../../gcc-trunk/gcc/gimplify.cc:19371
// 0xd5f1d4 gimplify_expr
//      ../../gcc-trunk/gcc/gimplify.cc:20431
// 0xd5f1d4 gimplify_arg(tree_node**, gimple**, unsigned long, bool)
//      ../../gcc-trunk/gcc/gimplify.cc:3832
// 0xd5f717 gimplify_call_expr
//      ../../gcc-trunk/gcc/gimplify.cc:4682
// 0xd4b2f2 gimplify_expr(tree_node**, gimple**, gimple**, bool
(*)(tree_node*), int)

Reply via email to