public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/36044]  New: user-requested backtrace
@ 2008-04-25 12:20 jaydub66 at gmail dot com
  2008-04-27 18:44 ` [Bug libfortran/36044] " fxcoudert at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: jaydub66 at gmail dot com @ 2008-04-25 12:20 UTC (permalink / raw)
  To: gcc-bugs

It would be nice to have an intrinsic function to generate a user-requested
backtrace, like ifort's TRACEBACKQQ. Of course this would be a non-standard
extension, but a useful one which many other compilers also provide.

There has already been some discussion on this in PR30498, with suggested
workarounds like producing an FPE with "1.0/0.0" or calling 'kill' via
ISO_C_BINDING to generate a backtrace. But these of course terminate the
program.

For debugging purposes it can be helpful to generate a backtrace at some point
while keeping the program running, which is what e.g. TRACEBACKQQ does.


-- 
           Summary: user-requested backtrace
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jaydub66 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36044


^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <bug-36044-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-12-20 19:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-25 12:20 [Bug libfortran/36044] New: user-requested backtrace jaydub66 at gmail dot com
2008-04-27 18:44 ` [Bug libfortran/36044] " fxcoudert at gcc dot gnu dot org
2008-04-28 15:45 ` jaydub66 at gmail dot com
2008-04-28 16:42 ` burnus at gcc dot gnu dot org
2008-04-28 21:37 ` tkoenig at gcc dot gnu dot org
2009-02-22 22:33 ` fxcoudert at gcc dot gnu dot org
2009-02-23  4:37 ` jvdelisle at gcc dot gnu dot org
     [not found] <bug-36044-4@http.gcc.gnu.org/bugzilla/>
2012-03-03  7:46 ` fxcoudert at gcc dot gnu.org
2012-12-19 16:30 ` janus at gcc dot gnu.org
2012-12-20 18:15 ` janus at gcc dot gnu.org
2012-12-20 19:36 ` janus at gcc dot gnu.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).