public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/25079] New: better diagnostic needed
@ 2005-11-26 17:58 jv244 at cam dot ac dot uk
2005-12-02 13:05 ` [Bug fortran/25079] No error on assignment to unassociated pointer component eedelman at gcc dot gnu dot org
2007-06-17 17:12 ` jvdelisle at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: jv244 at cam dot ac dot uk @ 2005-11-26 17:58 UTC (permalink / raw)
To: gcc-bugs
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic
-std=f95', I get a bad / no diagnostic for the following invalid code:
TYPE T0
INTEGER,POINTER :: I
END TYPE T0
TYPE(T0) :: a
a=T0(1)
END
--
Summary: better diagnostic needed
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25079
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/25079] No error on assignment to unassociated pointer component
2005-11-26 17:58 [Bug fortran/25079] New: better diagnostic needed jv244 at cam dot ac dot uk
@ 2005-12-02 13:05 ` eedelman at gcc dot gnu dot org
2007-06-17 17:12 ` jvdelisle at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: eedelman at gcc dot gnu dot org @ 2005-12-02 13:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from eedelman at gcc dot gnu dot org 2005-12-02 13:05 -------
Confirmed.
--
eedelman at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2005-12-02 13:05:42
date| |
Summary|better diagnostic needed |No error on assignment to
| |unassociated pointer
| |component
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25079
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/25079] No error on assignment to unassociated pointer component
2005-11-26 17:58 [Bug fortran/25079] New: better diagnostic needed jv244 at cam dot ac dot uk
2005-12-02 13:05 ` [Bug fortran/25079] No error on assignment to unassociated pointer component eedelman at gcc dot gnu dot org
@ 2007-06-17 17:12 ` jvdelisle at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-06-17 17:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-06-17 17:12 -------
This is fixed somehow:
$ gfc pr25079.f90
pr25079.f90:5.5:
a=T0(1)
1
Error: The element in the derived type constructor at (1), for pointer
component 'i' should be a POINTER or a TARGET
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25079
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-06-17 17:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-26 17:58 [Bug fortran/25079] New: better diagnostic needed jv244 at cam dot ac dot uk
2005-12-02 13:05 ` [Bug fortran/25079] No error on assignment to unassociated pointer component eedelman at gcc dot gnu dot org
2007-06-17 17:12 ` jvdelisle at gcc dot gnu dot 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).