public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15969] New: ICE and assertion failure in trans-expr.c
@ 2004-06-13  7:16 Mart dot Rentmeester at nn-online dot org
  2004-06-13  9:12 ` [Bug fortran/15969] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Mart dot Rentmeester at nn-online dot org @ 2004-06-13  7:16 UTC (permalink / raw)
  To: gcc-bugs

The following code results in an ICE as mentioned


troogle> gfortran -c -v n16.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 n16.f95 
-quiet -dumpbase n16.f95 -auxbase n16 -version -o /var/tmp//ccsb91j5.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

Assertion failed: expr->expr_type == EXPR_STRUCTURE, file ../..
/gcc/fortran/trans-expr.c, line 1369
n16.f95: In function `do_something':
n16.f95:12: internal compiler error: Aborted





module test

    implicit none

    type x
        type(x), pointer  :: next => null()
    end type x


contains

    subroutine do_something(y)

    implicit none
    type(x), pointer ::  y, z

    z => y%next

    end subroutine do_something

end module test

-- 
           Summary: ICE and assertion failure in trans-expr.c
           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=15969


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

* [Bug fortran/15969] ICE and assertion failure in trans-expr.c
  2004-06-13  7:16 [Bug fortran/15969] New: ICE and assertion failure in trans-expr.c Mart dot Rentmeester at nn-online dot org
@ 2004-06-13  9:12 ` pinskia at gcc dot gnu dot org
  2004-06-22 15:21 ` tobi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-13  9:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-13 09:12 -------
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 09:12:42
               date|                            |


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


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

* [Bug fortran/15969] ICE and assertion failure in trans-expr.c
  2004-06-13  7:16 [Bug fortran/15969] New: ICE and assertion failure in trans-expr.c Mart dot Rentmeester at nn-online dot org
  2004-06-13  9:12 ` [Bug fortran/15969] " pinskia at gcc dot gnu dot org
@ 2004-06-22 15:21 ` tobi at gcc dot gnu dot org
  2004-07-10 17:30 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-22 15:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-06-22 15:21 -------
Adding || expr->expr_type == EXPR_NULL to the assert lets me compile the
testcase. but I'm not convinced this is the right fix.

-- 


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


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

* [Bug fortran/15969] ICE and assertion failure in trans-expr.c
  2004-06-13  7:16 [Bug fortran/15969] New: ICE and assertion failure in trans-expr.c Mart dot Rentmeester at nn-online dot org
  2004-06-13  9:12 ` [Bug fortran/15969] " pinskia at gcc dot gnu dot org
  2004-06-22 15:21 ` tobi at gcc dot gnu dot org
@ 2004-07-10 17:30 ` cvs-commit at gcc dot gnu dot org
  2004-07-10 17:54 ` cvs-commit at gcc dot gnu dot org
  2004-07-12  4:56 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-10 17:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-10 17:30 -------
Subject: Bug 15969

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-07-10 17:30:41

Modified files:
	gcc/fortran    : ChangeLog trans-expr.c 

Log message:
	PR fortran/15969
	* trans-expr.c (gfc_conv_structure): Handle initialization
	of scalar pointer components.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.110&r2=1.111
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gcc&r1=1.12&r2=1.13



-- 


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


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

* [Bug fortran/15969] ICE and assertion failure in trans-expr.c
  2004-06-13  7:16 [Bug fortran/15969] New: ICE and assertion failure in trans-expr.c Mart dot Rentmeester at nn-online dot org
                   ` (2 preceding siblings ...)
  2004-07-10 17:30 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-10 17:54 ` cvs-commit at gcc dot gnu dot org
  2004-07-12  4:56 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-10 17:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-10 17:54 -------
Subject: Bug 15969

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-07-10 17:54:35

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.fortran-torture/execute: der_init_5.f90 

Log message:
	PR fortran/15969
	* gfortran.fortran-torture/execute/der_init_5.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3978&r2=1.3979
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/der_init_5.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug fortran/15969] ICE and assertion failure in trans-expr.c
  2004-06-13  7:16 [Bug fortran/15969] New: ICE and assertion failure in trans-expr.c Mart dot Rentmeester at nn-online dot org
                   ` (3 preceding siblings ...)
  2004-07-10 17:54 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-12  4:56 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12  4:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-12 04:56 -------
Fixed.

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


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


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

end of thread, other threads:[~2004-07-12  4:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-13  7:16 [Bug fortran/15969] New: ICE and assertion failure in trans-expr.c Mart dot Rentmeester at nn-online dot org
2004-06-13  9:12 ` [Bug fortran/15969] " pinskia at gcc dot gnu dot org
2004-06-22 15:21 ` tobi at gcc dot gnu dot org
2004-07-10 17:30 ` cvs-commit at gcc dot gnu dot org
2004-07-10 17:54 ` cvs-commit at gcc dot gnu dot org
2004-07-12  4:56 ` 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).