public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/48939] New: ICE in code involving procedure pointers @ 2011-05-09 19:10 townsend at astro dot wisc.edu 2011-05-09 19:39 ` [Bug fortran/48939] " kargl at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: townsend at astro dot wisc.edu @ 2011-05-09 19:10 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48939 Summary: ICE in code involving procedure pointers Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: townsend@astro.wisc.edu Created attachment 24216 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24216 Source code for ICE-causing module The attached module source code causes an Internal Compiler Error during compilation (gfortran -c gfortran_ice.f90). I'm guessing this might have something to do with the use of procedure pointers. This is on OS X 10.6.7 with gfortran 4.6.1 (20110325) built within macports. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/48939] ICE in code involving procedure pointers 2011-05-09 19:10 [Bug fortran/48939] New: ICE in code involving procedure pointers townsend at astro dot wisc.edu @ 2011-05-09 19:39 ` kargl at gcc dot gnu.org 2011-05-09 20:29 ` burnus at gcc dot gnu.org 2013-06-10 16:37 ` dominiq at lps dot ens.fr 2 siblings, 0 replies; 4+ messages in thread From: kargl at gcc dot gnu.org @ 2011-05-09 19:39 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48939 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org 2011-05-09 19:34:29 UTC --- Your code compiles on x86_64-*-freebsd with 4.6.1 20110509 and gcc version 4.7.0 20110509. There have only been a handful of patches to the 4.6 branch since 20110325, but it isn't clear if these should help. valgrind on the 4.6.1 f951 does not show anything bad. This could be target specific. Can you get a backtrace with a debuggers? ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/48939] ICE in code involving procedure pointers 2011-05-09 19:10 [Bug fortran/48939] New: ICE in code involving procedure pointers townsend at astro dot wisc.edu 2011-05-09 19:39 ` [Bug fortran/48939] " kargl at gcc dot gnu.org @ 2011-05-09 20:29 ` burnus at gcc dot gnu.org 2013-06-10 16:37 ` dominiq at lps dot ens.fr 2 siblings, 0 replies; 4+ messages in thread From: burnus at gcc dot gnu.org @ 2011-05-09 20:29 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48939 Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-05-09 20:27:30 UTC --- I can reproduce the failure with 4.6.1 20110421 (rev. 172818) and with openSUSE's 4.6.0 20110427 (Rev. 173021). However, it works with 4.7. Valgrind shows: ==10880== Invalid read of size 4 ==10880== at 0x5A3453: gfc_get_nodesc_array_type (trans-types.c:1433) ==10880== by 0x5A59D7: gfc_sym_type (trans-types.c:1977) ==10880== by 0x5A5164: gfc_get_function_type (trans-types.c:2575) ==10880== by 0x5A5B2A: gfc_get_ppc_type (trans-types.c:2136) ==10880== by 0x5A4CFF: gfc_get_derived_type (trans-types.c:2289) ==10880== by 0x5A5048: gfc_typenode_for_spec (trans-types.c:1060) (I think it could be a duplicate of PR 48588 (fixed Apr 19 for 4.7 and Apr 26 for 4.6). Or not - the program also fails with -fno-whole-file whereas PR 48588's example works with that option.) ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/48939] ICE in code involving procedure pointers 2011-05-09 19:10 [Bug fortran/48939] New: ICE in code involving procedure pointers townsend at astro dot wisc.edu 2011-05-09 19:39 ` [Bug fortran/48939] " kargl at gcc dot gnu.org 2011-05-09 20:29 ` burnus at gcc dot gnu.org @ 2013-06-10 16:37 ` dominiq at lps dot ens.fr 2 siblings, 0 replies; 4+ messages in thread From: dominiq at lps dot ens.fr @ 2013-06-10 16:37 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48939 Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Works for me with revisions 4.6.4, 4.7.3, 4.8.1, and trunk. Closing as fixed. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-10 16:37 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-05-09 19:10 [Bug fortran/48939] New: ICE in code involving procedure pointers townsend at astro dot wisc.edu 2011-05-09 19:39 ` [Bug fortran/48939] " kargl at gcc dot gnu.org 2011-05-09 20:29 ` burnus at gcc dot gnu.org 2013-06-10 16:37 ` dominiq at lps dot ens.fr
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).