2008-08-20 Gary Dismukes <dismukes@adacore.com>
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 20 Aug 2008 13:24:40 +0000 (15:24 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 20 Aug 2008 13:24:40 +0000 (15:24 +0200)
commit8b4261b38284ef8b2f9f9c0a0f5f6c1b4f1d9dc7
tree2b1f23a26019d8dbfdf61ba37592947bdd47120a
parentb2c4d56de258bc49da7f7349bedadd38af003a93
2008-08-20  Gary Dismukes  <dismukes@adacore.com>

* exp_ch11.adb:
(Expand_Exception_Handlers): Call Make_Exception_Handler instead of
Make_Implicit_Exception_Handler when rewriting an exception handler with
a choice parameter, and pass the handler's Sloc instead of that of the
handled sequence of statements. Make_Implicit_Exception_Handler sets the
Sloc to No_Location (unless debugging generated code), which we don't
want for the case of a user handler.

From-SVN: r139291
gcc/ada/ChangeLog
gcc/ada/exp_ch11.adb