This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH] gcore.c (array_func): Add reference to static_array.


On Tue, Sep 15, 2015 at 2:33 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> This test fails with clang because it discards static_array,
> it's unreferenced anywhere.
>
> Is there a preferred way to handle this?
> The current way is chosen for portability (instead of, say,
> an attribute).
>
> 2015-09-15  Doug Evans  <dje@google.com>
>
>         * gdb.base/gcore.c (array_func): Add reference to static_array.

Committed.


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