On Fri, Oct 15, 2021 at 2:00 AM Martin Liška <mli...@suse.cz> wrote:
>
> On 10/14/21 21:16, sunil.k.pandey wrote:
> > FAIL: gcc.dg/guality/pr54200.c  -Og -DPREVENT_OPTIMIZATION  line 20 z == 3
>
> Hello.
>
> I've just verified the assembly is identical before and after the revision.
> So it must be a false positive.
>
> Cheers,
> Martin

I saw

Breakpoint 1, foo (z=3, x=<optimized out>, b=1) at
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gcc.dg/guality/pr54200.c:20^M
20            return a; /* { dg-final { gdb-test . "z" "3" { xfail {
aarch64*-*-* && { no-opts "-O0" "-Og" } } } } } */^M
$1 =  [uninitialized] 3^M
$2 = 3^M
A debugging session is active.^M
^M
        Inferior 1 [process 4053185] will be killed.^M
^M
Quit anyway? (y or n) [answered Y; input not from terminal]^M
 [uninitialized] 3 != 3
FAIL: gcc.dg/guality/pr54200.c  -Og -DPREVENT_OPTIMIZATION  line 20 z == 3

I don't know where [uninitialized] came from.  I can't reproduce it
when I run gdb by hand.

-- 
H.J.

Reply via email to