This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 10 January 2008 16:12, Gabriele SVELTO wrote:
> [snip] >
A new type still named 'struct try' is used in the COMPONENT_REFs of this function but this type has a different TYPE_UID from the 'struct try' used in main. Since the original type was local to main this makes sense.
But the array is local to main as well ...
However this new type shares the fields with the old one i.e. calling DECL_FIELD_CONTEXT () on its fields doesn't yield itself but another type (the old one used in main).
Is this possibly because the new type is not "struct try" but "struct try const"; it adds the const qualifier and refers back to the original "struct try" for the fields?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |