[MacPorts] #39120: Error in initialization null pointer leads to internal compiler error
#39120: Error in initialization null pointer leads to internal compiler error ------------------------+-------------------------------- Reporter: guyoom@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 2.1.3 Keywords: gfortran47 | Port: gcc47 ------------------------+-------------------------------- The following code {{{ program test implicit none type entry real :: value = 0.0 integer :: index = 0 type(entry), pointer :: next => null !Error in initialization; should be null() end type entry type(entry), pointer :: chain type(entry), target :: first_element first_element%value = 1.5 first_element%index = 1 chain => first_element write(*,*) chain%value, chain%index end program test }}} leads to the following internal compiler error for GNU Fortran (MacPorts gcc47 4.7.3_0+universal) 4.7.3: {{{ derived_types.f08: In function 'test': derived_types.f08:1:0: internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:1066 }}} -- Ticket URL: <https://trac.macports.org/ticket/39120> MacPorts <http://www.macports.org/> Ports system for OS X
#39120: Error in initialization null pointer leads to internal compiler error -----------------------+-------------------------------- Reporter: guyoom@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: gfortran47 Port: gcc47 | -----------------------+-------------------------------- Comment (by egall@…): does this just happen with the MacPorts gcc47, or does it happen with other compiles of it, too? -- Ticket URL: <https://trac.macports.org/ticket/39120#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39120: gcc47 @4.7.3_0: Incorrectly initializing null pointer causes internal gfortran error -----------------------+------------------- Reporter: guyoom@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: gcc47 | -----------------------+------------------- Changes (by larryv@…): * cc: jeremyhu@… (added) * priority: Low => Normal * owner: macports-tickets@… => mww@… * keywords: gfortran47 => Comment: Thanks. In the future, please Cc relevant port maintainers. -- Ticket URL: <https://trac.macports.org/ticket/39120#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts