aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRonan Desplanques <desplanques@adacore.com>2024-09-10 11:40:43 +0200
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-10-08 10:37:14 +0200
commit5339c2165f24f3523fe822c493bf9b1559b5460e (patch)
tree55e87e9ea492157fb82d603210ea070ca1ef1f63 /libcpp
parent3e8b4d3b68df3df29a56d3206df5cddf0d4d01df (diff)
downloadgcc-5339c2165f24f3523fe822c493bf9b1559b5460e.zip
gcc-5339c2165f24f3523fe822c493bf9b1559b5460e.tar.gz
gcc-5339c2165f24f3523fe822c493bf9b1559b5460e.tar.bz2
ada: Add mechanism to test internal error machinery
This patch adds a pragma that triggers an internal compiler error when analyzed. It is not externally documented and makes it possible to test the code that runs when the compiler encounters an internal error. gcc/ada/ChangeLog: * snames.ads-tmpl: Add new pragma definition. * par-prag.adb (Prag): Handle new pragma. * sem_prag.adb (Analyze_Pragma): Implement new pragma.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions