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

* [Bug fortran/35030] add type/kind information to pointer assignments
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-01-30 20:27 UTC (permalink / raw)
  To: gcc-bugs



-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dfranke at gcc dot gnu dot
                   |dot org                     |org
                URL|                            |http://gcc.gnu.org/ml/fortra
                   |                            |n/2008-01/msg00371.html
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2008-01-30 19:50:04
               date|                            |


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


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

* [Bug fortran/35030] add type/kind information to pointer assignments
  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
  2 siblings, 0 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-02-19 18:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dfranke at gcc dot gnu dot org  2008-02-19 18:26 -------
Subject: Bug 35030

Author: dfranke
Date: Tue Feb 19 18:26:12 2008
New Revision: 132442

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132442
Log:
2008-02-19  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/35030
        * expr.c (gfc_check_pointer_assign): Add type and kind information
        to type-mismatch message.
        (gfc_check_assign): Unify error messages.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c


-- 


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


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

* [Bug fortran/35030] add type/kind information to pointer assignments
  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
  2 siblings, 0 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-02-19 18:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dfranke at gcc dot gnu dot org  2008-02-19 18:32 -------
Fixed in trunk. Closing.


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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).