2006-10-31 Robert Dewar <dewar@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2006 18:06:22 +0000 (18:06 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2006 18:06:22 +0000 (18:06 +0000)
commit383c7a1dc931107e4c27b21149969845c0365a66
tree018d6da398c24e8b5af6a7dcf3965f698db9bdd0
parente8fc5cb04a731f8403aef07a4bc9d3c6e099bcef
2006-10-31  Robert Dewar  <dewar@adacore.com>

* sem_ch11.adb (Analyze_Handled_Statements): Move final test for
useless assignments here and conditionalize it on absence of exception
handlers.
(Analyze_Exception_Handlers): Small code reorganization of error
detection code, for new handling of formal packages.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118299 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/sem_ch11.adb