This is the mail archive of the gcc-patches@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]

Re: GTY as attribute


>>>>> "Taras" == Taras Glek <tglek@mozilla.com> writes:

Taras> Please consider this for inclusion in GCC. I think it's conceptually
Taras> cleaner to have GTY and attribute conventions match

I agree.  I don't think there is any downside, and your use is an
upside.

You need a ChangeLog entry.  There is some documentation on how to do
this in the GNU Coding Standards, plus a lot of examples in gcc :)

As Andrew said, the documentation must be updated -- but I see you did
this already.

Taras> +struct GTY(())
Taras> + edge_def {

Don't insert newlines like this.

I skimmed the patch.  Nearly all of it is moving the GTYs.

I didn't read the gengtype part in context, but I didn't see anything
obviously yucky.

Note that someone else will have to approve or reject this patch.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]