[Bug bootstrap/97105] New: [11 regression] dumpfile.c:169:33: error: storage size of 'optgroup_options' isn't known
dimhen at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 18 11:22:59 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97105
Bug ID: 97105
Summary: [11 regression] dumpfile.c:169:33: error: storage size
of 'optgroup_options' isn't known
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: dimhen at gmail dot com
Target Milestone: ---
r11-3264 PASS
r11-3279 FAIL
$ configure --enable-checking=release --enable-languages=c,c++,lto
--disable-multilib --enable-shared
$ make -j5
[...]
make[3]: Entering directory '/home/dimhen/build/gcc_current/gcc'
/home/dimhen/build/gcc_current/./prev-gcc/xg++
-B/home/dimhen/build/gcc_current/./prev-gcc/
-B/home/dimhen/arch-gcc/gcc_current/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/dimhen/src/gcc_current/libstdc++-v3/libsupc++
-L/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-fno-PIE -c -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -DHAVE_CONFIG_H -I. -I.
-I/home/dimhen/src/gcc_current/gcc -I/home/dimhen/src/gcc_current/gcc/.
-I/home/dimhen/src/gcc_current/gcc/../include
-I/home/dimhen/src/gcc_current/gcc/../libcpp/include
-I/home/dimhen/build/gcc_current/./gmp -I/home/dimhen/src/gcc_current/gmp
-I/home/dimhen/build/gcc_current/./mpfr/src
-I/home/dimhen/src/gcc_current/mpfr/src -I/home/dimhen/src/gcc_current/mpc/src
-I/home/dimhen/src/gcc_current/gcc/../libdecnumber
-I/home/dimhen/src/gcc_current/gcc/../libdecnumber/bid -I../libdecnumber
-I/home/dimhen/src/gcc_current/gcc/../libbacktrace
-I/home/dimhen/build/gcc_current/./isl/include
-I/home/dimhen/src/gcc_current/isl/include -o dumpfile.o -MT dumpfile.o -MMD
-MP -MF ./.deps/dumpfile.TPo /home/dimhen/src/gcc_current/gcc/dumpfile.c
/home/dimhen/src/gcc_current/gcc/coretypes.h: In instantiation of 'struct
kv_pair<optgroup_flag>':
/home/dimhen/src/gcc_current/gcc/dumpfile.c:169:50: required from here
/home/dimhen/src/gcc_current/gcc/dumpfile.c:169:33: error: storage size of
'optgroup_options' isn't known
169 | const kv_pair<optgroup_flags_t> optgroup_options[] =
| ^~~~~~~~~~~~~~~~
/home/dimhen/src/gcc_current/gcc/dumpfile.c: In function 'void
dump_loc(dump_flags_t, pretty_printer*, location_t)':
/home/dimhen/src/gcc_current/gcc/dumpfile.c:498:34: warning: spurious trailing
space in format [-Wformat-diag]
498 | pp_printf (pp, "%s:%d:%d: ", LOCATION_FILE (loc),
| ^
/home/dimhen/src/gcc_current/gcc/dumpfile.c:501:34: warning: spurious trailing
space in format [-Wformat-diag]
501 | pp_printf (pp, "%s:%d:%d: ",
| ^
/home/dimhen/src/gcc_current/gcc/dumpfile.c:505:26: warning: spurious trailing
space in format [-Wformat-diag]
505 | pp_printf (pp, "%s: ", kind_as_string (dump_kind));
| ^
/home/dimhen/src/gcc_current/gcc/dumpfile.c: In member function 'void
dump_context::begin_scope(const char*, const dump_user_location_t&, const
dump_impl_location_t&)':
/home/dimhen/src/gcc_current/gcc/dumpfile.c:1122:20: warning: spurious leading
punctuation sequence '===' in format [-Wformat-diag]
1122 | pp_printf (&pp, "=== %s ===\n", name);
| ^~~
/home/dimhen/src/gcc_current/gcc/dumpfile.c:1122:27: warning: unquoted sequence
of 3 consecutive punctuation characters '===' in format [-Wformat-diag]
1122 | pp_printf (&pp, "=== %s ===\n", name);
| ^~~
/home/dimhen/src/gcc_current/gcc/dumpfile.c:1122:30: warning: unquoted
whitespace character '\x0a' in format [-Wformat-diag]
1122 | pp_printf (&pp, "=== %s ===\n", name);
| ^~
make[3]: *** [Makefile:1123: dumpfile.o] Error 1
make[3]: Leaving directory '/home/dimhen/build/gcc_current/gcc'
make[2]: *** [Makefile:4793: all-stage2-gcc] Error 2
make[2]: Leaving directory '/home/dimhen/build/gcc_current'
make[1]: *** [Makefile:27160: stage2-bubble] Error 2
make[1]: Leaving directory '/home/dimhen/build/gcc_current'
More information about the Gcc-bugs
mailing list