public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20807] New: compilation crashes when a module contains a procedure with the same name
@ 2005-04-07  8:38 guillemborrell at yahoo dot es
  2005-04-07  8:43 ` [Bug fortran/20807] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: guillemborrell at yahoo dot es @ 2005-04-07  8:38 UTC (permalink / raw)
  To: gcc-bugs

module fitness

  use modinit

   implicit none

  contains

  ...

  function fitness(word,totalsize)

     implicit none

     real    :: fitness
     integer :: totalsize
     integer, dimension(totalsize) :: word
 
   ...

gives internal compiler error instead of showing the error in the code

guillem@peret ~/DM $ gfc -c modinit.f90
guillem@peret ~/DM $ gfc -c modfitness.f90
modfitness.f90:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: compilation crashes when a module contains a procedure
                    with the same name
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: guillemborrell at yahoo dot es
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug fortran/20807] compilation crashes when a module contains a procedure with the same name
  2005-04-07  8:38 [Bug fortran/20807] New: compilation crashes when a module contains a procedure with the same name guillemborrell at yahoo dot es
@ 2005-04-07  8:43 ` pinskia at gcc dot gnu dot org
  2005-04-07  9:09 ` guillemborrell at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-07  8:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-07 08:43 -------
Of course, I tried to reproduce this with the snip of code but cannot.

-- 


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


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

* [Bug fortran/20807] compilation crashes when a module contains a procedure with the same name
  2005-04-07  8:38 [Bug fortran/20807] New: compilation crashes when a module contains a procedure with the same name guillemborrell at yahoo dot es
  2005-04-07  8:43 ` [Bug fortran/20807] " pinskia at gcc dot gnu dot org
@ 2005-04-07  9:09 ` guillemborrell at gmail dot com
  2005-04-29 10:59 ` fxcoudert at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: guillemborrell at gmail dot com @ 2005-04-07  9:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From guillemborrell at gmail dot com  2005-04-07 09:09 -------
Subject: Re:  compilation crashes when a module contains
 a procedure with the same name

pinskia at gcc dot gnu dot org wrote:

>------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-07 08:43 -------
>Of course, I tried to reproduce this with the snip of code but cannot.
>
>  
>
Sorry, it crashes for something else, not just for the name conflict.  I
thought this because of the intel compiler output.

Now trying to find the real cause of the compiler's segmentation fault

regards

guillem

-- 
Guillem Borrell Nogueras

website http://torroja.dmt.upm.es/~guillem/

guillemborrell@gmail.com
guillem@torroja.dmt.upm.es

tf. 655388683




-- 


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


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

* [Bug fortran/20807] compilation crashes when a module contains a procedure with the same name
  2005-04-07  8:38 [Bug fortran/20807] New: compilation crashes when a module contains a procedure with the same name guillemborrell at yahoo dot es
  2005-04-07  8:43 ` [Bug fortran/20807] " pinskia at gcc dot gnu dot org
  2005-04-07  9:09 ` guillemborrell at gmail dot com
@ 2005-04-29 10:59 ` fxcoudert at gcc dot gnu dot org
  2005-06-25 18:42 ` fxcoudert at gcc dot gnu dot org
  2005-09-04 19:08 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-04-29 10:59 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug fortran/20807] compilation crashes when a module contains a procedure with the same name
  2005-04-07  8:38 [Bug fortran/20807] New: compilation crashes when a module contains a procedure with the same name guillemborrell at yahoo dot es
                   ` (2 preceding siblings ...)
  2005-04-29 10:59 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-25 18:42 ` fxcoudert at gcc dot gnu dot org
  2005-09-04 19:08 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-25 18:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-25 18:42 -------
Guillem, any update on this one? Did you find the real problem?

-- 


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


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

* [Bug fortran/20807] compilation crashes when a module contains a procedure with the same name
  2005-04-07  8:38 [Bug fortran/20807] New: compilation crashes when a module contains a procedure with the same name guillemborrell at yahoo dot es
                   ` (3 preceding siblings ...)
  2005-06-25 18:42 ` fxcoudert at gcc dot gnu dot org
@ 2005-09-04 19:08 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-04 19:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-04 19:08 -------
No feedback in 3 months.

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


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


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

end of thread, other threads:[~2005-09-04 19:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-07  8:38 [Bug fortran/20807] New: compilation crashes when a module contains a procedure with the same name guillemborrell at yahoo dot es
2005-04-07  8:43 ` [Bug fortran/20807] " pinskia at gcc dot gnu dot org
2005-04-07  9:09 ` guillemborrell at gmail dot com
2005-04-29 10:59 ` fxcoudert at gcc dot gnu dot org
2005-06-25 18:42 ` fxcoudert at gcc dot gnu dot org
2005-09-04 19:08 ` pinskia 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).