This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] explicitly specify -std=gnu89 for gdb.cp/inline-break.exp
- From: Andrew Pinski <pinskia at gmail dot com>
- To: David Blaikie <dblaikie at gmail dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>, Eric Christopher <echristo at gmail dot com>, Doug Evans <dje at google dot com>
- Date: Fri, 11 Apr 2014 19:59:09 -0700
- Subject: Re: [patch] explicitly specify -std=gnu89 for gdb.cp/inline-break.exp
- Authentication-results: sourceware.org; auth=none
- References: <CAENS6EsUSQTajixKzmStvX9KrG-8SaTA=YVO=6MFMpY35Um9FQ at mail dot gmail dot com>
On Fri, Apr 11, 2014 at 4:58 PM, David Blaikie <dblaikie@gmail.com> wrote:
> This test is intending to use gnu style inline rather than the
> standard c99 inline semantics. Clang defaults to c99 and the test
> breaks for this (and other - there's an inlining debug info quality
> bug here too - I'll file a bug and kfail the remaining failures in a
> separate patch) reason.
Or better yet, use the gnu_inline attribute on those functions.
Thanks,
Andrew Pinski