public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Tom de Vries <tdevries@suse.de>, Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [committed][gdb/testsuite] Add test-case gdb.dwarf2/break-inline-psymtab.exp
Date: Thu, 2 Apr 2020 15:24:19 +0100	[thread overview]
Message-ID: <0fd8fe6f-be5f-3895-f67a-744bcc456ca6@redhat.com> (raw)
In-Reply-To: <871db4cd-d537-e99a-3199-d5b6a76ed30d@suse.de>

On 3/18/20 1:48 PM, Tom de Vries wrote:
> +set sources [list $srcfile $srcfile2]
> +set opts {debug optimize=-O2}
> +if { [prepare_for_testing "failed to prepare" ${testfile} $sources $opts] } {
> +    return -1
> +}

Is that -O2 needed to force inlining?

-O0 and __attribute__((always_inline)) would be better for that.

Thanks,
Pedro Alves


  reply	other threads:[~2020-04-02 14:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-09 14:52 [PATCH][gdb/symtab] Fix check-psymtab failure for inline function Tom de Vries
2020-03-11  0:08 ` Tom Tromey
2020-03-18 13:48   ` [committed][gdb/testsuite] Add test-case gdb.dwarf2/break-inline-psymtab.exp Tom de Vries
2020-04-02 14:24     ` Pedro Alves [this message]
2020-04-02 15:14       ` Tom de Vries
2020-03-18 15:58   ` [PATCH][gdb/symtab] Fix check-psymtab failure for inline function Tom de Vries
2020-04-02  8:46     ` [PING][PATCH][gdb/symtab] " Tom de Vries
2020-04-06 20:40     ` [PATCH][gdb/symtab] " Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0fd8fe6f-be5f-3895-f67a-744bcc456ca6@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.de \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).