exp_ch4.adb (Expand_Concatenate): Remove wrapping in expression-with-actions node.
authorRobert Dewar <dewar@adacore.com>
Thu, 11 Apr 2013 10:23:56 +0000 (10:23 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 11 Apr 2013 10:23:56 +0000 (12:23 +0200)
commit68bab0fd1da40436e20f6e4f4414b1b650bf7331
tree13ce44a1b672ba5ff810f2c011f4937eeb05c977
parent294f5d825fc452692fda912a5ede6945c91f8ecd
exp_ch4.adb (Expand_Concatenate): Remove wrapping in expression-with-actions node.

2013-04-11  Robert Dewar  <dewar@adacore.com>

* exp_ch4.adb (Expand_Concatenate): Remove wrapping in
expression-with-actions node. No longer needed given fix to
sem_prag and caused loss of some useful warnings.
* sem.ads: Minor reformatting.
* sem_prag.adb (Check_Disabled): Removed, to be replaced by not
Check_Enabled. These two routines were curiously incompatible
causing confusion.
(Analyze_Pragma, case Check): Make sure we do
not expand the string argument if the check is disabled. Avoid
use of Check_Disabled, which resulted in missing analysis in
some cases.
* sem_prag.ads (Check_Disabled): Removed, to be replaced by not
Check_Enabled. These two routines were curiously incompatible
causing confusion.

From-SVN: r197761
gcc/ada/ChangeLog
gcc/ada/exp_ch4.adb
gcc/ada/sem.ads
gcc/ada/sem_prag.adb
gcc/ada/sem_prag.ads