diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-10-27 21:55:12 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-10-27 21:55:12 +0200 |
commit | 6f21288f8c3579ec7ae47615e76ba1e6ad25551f (patch) | |
tree | 8eace66a9ed3bade23fd586a126fba2b7fcd0e9f /gcc/config/rs6000/rs6000.c | |
parent | 47ffb5d95eb5c5514dae306b7c8e4308f1f001a2 (diff) | |
download | gcc-6f21288f8c3579ec7ae47615e76ba1e6ad25551f.zip gcc-6f21288f8c3579ec7ae47615e76ba1e6ad25551f.tar.gz gcc-6f21288f8c3579ec7ae47615e76ba1e6ad25551f.tar.bz2 |
re PR fortran/78026 (ICE in gfc_resolve_omp_declare_simd, at fortran/openmp.c:5190)
PR fortran/78026
* parse.c (decode_statement): Don't create namespace for possible
select type here and destroy it afterwards.
(parse_select_type_block): Set gfc_current_ns to new_st.ext.block.ns.
(parse_executable, gfc_parse_file): Formatting fixes.
* match.c (gfc_match_select_type): Create namespace for select type
here, only after matching select type. Formatting fixes. Free that
namespace if not returning MATCH_YES, after gfc_undo_symbols,
otherwise remember it in new_st.ext.block.ns and switch to parent
namespace anyway.
* gfortran.dg/gomp/pr78026.f03: New test.
* gfortran.dg/select_type_38.f03: New test.
From-SVN: r241630
Diffstat (limited to 'gcc/config/rs6000/rs6000.c')
0 files changed, 0 insertions, 0 deletions