public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15975] New: ICE in trans-array.c    pointer array initialization stuff
@ 2004-06-13 16:13 Mart dot Rentmeester at nn-online dot org
  2004-06-13 18:02 ` [Bug fortran/15975] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Mart dot Rentmeester at nn-online dot org @ 2004-06-13 16:13 UTC (permalink / raw)
  To: gcc-bugs

troogle> gfortran -v -c n22.f95 
Reading specs from /OPT/32/gcc-2004-06-09/lib/gcc/hppa2.0w-hp-hpux11.11/3.5.
0/specs
Configured with: ../configure --enable-languages=c,f95 
--prefix=/opt32/gcc-2004-06-09 --with-gmp=/opt32/gmp --with-gnu-as 
--with-as=/opt32/binutils/bin/as --enable-threads --disable-shared --disable-nls
Thread model: posix
gcc version 3.5.0 20040611 (experimental)
 /OPT/32/gcc-2004-06-09/libexec/gcc/hppa2.0w-hp-hpux11.11/3.5.0/f951 n22.f95 
-quiet -dumpbase n22.f95 -auxbase n22 -version -o /var/tmp//ccMNlkkT.s
GNU F95 version 3.5.0 20040611 (experimental) (hppa2.0w-hp-hpux11.11)
        compiled by GNU C version 3.5.0 20040611 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096


n22.f95: In function `pm_get':
n22.f95:11: internal compiler error: in gfc_conv_array_initializer, at 
fortran/trans-array.c:2726




module propmats

      type prm
          real, pointer :: par(:) => null()
      end type prm

      type(prm), save, target  :: pm(20)

contains

      subroutine pm_get(w)

      implicit none
      character(*), intent(in)  :: w
      type(prm), pointer        :: z
      

      z  => pm(1)

      end subroutine pm_get

end module propmats

-- 
           Summary: ICE in trans-array.c    pointer array initialization
                    stuff
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Mart dot Rentmeester at nn-online dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/15975] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
@ 2004-06-13 18:02 ` pinskia at gcc dot gnu dot org
  2004-08-25 22:10 ` tobi at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-13 18:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-13 18:02 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-13 18:02:19
               date|                            |


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


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

* [Bug fortran/15975] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
  2004-06-13 18:02 ` [Bug fortran/15975] " pinskia at gcc dot gnu dot org
@ 2004-08-25 22:10 ` tobi at gcc dot gnu dot org
  2004-08-25 22:51 ` tobi at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-08-25 22:10 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |17193


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


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

* [Bug fortran/15975] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
  2004-06-13 18:02 ` [Bug fortran/15975] " pinskia at gcc dot gnu dot org
  2004-08-25 22:10 ` tobi at gcc dot gnu dot org
@ 2004-08-25 22:51 ` tobi at gcc dot gnu dot org
  2004-09-27 15:19 ` tobi at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-08-25 22:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-08-25 22:51 -------
Removed bogus dependency.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|17193                       |


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


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

* [Bug fortran/15975] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
                   ` (2 preceding siblings ...)
  2004-08-25 22:51 ` tobi at gcc dot gnu dot org
@ 2004-09-27 15:19 ` tobi at gcc dot gnu dot org
  2004-11-11  5:37 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-09-27 15:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-09-27 15:19 -------
This now gives a bogus error:
 In file pr15975.f90:3

      type prm
             1
Error: Pointer assignment target is neither TARGET nor POINTER at (1)

This is the same bug as in PR16606, therefore the added dependency.



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |16606


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


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

* [Bug fortran/15975] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
                   ` (3 preceding siblings ...)
  2004-09-27 15:19 ` tobi at gcc dot gnu dot org
@ 2004-11-11  5:37 ` pinskia at gcc dot gnu dot org
  2005-09-16 23:07 ` erik dot edelmann at iki dot fi
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-11  5:37 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |diagnostic, rejects-valid
   Last reconfirmed|2004-06-13 18:02:19         |2004-11-11 05:37:37
               date|                            |


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


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

* [Bug fortran/15975] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
                   ` (4 preceding siblings ...)
  2004-11-11  5:37 ` pinskia at gcc dot gnu dot org
@ 2005-09-16 23:07 ` erik dot edelmann at iki dot fi
  2005-09-18  5:50 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: erik dot edelmann at iki dot fi @ 2005-09-16 23:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From erik dot edelmann at iki dot fi  2005-09-16 23:07 -------
Patch posted to mailinglist:
http://gcc.gnu.org/ml/gcc-patches/2005-09/msg01032.html

-- 


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


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

* [Bug fortran/15975] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
                   ` (5 preceding siblings ...)
  2005-09-16 23:07 ` erik dot edelmann at iki dot fi
@ 2005-09-18  5:50 ` cvs-commit at gcc dot gnu dot org
  2005-09-18 17:18 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-18  5:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-18 05:50 -------
Subject: Bug 15975

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pault@gcc.gnu.org	2005-09-18 05:50:15

Modified files:
	gcc/fortran    : resolve.c ChangeLog 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: der_pointer_2.f90 

Log message:
	2005-09-18  Erik Edelmann  <erik.edelmann@iki.fi>
	
	PR fortran/15975
	* resolve.c (resolve_symbol): Don't assign default
	initializer to pointers.
	
	2005-09-18  Erik Edelmann  <erik.edelmann@iki.fi>
	
	PR fortran/15975
	* gfortran.dg/der_pointer_2.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&r1=1.53&r2=1.54
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.558&r2=1.559
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/der_pointer_2.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6075&r2=1.6076



-- 


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


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

* [Bug fortran/15975] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
                   ` (6 preceding siblings ...)
  2005-09-18  5:50 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-18 17:18 ` pinskia at gcc dot gnu dot org
  2005-09-18 20:02 ` [Bug fortran/15975] [4.0 only] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-18 17:18 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/ml/gcc-  |[4.0 only]
                   |patches/2005-               |http://gcc.gnu.org/ml/gcc-
                   |09/msg01032.html            |patches/2005-
                   |                            |09/msg01032.html
   Target Milestone|---                         |4.0.2


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


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

* [Bug fortran/15975] [4.0 only] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
                   ` (7 preceding siblings ...)
  2005-09-18 17:18 ` pinskia at gcc dot gnu dot org
@ 2005-09-18 20:02 ` pinskia at gcc dot gnu dot org
  2005-09-18 20:27 ` pinskia at gcc dot gnu dot org
  2005-09-19  8:18 ` reichelt at gcc dot gnu dot org
  10 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-18 20:02 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

* [Bug fortran/15975] [4.0 only] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
                   ` (8 preceding siblings ...)
  2005-09-18 20:02 ` [Bug fortran/15975] [4.0 only] " pinskia at gcc dot gnu dot org
@ 2005-09-18 20:27 ` pinskia at gcc dot gnu dot org
  2005-09-19  8:18 ` reichelt at gcc dot gnu dot org
  10 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-18 20:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-18 20:26 -------
All of these are fixed in 4.1.0. Since 4.0.2 is the last 4.0 release before a 4.1.0 release will be made, 
4.0.2 and 4.0.1 were special releases for gfrotran.  4.0.3 should be a normal release for GCC and 
gfortran in that regressions are the only changes.

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


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


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

* [Bug fortran/15975] [4.0 only] ICE in trans-array.c    pointer array initialization stuff
  2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
                   ` (9 preceding siblings ...)
  2005-09-18 20:27 ` pinskia at gcc dot gnu dot org
@ 2005-09-19  8:18 ` reichelt at gcc dot gnu dot org
  10 siblings, 0 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-09-19  8:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-09-19 08:18 -------
*** Bug 16606 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Bug 15975 depends on bug 16606, which changed state.

Bug 16606 Summary: gfortran error with a valid derived type definition
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16606

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATEBug 15975 depends on bug 16606, which changed state.

Bug 16606 Summary: gfortran error with a valid derived type definition
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16606

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

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


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

* [Bug fortran/15975] [4.0 only] ICE in trans-array.c    pointer array initialization stuff
       [not found] <bug-15975-7765@http.gcc.gnu.org/bugzilla/>
  2005-10-23 18:36 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-23 18:51 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-23 18:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2005-10-23 18:51 -------
Fixed also in 4.0.3.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.0                       |4.0.3


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


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

* [Bug fortran/15975] [4.0 only] ICE in trans-array.c    pointer array initialization stuff
       [not found] <bug-15975-7765@http.gcc.gnu.org/bugzilla/>
@ 2005-10-23 18:36 ` cvs-commit at gcc dot gnu dot org
  2005-10-23 18:51 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-23 18:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-23 18:36 -------
Subject: Bug 15975

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gcc-4_0-branch
Changes by:     eedelman@gcc.gnu.org    2005-10-23 18:36:26

Modified files:
        gcc/fortran    : ChangeLog resolve.c 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/gfortran.dg: der_pointer_2.f90 

Log message:
        2005-10-23  Erik Edelmann  <erik.edelmann@iki.fi>

        PR fortran/15975
        * resolve.c (resolve_symbol): Don't assign default
        initializer to pointers.

        2005-10-23  Erik Edelmann  <erik.edelmann@iki.fi>

        PR fortran/15975
        * gfortran.dg/der_pointer_2.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.335.2.134&r2=1.335.2.135
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.34.2.20&r2=1.34.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.481&r2=1.5084.2.482
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/der_pointer_2.f90.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.16.1


-- 


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


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

end of thread, other threads:[~2005-10-23 18:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-13 16:13 [Bug fortran/15975] New: ICE in trans-array.c pointer array initialization stuff Mart dot Rentmeester at nn-online dot org
2004-06-13 18:02 ` [Bug fortran/15975] " pinskia at gcc dot gnu dot org
2004-08-25 22:10 ` tobi at gcc dot gnu dot org
2004-08-25 22:51 ` tobi at gcc dot gnu dot org
2004-09-27 15:19 ` tobi at gcc dot gnu dot org
2004-11-11  5:37 ` pinskia at gcc dot gnu dot org
2005-09-16 23:07 ` erik dot edelmann at iki dot fi
2005-09-18  5:50 ` cvs-commit at gcc dot gnu dot org
2005-09-18 17:18 ` pinskia at gcc dot gnu dot org
2005-09-18 20:02 ` [Bug fortran/15975] [4.0 only] " pinskia at gcc dot gnu dot org
2005-09-18 20:27 ` pinskia at gcc dot gnu dot org
2005-09-19  8:18 ` reichelt at gcc dot gnu dot org
     [not found] <bug-15975-7765@http.gcc.gnu.org/bugzilla/>
2005-10-23 18:36 ` cvs-commit at gcc dot gnu dot org
2005-10-23 18:51 ` 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).