This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51945] Diagnose wrong default initialization of DTs in a DT declaration
- 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: Thu, 08 Aug 2013 18:31:06 +0000
- Subject: [Bug fortran/51945] Diagnose wrong default initialization of DTs in a DT declaration
- Auto-submitted: auto-generated
- References: <bug-51945-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51945
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janus at gcc dot gnu.org
--- Comment #2 from janus at gcc dot gnu.org ---
With current trunk as well as 4.8, the test case with comment gives me:
Error: Can't convert TYPE(t2) to TYPE(t) at (1)
(but not the corresponding error with 't3'). When uncommenting the line I get:
Error: Can't convert TYPE(t2) to TYPE(t) at (1)
Error: Can't convert TYPE(t2) to TYPE(t) at (1)
Error: Can't convert TYPE(t2) to TYPE(t) at (1)
Error: Can't convert TYPE(t3) to TYPE(t) at (1)
(i.e. three times the error about t2 and once about t3).
I guess the expected result would be to get each error once!