https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92721
Arseny Solokha <asolokha at gmx dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-unknown-linux Status|RESOLVED |REOPENED Resolution|WORKSFORME |--- --- Comment #3 from Arseny Solokha <asolokha at gmx dot com> --- (In reply to Martin Sebor from comment #2) > If it's still reproducible for you It is, w/ the checking build. > please reopen > the bug and provide some more details (options, target, etc.) to help > reproduce it. % x86_64-unknown-linux-gnu-g++-10.0.0-alpha20200119 -v -c gcc/testsuite/gcc.dg/attr-access-read-write-2.c Using built-in specs. COLLECT_GCC=x86_64-unknown-linux-gnu-g++-10.0.0-alpha20200119 Target: x86_64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/configure --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/10.0.0-alpha20200119 --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/10.0.0-alpha20200119 --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --enable-checking=yes --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-multilib-list=m64 --disable-altivec --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libmudflap --disable-libssp --disable-systemtap --disable-vtable-verify --disable-libvtv --disable-libquadmath --enable-lto --with-isl --disable-isl-version-check --disable-libsanitizer --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.0.0-alpha20200119 20200119 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/cc1plus -quiet -v -D_GNU_SOURCE gcc/testsuite/gcc.dg/attr-access-read-write-2.c -quiet -dumpbase attr-access-read-write-2.c -mtune=generic -march=x86-64 -auxbase attr-access-read-write-2 -version -o /tmp/cc6IE8Ii.s GNU C++14 (GCC) version 10.0.0-alpha20200119 20200119 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 10.0.0-alpha20200119 20200119 (experimental), GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22-GMP GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/lib/gcc/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/../../../../x86_64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/include/g++-v10 /usr/lib/gcc/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/include/g++-v10/x86_64-unknown-linux-gnu /usr/lib/gcc/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/include/g++-v10/backward /usr/lib/gcc/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/include /usr/lib/gcc/x86_64-unknown-linux-gnu/10.0.0-alpha20200119/include-fixed /usr/include End of search list. GNU C++14 (GCC) version 10.0.0-alpha20200119 20200119 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 10.0.0-alpha20200119 20200119 (experimental), GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22-GMP GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: 403404e908002a68c47877ce00919be1 gcc/testsuite/gcc.dg/attr-access-read-write-2.c:13:44: internal compiler error: canonical types differ for identical types 'int(void*, void*)' and 'int(void*, void*)' 13 | int RW (2) RW (2) rdwr1_rdwr1 (void*, void*); | ^ 0xa5b4e7 comptypes(tree_node*, tree_node*, int) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/typeck.c:1512 0x8ea1d8 duplicate_decls(tree_node*, tree_node*, bool) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/decl.c:2306 0x96ae10 do_pushdecl /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/name-lookup.c:3042 0x96dc52 pushdecl(tree_node*, bool) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/name-lookup.c:3171 0x96dc52 maybe_push_decl(tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/name-lookup.c:3202 0x8ffbf1 start_decl(cp_declarator const*, cp_decl_specifier_seq*, int, tree_node*, tree_node*, tree_node**) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/decl.c:5375 0x9ae2b1 cp_parser_init_declarator /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/parser.c:20673 0x98f426 cp_parser_simple_declaration /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/parser.c:13657 0x9b9512 cp_parser_declaration /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/parser.c:13356 0x9b9c9f cp_parser_translation_unit /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/parser.c:4731 0x9b9c9f c_parse_file() /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/cp/parser.c:43648 0xad156b c_common_parse_file() /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20200119/work/gcc-10-20200119/gcc/c-family/c-opts.c:1186 (as of g:3684bbb022cd75da55e1457673f269980aa12cdf)