Re: [PATCH 0/9] Fix most -fgnat-encodings=minimal failures

Tom de Vries
2020-11-04T19:54:54Z

On 11/4/20 7:52 PM, Tom Tromey wrote:
>>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
>
> Tom> With a build from commit d8f62e8447 "Recognize names of array types", I get:
>
> What version of gcc are you using?

gcc 7.5.0

> It works for me but maybe we need to tweak this somehow.

Looking at this test-case:
...
FAIL: gdb.dwarf2/data-loc.exp: ptype foo__array_type
...
it fails for me with gcc-4.8, gcc 7.5.0, gcc 8, gcc 9, gcc 10 and gcc
11. But then again, it's a dwarf assembly test-case, it's expected that
the gcc version doesn't influence it.

Looking at this test-case:
...
FAIL: gdb.ada/array_of_variant.exp: scenario=minimal: print entire array
...
it fails for me with gcc-4.8, gcc 7.5.0, but passes with gcc 8, gcc 9,
gcc 10 and gcc 11.

Thanks,
- Tom