public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35030]  New: add type/kind information to pointer assignments
@ 2008-01-30 16:00 dfranke at gcc dot gnu dot org
  2008-01-30 20:27 ` [Bug fortran/35030] " dfranke at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-01-30 16:00 UTC (permalink / raw)
  To: gcc-bugs

As done for actual and formal arguments in functions/subroutines (e.g.
PR34901), the error messages for pointer assignments could be improved:

E,g,
        neighbours_neighbours => dummy_atom_kdtree_region_search(this%beads, at
                            1
Error: Different types in pointer assignment at (1)

is correct but not extraordinarily helpful. Better:

"Error: Different types in pointer assignment at (1); attempted to assign
TYPE(...) to TYPE(...)."


Reminder to self: see expr.c (gfc_check_pointer_assign).


-- 
           Summary: add type/kind information to pointer assignments
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dfranke at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35030


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-19 18:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-30 16:00 [Bug fortran/35030] New: add type/kind information to pointer assignments dfranke at gcc dot gnu dot org
2008-01-30 20:27 ` [Bug fortran/35030] " dfranke at gcc dot gnu dot org
2008-02-19 18:27 ` dfranke at gcc dot gnu dot org
2008-02-19 18:33 ` dfranke 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).