This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/56081] [4.7/4.8 Regression] Seg fault ICE on select with bad case
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Jan 2013 09:09:56 +0000
- Subject: [Bug fortran/56081] [4.7/4.8 Regression] Seg fault ICE on select with bad case
- Auto-submitted: auto-generated
- References: <bug-56081-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56081
--- Comment #4 from janus at gcc dot gnu.org 2013-01-23 09:09:56 UTC ---
On the 4.6 branch, one finds the following check in resolve.c (resolve_select,
line 7426):
if (case_expr->rank != 0)
{
gfc_error ("Argument of SELECT statement at %L must be a scalar "
"expression", &case_expr->where);
/* Punt. */
return;
}
On the 4.7 branch it is simply gone. I don't directly see where it went.