Re: [committed][gdb/testsuite] Add test-case gdb.dwarf2/break-inline-psymtab.exp

Pedro Alves
2020-04-02T14:24:24Z

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