This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34858] [4.3 Regression] ICE on invalid depending of the length of the source name
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2008 14:56:04 -0000
- Subject: [Bug fortran/34858] [4.3 Regression] ICE on invalid depending of the length of the source name
- References: <bug-34858-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dominiq at lps dot ens dot fr 2008-01-20 14:56 -------
I am trying to proceed backward. I have reached the following point:
Breakpoint 8, gfc_parse_file () at ../../gcc-4.3-work/gcc/fortran/parse.c:3460
3460 {
(gdb) s
gfc_parse_file () at ../../gcc-4.3-work/gcc/fortran/parse.c:3466
3466 gfc_start_source_files ();
(gdb) print gfc_current_ns->common_root->n.common->head->common_next
Cannot access memory at address 0x8
(gdb) print gfc_current_ns->common_root
Cannot access memory at address 0x8
(gdb) print gfc_current_ns
$13 = (gfc_namespace *) 0x0
(gdb) s
gfc_start_source_files () at ../../gcc-4.3-work/gcc/fortran/scanner.c:348
348 {
(gdb) s
warning: Got an error handling event: "Cannot access memory at address 0x7".
(gdb) s
warning: Got an error handling event: "Cannot access memory at address 0x7".
(gdb) s
warning: Got an error handling event: "Cannot access memory at address 0x7".
(gdb) s
gfc_start_source_files () at ../../gcc-4.3-work/gcc/fortran/scanner.c:355
355 report_file_change (gfc_current_locus.lb);
(gdb) print gfc_current_locus.lb
$14 = (gfc_linebuf *) 0x40d06700
(gdb) print debug_hooks->start_end_main_source_file
$15 = 0
(gdb) print gfc_source_file
$16 = 0xbfffeec7 "1234567.f90"
(gdb) print file_changes_cur
$17 = 0
(gdb) print *debug_hooks->start_source_file
$18 = {void (unsigned int, const char *)} 0x339b70 <debug_nothing_int_charstar>
The "warning: Got an error handling event: "Cannot access memory at address
0x7" look bad, but I do not see where they come from.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34858