Bug 1595470 - h2-client.cpp:32:83: internal compiler error: in make_decl_rtl, at varasm.c:1322
Summary: h2-client.cpp:32:83: internal compiler error: in make_decl_rtl, at varasm.c:1322
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 28
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-27 00:11 UTC by Gene Hightower
Modified: 2018-08-10 13:45 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-08-10 13:45:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
source code (1.67 KB, text/x-csrc)
2018-06-27 00:11 UTC, Gene Hightower
no flags Details
proprocessed output (4.36 MB, text/plain)
2018-06-27 00:13 UTC, Gene Hightower
no flags Details

Description Gene Hightower 2018-06-27 00:11:30 UTC
Created attachment 1454838 [details]
source code

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Gene Hightower 2018-06-27 00:13:13 UTC
Created attachment 1454839 [details]
proprocessed output

Comment 2 Gene Hightower 2018-06-27 00:14:36 UTC
 g++ -pthread -std=c++17 -Wall -Wextra -O3 h2-client.cpp -lstdc++ -lboost_iostreams -lboost_system -lfmt -lnghttp2_asio -lssl -lcrypto -o h2-client
h2-client.cpp: In lambda function:
h2-client.cpp:29:51: warning: unused parameter ‘endpoint_it’ [-Wunused-parameter]
   sess.on_connect([&sess](tcp::resolver::iterator endpoint_it) {
                           ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
h2-client.cpp: In function ‘int main(int, char**)’:
h2-client.cpp:12:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
 int main(int argc, char* argv[])
          ~~~~^~~~
h2-client.cpp:12:26: warning: unused parameter ‘argv’ [-Wunused-parameter]
 int main(int argc, char* argv[])
                    ~~~~~~^~~~~~
during RTL pass: expand
h2-client.cpp: In function ‘main(int, char**)::<lambda(boost::asio::ip::basic_resolver<boost::asio::ip::tcp>::iterator)>’:
h2-client.cpp:32:83: internal compiler error: in make_decl_rtl, at varasm.c:1322
     auto const url = fmt::format("https://{}:{}/.well-known/mta-sts.txt", server, port);
                                                                                   ^~~~
0x7f0fca7e218a __libc_start_main
	../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.

Comment 3 Marek Polacek 2018-08-10 13:45:29 UTC
This actually used to ICE but was fixed in r261121.


Note You need to log in before you can comment on or make changes to this bug.