diff options
author | Steve Kargl <kargls@comcast.net> | 2024-11-24 18:26:03 -0800 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2024-11-25 09:32:42 -0800 |
commit | 7d92901c878c6c00ada7f9cee8825f03ad4722f1 (patch) | |
tree | 32a6788c73b1511fd8574fb1666ac1af958b9859 /gcc/config.gcc | |
parent | b82a5810e7bcc82b933e16f9067879b9d22b85c7 (diff) | |
download | gcc-7d92901c878c6c00ada7f9cee8825f03ad4722f1.zip gcc-7d92901c878c6c00ada7f9cee8825f03ad4722f1.tar.gz gcc-7d92901c878c6c00ada7f9cee8825f03ad4722f1.tar.bz2 |
Fortran: Check IMPURE in BLOCK inside DO CONCURRENT.
PR fortran/117765
gcc/fortran/ChangeLog:
* resolve.cc (check_pure_function): Check the stack to
see if the function is in a nested BLOCK and, if that
block is inside a DO_CONCURRENT, issue an error.
gcc/testsuite/ChangeLog:
* gfortran.dg/impure_fcn_do_concurrent.f90: New test.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions