public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/38247]  New: problem with contained subprocedure.
@ 2008-11-24 14:36 clerman at fuse dot net
  2008-11-24 14:39 ` [Bug fortran/38247] " clerman at fuse dot net
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: clerman at fuse dot net @ 2008-11-24 14:36 UTC (permalink / raw)
  To: gcc-bugs

I am using the following gfortran compiler, installed on a 32-bit computer
running Open SUSE 10.0:

norm@linux:~/design/linux/gfortran/bug32_1/test> gfortran --version
GNU Fortran (GCC) 4.4.0 20081021 (experimental) [trunk revision 141258]
Copyright (C) 2008 Free Software Foundation, Inc.

After submitting this initial report I will upload an archive, bug32_1.tgz.
Unpack it and invoke the the shell script contained in file bug32_1.sh. This
will reproduce a problem with the compiler. After the script completes you will
be able to see the problem by looking at cmndtype.xyz. I see the following:

norm@linux:~/design/linux/gfortran/bug32_1/test> more cmndtype.xyz
cmndtypeM.f90:697.29:

    CALL PutALine (user_line)
                            1
Error: There is no specific subroutine for the generic 'putaline' at (1)
cmndtypeM.f90:702.20:

    CALL PutALine ()
                   1
Error: There is no specific subroutine for the generic 'putaline' at (1)
cmndtypeM.f90:705.20:

    CALL PutALine ()
                   1
Error: There is no specific subroutine for the generic 'putaline' at (1)
cmndtypeM.f90:707.29:

    call PutALine (user_line)
                            1
Error: There is no specific subroutine for the generic 'putaline' at (1)

  If I remember correctly, I already submitted this problem with the AMD 64-bit
version of the compiler, and you fixed it. Version 4.4 on my 64-bit AMD
computer will compile this code.

  Thanks, as always, for your attention.

Norm Clerman


-- 
           Summary: problem with contained subprocedure.
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: clerman at fuse dot net


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


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

* [Bug fortran/38247] problem with contained subprocedure.
  2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
@ 2008-11-24 14:39 ` clerman at fuse dot net
  2008-11-24 15:20 ` kargl at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: clerman at fuse dot net @ 2008-11-24 14:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from clerman at fuse dot net  2008-11-24 14:37 -------
Created an attachment (id=16757)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16757&action=view)
archive described in the initial bug report

Pleas see initial bug report.


-- 


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


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

* [Bug fortran/38247] problem with contained subprocedure.
  2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
  2008-11-24 14:39 ` [Bug fortran/38247] " clerman at fuse dot net
@ 2008-11-24 15:20 ` kargl at gcc dot gnu dot org
  2008-11-24 15:31 ` mikael at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: kargl at gcc dot gnu dot org @ 2008-11-24 15:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from kargl at gcc dot gnu dot org  2008-11-24 15:19 -------
Your shell script contains items of the form

/home/norm/design/numrec/nrTypeM.f90

which of course doesn't exist so the shell script
aborts when executed.

BTW, if it is fixed on amd64, then it is mostlikely 
fixed on all target.  This is probably too old:
GNU Fortran (GCC) 4.4.0 20081021 (experimental) [trunk revision 141258]


-- 


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


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

* [Bug fortran/38247] problem with contained subprocedure.
  2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
  2008-11-24 14:39 ` [Bug fortran/38247] " clerman at fuse dot net
  2008-11-24 15:20 ` kargl at gcc dot gnu dot org
@ 2008-11-24 15:31 ` mikael at gcc dot gnu dot org
  2008-11-24 15:33 ` kargl at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mikael at gcc dot gnu dot org @ 2008-11-24 15:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mikael at gcc dot gnu dot org  2008-11-24 15:29 -------
(In reply to comment #2)
> This is probably too old:
> GNU Fortran (GCC) 4.4.0 20081021 (experimental) [trunk revision 141258]
> 
Definitely, the bug is PR37445, which was fixed on 3rd November.


-- 


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


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

* [Bug fortran/38247] problem with contained subprocedure.
  2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
                   ` (2 preceding siblings ...)
  2008-11-24 15:31 ` mikael at gcc dot gnu dot org
@ 2008-11-24 15:33 ` kargl at gcc dot gnu dot org
  2008-11-24 16:23 ` burnus at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: kargl at gcc dot gnu dot org @ 2008-11-24 15:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from kargl at gcc dot gnu dot org  2008-11-24 15:32 -------
After removing all of your full path names, I get

REMOVE:kargl[215] gfc4x WinModI.f90  -c -Wall -O3 -ffast-math -funroll-loops
-std=f2003 -fno-backslash -owinmod.o >winmod.xyz
WinModI.f90:68: Error: Can't open included file 'FldSet1A.f90'
WinModI.f90:73: Error: Can't open included file 'FldSet2A.f90'
WinModI.f90:74.26:

There is no FldSet1A.f90 or FldSet2A.f90.  
REMOVE:kargl[216] find . -name FldSet\*
./FldSet.a90

Any chance you can 1) update to a newer compiler, and 2) cut this
down to a much smaller example.

PS: This shell script isn't a Bourne shell script.  It appears to be
    a csh script.  Add '#! /bin/csh' as the first line.


-- 


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


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

* [Bug fortran/38247] problem with contained subprocedure.
  2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
                   ` (3 preceding siblings ...)
  2008-11-24 15:33 ` kargl at gcc dot gnu dot org
@ 2008-11-24 16:23 ` burnus at gcc dot gnu dot org
  2008-11-24 18:52 ` clerman at fuse dot net
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-11-24 16:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from burnus at gcc dot gnu dot org  2008-11-24 16:22 -------
To add: There is currently a build problem for the linux 32bit version of the
gfortran nightlies; thus there has been no newer build since about one month.


-- 

burnus at gcc dot gnu dot org changed:

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


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


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

* [Bug fortran/38247] problem with contained subprocedure.
  2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
                   ` (4 preceding siblings ...)
  2008-11-24 16:23 ` burnus at gcc dot gnu dot org
@ 2008-11-24 18:52 ` clerman at fuse dot net
  2008-11-24 18:56 ` clerman at fuse dot net
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: clerman at fuse dot net @ 2008-11-24 18:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from clerman at fuse dot net  2008-11-24 18:50 -------
Created an attachment (id=16762)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16762&action=view)
updated, and corrected (I hope) archive

hello,

Sorry for the mixup on the archive. I've attached a new one, bug32_1a.tgz that
should work. It's a bash shell.

It seems to me that the problem is that you have not been able to build a new
32-bit version since you fixed the problem in the 64-bit version. Do you have
any idea when you'll be able to update the former? In any case, let me know
when you do.

Thanks for your help.

Norm


-- 


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


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

* [Bug fortran/38247] problem with contained subprocedure.
  2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
                   ` (5 preceding siblings ...)
  2008-11-24 18:52 ` clerman at fuse dot net
@ 2008-11-24 18:56 ` clerman at fuse dot net
  2009-01-02 18:59 ` jv244 at cam dot ac dot uk
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: clerman at fuse dot net @ 2008-11-24 18:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from clerman at fuse dot net  2008-11-24 18:54 -------
Subject: Re:  problem with contained subprocedure.

Hello,

This appears to be the problem. In any case, I just submitted a new archive
file. I hope this one's correct.

Thanks for your help. Let me know when the fix has been made to the 32-bit
version as well.

Norm

---- burnus at gcc dot gnu dot org <gcc-bugzilla@gcc.gnu.org> wrote: 
> 
> 
> ------- Comment #5 from burnus at gcc dot gnu dot org  2008-11-24 16:22 -------
> To add: There is currently a build problem for the linux 32bit version of the
> gfortran nightlies; thus there has been no newer build since about one month.
> 
> 
> -- 
> 
> burnus at gcc dot gnu dot org changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |burnus at gcc dot gnu dot
>                    |                            |org
> 
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38247
> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.


-- 


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


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

* [Bug fortran/38247] problem with contained subprocedure.
  2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
                   ` (6 preceding siblings ...)
  2008-11-24 18:56 ` clerman at fuse dot net
@ 2009-01-02 18:59 ` jv244 at cam dot ac dot uk
  2009-01-04  0:43 ` dfranke at gcc dot gnu dot org
  2009-03-29  9:03 ` fxcoudert at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-01-02 18:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jv244 at cam dot ac dot uk  2009-01-02 18:57 -------
(In reply to comment #7)
> Subject: Re:  problem with contained subprocedure.
> 
> Hello,
> 
> This appears to be the problem. In any case, I just submitted a new archive
> file. I hope this one's correct.

No... it is not. You're missing files due to:

include "addLockBuffer1.a90"

and similar. Try to make sure that the testcases you attach reproduce the
problem, by testing your testcase ;-)



> 
> Thanks for your help. Let me know when the fix has been made to the 32-bit
> version as well.
> 
> Norm
> 
> ---- burnus at gcc dot gnu dot org <gcc-bugzilla@gcc.gnu.org> wrote: 
> > 
> > 
> > ------- Comment #5 from burnus at gcc dot gnu dot org  2008-11-24 16:22 -------
> > To add: There is currently a build problem for the linux 32bit version of the
> > gfortran nightlies; thus there has been no newer build since about one month.
> > 
> > 
> > -- 
> > 
> > burnus at gcc dot gnu dot org changed:
> > 
> >            What    |Removed                     |Added
> > ----------------------------------------------------------------------------
> >                  CC|                            |burnus at gcc dot gnu dot
> >                    |                            |org
> > 
> > 
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38247
> > 
> > ------- You are receiving this mail because: -------
> > You reported the bug, or are watching the reporter.
> 


-- 


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


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

* [Bug fortran/38247] problem with contained subprocedure.
  2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
                   ` (7 preceding siblings ...)
  2009-01-02 18:59 ` jv244 at cam dot ac dot uk
@ 2009-01-04  0:43 ` dfranke at gcc dot gnu dot org
  2009-03-29  9:03 ` fxcoudert at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2009-01-04  0:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from dfranke at gcc dot gnu dot org  2009-01-04 00:43 -------
(In reply to comment #8)
> Try to make sure that the testcases you attach reproduce the
> problem, by testing your testcase ;-)

Marked as waiting for a testcase.


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug fortran/38247] problem with contained subprocedure.
  2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
                   ` (8 preceding siblings ...)
  2009-01-04  0:43 ` dfranke at gcc dot gnu dot org
@ 2009-03-29  9:03 ` fxcoudert at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-03-29  9:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from fxcoudert at gcc dot gnu dot org  2009-03-29 09:03 -------
Closing for now, as it's been three months without news from the bug reporter.
Please reopen the report and attached a testcase if it's still not fixed.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2009-03-29  9:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-24 14:36 [Bug fortran/38247] New: problem with contained subprocedure clerman at fuse dot net
2008-11-24 14:39 ` [Bug fortran/38247] " clerman at fuse dot net
2008-11-24 15:20 ` kargl at gcc dot gnu dot org
2008-11-24 15:31 ` mikael at gcc dot gnu dot org
2008-11-24 15:33 ` kargl at gcc dot gnu dot org
2008-11-24 16:23 ` burnus at gcc dot gnu dot org
2008-11-24 18:52 ` clerman at fuse dot net
2008-11-24 18:56 ` clerman at fuse dot net
2009-01-02 18:59 ` jv244 at cam dot ac dot uk
2009-01-04  0:43 ` dfranke at gcc dot gnu dot org
2009-03-29  9:03 ` 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).