public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7385: g++ problems with enum and __attribute__
@ 2002-11-10 11:16 Wolfgang Bangerth
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Bangerth @ 2002-11-10 11:16 UTC (permalink / raw)
To: mmitchel; +Cc: gcc-prs
The following reply was made to PR c++/7385; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/7385: g++ problems with enum and __attribute__
Date: Sun, 10 Nov 2002 13:11:41 -0600 (CST)
I think this may be a duplicate of PR 80. Please check this when you
tackle this report.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/7385: g++ problems with enum and __attribute__
@ 2002-10-03 22:37 mmitchel
0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2002-10-03 22:37 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gusti, mmitchel, nobody, sq
Synopsis: g++ problems with enum and __attribute__
Responsible-Changed-From-To: unassigned->mmitchel
Responsible-Changed-By: mmitchel
Responsible-Changed-When: Thu Oct 3 22:37:37 2002
Responsible-Changed-Why:
Working on a fix.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7385
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/7385: g++ problems with enum and __attribute__
@ 2002-09-14 5:09 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2002-09-14 5:09 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gusti, nobody, sq
Synopsis: g++ problems with enum and __attribute__
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Sat Sep 14 05:09:25 2002
State-Changed-Why:
confirmed a regression
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7385
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/7385: g++ problems with enum and __attribute__
@ 2002-07-23 5:16 gusti
0 siblings, 0 replies; 4+ messages in thread
From: gusti @ 2002-07-23 5:16 UTC (permalink / raw)
To: gcc-gnats; +Cc: sq
>Number: 7385
>Category: c++
>Synopsis: g++ problems with enum and __attribute__
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 23 05:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Agust Karlsson
>Release: 3.1
>Organization:
>Environment:
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc-3.1/configure --prefix=/usr
Thread model: single
gcc version 3.1
>Description:
When using g++ frontend, these erroers occure:
test.cpp:4: non-local function `void g1(<anonymous enum>)' uses anonymous type
test.cpp:7: non-local function `void g2(<anonymous enum>)' uses anonymous type
But NOT if using gcc
Commands used are:
g++ -Wall -c test.cpp
gcc -Wall -c test.c
on the same code.
>How-To-Repeat:
// how to declare and use a packed enum ?
typedef enum { v11=1, v12=2 } e1 __attribute__ ((packed));
void g1( e1 par) {}
typedef enum { v21=1, v22=2} e2 __attribute__ ((packed));
void g2( e2 par) {}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-11-10 19:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-10 11:16 c++/7385: g++ problems with enum and __attribute__ Wolfgang Bangerth
-- strict thread matches above, loose matches on Subject: below --
2002-10-03 22:37 mmitchel
2002-09-14 5:09 nathan
2002-07-23 5:16 gusti
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).