public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/68019] ICE on rank mismatch of implied-shape array of user-defined type
[not found] <bug-68019-4@http.gcc.gnu.org/bugzilla/>
@ 2015-10-19 18:42 ` kargl at gcc dot gnu.org
2015-10-19 21:29 ` kargl at gcc dot gnu.org
2015-10-19 21:30 ` kargl at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: kargl at gcc dot gnu.org @ 2015-10-19 18:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68019
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-10-19
CC| |kargl at gcc dot gnu.org
Ever confirmed|0 |1
Known to fail| |4.8.5, 4.9.4, 5.2.1, 6.0
--- Comment #1 from kargl at gcc dot gnu.org ---
An assert() is being triggered. If I comment out the
assert(), I get
% gfc6 -c g9.f90
g9.f90:7:31:
type(t), parameter :: arr(*) = reshape(vec, [2, 2])
1
Error: Incompatible ranks 1 and 2 in assignment at (1)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/68019] ICE on rank mismatch of implied-shape array of user-defined type
[not found] <bug-68019-4@http.gcc.gnu.org/bugzilla/>
2015-10-19 18:42 ` [Bug fortran/68019] ICE on rank mismatch of implied-shape array of user-defined type kargl at gcc dot gnu.org
@ 2015-10-19 21:29 ` kargl at gcc dot gnu.org
2015-10-19 21:30 ` kargl at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: kargl at gcc dot gnu.org @ 2015-10-19 21:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68019
--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Oct 19 21:29:15 2015
New Revision: 229005
URL: https://gcc.gnu.org/viewcvs?rev=229005&root=gcc&view=rev
Log:
2015-10-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/68019
* decl.c (add_init_expr_to_sym): Remove an assert() to allow an error
message to be issued.
2015-10-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/68019
* gfortran.dg/pr68019.f90: new test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr68019.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/decl.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/68019] ICE on rank mismatch of implied-shape array of user-defined type
[not found] <bug-68019-4@http.gcc.gnu.org/bugzilla/>
2015-10-19 18:42 ` [Bug fortran/68019] ICE on rank mismatch of implied-shape array of user-defined type kargl at gcc dot gnu.org
2015-10-19 21:29 ` kargl at gcc dot gnu.org
@ 2015-10-19 21:30 ` kargl at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: kargl at gcc dot gnu.org @ 2015-10-19 21:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68019
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |5.3
--- Comment #4 from kargl at gcc dot gnu.org ---
Thanks for the bug report. Fixed on trunk and 5-branch.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-19 21:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-68019-4@http.gcc.gnu.org/bugzilla/>
2015-10-19 18:42 ` [Bug fortran/68019] ICE on rank mismatch of implied-shape array of user-defined type kargl at gcc dot gnu.org
2015-10-19 21:29 ` kargl at gcc dot gnu.org
2015-10-19 21:30 ` kargl at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).