[Ada] Avoid exception propagation during bootstrap
Eric Botcazou
botcazou@adacore.com
Wed Oct 20 08:48:49 GMT 2021
This addresses PR ada/100486, which is the bootstrap failure of GCC 11 for 32-
bit Windows in the MSYS setup. The PR shows that we cannot rely on exception
propagation being operational during the bootstrap, at least on the 11 branch,
so fix this by removing the problematic raise statement.
Tested on x86-64/Linux, applied on the mainline and 11 branch.
2021-10-20 Arnaud Charlet <charlet@adacore.com>
PR ada/100486
* sem_prag.adb (Check_Valid_Library_Unit_Pragma): Do not raise an
exception as part of the bootstrap.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 6391 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211020/1f455ffe/attachment-0001.bin>
More information about the Gcc-patches
mailing list