From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55CB6385840B; Mon, 16 Oct 2023 19:34:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55CB6385840B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697484857; bh=m+Fbyy5mgr23EvCdqRXAbT7WtCnx29qhQtfaKCuRJRs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XILfyF6GsZ6QxmgMOAj3n1bXkqesP2GlotniCFVIU2qN3pdEg9dLGn9sYSxLmfn4t 8mpWj/FqX7ovx45zOt34FzsvTvTfL2fbLVxiu3zK9N0nKgTJeUlQifBS9hqIOoIC3N P/w2FeLbqCqmlHFa7P68nmAj9UqVuwY/lizMyMws= From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/111812] [14 regression] Can't build with gcc 4.8.5 Date: Mon, 16 Oct 2023 19:34:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111812 --- Comment #4 from seurer at gcc dot gnu.org --- I tried a build with r14-4659-ga22eeaca5ce753 and I see the following which looks like it might be the mentioned union issues. g++ -std=3Dgnu++11 -fno-PIE -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-stri= ngs -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common=20 -DHAVE_CONFIG_H -fno-PIE -I. -I. -I/home/seurer/gcc/git/gcc-test/gcc -I/home/seurer/gcc/git/gcc-test/gcc/. -I/home/seurer/gcc/git/gcc-test/gcc/../include=20 -I/home/seurer/gcc/git/gcc-test/gcc/../libcpp/include -I/home/seurer/gcc/git/gcc-test/gcc/../libcody -I/home/seurer/gcc/git/build/gcc-test/./gmp -I/home/seurer/gcc/git/gcc-test= /gmp -I/home/seurer/gcc/git/build/gcc-test/./mpfr/src -I/home/seurer/gcc/git/gcc-test/mpfr/src -I/home/seurer/gcc/git/gcc-test/mpc/src=20 -I/home/seurer/gcc/git/gcc-test/gcc/../libdecnumber -I/home/seurer/gcc/git/gcc-test/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/seurer/gcc/git/gcc-test/gcc/../libbacktrace -I/home/seurer/gcc/git/build/gcc-test/./isl/include -I/home/seurer/gcc/git/gcc-test/isl/include -o cse.o -MT cse.o -MMD -MP -MF ./.deps/cse.TPo /home/seurer/gcc/git/gcc-test/gcc/cse.cc In file included from /home/seurer/gcc/git/gcc-test/gcc/cse.cc:25:0: /home/seurer/gcc/git/gcc-test/gcc/rtl.h:66:26: warning: 'rtx_def::code' is = too small to hold all values of 'enum rtx_code' [enabled by default] #define RTX_CODE_BITSIZE 8 ^ /home/seurer/gcc/git/gcc-test/gcc/rtl.h:318:33: note: in expansion of macro 'RTX_CODE_BITSIZE' ENUM_BITFIELD(rtx_code) code: RTX_CODE_BITSIZE; ^ /home/seurer/gcc/git/gcc-test/gcc/rtl.h:66:26: warning: 'qty_table_elem::comparison_code' is too small to hold all values of 'enum rtx_code' [enabled by default] #define RTX_CODE_BITSIZE 8 ^ /home/seurer/gcc/git/gcc-test/gcc/cse.cc:252:45: note: in expansion of macro 'RTX_CODE_BITSIZE' ENUM_BITFIELD(rtx_code) comparison_code : RTX_CODE_BITSIZE; ^ /home/seurer/gcc/git/gcc-test/gcc/cse.cc: In function 'void add_to_set(vec*, rtx)': /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::rtl' [-Wmissing-field-initializers] struct set entry =3D {}; ^ /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::src' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::src_elt' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::src_hash' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::dest_hash' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::inner_dest' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::src_in_memory' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::src_volatile' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::mode' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::src_const_hash' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::src_const' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::src_const_elt' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initiali= zer for member 'set::dest_addr_elt' [-Wmissing-field-initializers] /home/seurer/gcc/git/gcc-test/gcc/cse.cc: In function 'void cse_insn(rtx_insn*)': /home/seurer/gcc/git/gcc-test/gcc/cse.cc:4954:19: error: use of deleted function 'rtx_def::rtx_def()' struct rtx_def memory_extend_buf; ^ In file included from /home/seurer/gcc/git/gcc-test/gcc/cse.cc:25:0: /home/seurer/gcc/git/gcc-test/gcc/rtl.h:313:38: note: 'rtx_def::rtx_def()' = is implicitly deleted because the default definition would be ill-formed: chain_prev ("RTX_PREV (&%h)"))) rtx_def { ^ /home/seurer/gcc/git/gcc-test/gcc/rtl.h:313:38: error: use of deleted funct= ion 'rtx_def::u::u()' /home/seurer/gcc/git/gcc-test/gcc/rtl.h:445:9: note: 'rtx_def::u::u()' is implicitly deleted because the default definition would be ill-formed: union u { ^ /home/seurer/gcc/git/gcc-test/gcc/rtl.h:445:9: error: use of deleted functi= on 'rtunion::rtunion()' /home/seurer/gcc/git/gcc-test/gcc/rtl.h:203:7: note: 'rtunion::rtunion()' is implicitly deleted because the default definition would be ill-formed: union rtunion ^ /home/seurer/gcc/git/gcc-test/gcc/rtl.h:207:15: error: union member 'rtunion::rt_subreg' with non-trivial 'poly_int::poly_int() [with unsigned int N =3D 1u; C =3D short unsigned int]' poly_uint16 rt_subreg; ^ /home/seurer/gcc/git/gcc-test/gcc/rtl.h:445:9: error: use of deleted functi= on 'block_symbol::block_symbol()' union u { ^ /home/seurer/gcc/git/gcc-test/gcc/rtl.h:237:16: note: 'block_symbol::block_symbol()' is implicitly deleted because the default definition would be ill-formed: struct GTY(()) block_symbol { ^ /home/seurer/gcc/git/gcc-test/gcc/rtl.h:237:16: error: use of deleted funct= ion 'rtunion::rtunion()' make[2]: *** [cse.o] Error 1=