public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31600] Better error message for redeclation of USEd symbols
       [not found] <bug-31600-4@http.gcc.gnu.org/bugzilla/>
@ 2011-08-23 12:14 ` burnus at gcc dot gnu.org
  2011-08-23 12:18 ` burnus at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-08-23 12:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-08-23 12:13:40 UTC ---
Author: burnus
Date: Tue Aug 23 12:13:34 2011
New Revision: 177985

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177985
Log:
2011-08-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/31600
        * symbol.c (gfc_add_type): Better diagnostic if redefining
        use-associated symbol.
        * module.c (gfc_use_module): Use module name as locus.

2011-08-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/31600
        * gfortran.dg/use_16.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/use_16.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/module.c
    trunk/gcc/fortran/symbol.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug fortran/31600] Better error message for redeclation of USEd symbols
       [not found] <bug-31600-4@http.gcc.gnu.org/bugzilla/>
  2011-08-23 12:14 ` [Bug fortran/31600] Better error message for redeclation of USEd symbols burnus at gcc dot gnu.org
@ 2011-08-23 12:18 ` burnus at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-08-23 12:18 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

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

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-08-23 12:14:13 UTC ---
FIXED on the 4.7 trunk.


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

* [Bug fortran/31600] Better error message for redeclation of USEd symbols
  2007-04-17 12:13 [Bug fortran/31600] New: " burnus at gcc dot gnu dot org
  2007-04-17 12:14 ` [Bug fortran/31600] " burnus at gcc dot gnu dot org
@ 2007-04-18  6:14 ` fxcoudert at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-04-18  6:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

fxcoudert 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         |2007-04-18 07:14:16
               date|                            |


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


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

* [Bug fortran/31600] Better error message for redeclation of USEd symbols
  2007-04-17 12:13 [Bug fortran/31600] New: " burnus at gcc dot gnu dot org
@ 2007-04-17 12:14 ` burnus at gcc dot gnu dot org
  2007-04-18  6:14 ` fxcoudert at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-04-17 12:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2007-04-17 13:14 -------
If one tries to change the attribute of an USE-associated symbol the error is
better:

external omp_get_num_threads, omp_get_thread_num
                           1
Error: Cannot change attributes of USE-associated symbol at (1)

(I personally would favour -std=legacy instead of -std=gnu, but ok.)


-- 


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


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

end of thread, other threads:[~2011-08-23 12:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-31600-4@http.gcc.gnu.org/bugzilla/>
2011-08-23 12:14 ` [Bug fortran/31600] Better error message for redeclation of USEd symbols burnus at gcc dot gnu.org
2011-08-23 12:18 ` burnus at gcc dot gnu.org
2007-04-17 12:13 [Bug fortran/31600] New: " burnus at gcc dot gnu dot org
2007-04-17 12:14 ` [Bug fortran/31600] " burnus at gcc dot gnu dot org
2007-04-18  6:14 ` fxcoudert 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).