]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/exp_ch4.adb
sem_prag.adb (Analyze_Pragma, [...]): Do not crash on illegal unchecked union that...
authorThomas Quinot <quinot@adacore.com>
Tue, 12 Jun 2012 10:07:29 +0000 (10:07 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 12 Jun 2012 10:07:29 +0000 (12:07 +0200)
commit83bb90af7af5df4179c85586409efe342d655b90
tree11ff71a3be65dc04fda99dc9197d9e47e6db5c94
parent586ecbf363a2a4209c5bacc0d292f3bf08f784e1
sem_prag.adb (Analyze_Pragma, [...]): Do not crash on illegal unchecked union that is a null record.

2012-06-12  Thomas Quinot  <quinot@adacore.com>

* sem_prag.adb (Analyze_Pragma, case Unchecked_Union): Do
not crash on illegal unchecked union that is a null record.

2012-06-12  Thomas Quinot  <quinot@adacore.com>

* exp_ch4.adb (Has_Inferable_Discriminants): Reorganize code to
treat implicit dereferences with a constrained unchecked union
nominal subtype as having inferable discriminants.

From-SVN: r188437
gcc/ada/ChangeLog
gcc/ada/exp_ch4.adb
gcc/ada/sem_prag.adb