Public bug reported:

When compiling some code, getting an internal compiler error:
$ g++ -c -std=c++17 minimized.cc
minimized.cc: In function ‘void a()’:
minimized.cc:46:31: warning: ISO C++ forbids converting a string constant to 
‘char*’ [-Wwrite-strings]
   y<am>(0, 0, "", an, x::t, {});
                               ^
‘
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.

GCC version is:
$ g++ --version
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Minimal reproduction is attached.

Ubuntu version is:
$ lsb_release -rd
Description:    Ubuntu 18.04.4 LTS
Release:        18.04

** Affects: gcc-7 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Reproduction"
   
https://bugs.launchpad.net/bugs/1914109/+attachment/5458879/+files/minimized.cc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914109

Title:
  gcc-7: Internal compiler error: Error reporting routines re-entered

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1914109/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to