public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/24546] New: [meta-bug] gfortran debugging problems @ 2005-10-26 18:17 tkoenig at gcc dot gnu dot org 2005-10-27 23:13 ` [Bug fortran/24546] " pinskia at gcc dot gnu dot org ` (8 more replies) 0 siblings, 9 replies; 10+ messages in thread From: tkoenig at gcc dot gnu dot org @ 2005-10-26 18:17 UTC (permalink / raw) To: gcc-bugs This is a meta-bug to catch all gfortran debugging problems. -- Summary: [meta-bug] gfortran debugging problems Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: meta-bug, wrong-debug Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org BugsThisDependsOn: 10220,17905,22244,23057,23280,24526,24527 OtherBugsDependingO 19292 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/24546] [meta-bug] gfortran debugging problems 2005-10-26 18:17 [Bug fortran/24546] New: [meta-bug] gfortran debugging problems tkoenig at gcc dot gnu dot org @ 2005-10-27 23:13 ` pinskia at gcc dot gnu dot org 2005-10-27 23:32 ` pinskia at gcc dot gnu dot org ` (7 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-10-27 23:13 UTC (permalink / raw) To: gcc-bugs -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2005-10-27 23:13:05 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/24546] [meta-bug] gfortran debugging problems 2005-10-26 18:17 [Bug fortran/24546] New: [meta-bug] gfortran debugging problems tkoenig at gcc dot gnu dot org 2005-10-27 23:13 ` [Bug fortran/24546] " pinskia at gcc dot gnu dot org @ 2005-10-27 23:32 ` pinskia at gcc dot gnu dot org 2005-10-28 4:51 ` woodzltc at sources dot redhat dot com ` (6 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-10-27 23:32 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-27 23:32 ------- >From the looks of it, some of these are really gdb issues as they work when you do: set lang c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/24546] [meta-bug] gfortran debugging problems 2005-10-26 18:17 [Bug fortran/24546] New: [meta-bug] gfortran debugging problems tkoenig at gcc dot gnu dot org 2005-10-27 23:13 ` [Bug fortran/24546] " pinskia at gcc dot gnu dot org 2005-10-27 23:32 ` pinskia at gcc dot gnu dot org @ 2005-10-28 4:51 ` woodzltc at sources dot redhat dot com 2005-11-10 4:04 ` pinskia at gcc dot gnu dot org ` (5 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: woodzltc at sources dot redhat dot com @ 2005-10-28 4:51 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from woodzltc at sources dot redhat dot com 2005-10-28 04:51 ------- Yes. Some of these problems stems from gdb, like 24527; others from gfortran, like 22244, and yet others involve both. I could spare some time to work on fortran support in gdb. And very willing to work with gfortran community to make progress on that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/24546] [meta-bug] gfortran debugging problems 2005-10-26 18:17 [Bug fortran/24546] New: [meta-bug] gfortran debugging problems tkoenig at gcc dot gnu dot org ` (2 preceding siblings ...) 2005-10-28 4:51 ` woodzltc at sources dot redhat dot com @ 2005-11-10 4:04 ` pinskia at gcc dot gnu dot org 2005-11-11 9:18 ` woodzltc at sources dot redhat dot com ` (4 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-11-10 4:04 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-10 04:04 ------- There is a gfortran bug not listed here yet (I am too lazy to file a new bug). Anyways the bug is that the type for arguments is wrong and gives you instead a reference (in the C++ sense) type instead of a normal type. I think I might have a way to fix that. If someone wants to file that bug and assign it to me, that would be nice. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/24546] [meta-bug] gfortran debugging problems 2005-10-26 18:17 [Bug fortran/24546] New: [meta-bug] gfortran debugging problems tkoenig at gcc dot gnu dot org ` (3 preceding siblings ...) 2005-11-10 4:04 ` pinskia at gcc dot gnu dot org @ 2005-11-11 9:18 ` woodzltc at sources dot redhat dot com 2005-11-21 16:01 ` jb at gcc dot gnu dot org ` (3 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: woodzltc at sources dot redhat dot com @ 2005-11-11 9:18 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from woodzltc at sources dot redhat dot com 2005-11-11 09:18 ------- Hi Andrew, I opened PR 24790 to track this. Wish that it is just what you thought of. But I didn't figure out how to assign that to you. So I add you the cc list. Regards - Wu Zhou -- woodzltc at sources dot redhat dot com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |24790 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/24546] [meta-bug] gfortran debugging problems 2005-10-26 18:17 [Bug fortran/24546] New: [meta-bug] gfortran debugging problems tkoenig at gcc dot gnu dot org ` (4 preceding siblings ...) 2005-11-11 9:18 ` woodzltc at sources dot redhat dot com @ 2005-11-21 16:01 ` jb at gcc dot gnu dot org 2005-11-22 3:49 ` woodzltc at sources dot redhat dot com ` (2 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: jb at gcc dot gnu dot org @ 2005-11-21 16:01 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from jb at gcc dot gnu dot org 2005-11-21 16:01 ------- Just as a general note, the deadline for dwarf3 comments is Dec 1, 2005. So if anyone with some clue about how to improve support for debugging fortran has some good suggestions that would require changes in the debug format, now is the time to send them. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/24546] [meta-bug] gfortran debugging problems 2005-10-26 18:17 [Bug fortran/24546] New: [meta-bug] gfortran debugging problems tkoenig at gcc dot gnu dot org ` (5 preceding siblings ...) 2005-11-21 16:01 ` jb at gcc dot gnu dot org @ 2005-11-22 3:49 ` woodzltc at sources dot redhat dot com 2007-03-03 12:06 ` fxcoudert at gcc dot gnu dot org 2007-05-20 21:20 ` tkoenig at gcc dot gnu dot org 8 siblings, 0 replies; 10+ messages in thread From: woodzltc at sources dot redhat dot com @ 2005-11-22 3:49 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from woodzltc at sources dot redhat dot com 2005-11-22 03:49 ------- I ever opened an issue to request to add something to identify the main function (such as Fortran MAIN__) in a program. But that is deferred to DWARF 4. So maybe now it is too late to add anything into DWARF 3. Here is the link http://dwarf.freestandards.org/ShowIssue.php?issue=050808.2&type=closed -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/24546] [meta-bug] gfortran debugging problems 2005-10-26 18:17 [Bug fortran/24546] New: [meta-bug] gfortran debugging problems tkoenig at gcc dot gnu dot org ` (6 preceding siblings ...) 2005-11-22 3:49 ` woodzltc at sources dot redhat dot com @ 2007-03-03 12:06 ` fxcoudert at gcc dot gnu dot org 2007-05-20 21:20 ` tkoenig at gcc dot gnu dot org 8 siblings, 0 replies; 10+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2007-03-03 12:06 UTC (permalink / raw) To: gcc-bugs ------- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-03-03 12:06 ------- Steven Bosscher had made significant progress on this, IIRC. Steven, what's the status of your patches? PS: as a minor improvement, we might want to give numeric types a more Fortran-like name, with a patch such as the following: Index: trans-types.c =================================================================== --- trans-types.c (revision 122038) +++ trans-types.c (working copy) @@ -531,7 +531,7 @@ { type = gfc_build_int_type (&gfc_integer_kinds[index]); gfc_integer_types[index] = type; - snprintf (name_buf, sizeof(name_buf), "int%d", + snprintf (name_buf, sizeof(name_buf), "integer(kind=%d)", gfc_integer_kinds[index].kind); PUSH_TYPE (name_buf, type); } @@ -540,7 +540,7 @@ { type = gfc_build_logical_type (&gfc_logical_kinds[index]); gfc_logical_types[index] = type; - snprintf (name_buf, sizeof(name_buf), "logical%d", + snprintf (name_buf, sizeof(name_buf), "logical(kind=%d)", gfc_logical_kinds[index].kind); PUSH_TYPE (name_buf, type); } @@ -549,13 +549,13 @@ { type = gfc_build_real_type (&gfc_real_kinds[index]); gfc_real_types[index] = type; - snprintf (name_buf, sizeof(name_buf), "real%d", + snprintf (name_buf, sizeof(name_buf), "real(kind=%d)", gfc_real_kinds[index].kind); PUSH_TYPE (name_buf, type); type = gfc_build_complex_type (type); gfc_complex_types[index] = type; - snprintf (name_buf, sizeof(name_buf), "complex%d", + snprintf (name_buf, sizeof(name_buf), "complex(kind=%d)", gfc_real_kinds[index].kind); PUSH_TYPE (name_buf, type); } -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steven at gcc dot gnu dot | |org Last reconfirmed|2006-01-29 19:54:48 |2007-03-03 12:06:04 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/24546] [meta-bug] gfortran debugging problems 2005-10-26 18:17 [Bug fortran/24546] New: [meta-bug] gfortran debugging problems tkoenig at gcc dot gnu dot org ` (7 preceding siblings ...) 2007-03-03 12:06 ` fxcoudert at gcc dot gnu dot org @ 2007-05-20 21:20 ` tkoenig at gcc dot gnu dot org 8 siblings, 0 replies; 10+ messages in thread From: tkoenig at gcc dot gnu dot org @ 2007-05-20 21:20 UTC (permalink / raw) To: gcc-bugs ------- Comment #8 from tkoenig at gcc dot gnu dot org 2007-05-20 22:20 ------- (In reply to comment #7) > PS: as a minor improvement, we might want to give numeric types a more > Fortran-like name, with a patch such as the following: ... Hi FX, are you planning to submit that patch? It sounds like a good idea. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546 ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-05-20 21:20 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-10-26 18:17 [Bug fortran/24546] New: [meta-bug] gfortran debugging problems tkoenig at gcc dot gnu dot org 2005-10-27 23:13 ` [Bug fortran/24546] " pinskia at gcc dot gnu dot org 2005-10-27 23:32 ` pinskia at gcc dot gnu dot org 2005-10-28 4:51 ` woodzltc at sources dot redhat dot com 2005-11-10 4:04 ` pinskia at gcc dot gnu dot org 2005-11-11 9:18 ` woodzltc at sources dot redhat dot com 2005-11-21 16:01 ` jb at gcc dot gnu dot org 2005-11-22 3:49 ` woodzltc at sources dot redhat dot com 2007-03-03 12:06 ` fxcoudert at gcc dot gnu dot org 2007-05-20 21:20 ` tkoenig 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).