* stabs.c (parse_stab_range_type): A complex type is defined as a

subrange of itself with the high bound zero.
	* ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
This commit is contained in:
Ian Lance Taylor 1996-03-18 23:06:29 +00:00
parent 0ef22be97f
commit 6ae6090e22
3 changed files with 73 additions and 19 deletions

View file

@ -5184,6 +5184,10 @@ ieee_complex_type (p, size)
case 4:
code = 'c';
break;
case 12:
case 16:
/* These cases can be output by gcc -gstabs. Outputting the
wrong type is better than crashing. */
case 8:
code = 'd';
break;