[Bug c++/19243] New: Misleading error message for ill-formed explicit destructor invocation

2005-01-03 Thread austern at apple dot com
Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: minor Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC

[Bug c++/19244] New: Typedef of anonymous class incorrectly handled in member function definition

2005-01-03 Thread austern at apple dot com
at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin7.7.0 GCC host triplet: powerpc-apple-darwin7.7.0 GCC target triplet: powerpc-apple-darwin7.7.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19244

[Bug c++/19243] Misleading error message for ill-formed explicit destructor invocation

2005-01-03 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2005-01-03 20:55 --- Subject: Re: Misleading error message for ill-formed explicit destructor invocation On Jan 3, 2005, at 12:49 PM, pinskia at gcc dot gnu dot org wrote: > > --- Additional Comments From pinskia at g

[Bug c++/19245] New: gcc reject cv-qualifiers in function type typedef

2005-01-03 Thread austern at apple dot com
Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin7.7.0 GCC host trip

[Bug c++/6628] cannot typedef const functions

2005-01-03 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2005-01-03 21:46 --- 9.3/9 isn't the most relevant part of the standard. Yes, that gives an example showing that this syntax is legal, but examples are non-normative. They're mostly useful for establishing the int

[Bug c++/19258] New: Incorrect access check for default argument

2005-01-04 Thread austern at apple dot com
ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin7.7.0 GCC host triplet: powerpc-apple-darwin7.7.0 GCC target triplet: powerpc-apple-darwin7.7.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19258

[Bug c++/19243] Misleading error message for ill-formed explicit destructor invocation

2005-01-04 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2005-01-05 05:21 --- Nope, I was wrong. DR272 only affects a nonnormative note. I've checked with Mike Miller, and he pointed me to the appropriate normative text that implies that X::~X() within a member function applie

[Bug c++/12333] [DR 272] Explicit call to MyClass::~MyClass() not allowed

2005-01-04 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2005-01-05 05:24 --- I was wrong in thinking this was only a diagnostic bug. DR272 only affects a nonnormative note. I've checked with Mike Miller, and he pointed me to the appropriate normative text that implies that

[Bug c/19455] New: typeof no longer works for bitfields

2005-01-14 Thread austern at apple dot com
tatus: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: all GCC host triplet: all GCC target tr

[Bug c++/19538] New: Missing diagnostic for typedef name in elaborated type specifier

2005-01-19 Thread austern at apple dot com
Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin7.7.0 GCC host triplet: powerpc-apple-da

[Bug c++/19538] Missing diagnostic for typedef name in elaborated type specifier

2005-01-24 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2005-01-24 18:06 --- I've raised this issue on the C++ standardization committee's core language reflector. I now find it a little less clear than I did before. This is closely related to open issue 407. See http:

[Bug c++/11036] typedef-name used in an elaborated-type-specifier is incorrectly accepted

2005-01-24 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2005-01-24 18:06 --- I've raised this issue on the C++ standardization committee's core language reflector. I now find it a little less clear than I did before. This is closely related to open issue 407. See http:

[Bug c++/19628] New: g++ no longer accepts __builtin_constant_p in constant-expressions

2005-01-25 Thread austern at apple dot com
ot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin7.7.0 GCC host triplet: powerpc-apple-darwin7.7.0 GCC target triplet: powerpc-apple-darwin7.7.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19628

[Bug c++/19628] [3.4/4.0 Regression] g++ no longer accepts __builtin_constant_p in constant-expressions

2005-01-28 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2005-01-28 20:17 --- This was undoubtedly caused by Mark's large checkin on 2003-01-29, which included changes to constant-expression handling. I do not believe the __builtin_constant_p change was deliberate. The intent b

[Bug c++/19628] [3.4/4.0 Regression] g++ no longer accepts __builtin_constant_p in constant-expressions

2005-01-30 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2005-01-31 02:38 --- Subject: Re: [3.4/4.0 Regression] g++ no longer accepts __builtin_constant_p in constant-expressions > it checks for built-ins that can appear in consant-expressions, but > the name > might seem

[Bug c++/19773] New: warning for misplace semicolon is C-only

2005-02-02 Thread austern at apple dot com
us: UNCONFIRMED Severity: enhancement Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: all GCC host triplet: all GCC target trip

[Bug c++/19773] warning for misplaced semicolon is C-only

2005-02-02 Thread austern at apple dot com
-- What|Removed |Added Summary|warning for misplace|warning for misplaced |semicolon is C-only |semicolon is C-only http://gcc.gnu.org/

[Bug c++/3471] gcc 3.01 reports error about a private copy constructor that shouldn't get called.

2003-09-09 Thread austern at apple dot com
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3471 --- Additional Comments From austern at apple dot com 2003-09-09 18:00 --- I believe that this resolution is incorrect. f.test(b) initializes a reference of type const

[Bug c++/17542] Visibility attribute ignored when it precedes class head

2004-10-01 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2004-10-01 23:22 --- Actually, this is almost straightforward. It has nothing to do with the visibility attribute: it has to do with attributes and C++ classes in general. Looking at cp_parser_class, and especially at

[Bug c++/18150] New: Should enable -Wsequence-point for C++

2004-10-25 Thread austern at apple dot com
: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: all GCC host triplet: all GCC target triplet

[Bug c++/18165] New: Attributes following enumeration declaration ignored

2004-10-26 Thread austern at apple dot com
: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin7.5.0 GCC host triplet: powerpc-apple-darwin7.5.0 GCC target triplet: powerpc-apple-darwin7.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18165

[Bug c++/18514] New: Alternate "asm" name ignored for function imported into namespace std

2004-11-15 Thread austern at apple dot com
Summary: Alternate "asm" name ignored for function imported into namespace std Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at g

[Bug c++/18522] New: Error message formatted badly

2004-11-16 Thread austern at apple dot com
Summary: Error message formatted badly Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at appl

[Bug c/18523] New: Documentation should discuss removal of generalized lvalues

2004-11-16 Thread austern at apple dot com
Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: all GCC host triplet: all GCC target triplet: all http://

[Bug other/18555] Need a command line switch to control gcc's include and libary finding mechanism

2004-11-18 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2004-11-18 21:39 --- We have a lot of options that are vaguely similiar to this. It's also reminiscent of -iprefix. But I actually think the closest analogy is to -B. Its effect on header and library paths is the same

[Bug c++/18514] [3.4/4.0 Regression] Alternate "asm" name ignored for redeclared builtin function imported into namespace std

2004-11-29 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2004-11-29 20:56 --- Yep, I see what the problem is now. When we create a builtin in C++, we create the declaration in both the global namespace and namespace std. Later, when we see the declaration of snprintf in the global

[Bug c/18814] New: Incorrect reinitialization of compound literal

2004-12-03 Thread austern at apple dot com
Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin GCC host tr

[Bug c/18814] Incorrect reinitialization of compound literal

2004-12-03 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2004-12-03 18:59 --- Subject: Re: Incorrect reinitialization of compound literal On Dec 3, 2004, at 10:50 AM, pinskia at gcc dot gnu dot org wrote: > > --- Additional Comments From pinskia at gcc dot gnu dot org > 2

[Bug c/18814] Incorrect reinitialization of compound literal

2004-12-03 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2004-12-03 19:27 --- Subject: Re: Incorrect reinitialization of compound literal On Dec 3, 2004, at 11:15 AM, pinskia at gcc dot gnu dot org wrote: > > --- Additional Comments From pinskia at gcc dot gnu dot org > 2

[Bug c/18814] Incorrect reinitialization of compound literal

2004-12-03 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2004-12-03 20:22 --- I don't think this is the most natural interpretation. The line p = &((int) {1}); sets p to the address of the literal, and at the point we reach it for the second time the literal itself has bee

[Bug c/19041] New: -fvisibility=hidden causes bad codegen for common symbols

2004-12-16 Thread austern at apple dot com
mbols Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gn

[Bug c++/19044] New: Alternate asm name for atan ignored when calling __builtin_atan

2004-12-16 Thread austern at apple dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin7.6.0 GCC host triplet: powerpc-apple-darwin7.6.0 GCC target triplet: powerpc-apple-darwin7.6.0 http://gcc.gnu.

[Bug c++/19044] Alternate asm name for atan ignored when calling __builtin_atan

2004-12-17 Thread austern at apple dot com
--- Additional Comments From austern at apple dot com 2004-12-18 01:17 --- The code in the C front end that handles this is in finish_decl, in c-decl.c: if (TREE_CODE (decl) == FUNCTION_DECL && asmspec) { if (DECL_BUILT_IN_CLASS (decl) == BUILT_I

[Bug target/18964] New: Typo in visibility warning message

2004-12-13 Thread austern at apple dot com
t;, not "supportedin". -- Summary: Typo in visibility warning message Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org