public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/13841] New: missing debug info for _Complex function arguments
@ 2004-01-23 23:45 bob dot wilson at acm dot org
  2004-01-24  1:28 ` [Bug debug/13841] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bob dot wilson at acm dot org @ 2004-01-23 23:45 UTC (permalink / raw)
  To: gcc-bugs

Today (23 Jan 2004) I changed the Xtensa port to define SPLIT_COMPLEX_ARGS so
that _Complex function arguments are split into separate real and imaginary
parts.  After that change, I noticed that I couldn't see any _Complex arguments
from GDB.  The following input will demonstrate the problem:

_Complex int cmplx (_Complex int arg) { return arg; }

int main (void) {
  _Complex int c = (1,2);
  c = cmplx(c);
  return 0;
}

With the default of DWARF2 for this target, the "formal parameter" TAG for "arg"
is produced but it has no AT_location entry.  If I use "-gstabs", there is no
".stabs" entry at all for "arg".

I'm not aware of anything specific to the Xtensa port that would cause this, so
the same problem is likely to occur with other ports that define
SPLIT_COMPLEX_ARGS (currently alpha and rs6000/AIX).

-- 
           Summary: missing debug info for _Complex function arguments
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bob dot wilson at acm dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: xtensa-unknown-elf


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-10-13 23:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-23 23:45 [Bug debug/13841] New: missing debug info for _Complex function arguments bob dot wilson at acm dot org
2004-01-24  1:28 ` [Bug debug/13841] " pinskia at gcc dot gnu dot org
2004-07-02 19:42 ` [Bug debug/13841] [3.4 regression] " dje at gcc dot gnu dot org
2004-07-02 19:45 ` dje at gcc dot gnu dot org
2004-08-29 18:53 ` [Bug debug/13841] [3.4/3.5? " mmitchel at gcc dot gnu dot org
2004-10-13 17:22 ` [Bug debug/13841] [3.4/4.0? " rth at gcc dot gnu dot org
2004-10-13 23:18 ` cvs-commit at gcc dot gnu dot org
2004-10-13 23:25 ` cvs-commit at gcc dot gnu dot org
2004-10-13 23:27 ` rth 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).