2013-01-04 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jan 2013 20:50:15 +0000 (20:50 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jan 2013 20:50:15 +0000 (20:50 +0000)
commit2082cd0b5c81669447d988bdf98b54c54ad7bcaa
tree9a2cd2947d0ca61ecfb9528b1ee3dc7d2183d477
parentf704b2281066c6c04a6c065d5dc4f89ab96f028e
2013-01-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/55172
* match.c (copy_ts_from_selector_to_associate): Remove call to
gfc_resolve_expr and replace it with explicit setting of the
array reference type.
* resolve.c (resolve_select_type): It is an error if the
selector is coindexed.

2013-01-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/55172
* gfortran.dg/select_type_31.f03: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194916 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/select_type_31.f03 [new file with mode: 0644]