cuintp.c, [...]: Use gcc_assert and gcc_unreachable.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Mon, 4 Oct 2004 14:56:04 +0000 (14:56 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 4 Oct 2004 14:56:04 +0000 (16:56 +0200)
commit8005f3e521332d1d97818240fa269fed40f9adb5
treecaaf8daf4831dba7f6246040562bc08a9aa95db0
parent6a294a2917ca8553c576eef28169625b9efbe9ab
cuintp.c, [...]: Use gcc_assert and gcc_unreachable.

2004-10-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* cuintp.c, decl.c, utils2.c: Use gcc_assert and gcc_unreachable.

* trans.c (assoc_to_constructor): Fix unused var warning if no checking.
(gnat_gimplify_expr, case ADDR_EXPR): Fix error in last change.
Use gcc_assert and gcc_unreachable.

* decl.c (gnat_to_gnu_entity, case object): Check and process a
specified alignment before validating size.
(gnat_to_gnu_entity) <E_Modular_Integer_Subtype>: Create a
stripped-down declaration for the type of the inner field when making
a JM type.

* utils.c (finish_record_type): Do not compute the size in units
incrementally. Instead compute it once for the rep clause case.
Use gcc_assert and gcc_unreachable.

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