This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Jul 2017 17:01:49 +0000
- Subject: [Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test
- Auto-submitted: auto-generated
- References: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331
--- Comment #9 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
OK, found it. The problem is in EH table entries like:
.uleb128 .LEHB8-.LCOLDB1
.uleb128 .LEHE8-.LEHB8
.uleb128 .L16-.LCOLDB1
.uleb128 0x1
Now the third entry is landing pad. If L16 happens to be the first label of
cold section then .L16-.LCOLDB1 == 0. In this case it is misinterpreted by the
runtime as no landing pad and EH is not delivered.
I suppose we can always arrange cold sections to not start by EH receiver...
Honza