mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user