This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/11816] Incorrect debugging information for anonymous structures
- From: "alfonso_acosta_mail at yahoo dot es" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2003 23:49:53 -0000
- Subject: [Bug debug/11816] Incorrect debugging information for anonymous structures
- References: <20030805232153.11816.alfonso_acosta_mail@yahoo.es>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11816
------- Additional Comments From alfonso_acosta_mail at yahoo dot es 2003-08-05 23:49 -------
Subject: Re: Incorrect debugging information for anonymous
structures
pinskia at physics dot uc dot edu wrote:
> ------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-05 23:27 -------
> We need the preprocessed source for this.
> Read http://gcc.gnu.org/bugs.html
>
>
>
Sorry, I just used gccbug script, I attached the preprocessed file
# 1 "calc.c"
# 1 "<interno>"
# 1 "<l\355nea de orden>"
# 1 "calc.c"
typedef enum {
CONSTANT,
SUM,
SUB,
PROD,
DIV,
POW,
ASIGNMENT,
VAR,
FORMAT,
FUNC
} exprkind;
typedef enum {
DEC,
OCT,
REAL
} format_t;
typedef struct expr *exptr;
typedef struct expr {
exprkind kind;
union{
struct {
exptr binleft;
exptr binright;
};
struct {
exptr asigleft;
exptr asigright;
};
format_t format;
char *varname;
double constant;
struct {
char *functname;
exptr *args;
};
};
} expr_t;
int main (){
return 0;
}