decl.c (gnat_to_gnu_entity): Do not set "const" flag on "pure" Ada subprograms if...
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 29 Sep 2006 06:52:04 +0000 (06:52 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 29 Sep 2006 06:52:04 +0000 (06:52 +0000)
commitb55e7f34bc21a482d35dc2a9eaf38a878e0afbe4
treed53b9b08a5977db3599ce6576e9b27bd13562c90
parent4f6c213142e5ce6f5ee17ef5d0f1cb85cd0ff573
decl.c (gnat_to_gnu_entity): Do not set "const" flag on "pure" Ada subprograms if SJLJ exceptions are used.

* decl.c (gnat_to_gnu_entity) <E_Procedure>: Do not set "const" flag
on "pure" Ada subprograms if SJLJ exceptions are used.
* trans.c (Handled_Sequence_Of_Statements_to_gnu): Set TREE_NO_WARNING
on the declaration node of JMPBUF_SAVE.
* utils.c (init_gigi_decls): Set DECL_IS_PURE on the declaration nodes
of Get_Jmpbuf_Address_Soft and Get_GNAT_Exception.
* utils2.c (build_call_0_expr): Do not set TREE_SIDE_EFFECTS.

From-SVN: r117299
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/ada/trans.c
gcc/ada/utils.c
gcc/ada/utils2.c