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

* [Bug debug/13841] missing debug info for _Complex function arguments
  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 ` 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
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-24  1:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-24 01:28 -------
Confirmed on the mainline with a cross compiler to powerpc-ibm-aix.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|xtensa-unknown-elf          |SPLIT_COMPLEX_ARGS == 1
           Keywords|                            |wrong-debug
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-24 01:28:29
               date|                            |


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


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

* [Bug debug/13841] [3.4 regression] missing debug info for _Complex function arguments
  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 ` dje at gcc dot gnu dot org
  2004-07-02 19:45 ` dje at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dje at gcc dot gnu dot org @ 2004-07-02 19:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dje at gcc dot gnu dot org  2004-07-02 19:42 -------
The missing debug information is a regression from GCC 3.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
            Summary|missing debug info for      |[3.4 regression] missing
                   |_Complex function arguments |debug info for _Complex
                   |                            |function arguments
   Target Milestone|---                         |3.4.2


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


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

* [Bug debug/13841] [3.4 regression] missing debug info for _Complex function arguments
  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
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dje at gcc dot gnu dot org @ 2004-07-02 19:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dje at gcc dot gnu dot org  2004-07-02 19:45 -------
Add CC and known work/fail

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at watson dot ibm dot
                   |                            |com
      Known to fail|                            |3.4.0 3.4.1
      Known to work|                            |3.3.3


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


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

* [Bug debug/13841] [3.4/3.5? regression] missing debug info for _Complex function arguments
  2004-01-23 23:45 [Bug debug/13841] New: missing debug info for _Complex function arguments bob dot wilson at acm dot org
                   ` (2 preceding siblings ...)
  2004-07-02 19:45 ` dje at gcc dot gnu dot org
@ 2004-08-29 18:53 ` 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
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-29 18:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-08-29 18:53 -------
Postponed until GCC 3.4.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.2                       |3.4.3


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


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

* [Bug debug/13841] [3.4/4.0? regression] missing debug info for _Complex function arguments
  2004-01-23 23:45 [Bug debug/13841] New: missing debug info for _Complex function arguments bob dot wilson at acm dot org
                   ` (3 preceding siblings ...)
  2004-08-29 18:53 ` [Bug debug/13841] [3.4/3.5? " mmitchel at gcc dot gnu dot org
@ 2004-10-13 17:22 ` rth at gcc dot gnu dot org
  2004-10-13 23:18 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-10-13 17:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
 GCC target triplet|SPLIT_COMPLEX_ARGS == 1     |SPLIT_COMPLEX_ARGS   == 1


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


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

* [Bug debug/13841] [3.4/4.0? regression] missing debug info for _Complex function arguments
  2004-01-23 23:45 [Bug debug/13841] New: missing debug info for _Complex function arguments bob dot wilson at acm dot org
                   ` (4 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-13 23:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-13 23:18 -------
Subject: Bug 13841

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	rth@gcc.gnu.org	2004-10-13 23:18:19

Modified files:
	gcc            : ChangeLog function.c 

Log message:
	PR debug/13841
	* function.c (instantiate_decl): Recurse for CONCAT.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.655&r2=2.2326.2.656
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.483.4.18&r2=1.483.4.19



-- 


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


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

* [Bug debug/13841] [3.4/4.0? regression] missing debug info for _Complex function arguments
  2004-01-23 23:45 [Bug debug/13841] New: missing debug info for _Complex function arguments bob dot wilson at acm dot org
                   ` (5 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-13 23:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-13 23:25 -------
Subject: Bug 13841

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2004-10-13 23:25:18

Modified files:
	gcc            : ChangeLog function.c 

Log message:
	PR debug/13841
	* function.c (instantiate_decl): Recurse for CONCAT.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5868&r2=2.5869
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&r1=1.582&r2=1.583



-- 


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


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

* [Bug debug/13841] [3.4/4.0? regression] missing debug info for _Complex function arguments
  2004-01-23 23:45 [Bug debug/13841] New: missing debug info for _Complex function arguments bob dot wilson at acm dot org
                   ` (6 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-10-13 23:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-10-13 23:27 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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).