re PR ada/19942 (Stage 2 compilation of ali.adb causes GNAT bug box)
2005-02-13 Andrew Pinski <pinskia@physics.uc.edu> PR ada/19942 * utils.c (gnat_type_for_mode): Return null instead of ICE because we asked for an unknown mode. From-SVN: r94989
This commit is contained in:
parent
e04369acfe
commit
4fa0972f8e
|
@ -1,3 +1,9 @@
|
|||
2005-02-13 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR ada/19942
|
||||
* utils.c (gnat_type_for_mode): Return null instead of ICE because we asked
|
||||
for an unknown mode.
|
||||
|
||||
2005-02-12 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* utils.c (gnat_type_for_mode): Return NULL for COMPLEX modes;
|
||||
|
|
|
@ -1835,7 +1835,7 @@ gnat_type_for_mode (enum machine_mode mode, int unsignedp)
|
|||
else if (SCALAR_INT_MODE_P (mode))
|
||||
return gnat_type_for_size (GET_MODE_BITSIZE (mode), unsignedp);
|
||||
else
|
||||
gcc_unreachable ();
|
||||
return NULL_TREE;
|
||||
}
|
||||
|
||||
/* Return the unsigned version of a TYPE_NODE, a scalar type. */
|
||||
|
|
Loading…
Reference in New Issue