grokdeclarator drops type qualifiers when -aux-info isn't asserted?
Joseph S. Myers
joseph@codesourcery.com
Wed May 20 14:22:00 GMT 2009
On Tue, 19 May 2009, Gary Funck wrote:
> That aside, I wonder if it is an error to drop the qualifiers
> as shown above? In the case of UPC, for example, dropping qualifiers
Please read the code (and comment) immediately above that you quoted,
which saves the qualifiers combined with those specified in the
declaration, and the subsequent code applying them in the process of
building up the type. The bug would probably be that it doesn't also drop
them if flag_gen_aux_info. See the named address space patches for
examples of adding extra type qualifiers.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc
mailing list