public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17583] New: internal compiler error
@ 2004-09-21 14:11 tdeutsch at cea dot fr
  2004-09-21 14:53 ` [Bug fortran/17583] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tdeutsch at cea dot fr @ 2004-09-21 14:11 UTC (permalink / raw)
  To: gcc-bugs

Internal compiler error when a variable is used which has the same name as a 
dummy variable in a module. 
 
./../gfortran/bin/gfortran -v -save-temps -c -ffree-form toto.f 
Reading specs from gfortran/bin/../lib/gcc/i686-pc-linux-gnu/4.0.0/specs 
Configured with: ../gcc/configure --enable-languages=c,f95 
--prefix=/usr/work/2004265/irun 
Thread model: posix 
gcc version 4.0.0 20040921 (experimental) 
 gfortran/bin/../libexec/gcc/i686-pc-linux-gnu/4.0.0/f951 toto.f -quiet 
-dumpbase toto.f -mtune=pentiumpro -auxbase toto -version -ffree-form -o toto.s 
GNU F95 version 4.0.0 20040921 (experimental) (i686-pc-linux-gnu) 
        compiled by GNU C version 4.0.0 20040921 (experimental). 
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 
toto.f: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. 
 
 
module bidon 
 
 interface 
  subroutine drivexc(nspden,rho_updn) 
   integer,  intent(in) :: nspden 
   integer, intent(in) :: rho_updn(nspden) 
  end subroutine drivexc 
 end interface 
 
end module bidon 
 
 subroutine nonlinear(nspden) 
 
 use bidon 
  
 integer,intent(in) :: nspden 
 
 end subroutine nonlinear

-- 
           Summary: internal compiler error
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tdeutsch at cea dot fr
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/17583] internal compiler error
  2004-09-21 14:11 [Bug fortran/17583] New: internal compiler error tdeutsch at cea dot fr
@ 2004-09-21 14:53 ` pinskia at gcc dot gnu dot org
  2004-09-25 17:17 ` tobi at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-21 14:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-21 14:53 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-21 14:53:04
               date|                            |


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


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

* [Bug fortran/17583] internal compiler error
  2004-09-21 14:11 [Bug fortran/17583] New: internal compiler error tdeutsch at cea dot fr
  2004-09-21 14:53 ` [Bug fortran/17583] " pinskia at gcc dot gnu dot org
@ 2004-09-25 17:17 ` tobi at gcc dot gnu dot org
  2004-09-28 18:03 ` [Bug fortran/17583] internal compiler error: same names, but not conflicting tobi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-09-25 17:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-09-25 17:17 -------
The segfault disappears if the declaration of rho_updn is commented out. Indeed,
we segfault when resolving the array bounds.

-- 


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


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

* [Bug fortran/17583] internal compiler error: same names, but not conflicting
  2004-09-21 14:11 [Bug fortran/17583] New: internal compiler error tdeutsch at cea dot fr
  2004-09-21 14:53 ` [Bug fortran/17583] " pinskia at gcc dot gnu dot org
  2004-09-25 17:17 ` tobi at gcc dot gnu dot org
@ 2004-09-28 18:03 ` tobi at gcc dot gnu dot org
  2004-10-10 18:14 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-09-28 18:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-09-28 18:02 -------
This is fixed when removing the fix for PR 16485.
http://gcc.gnu.org/ml/fortran/2004-09/msg00118.html

-- 


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


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

* [Bug fortran/17583] internal compiler error: same names, but not conflicting
  2004-09-21 14:11 [Bug fortran/17583] New: internal compiler error tdeutsch at cea dot fr
                   ` (2 preceding siblings ...)
  2004-09-28 18:03 ` [Bug fortran/17583] internal compiler error: same names, but not conflicting tobi at gcc dot gnu dot org
@ 2004-10-10 18:14 ` pinskia at gcc dot gnu dot org
  2004-11-03  0:54 ` cvs-commit at gcc dot gnu dot org
  2004-11-03  0:57 ` tobi at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-10 18:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-10 18:14 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00856.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug fortran/17583] internal compiler error: same names, but not conflicting
  2004-09-21 14:11 [Bug fortran/17583] New: internal compiler error tdeutsch at cea dot fr
                   ` (3 preceding siblings ...)
  2004-10-10 18:14 ` pinskia at gcc dot gnu dot org
@ 2004-11-03  0:54 ` cvs-commit at gcc dot gnu dot org
  2004-11-03  0:57 ` tobi at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-03  0:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-03 00:54 -------
Subject: Bug 17583

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-11-03 00:54:02

Modified files:
	gcc/fortran    : ChangeLog module.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: generic_1.f90 generic_2.f90 
	                           generic_3.f90 

Log message:
	fortran/
	PR fortran/17535
	PR fortran/17583
	PR fortran/17713
	* module.c (write_symbol1): Set module_name for dummy arguments.
	
	testsuite/
	PR fortran/17535
	PR fortran/17583
	PR fortran/17713
	* gfortran.dg/generic_[123].f90: New testcases.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.246&r2=1.247
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/module.c.diff?cvsroot=gcc&r1=1.19&r2=1.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4536&r2=1.4537
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/generic_1.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/generic_2.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/generic_3.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug fortran/17583] internal compiler error: same names, but not conflicting
  2004-09-21 14:11 [Bug fortran/17583] New: internal compiler error tdeutsch at cea dot fr
                   ` (4 preceding siblings ...)
  2004-11-03  0:54 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-03  0:57 ` tobi at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-11-03  0:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-11-03 00:57 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-11-03  0:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-21 14:11 [Bug fortran/17583] New: internal compiler error tdeutsch at cea dot fr
2004-09-21 14:53 ` [Bug fortran/17583] " pinskia at gcc dot gnu dot org
2004-09-25 17:17 ` tobi at gcc dot gnu dot org
2004-09-28 18:03 ` [Bug fortran/17583] internal compiler error: same names, but not conflicting tobi at gcc dot gnu dot org
2004-10-10 18:14 ` pinskia at gcc dot gnu dot org
2004-11-03  0:54 ` cvs-commit at gcc dot gnu dot org
2004-11-03  0:57 ` tobi 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).