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]

Patches pending review


I have two patches pending review:

[PATCH]: __attribute__((deprecated)) (revision2)
    http://gcc.gnu.org/ml/gcc-patches/2001-12/msg01999.html

This patch implements __attribute__((deprecated)) and was previously discussed.  The changes were made as a result of that discussion (to not propagate the attribute to types defined in terms of something that is deprecated).

and

[C++ Patch] Allow inline member functions to handle __attribute__
    http://gcc.gnu.org/ml/gcc-patches/2001-12/msg02482.html

This is a 3-line fix to allow for the handling of __attribute__'s in inline member functions.  It was pointed out to me that my emailer didn't cause the proper line wrapping so the comment at this url is shown as one long/unwrapped line.  So here's that comment hopefully wrapped correctly.

  While working on the __attribute__((deprecated)) patch (apparently
  still unreviewed) I discovered that any __attribute__ declared for
  a C++ inline member function was effectively being ignored.  They
  were being properly handled by the grammar but the resulting
  attribute list was not being processed.  The following patch
  corrects this.  It patches start_method() which interestingly
  enough has a comments implying that changes made to start_method()
  should also be done to grokfield() and vice versa.  Grokfield()
  does handle __attribute__ but that code was not in start_method()
  so I made it do the same thing as grokfield() with the attribute
  list.

Ira



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