[PATCH v2 00/16] Fortran compiler identification and ifx testsuite support

Tom de Vries tdevries@suse.de
Tue May 31 19:33:11 GMT 2022


On 5/31/22 18:14, Andrew Burgess via Gdb-patches wrote:
> Nils-Christian Kempke via Gdb-patches <gdb-patches@sourceware.org>
> writes:
> 
>> Hi,
>>
>> V1 of this series can be found here:
>>
>>    https://sourceware.org/pipermail/gdb-patches/2022-May/188904.html
>>
>> Changes since v1:
>>
>>    * Patch 03: There were some leftovers in the commit message from an
>>    earlier version of the patch - these have been removed.
>>
>>    * Patch 04: The commit message has been renamed and a comment been
>>    adapted according to Andrew's feedback.  The getting_compiler_info
>>    variable now also uses actual bool values.
>>
>>    * Patch 06: The commit message has been adapted and now says that
>>    the intel C compiler names have not yet been used in the testsuite (to
>>    avoid confusion as to why there are no changes done in the testsuite).
>>
>>    * Patch 08: This patch has been dropped, instead an ifx bug was filed.
>>    So from now on the patch numbers will be off by 1.
>>
>>    * Patch 11 (now 10): The comment has been reworded and
>>      'need the -debug-parameters all flag set to emit'
>>    now reads
>>      'need the -debug-parameters flag set to emit'
>>    Also, not only ifx but also ifort requires the flag so it is now added
>>    for both compilers.
>>
>>    * Patch 13 (now 12): I added a comment to the patch as well as made
>>    the commit message a lot more elaborate (after some online
>>    discussion).
>>
>>    * Patch 14: This patch has been dropped for now as we are claifying
>>    whether ifx should change its debug output.  The patch numbers will
>>    now be off by 2.
>>
>>    * Patch 18 (now 16): The '-wrap' is now used here instead of adding
>>    the $gdb_prompt in test_multiple.  Also, flang was added to the
>>    comments.
>>
>> Patch 01, 02, 05, 07, 09 (now 08), 10 (now 09), 12 (now 11), 15 (now 13),
>> 16 (now 14), and 17 (now 15) had been approved before and were not
>> changed/included here.
> 
> I've approved all these patches now.
> 
> For me I would have preferred to see the complete set of patches
> included each time the series is reposted, it makes it easier to apply
> the patches.  Though I do also appreciate you commenting about which
> patches have changed, and what the changes were.
> 

Hi,

I'm seeing regressions with check-read1 (haven't tried native yet), I'm 
guessing because of this patch series:
...
FAIL: gdb.fortran/allocated.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/array-bounds-high.exp: gdb_breakpoint: set breakpoint 
at unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/array-bounds.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/array-indices.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/array-indices.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/array-no-bounds.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/array-repeat.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/array-repeat.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/array-slices-bad.exp: gdb_breakpoint: set breakpoint 
at unknown
FAIL: gdb.fortran/array-slices-sub-slices.exp: gdb_breakpoint: set 
breakpoint at unknown
FAIL: gdb.fortran/array-slices.exp: repack=on: gdb_breakpoint: set 
breakpoint at unknown
FAIL: gdb.fortran/array-slices.exp: repack=off: gdb_breakpoint: set 
breakpoint at unknown
FAIL: gdb.fortran/associated.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/assumedrank.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/block-data.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/call-no-debug.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/charset.exp: gdb_breakpoint: set breakpoint at unknown
ERROR: Couldn't run to main
FAIL: gdb.fortran/class-allocatable-array.exp: gdb_breakpoint: set 
breakpoint at unknown
FAIL: gdb.fortran/common-block.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: couldn't run to main
FAIL: gdb.fortran/completion.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/complex.exp: gdb_breakpoint: set breakpoint at unknown
ERROR: Couldn't run to main
FAIL: gdb.fortran/debug-expr.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/derived-type-function.exp: gdb_breakpoint: set 
breakpoint at unknown
ERROR: couldn't run to main
FAIL: gdb.fortran/derived-type.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: couldn't run to main
FAIL: gdb.fortran/dynamic-ptype-whatis.exp: gdb_breakpoint: set 
breakpoint at unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/info-modules.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/info-types.exp: gdb_breakpoint: set breakpoint at unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/intrinsics.exp: gdb_breakpoint: set breakpoint at unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/intvar-array.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/intvar-dynamic-types.exp: gdb_breakpoint: set 
breakpoint at unknown
FAIL: gdb.fortran/lbound-ubound.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/library-module.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: couldn't run to main
FAIL: gdb.fortran/logical.exp: gdb_breakpoint: set breakpoint at unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/max-depth.exp: gdb_breakpoint: set breakpoint at unknown
ERROR: Could not run to main.
FAIL: gdb.fortran/module.exp: gdb_breakpoint: set breakpoint at unknown
ERROR: couldn't run to main
FAIL: gdb.fortran/multi-dim.exp: gdb_breakpoint: set breakpoint at unknown
ERROR: Couldn't run to main
FAIL: gdb.fortran/namelist.exp: gdb_breakpoint: set breakpoint at unknown
ERROR: couldn't run to main
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=0: 
increment: whatis increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=0: 
increment: ptype increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=0: 
increment_program_global: whatis increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=0: 
increment_program_global: ptype increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: 
before start: whatis contains_keyword::increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: 
before start: ptype contains_keyword::increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: 
before start: print contains_keyword::increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: 
before start: whatis contains_keyword::increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: 
before start: ptype contains_keyword::increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: 
before start: print contains_keyword::increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: 
increment: whatis contains_keyword::increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: 
increment: ptype contains_keyword::increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: 
increment_program_global: whatis contains_keyword::increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: 
increment_program_global: ptype contains_keyword::increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=0: 
increment: whatis increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=0: 
increment: ptype increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=0: 
increment_program_global: whatis increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=0: 
increment_program_global: ptype increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: 
before start: whatis contains_keyword::increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: 
before start: ptype contains_keyword::increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: 
before start: print contains_keyword::increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: 
before start: whatis contains_keyword::increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: 
before start: ptype contains_keyword::increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: 
before start: print contains_keyword::increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: 
increment: whatis contains_keyword::increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: 
increment: ptype contains_keyword::increment
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: 
increment_program_global: whatis contains_keyword::increment_program_global
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: 
increment_program_global: ptype contains_keyword::increment_program_global
FAIL: gdb.fortran/nested-funcs.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: couldn't run to main
FAIL: gdb.fortran/oop_extend_type.exp: gdb_breakpoint: set breakpoint at 
unknown
ERROR: could not run to main
FAIL: gdb.fortran/pointer-to-pointer.exp: gdb_breakpoint: set breakpoint 
at unknown
FAIL: gdb.fortran/print-formatted.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/print_type.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/printing-types.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/ptr-indentation.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/ptype-on-functions.exp: gdb_breakpoint: set breakpoint 
at unknown
ERROR: couldn't run to main
FAIL: gdb.fortran/rank.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/shape.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/size.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/subarray.exp: gdb_breakpoint: set breakpoint at unknown
ERROR: couldn't run to main
FAIL: gdb.fortran/vla-alloc-assoc.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/vla-datatypes.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/vla-history.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/vla-ptr-info.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/vla-ptype-sub.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/vla-ptype.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/vla-sizeof.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/vla-type.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/vla-value-sub-arbitrary.exp: gdb_breakpoint: set 
breakpoint at unknown
FAIL: gdb.fortran/vla-value-sub-finish.exp: gdb_breakpoint: set 
breakpoint at unknown
FAIL: gdb.fortran/vla-value-sub.exp: gdb_breakpoint: set breakpoint at 
unknown
FAIL: gdb.fortran/vla-value.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.fortran/whatis_type.exp: gdb_breakpoint: set breakpoint at unknown
FAIL: gdb.mi/mi-fortran-modules.exp: -symbol-info-module-variables
FAIL: gdb.mi/mi-var-child-f.exp: get children of array (unexpected output)
FAIL: gdb.mi/mi-var-child-f.exp: get grandchildren of array (children of 
first element of second index) (unexpected output)
FAIL: gdb.mi/mi-vla-fortran.exp: create local variable 
vla1_not_allocated (unexpected output)
FAIL: gdb.mi/mi-vla-fortran.exp: info type variable vla1_not_allocated 
(unexpected output)
FAIL: gdb.mi/mi-vla-fortran.exp: create local variable vla1_allocated 
(unexpected output)
FAIL: gdb.mi/mi-vla-fortran.exp: info type variable vla1_allocated 
(unexpected output)
FAIL: gdb.mi/mi-vla-fortran.exp: get children of vla1_allocated 
(unexpected output)
FAIL: gdb.mi/mi-vla-fortran.exp: create local variable 
pvla2_not_associated (unexpected output)
FAIL: gdb.mi/mi-vla-fortran.exp: info type variable pvla2_not_associated 
(unexpected output)
FAIL: gdb.mi/mi-vla-fortran.exp: create local variable pvla2_associated 
(unexpected output)
FAIL: gdb.mi/mi-vla-fortran.exp: info type variable pvla2_associated 
(unexpected output)
...

Thanks,
- Tom


More information about the Gdb-patches mailing list