public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34871]  New: Flavor VARIABLE vs. FUNCTION: Accepts invalid
@ 2008-01-19 12:09 burnus at gcc dot gnu dot org
  2008-01-21 23:11 ` [Bug fortran/34871] " dfranke at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-01-19 12:09 UTC (permalink / raw)
  To: gcc-bugs

MODULE TESTS
       dimension :: k(4)
     CONTAINS
     function k()
       k = 35
     end function k
     END MODULE

is invalid (variable "k" vs. function "k"), but not detected.

Needs to be fixed in decl.c's get_proc_name; I have a patch, but it causes
regressions


-- 
           Summary: Flavor VARIABLE vs. FUNCTION: Accepts invalid
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

* [Bug fortran/34871] Flavor VARIABLE vs. FUNCTION: Accepts invalid
  2008-01-19 12:09 [Bug fortran/34871] New: Flavor VARIABLE vs. FUNCTION: Accepts invalid burnus at gcc dot gnu dot org
@ 2008-01-21 23:11 ` dfranke at gcc dot gnu dot org
  2008-01-21 23:26 ` dfranke at gcc dot gnu dot org
  2008-11-18 19:37 ` pault at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-01-21 23:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dfranke at gcc dot gnu dot org  2008-01-21 22:11 -------
There are multiple issues with function names, i.e. where a function symbol is
picked up which shouldn't. See PR34714 for another example.


-- 


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


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

* [Bug fortran/34871] Flavor VARIABLE vs. FUNCTION: Accepts invalid
  2008-01-19 12:09 [Bug fortran/34871] New: Flavor VARIABLE vs. FUNCTION: Accepts invalid burnus at gcc dot gnu dot org
  2008-01-21 23:11 ` [Bug fortran/34871] " dfranke at gcc dot gnu dot org
@ 2008-01-21 23:26 ` dfranke at gcc dot gnu dot org
  2008-11-18 19:37 ` pault at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-01-21 23:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dfranke at gcc dot gnu dot org  2008-01-21 23:23 -------
And Pr34910.


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfranke at gcc dot gnu dot
                   |                            |org


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


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

* [Bug fortran/34871] Flavor VARIABLE vs. FUNCTION: Accepts invalid
  2008-01-19 12:09 [Bug fortran/34871] New: Flavor VARIABLE vs. FUNCTION: Accepts invalid burnus at gcc dot gnu dot org
  2008-01-21 23:11 ` [Bug fortran/34871] " dfranke at gcc dot gnu dot org
  2008-01-21 23:26 ` dfranke at gcc dot gnu dot org
@ 2008-11-18 19:37 ` pault at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-11-18 19:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pault at gcc dot gnu dot org  2008-11-18 19:35 -------
Yes indeed - confirmed.

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-11-18 19:35:34
               date|                            |


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


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-19 12:09 [Bug fortran/34871] New: Flavor VARIABLE vs. FUNCTION: Accepts invalid burnus at gcc dot gnu dot org
2008-01-21 23:11 ` [Bug fortran/34871] " dfranke at gcc dot gnu dot org
2008-01-21 23:26 ` dfranke at gcc dot gnu dot org
2008-11-18 19:37 ` pault 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).