GCC Bugzilla – Attachment 53079 Details for
Bug 105839
internal compiler error: in tsubst_omp_for_iterator with openmp and structured bindings in a template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Result from -freport-bug
ccgZXzMX.out (text/x-csrc), 2.57 KB, created by
northon_patrick3
on 2022-06-03 16:49:34 UTC
(
hide
)
Description:
Result from -freport-bug
Filename:
MIME Type:
Creator:
northon_patrick3
Created:
2022-06-03 16:49:34 UTC
Size:
2.57 KB
patch
obsolete
>// Target: x86_64-pc-linux-gnu >// Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1 >// Thread model: posix >// Supported LTO compression algorithms: zlib zstd >// gcc version 12.1.0 (GCC) >// >// test2.cpp:1:17: warning: use of âautoâ in parameter declaration only available with â-std=c++20â or â-fconceptsâ >// 1 | void test(const auto &b1) >// | ^~~~ >// test2.cpp: In instantiation of âvoid test(const auto:1&) [with auto:1 = int [10]]â: >// test2.cpp:15:6: required from here >// test2.cpp:6:25: internal compiler error: in tsubst_omp_for_iterator, at cp/pt.cc:18126 >// 6 | for(auto&& [v1, v2] : b1); >// | ^~~ >// 0x1ac4724 internal_error(char const*, ...) >// ???:0 >// 0x663b55 fancy_abort(char const*, int, char const*) >// ???:0 >// 0x81d054 tsubst_lambda_expr(tree_node*, tree_node*, int, tree_node*) >// ???:0 >// 0x80614a tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) >// ???:0 >// 0x7fedbe instantiate_decl(tree_node*, bool, bool) >// ???:0 >// 0x81e704 instantiate_pending_templates(int) >// ???:0 >// 0x7173d1 c_parse_final_cleanups() >// ???:0 >// Please submit a full bug report, with preprocessed source. >// Please include the complete backtrace with any bug report. >// See <https://bugs.archlinux.org/> for instructions. > >// /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/cc1plus -quiet -D_GNU_SOURCE -D_REENTRANT test2.cpp -quiet -dumpdir a- -dumpbase test2.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -fopenmp -freport-bug -o - -frandom-seed=0 -fdump-noaddr > ># 0 "test2.cpp" ># 0 "<built-in>" ># 0 "<command-line>" ># 1 "/usr/include/stdc-predef.h" 1 3 4 ># 0 "<command-line>" 2 ># 1 "test2.cpp" >void test(const auto &b1) >{ > const auto loopImpl = [&](auto&& fc) > { > ># 5 "test2.cpp" >#pragma omp parallel for > for(auto&& [v1, v2] : b1); > }; > > loopImpl([]{}); >} > >void test2() >{ > int a[10]; > test(a); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 105839
: 53079 |
54564