This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Avoid explicit use of machine modes (7/n) [NOT APPLIED YET]
David Edelsohn <dje@watson.ibm.com> writes:
>>>>>> Zack Weinberg writes:
>
>> dbxout.c uses machine mode numbers to decide which R-numbers to attach
>> to complex types. gdb does not use this information in detail; it
>> looks to see whether the R-number indicates some kind of complex type,
>> and then it gets the rest of what it needs from the size. Comments in
>> dbxout.c and include/aout/stabs_gnu.h suggest that gdb is the only
>> debugger we care about for complex types. Furthermore, stabs is
>> obsolescent. Therefore I propose to rip out all of the code for this
>> and just generate R3 (NF_COMPLEX) always. Thoughts?
>
> Stabs may be obsolescent, but it still is used by some targets,
> such as AIX and Darwin.
I'm aware of that; this is not an answer to the question of whether it
is safe to generate R3 for all complex types.
zw