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]

Re: ia32: prologue_epilogue_contains


> Oh, I see.  Feel free to submit a patch to update the arrays.

Off hand I don't see a way to realloc an obstack object.  Okay
to just allocate a new (larger) array when necessary?  This
will waste some space on the obstack, however I'm assuming:

  1) The prologue and epilogue are typically fairly small.

  2) Prologue and epilogue insns will not be split that often.

  3) The space on the obstack will be reclaimed at the end of
     the function.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------


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