Internal Compiler Error In Gfc_typenode_for_spec
| Forgot Password Login: [x] User account creation filtered due to spam. Bug43539 - internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:995 Summary: internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:995 Status: RESOLVED DUPLICATE of bug 40728 Alias: None Product: gcc Classification: Unclassified Component: fortran (show other bugs) Version: 4.5.0 Importance: P3 normal Target Milestone: --- Assignee: Not yet assigned to anyone URL: Keywords: Depends on: Blocks: Reported: 2010-03-26 13:48 UTC by Dominique d'Humieres Modified: 2010-05-07 18:12 UTC (History) CC List: 3 users (show) burnus dominiq gcc-bugs See Also: Host: x86_64-apple-darwin10 Target: x86_64-apple-darwin10 Build: x86_64-apple-darwin10 Known to work: Known to fail: Last reconfirmed: 2010-03-27 07:55:42 Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Dominique d'Humieres 2010-03-26 13:48:29 UTC Playing with the following test case (see http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/83b587a930639741# ): program sizetest1 use ISO_C_BINDING implicit none type contains_pointer integer data type(contains_pointer), pointer :: next end type contains_pointer integer, parameter :: ik1 = selected_int_kind(2) type(contains_pointer) sp type(contains_pointer), target :: ap(2) ! f90 way: write(*,'(a,i0)') 'In f90: ', size(transfer(sp,(/1_ik1/))) ! f03 way: write(*,'(a,i0)') 'In f03: ', & transfer(C_LOC(ap(2)),1_C_INTPTR_T)- & transfer(C_LOC(ap(1)),1_C_INTPTR_T) ! f08 way: write(*,'(a,i0)') 'In f08: ', C_SIZEOF(sp) end program sizetest1 if I compile without option, the executable gives: In f90: 16 In f03: 16 In f08: 16 However if I compile with -std=f2003, I get [macbook] f90/bug% gfc -std=f2003 deriv_size.f90 deriv_size.f90: In function 'sizetest1': deriv_size.f90:18:0: internal compiler err
-Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug743999 - gfortran internal compiler error Summary: gfortran internal compiler error Status: CLOSED WONTFIX Aliases: None Product: Fedora Classification: Fedora Component: gcc (Show other bugs) Sub Component: --- Version: 15 Hardware: x86_64 Linux Priority unspecified Severity unspecified TargetMilestone: --- TargetRelease: --- Assigned To: Jakub Jelinek QA Contact: Fedora Extras Quality Assurance Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43539 /graph Reported: 2011-10-06 13:46 EDT by Robert McBroom Modified: 2012-08-07 12:25 EDT (History) CC List: 3 users (show) jakub mohan43u tobias.burnus See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2012-08-07 12:25:29 EDT Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- https://bugzilla.redhat.com/show_bug.cgi?id=743999 RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Processed fortran source (992 bytes, text/plain) 2011-10-06 13:46 EDT, Robert McBroom no flags Details data block 1 (95.62 KB, text/plain) 2011-11-09 00:27 EST, Robert McBroom no flags Details Data block 2 (32.97 KB, text/x-fortran) 2011-11-09 00:29 EST, Robert McBroom no flags Details Data Block 3 (234.93 KB, text/x-fortran) 2011-11-09 00:32 EST, Robert McBroom no flags Details Data Block 4 (11.79 KB, text/x-fortran) 2011-11-09 00:48 EST, Robert McBroom no flags Details Similar subroutine that works leading to patch of original -- NOTE x86_64 (784 bytes, text/plain) 2011-11-28 21:27 EST, Robert McBroom no flags Details Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description Robert McBroom 2011-10-06 13:46:32 EDT Created attachment 526757 [details] Processed fortran source Description of problem: ../v27e/configure --with-FC=gfortran --with-CC=gcc --with-NOCHEAP --with-FFLAGS=-fdefault-integer-8 \ --prefix=/v27e.mpi --x-libraries=/usr/lib64 --x-include=/usr/include/X11 gfortran -fdefault-integer-8 -DMESHTAL=1 -DRADIOG=1 -DCEM=1 -DHISTP=1 -DSPABI=1 -DDFACT=1 -DXS64=1 -DINCL=1 -DCINDER=1 -DLAQGSM=1 -DPLOT=1 -DMCPLOT=1 -DGKSSIM=1 -DXLIB=1 -DNO_PAW=1 -DLINUX=1 -DUNIX=1 -DGFORT=1 -DPREFIX=\"/v27e.mpi\" -DLIBPREFIX=\"/v27e.mpi/lib\" -I../../../v270/src/mcnpx/../include -c -o mcnpf/ttbr.o ../../../v270/src/mcnpx/mcnpf/ttbr.F gfortran -fdefault-integer-8 -DMESHTAL=1 -DRADIOG=1 -DCEM=1 -DHISTP=1 -DSPABI=1 -DDFACT=1 -DXS64=1 -DINCL=1 -DCINDER=1 -DLAQGSM=1 -DPLOT=1 -DMCPLO
team • Delete all board cookies • All times are UTC - 5 hours [ DST ] Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
4.6 ICE ; gfc_typenode_for_spec, at fortran/trans-types.c:1019 From: Alastair McKinstry