diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2017-05-02 09:21:19 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-05-02 11:21:19 +0200 |
commit | 4ec7c4ec03148023c0d7ee29c46a8c79d36438b4 (patch) | |
tree | dcbc0076f6b89fee7e1d0e1540b4e89bd0eab770 /gcc/gdbhooks.py | |
parent | 52e0a9f766c29557c52b6dbef536103d30d97e86 (diff) | |
download | gcc-4ec7c4ec03148023c0d7ee29c46a8c79d36438b4.zip gcc-4ec7c4ec03148023c0d7ee29c46a8c79d36438b4.tar.gz gcc-4ec7c4ec03148023c0d7ee29c46a8c79d36438b4.tar.bz2 |
trans.c (assoc_to_constructor): Make sure Corresponding_Discriminant is only called on discriminants.
2017-05-02 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (assoc_to_constructor): Make sure
Corresponding_Discriminant is only called on discriminants.
Skip the saving of the result only for them.
(gnat_to_gnu) <N_Selected_Component>: Likewise.
<N_Unchecked_Type_Conversion>: Translate the result type first.
(gigi): Set TREE_NOTHROW on Begin_Handler.
(stmt_list_cannot_raise_p): New predicate.
(Exception_Handler_to_gnu_gcc): Emit a simple final call instead of
a cleanup if the statements of the handler cannot raise.
(process_freeze_entity): Use Is_Record_Type.
(process_type): Likewise.
From-SVN: r247484
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions