[Bug fortran/24327] Does not detect duplicate symbol names in contains block

2006-01-28 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.1.0


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



[Bug fortran/24327] Does not detect duplicate symbol names in contains block

2006-01-27 Thread pault at gcc dot gnu dot org


--- Comment #4 from pault at gcc dot gnu dot org  2006-01-27 22:01 ---
Fixed in trunk and, in about 15 minutes, on 4.1

Thanks, Steve, for noticing that I had accidentally fixed this.

Paul


-- 

pault at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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



[Bug fortran/24327] Does not detect duplicate symbol names in contains block

2006-01-21 Thread kargl at gcc dot gnu dot org


--- Comment #3 from kargl at gcc dot gnu dot org  2006-01-22 00:46 ---
It looks like one or more of pault's patchs has fixed this problem.

kargl[209] gfc4x -c pr24327.f90
 In file pr24327.f90:4

function foo ()
   1
 In file pr24327.f90:2

real :: foo
  2
Error: Procedure 'foo' at (1) has an explicit interface and must not have
attributes declared at (2)

Adding external attribute I get

kargl[214] gfc4x -c pr24327.f90
 In file pr24327.f90:4

function foo ()
   1
 In file pr24327.f90:2

real, external :: foo
2
Error: Procedure 'foo' at (1) has an explicit interface and must not have attri
butes declared at (2)
 In file pr24327.f90:4

function foo ()
  1
Error: EXTERNAL attribute conflicts with FUNCTION attribute in 'foo' at (1)
 In file pr24327.f90:5

end function foo
  1
Error: Expecting END PROGRAM statement at (1)


-- 


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



[Bug fortran/24327] Does not detect duplicate symbol names in contains block

2006-01-16 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-17 00:12 ---
*** Bug 25813 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||kargl at gcc dot gnu dot org


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



[Bug fortran/24327] Does not detect duplicate symbol names in contains block

2005-10-12 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-12 12:52 ---
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2005-10-12 12:52:29
   date||


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