mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
Changes: * Actually initialize the proper variable. * Handle the three cases explicitly: self mapping/host fallback, mapping but host accessible and mapping and (potentially) not host accessible. Hence, remove 'dg-should-fail' - as the code should now always run. * Add more checks for not pointer attaching, using values outside mapped range. * Add several comments and handle the case that 'tgt' is actually removed during gimplification as unused. (Two cases: once the result with 'tgt' removed - and once using 'tgt'/'tgt2' in the target region - and checking then for the result). libgomp/ChangeLog: * testsuite/libgomp.fortran/map-subarray-6.f90: Fix, extend, and robustify.