* 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:
parent
0ef22be97f
commit
6ae6090e22
3 changed files with 73 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue