]> git.ipfire.org Git - thirdparty/gcc.git/commit
Un-XFAIL 'dg-note's in 'gfortran.dg/goacc/routine-external-level-of-parallelism-2.f'
authorThomas Schwinge <tschwinge@baylibre.com>
Mon, 13 Jan 2025 08:11:19 +0000 (09:11 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Mon, 13 Jan 2025 09:13:17 +0000 (10:13 +0100)
commitc0c47fc89ddcc3b1fbb0e5f3040fc52d93ca0be0
treeba2224c20875000cc1d3b4d475007c6d0e212489
parent017c45fa2a4da40893f0aacd96164f04c78cb245
Un-XFAIL 'dg-note's in 'gfortran.dg/goacc/routine-external-level-of-parallelism-2.f'

As of the recent commit 65286465b94cba6ee3d59edbc771bef0088ac46e
"Fortran: Fix location_t in gfc_get_extern_function_decl; [...]" change:

    The declaration created by gfc_get_extern_function_decl used input_location
    as DECL_SOURCE_LOCATION, which gave rather odd results with 'declared here'
    diagnostic. - It is much more useful to use the gfc_symbol's declated_at,
    which this commit now does.

..., we're no longer using the 'dg-bogus' location informations, as pointed out
for one class of additional notes of
'gfortran.dg/goacc/routine-external-level-of-parallelism-2.f', once added in
commit 03eb779141a29f96600cd46904b88a33c4b49a66 "Add 'dg-note', 'dg-lto-note'".
Therefore, un-XFAILed 'dg-note's rather than XFAILed 'dg-bogus'es.

gcc/testsuite/
* gfortran.dg/goacc/routine-external-level-of-parallelism-2.f:
Un-XFAIL 'dg-note's.
gcc/testsuite/gfortran.dg/goacc/routine-external-level-of-parallelism-2.f