[Bug c++/27689] New: [4.0/4.2 regression] function template incorrectly selected as candidate

2006-05-20 Thread gcc-bugzilla at contacts dot eelis dot net
Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27689

[Bug c++/27689] [4.1/4.2 regression] function template incorrectly selected as candidate

2006-05-20 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #2 from gcc-bugzilla at contacts dot eelis dot net 2006-05-20 21:32 --- But for what F and T would FT match fooint::bar ? In looking for workarounds I found that the same problem occurs when using partial specialization: template typename struct S {}; template

[Bug libstdc++/31518] New: _GLIBCXX_DEBUG error message formatter line width not configurable

2007-04-09 Thread gcc-bugzilla at contacts dot eelis dot net
at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31518

[Bug c++/33045] New: [c++0x] Incorrect decltype result for function calls.

2007-08-10 Thread gcc-bugzilla at contacts dot eelis dot net
Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33045

[Bug c++/33067] New: Awkward long decimal expansion for double literal in error.

2007-08-14 Thread gcc-bugzilla at contacts dot eelis dot net
Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net GCC host triplet: x86_64-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33067

[Bug c++/33067] Awkward long decimal expansion for double literal in error.

2007-08-14 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #2 from gcc-bugzilla at contacts dot eelis dot net 2007-08-14 17:19 --- I know that, but that's irrelevant from a user interface perspective. The fact remains that the error message is needlessly messy and would be far clearer and less surprising to the user if it said 1.1

[Bug c++/34365] New: Diagnostic mistakenly characterizes function as being overloaded

2007-12-06 Thread gcc-bugzilla at contacts dot eelis dot net
as being overloaded Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot

[Bug libstdc++/34524] New: Use of invalidated std::string iterators not caught in debug mode

2007-12-18 Thread gcc-bugzilla at contacts dot eelis dot net
Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34524

[Bug libstdc++/34524] Use of invalidated std::string iterators not caught in debug mode

2007-12-18 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #2 from gcc-bugzilla at contacts dot eelis dot net 2007-12-18 20:16 --- My apologies. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34524

[Bug c++/35153] New: Taking address of result of calling function returning rvalue reference should not compile.

2008-02-10 Thread gcc-bugzilla at contacts dot eelis dot net
: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35153

[Bug c++/33952] New: -Wfatal-errors truncates multi-line error messages.

2007-10-30 Thread gcc-bugzilla at contacts dot eelis dot net
. Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org

[Bug c++/33952] -Wfatal-errors truncates multi-line error messages.

2007-10-30 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #2 from gcc-bugzilla at contacts dot eelis dot net 2007-10-31 00:44 --- Then perhaps I ought to explain what I'm using -Wfatal-errors for. I wrote an IRC bot called geordi ( http://www.eelis.net/geordi ) that accepts lines of C++ code, compiles them with g++, and either

[Bug libstdc++/11196] parse error before numeric constant M_PI is defined in C++

2007-11-13 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #7 from gcc-bugzilla at contacts dot eelis dot net 2007-11-13 18:42 --- (In reply to comment #6) The bug is that the C++ front end implicitly #defines _GNU_SOURCE. [..] Could some libstdc++ guru explain why this define is actually needed? I am no libstdc++ guru

[Bug c++/21534] Declaration in wrong namespace not rejected

2009-12-22 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #2 from gcc-bugzilla at contacts dot eelis dot net 2009-12-22 15:18 --- Here's a related snippet that should be rejected but isn't: namespace NS { class x; } int NS::x; -- gcc-bugzilla at contacts dot eelis dot net changed: What|Removed

[Bug c++/42490] New: using-directive in namespace doesn't work properly

2009-12-24 Thread gcc-bugzilla at contacts dot eelis dot net
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42490

[Bug c++/37875] New: [c++0x] misinterpreted closing angle bracket in decltype operand

2008-10-20 Thread gcc-bugzilla at contacts dot eelis dot net
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37875

[Bug c++/38020] New: Undiagnosed const violation in pointer conversion in CRTP context.

2008-11-05 Thread gcc-bugzilla at contacts dot eelis dot net
. Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla

[Bug c++/35650] New: Can't bind ref-to-function through using-decl. in namespace

2008-03-20 Thread gcc-bugzilla at contacts dot eelis dot net
Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35650

[Bug c++/35678] New: partial template specialization ICE in dependent_type_p, at cp/pt.c:15539

2008-03-24 Thread gcc-bugzilla at contacts dot eelis dot net
org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35678

[Bug c++/35784] New: Bogus inaccessibility error on variadic partial template specialization.

2008-03-31 Thread gcc-bugzilla at contacts dot eelis dot net
specialization. Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org

[Bug c++/5786] array types decay too quickly

2008-04-13 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #7 from gcc-bugzilla at contacts dot eelis dot net 2008-04-13 21:19 --- Still fails on GCC 4.4.0 20080413 (experimental). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5786

[Bug c++/35966] New: array-subscript-above-bounds warning disappears when unrelated constructor definition is added

2008-04-17 Thread gcc-bugzilla at contacts dot eelis dot net
: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35966

[Bug c++/35975] New: Invalid argumentless functional explicit type conversion to reference type not rejected

2008-04-18 Thread gcc-bugzilla at contacts dot eelis dot net
not rejected Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org

[Bug c++/36002] New: Error messages report wrong, invalid function type.

2008-04-21 Thread gcc-bugzilla at contacts dot eelis dot net
function type. Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http

[Bug libstdc++/36032] New: -fno-exceptions breaks simple if-statement.

2008-04-23 Thread gcc-bugzilla at contacts dot eelis dot net
if-statement. Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http

[Bug libstdc++/41037] New: dec not set in cerr flags

2009-08-11 Thread gcc-bugzilla at contacts dot eelis dot net
Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41037

[Bug c++/36655] New: unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-27 Thread gcc-bugzilla at contacts dot eelis dot net
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36655

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-29 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #4 from gcc-bugzilla at contacts dot eelis dot net 2008-06-29 12:53 --- (In reply to comment #3) Fixed for 4.4.0. Thanks! However, I just noticed that while the problem has been fixed for function templates, it's still there for class templates. This code: template

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-29 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #5 from gcc-bugzilla at contacts dot eelis dot net 2008-06-29 12:54 --- Crap, pasted the wrong code. Here's the code that now triggers the warning: template typename class S {}; extern template class Sint; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36655

[Bug c++/36744] New: function modifying argument received by-value affects caller's variable when passed as rvalue

2008-07-06 Thread gcc-bugzilla at contacts dot eelis dot net
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36744

[Bug c++/36744] function modifying argument received by-value affects caller's variable when passed as rvalue

2008-07-06 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #1 from gcc-bugzilla at contacts dot eelis dot net 2008-07-06 14:48 --- Forgot to mention: compile with -std=c++0x. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36744

[Bug c++/36760] New: Simple std::bind use causes warnings with -Wextra

2008-07-07 Thread gcc-bugzilla at contacts dot eelis dot net
ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36760

[Bug c++/36778] New: [feature request] -Wfatal-warnings

2008-07-09 Thread gcc-bugzilla at contacts dot eelis dot net
Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36778

[Bug c++/36943] New: Use of nested C++0x initializer list for non-aggregate rejected

2008-07-25 Thread gcc-bugzilla at contacts dot eelis dot net
-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36943

[Bug c++/37047] New: Missing warning for deprecated use of static

2008-08-07 Thread gcc-bugzilla at contacts dot eelis dot net
dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37047

[Bug c++/37119] New: sizeof simple struct consisting of bit-fields too large and unpredictable

2008-08-13 Thread gcc-bugzilla at contacts dot eelis dot net
++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net GCC host triplet: x86_64-pc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37119

[Bug c++/37119] sizeof simple struct consisting of bit-fields too large and unpredictable

2008-08-13 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #2 from gcc-bugzilla at contacts dot eelis dot net 2008-08-13 21:39 --- (In reply to comment #1) so 26bits which is a little over 4 bytes. I don't follow. 4 bytes is 4*8=32 bits, which is more than 26, no? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37119

[Bug c++/37119] sizeof simple struct consisting of bit-fields too large and unpredictable

2008-08-13 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #9 from gcc-bugzilla at contacts dot eelis dot net 2008-08-13 22:24 --- Ok, I see. Sorry for wasting your time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37119

[Bug c++/36734] Incorrect access to tyedef in base of template class.

2008-08-21 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #1 from gcc-bugzilla at contacts dot eelis dot net 2008-08-21 11:35 --- It seems access control for templates is broken at a more basic level than the reporter's testcase suggests; witness the following simplified testcase: class A { typedef int X; }; template typename

[Bug c++/36430] Cannot convert a temporary to a non-const reference even with conversion operator

2008-08-21 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #1 from gcc-bugzilla at contacts dot eelis dot net 2008-08-21 11:43 --- This report is invalid. By 12.3.2, A conversion function is never used to convert a (possibly cv-qualified) object to the (possibly cv-qualified) same object type (or a reference to it). Comeau

[Bug c++/36734] Incorrect access to tyedef in base of template class.

2008-08-21 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #2 from gcc-bugzilla at contacts dot eelis dot net 2008-08-21 11:53 --- Most likely related to bug 26693. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36734

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2008-08-21 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #1 from gcc-bugzilla at contacts dot eelis dot net 2008-08-21 12:00 --- Still accepted by 4.4. Comeau concurs with reporter, and rejects saying: line 15: error: class member designated by a using-declaration must be visible in a direct base class -- gcc-bugzilla

[Bug c++/34121] wrong this pointer passed to constructor of temporary object

2008-08-21 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #4 from gcc-bugzilla at contacts dot eelis dot net 2008-08-21 12:51 --- Isolated and reproduced with GCC 4.4 on x86_64: #include iostream #include stdint.h struct A { uint64_t p; char m_ac[18]; A() { std::cout default constructed at this '\n

[Bug c++/37204] New: reinterpret_castT(v) incorrectly yields an lvalue

2008-08-22 Thread gcc-bugzilla at contacts dot eelis dot net
Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37204

[Bug c++/37206] New: [c++0x] Spurious copy/move requirement for initialization of rvalue reference variable from rvalue initializer.

2008-08-22 Thread gcc-bugzilla at contacts dot eelis dot net
: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37206

[Bug c++/37047] Missing warning for deprecated use of static

2008-08-22 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #4 from gcc-bugzilla at contacts dot eelis dot net 2008-08-23 02:58 --- (In reply to comment #3) Where is the namespace scope in the example? From the standard, 3.3.5p3: The outermost declarative region of a translation unit is also a namespace, called the global

[Bug libstdc++/44190] New: Debug vector resize does not update capacity

2010-05-18 Thread gcc-bugzilla at contacts dot eelis dot net
vector resize does not update capacity Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts

[Bug libstdc++/44190] Debug vector resize does not update capacity

2010-05-18 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #1 from gcc-bugzilla at contacts dot eelis dot net 2010-05-18 21:45 --- Created an attachment (id=20695) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20695action=view) Trivial patch that fixes the problem. The problem was just a missing call

[Bug libstdc++/44190] Debug vector resize does not update capacity

2010-05-18 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #3 from gcc-bugzilla at contacts dot eelis dot net 2010-05-18 23:38 --- (In reply to comment #2) I'm going to apply the patch Great, thanks! :) could you please provide name and family name for the ChangeLog entry? It's Eelis van der Weegen -- http://gcc.gnu.org

[Bug c++/16630] missing type name in __PRETTY_FUNCTION__

2010-06-05 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #6 from gcc-bugzilla at contacts dot eelis dot net 2010-06-05 20:12 --- Looks fixed in 4.4.1. -- gcc-bugzilla at contacts dot eelis dot net changed: What|Removed |Added