public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34558]  New: Regression 4.3: ICE with same TYPE in both program and interface
@ 2007-12-22 19:14 burnus at gcc dot gnu dot org
  2007-12-23 11:42 ` [Bug fortran/34558] " dfranke at gcc dot gnu dot org
  2007-12-26  1:20 ` [Bug fortran/34558] [4.3 Regression]: " pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-12-22 19:14 UTC (permalink / raw)
  To: gcc-bugs

The following program uses an excessive amount of memory, which causes the
segmentation fault. valgrind shows:

==27188== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==27188==  Access not within mapped region at address 0x7FE001700
==27188==    at 0x427539: gfc_compare_derived_types (interface.c:365)
==27188== Invalid write of size 8
==27188==    at 0x4A1E348: _vgnU_freeres (in
/usr/lib64/valgrind/amd64-linux/vgpreload_core.so)
==27188==  Address 0x7fe001f70 is on thread 1's stack
==27188== Stack overflow in thread 1: can't grow stack to 0x7FE001F70

! Regression. ICE on valid code.
! The following works with 4.1.3 and 4.2.2, but fails
! (segmentation fault) with 4.3.0.
!
! Found using the Fortran Company Fortran 90 Test Suite (Lite),
! Version 1.4
program error
  implicit none
  type node
    sequence
    type(node), pointer :: next
  end type
  type(node), pointer :: list

  interface
    subroutine insert(ptr)
      implicit none
      type node
        sequence
        type(node), pointer :: next
      end type
      type(node), pointer :: ptr
    end subroutine insert
  end interface
  allocate (list);
end program error


-- 
           Summary: Regression 4.3: ICE with same TYPE in both program and
                    interface
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 32834
             nThis:


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


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

* [Bug fortran/34558] Regression 4.3: ICE with same TYPE in both program and interface
  2007-12-22 19:14 [Bug fortran/34558] New: Regression 4.3: ICE with same TYPE in both program and interface burnus at gcc dot gnu dot org
@ 2007-12-23 11:42 ` dfranke at gcc dot gnu dot org
  2007-12-26  1:20 ` [Bug fortran/34558] [4.3 Regression]: " pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-12-23 11:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dfranke at gcc dot gnu dot org  2007-12-23 11:42 -------
This is probably related to PR22571?!


-- 


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


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

* [Bug fortran/34558] [4.3 Regression]: ICE with same TYPE in both program and interface
  2007-12-22 19:14 [Bug fortran/34558] New: Regression 4.3: ICE with same TYPE in both program and interface burnus at gcc dot gnu dot org
  2007-12-23 11:42 ` [Bug fortran/34558] " dfranke at gcc dot gnu dot org
@ 2007-12-26  1:20 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-26  1:20 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
            Summary|Regression 4.3: ICE with    |[4.3 Regression]: ICE with
                   |same TYPE in both program   |same TYPE in both program
                   |and interface               |and interface
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2007-12-26  1:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-22 19:14 [Bug fortran/34558] New: Regression 4.3: ICE with same TYPE in both program and interface burnus at gcc dot gnu dot org
2007-12-23 11:42 ` [Bug fortran/34558] " dfranke at gcc dot gnu dot org
2007-12-26  1:20 ` [Bug fortran/34558] [4.3 Regression]: " 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).