[Bug tree-optimization/45734] [DR 1116] Devirtualization results in wrong-code

2010-09-21 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-09-21 13:37 --- Not a bug; all these testcases (should) have undefined behavior. I'm working on clarifying the standard to that end. This is related to http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#1116 and on the C

[Bug c++/19816] C++ front-end produces a cast instead of just a.b (empty base class)

2010-09-13 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-09-13 14:57 --- This isn't a bug. We produce a cast here because no field is generated for an empty base class. From class.c: /* We do not create a FIELD_DECL for empty base classes because it might overlap some other field. We

[Bug c++/45657] Wrongly computed exception specification for destructor

2010-09-13 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-09-13 18:35 --- I'm sure this was fixed by my work on implicitly deleted functions, which involved rewriting the calculation of exception specifications for implicitly declared functions. -- jason at gcc dot gnu dot org changed

[Bug c++/43824] C++0x feature inline namespace enabled under -std=c++98; no warnings

2010-09-10 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-09-10 18:29 --- Subject: Bug 43824 Author: jason Date: Fri Sep 10 18:28:59 2010 New Revision: 164201 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164201 Log: PR c++/43824 * error.c (maybe_warn_cpp0x): Add new

[Bug c++/45437] Loses reference during update

2010-09-02 Thread jason at gcc dot gnu dot org
--- Comment #15 from jason at gcc dot gnu dot org 2010-09-02 15:50 --- Indeed, C++0x 5.17p1 is quite clear. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/45501] Compiler does not find template function if member is addressed with this

2010-09-02 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-09-03 01:36 --- prn and this-prn are equivalent. Specifically, the type of *this is the current scope, so although it is a dependent type it is not a dependent scope and .template should not be needed. -- jason at gcc dot gnu

[Bug c++/45481] Exception is erroneously rethrown from a constructor initializer try/catch block

2010-09-01 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-09-02 00:24 --- This is standard-conformant behavior. 15.3/15: The currently handled exception is rethrown if control reaches the end of a handler of the function-try-block of a constructor or destructor. The rationale

[Bug c++/21089] [4.0/4.1 Regression] C++ front-end does not inline the static const double

2010-08-31 Thread jason at gcc dot gnu dot org
--- Comment #28 from jason at gcc dot gnu dot org 2010-08-31 17:26 --- (In reply to comment #18) The optimization question in Comment #11 was answered incorrectly. The C++ standard in fact requires that Y be initialized before the constructor is run; see [basic.start.init]. I

[Bug c++/44991] [4.4/4.5/4.6 Regression] default argument with '' cause compilation error

2010-08-30 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-08-30 13:37 --- Subject: Bug 44991 Author: jason Date: Mon Aug 30 13:37:34 2010 New Revision: 163643 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163643 Log: PR c++/44991 * parser.c

[Bug c++/44991] [4.4/4.5/4.6 Regression] default argument with '' cause compilation error

2010-08-30 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-08-30 13:38 --- Subject: Bug 44991 Author: jason Date: Mon Aug 30 13:38:09 2010 New Revision: 163644 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163644 Log: PR c++/44991 * parser.c

[Bug c++/44991] [4.4/4.5/4.6 Regression] default argument with '' cause compilation error

2010-08-30 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-08-30 13:39 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/44991] [4.4/4.5/4.6 Regression] default argument with '' cause compilation error

2010-08-29 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-08-29 19:24 --- Subject: Bug 44991 Author: jason Date: Sun Aug 29 19:24:37 2010 New Revision: 163629 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163629 Log: PR c++/44991 * parser.c

[Bug c++/44991] [4.4/4.5/4.6 Regression] default argument with '' cause compilation error

2010-08-26 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317

2010-08-23 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-08-23 06:40 --- Subject: Bug 45315 Author: jason Date: Mon Aug 23 06:39:42 2010 New Revision: 163466 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163466 Log: PR c++/45315 * init.c (build_new_1): Don't use

[Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317

2010-08-21 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-08-21 06:27 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-19 Thread jason at gcc dot gnu dot org
--- Comment #13 from jason at gcc dot gnu dot org 2010-08-19 17:01 --- Subject: Bug 45307 Author: jason Date: Thu Aug 19 17:00:51 2010 New Revision: 163380 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163380 Log: PR c++/45307 * gimplify.c

[Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317

2010-08-19 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-08-19 17:01 --- Subject: Bug 45315 Author: jason Date: Thu Aug 19 17:01:01 2010 New Revision: 163381 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163381 Log: PR c++/45315 * init.c (build_new_1): Don't use

[Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317

2010-08-18 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-17 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2010-08-17 17:41 --- But that change was largely reversed by the fix for PR 43787. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-17 Thread jason at gcc dot gnu dot org
--- Comment #11 from jason at gcc dot gnu dot org 2010-08-17 18:09 --- There are two issues here: 1) expand_static_init decides whether a variable needs static initialization before gimplification, and 2) Richard's MEM_REF-related change to cp_gimplify_expr caused us to stop removing

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-17 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2010-08-17 18:18 --- Actually, Richard's change didn't affect this; we were already missing it because of the complex interoperation of cp_gimplify_expr and gimplify_modify_expr_rhs. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug c++/45282] New: wrong decltype result for .*

2010-08-13 Thread jason at gcc dot gnu dot org
: jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45282

[Bug c++/45282] wrong decltype result for .*

2010-08-13 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug c++/45253] [c++0x] make_pair / cannot bind bitfield to unsigned.

2010-08-11 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2010-08-11 13:06 --- This result, while unfortunate, is not a bug; template argument deduction only uses the type and lvalueness of the function argument (unsigned, lvalue) and therefore deduces the type of __x to be unsigned

[Bug c++/45236] [C++0x] unhelpful diagnostic for parameter pack that is not last

2010-08-09 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-08-09 17:34 --- 14.1 paragraph 11 says, If a template-parameter of a class template is a template parameter pack, it shall be the last template-parameter. This isn't quite right: what we really want to require is that if a partial

[Bug c++/45236] [C++0x] unhelpful diagnostic for parameter pack that is not last

2010-08-09 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-08-09 17:36 --- http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#691 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45236

[Bug c++/45236] [C++0x] Can't access nested type of a partial class specialization involving variadic parameters

2010-08-09 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2010-08-09 17:42 --- Wait, no, I was misreading your testcase; it doesn't have a pack expansion as a template argument, so it ought to work. -- jason at gcc dot gnu dot org changed: What|Removed

[Bug c++/45236] [C++0x] Can't access nested type of a partial class specialization involving variadic parameters

2010-08-09 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2010-08-09 21:13 --- Subject: Bug 45236 Author: jason Date: Mon Aug 9 21:13:12 2010 New Revision: 163042 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163042 Log: PR c++/45236 * pt.c (lookup_template_class

[Bug c++/45236] [C++0x] Can't access nested type of a partial class specialization involving variadic parameters

2010-08-09 Thread jason at gcc dot gnu dot org
--- Comment #11 from jason at gcc dot gnu dot org 2010-08-09 21:14 --- Fixed for 4.6. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/45114] New: implement C++0x alias-declaration

2010-07-28 Thread jason at gcc dot gnu dot org
: jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45114

[Bug c++/45114] implement C++0x alias-declaration

2010-07-28 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug c++/45114] implement C++0x alias-declaration

2010-07-28 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2010-07-28 19:13 --- Created an attachment (id=21341) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21341action=view) initial incomplete patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45114

[Bug c++/43016] [C++0x] Inappropriate multiple definition error for lambda function when inside inline functions

2010-07-23 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-07-23 13:51 --- Subject: Bug 43016 Author: jason Date: Fri Jul 23 13:51:12 2010 New Revision: 162458 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162458 Log: PR c++/43016 PR c++/45008 * decl.c

[Bug c++/45008] [4.5 Regression] Template code not expanded properly

2010-07-23 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-07-23 13:51 --- Subject: Bug 45008 Author: jason Date: Fri Jul 23 13:51:12 2010 New Revision: 162458 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162458 Log: PR c++/43016 PR c++/45008 * decl.c

[Bug c++/45008] [4.5 Regression] Template code not expanded properly

2010-07-23 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2010-07-23 13:51 --- Fixed for 4.5.1. Thanks for tracking down the patch that fixed it on the trunk! -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/45008] [4.5 Regression] Template code not expanded properly

2010-07-23 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2010-07-23 13:54 --- Subject: Bug 45008 Author: jason Date: Fri Jul 23 13:54:01 2010 New Revision: 162459 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162459 Log: PR c++/45008 * g++.dg/abi/mangle44.C: New. Added

[Bug libgomp/45025] Memory ordering issues with libgomp critical sections and __sync

2010-07-22 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-07-22 18:41 --- (In reply to comment #3) Is there a plan for more complete C++0x/C1x atomics support? http://gcc.gnu.org/wiki/Atomic -- jason at gcc dot gnu dot org changed: What|Removed

[Bug c++/45008] [4.5 Regression] Template code not expanded properly

2010-07-22 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/44967] [C++0x] decltype of method call dependent on pack expansion crashes

2010-07-20 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/44967] [C++0x] decltype of method call dependent on pack expansion crashes

2010-07-20 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-07-20 17:34 --- Subject: Bug 44967 Author: jason Date: Tue Jul 20 17:34:18 2010 New Revision: 162343 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162343 Log: PR c++/44967 * pt.c (tsubst_copy_and_build

[Bug c++/44967] [C++0x] decltype of method call dependent on pack expansion crashes

2010-07-20 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-07-20 18:23 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/44967] [C++0x] decltype of method call dependent on pack expansion crashes

2010-07-20 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-07-20 18:23 --- Subject: Bug 44967 Author: jason Date: Tue Jul 20 18:22:34 2010 New Revision: 162345 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162345 Log: PR c++/44967 * pt.c (tsubst_copy_and_build

[Bug c++/44969] [C++0x] type_traits std::is_constructible broken for fundamental types.

2010-07-19 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2010-07-19 14:51 --- Subject: Bug 44969 Author: jason Date: Mon Jul 19 14:50:52 2010 New Revision: 162307 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162307 Log: PR c++/44969 * tree.c (cp_tree_equal): Compare

[Bug c++/44996] [C++0x] decltype produces rvalue reference type for parenthesized id-expression

2010-07-19 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/44996] [C++0x] decltype produces rvalue reference type for parenthesized id-expression

2010-07-19 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2010-07-20 01:32 --- Subject: Bug 44996 Author: jason Date: Tue Jul 20 01:31:42 2010 New Revision: 162323 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162323 Log: PR c++/44996 * semantics.c (finish_decltype_type

[Bug c++/44996] [C++0x] decltype produces rvalue reference type for parenthesized id-expression

2010-07-19 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-07-20 03:31 --- Fixed for 4.5.1. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/44996] [C++0x] decltype produces rvalue reference type for parenthesized id-expression

2010-07-19 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-07-20 03:31 --- Subject: Bug 44996 Author: jason Date: Tue Jul 20 03:31:29 2010 New Revision: 162324 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162324 Log: PR c++/44996 * semantics.c (finish_decltype_type

[Bug c++/32505] Partial specialization halfway accepted after instantiation

2010-07-16 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-07-16 16:22 --- Confirmed; no diagnostic is required by the standard, but we really ought to give one anyway. Simpler testcase: template class T struct A { }; Aint* a; template class T struct AT* { }; // { dg-error Aint

[Bug c++/32505] Partial specialization halfway accepted after instantiation

2010-07-16 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)

2010-07-16 Thread jason at gcc dot gnu dot org
--- Comment #19 from jason at gcc dot gnu dot org 2010-07-16 19:21 --- Created an attachment (id=21227) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21227action=view) final __forced_unwind patch and fixes applied in 2007, for historical reference -- http://gcc.gnu.org

[Bug c++/32505] Partial specialization halfway accepted after instantiation

2010-07-16 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-07-16 21:05 --- Subject: Bug 32505 Author: jason Date: Fri Jul 16 21:05:16 2010 New Revision: 162269 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162269 Log: PR c++/32505 * pt.c

[Bug c++/32505] Partial specialization halfway accepted after instantiation

2010-07-16 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-07-17 04:13 --- Fixed for 4.6. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/44909] [C++0x] Copy constructors implicitly deleted

2010-07-15 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-07-15 20:45 --- Subject: Bug 44909 Author: jason Date: Thu Jul 15 20:45:35 2010 New Revision: 162233 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162233 Log: PR c++/44909 * call.c (add_function_candidate

[Bug c++/44810] [4.6 Regression] FAIL: g++.dg/torture/pr36745.C

2010-07-14 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/44810] [4.6 Regression] FAIL: g++.dg/torture/pr36745.C

2010-07-14 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-07-14 17:01 --- Subject: Bug 44810 Author: jason Date: Wed Jul 14 17:01:15 2010 New Revision: 162189 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162189 Log: PR c++/44810 * g++.dg/torture/pr36745.C: Avoid

[Bug c++/44810] [4.6 Regression] FAIL: g++.dg/torture/pr36745.C

2010-07-14 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-07-14 17:02 --- Fixed testcase. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/44810] [4.6 Regression] FAIL: g++.dg/torture/pr36745.C

2010-07-13 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/44810] [4.6 Regression] FAIL: g++.dg/torture/pr36745.C

2010-07-13 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-07-13 21:51 --- I disagree with the analysis. In fact, QMapData::shared_null correctly gets 32-bit DECL_ALIGN once we walk the pending_statics vector in finish_record_layout. But this is irrelevant. The problem

[Bug c++/44909] [C++0x] Copy constructors implicitly deleted

2010-07-13 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2010-07-13 22:24 --- Subject: Bug 44909 Author: jason Date: Tue Jul 13 22:23:49 2010 New Revision: 162159 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162159 Log: PR c++/44909 * cp-tree.h (struct lang_type_class

[Bug c++/44540] [4.6 Regression] ICE: in add_substitution, at cp/mangle.c:386 with -fkeep-inline-functions

2010-07-13 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-07-13 22:23 --- Subject: Bug 44540 Author: jason Date: Tue Jul 13 22:23:38 2010 New Revision: 162158 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162158 Log: PR c++/44540 * mangle.c (write_type): Canonicalize

[Bug c++/44540] [4.6 Regression] ICE: in add_substitution, at cp/mangle.c:386 with -fkeep-inline-functions

2010-07-13 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-07-14 00:00 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/44909] [C++0x] Copy constructors implicitly deleted

2010-07-13 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2010-07-14 00:01 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug c/32511] [4.4/4.5/4.6 regression] GCC rejects inline+weak function

2010-07-12 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2010-07-12 13:46 --- Marking as regression. Weak symbols have multiple uses: allowing replacement is one, but they are also used to allow equivalent definitions in multiple translation units without linker errors. -- jason at gcc dot

[Bug c++/43120] Virtual inheritance with covariant return type confuses GCC

2010-07-09 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2010-07-09 19:36 --- Subject: Bug 43120 Author: jason Date: Fri Jul 9 19:36:19 2010 New Revision: 162008 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162008 Log: PR c++/43120 * cp-tree.h (BV_LOST_PRIMARY): New

[Bug c++/43120] Virtual inheritance with covariant return type confuses GCC

2010-07-09 Thread jason at gcc dot gnu dot org
--- Comment #11 from jason at gcc dot gnu dot org 2010-07-09 19:41 --- Subject: Bug 43120 Author: jason Date: Fri Jul 9 19:40:39 2010 New Revision: 162010 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162010 Log: PR c++/43120 * class.c

[Bug c++/43120] Virtual inheritance with covariant return type confuses GCC

2010-07-09 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2010-07-09 19:46 --- Subject: Bug 43120 Author: jason Date: Fri Jul 9 19:45:53 2010 New Revision: 162011 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162011 Log: PR c++/43120 * class.c

[Bug c++/43120] Virtual inheritance with covariant return type confuses GCC

2010-07-09 Thread jason at gcc dot gnu dot org
--- Comment #13 from jason at gcc dot gnu dot org 2010-07-09 19:50 --- Subject: Bug 43120 Author: jason Date: Fri Jul 9 19:50:25 2010 New Revision: 162013 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162013 Log: Revert PR c++/43120 Removed: branches/gcc-4_5-branch

[Bug c++/43120] Virtual inheritance with covariant return type confuses GCC

2010-07-09 Thread jason at gcc dot gnu dot org
--- Comment #14 from jason at gcc dot gnu dot org 2010-07-09 20:12 --- Fixed for 4.6. This isn't a regression, and the fix changes the ABI (for code that is badly broken without it), so I'm not comfortable applying it to the release branches. I did apply it, but then reverted it again

[Bug c++/44778] [4.6 regression]? Behaviour change with pointers to members

2010-07-09 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-07-09 20:47 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/44703] [C++0x] List initialization fail if parameter is typedef name for the std::initializer_list

2010-07-09 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-07-09 20:47 --- Fixed for 4.5.1. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/44896] Problem with SFINAE and ambiguous base

2010-07-09 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2010-07-09 21:11 --- No, SFINAE should not apply here, because the ambiguous conversion is not in the context of template argument deduction. See PR 41468 for some similar ambiguity issues that I fixed last month. -- http

[Bug c++/44500] [C++0x] Bogus narrowing conversion error

2010-07-09 Thread jason at gcc dot gnu dot org
--- Comment #15 from jason at gcc dot gnu dot org 2010-07-09 21:29 --- I agree that this is a bug, but it's a bug in C++0x, not with GCC, and unfortunately it came up too late for me to include it as a national body comment. I have submitted it as a defect report. -- jason at gcc

[Bug c++/44500] [C++0x] Bogus narrowing conversion error

2010-07-09 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug c++/44500] [C++0x] Bogus narrowing conversion error

2010-07-09 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |SUSPENDED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44500

[Bug c++/43120] Virtual inheritance with covariant return type confuses GCC

2010-07-08 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2010-07-08 14:00 --- Subject: Bug 43120 Author: jason Date: Thu Jul 8 14:00:26 2010 New Revision: 161954 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161954 Log: PR c++/43120 * class.c (update_vtable_entry_for_fn

[Bug c++/44703] [C++0x] List initialization fail if parameter is typedef name for the std::initializer_list

2010-07-08 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2010-07-08 14:09 --- Subject: Bug 44703 Author: jason Date: Thu Jul 8 14:08:36 2010 New Revision: 161955 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161955 Log: PR c++/44703 * call.c (is_std_init_list): Look

[Bug c++/44815] Compiz Core miscompiles with GCC 4.5

2010-07-08 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-07-08 17:05 --- I suspect this is a duplicate of PR c++/44059. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/43120] Virtual inheritence with covariant return type confuses GCC

2010-07-07 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-07-07 13:24 --- That thread does help, thanks. But part of my confusion was that the testcase you added with that patch (abi/covariant1) didn't actually seem to test the bug. When I add a definition of c14::f17, the test starts

[Bug c++/44778] [4.6 regression]? Behaviour change with pointers to members

2010-07-06 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-07-06 19:23 --- Subject: Bug 44778 Author: jason Date: Tue Jul 6 19:22:49 2010 New Revision: 161879 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161879 Log: PR c++/44778 * init.c (build_offset_ref): If scope

[Bug c++/44703] [C++0x] List initialization fail if parameter is typedef name for the std::initializer_list

2010-07-06 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2010-07-06 19:23 --- Subject: Bug 44703 Author: jason Date: Tue Jul 6 19:23:01 2010 New Revision: 161880 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161880 Log: PR c++/44703 * call.c (is_std_init_list): Look

[Bug c++/44703] [C++0x] List initialization fail if parameter is typedef name for the std::initializer_list

2010-07-04 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/43120] Virtual inheritence with covariant return type confuses GCC

2010-07-02 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-07-02 21:12 --- This seems to have been broken by 2003-01-27 Nathan Sidwell nat...@codesourcery.com * class.c (update_vtable_entry_for_fn): Add index parameter. Generate vcall thunk for covariant overriding from

[Bug c++/44778] [4.6 regression]? Behaviour change with pointers to members

2010-07-02 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c/32511] GCC inlines weak function

2010-07-01 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2010-07-01 19:28 --- I think this change is wrong; weak definitions are also used to allow definitions in multiple translation units without linker errors. C++ inlines are emitted as weak symbols, and it seems rather odd to prohibit in C

[Bug c++/43120] Virtual inheritence with covariant return type confuses GCC

2010-07-01 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/44039] [4.5/4.6 regression] ICE: Segmentation fault on error recovery

2010-06-30 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2010-06-30 18:27 --- That patch is OK, it's reasonable for lookup_fnfields to return NULL. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44039

[Bug c++/44039] [4.5/4.6 regression] ICE: Segmentation fault on error recovery

2010-06-30 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2010-06-30 18:28 --- *** Bug 44040 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44039

[Bug c++/44040] [4.5/4.6 Regression] ICE: cc1plus segmentation fault

2010-06-30 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-06-30 18:28 --- *** This bug has been marked as a duplicate of 44039 *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/35167] Problem with non-type template parameter and name lookup in template.

2010-06-29 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-06-29 17:32 --- Reopening, this is a bug. The address of a static member function is a valid address constant expression: it's a pointer to a function, in this case created implicitly. -- jason at gcc dot gnu dot org changed

[Bug c++/35167] Problem with non-type template parameter and name lookup in template.

2010-06-29 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug c++/35167] problem with function address constant non-type template parameter in template

2010-06-29 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-06-29 17:34 --- tweaking summary a bit. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41544] unqualified member function reference is or not valid in constant expression depending on class being a template or not

2010-06-29 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-06-29 17:34 --- Dupe of 35167, which I have now reopened. *** This bug has been marked as a duplicate of 35167 *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/35167] problem with function address constant non-type template parameter in template

2010-06-29 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-06-29 17:34 --- *** Bug 41544 has been marked as a duplicate of this bug. *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl

2010-06-29 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-06-29 19:29 --- Subject: Bug 44587 Author: jason Date: Tue Jun 29 19:29:02 2010 New Revision: 161559 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161559 Log: PR c++/44587 * pt.c (has_value_dependent_address

[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl

2010-06-29 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-06-29 19:30 --- Subject: Bug 44587 Author: jason Date: Tue Jun 29 19:29:58 2010 New Revision: 161561 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161561 Log: PR c++/44587 * pt.c (has_value_dependent_address

[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl

2010-06-29 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-06-29 19:30 --- Subject: Bug 44587 Author: jason Date: Tue Jun 29 19:30:29 2010 New Revision: 161562 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161562 Log: PR c++/44587 * pt.c (has_value_dependent_address

[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl

2010-06-29 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-06-29 19:31 --- Fixed for 4.4.5. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/44540] [4.6 Regression] ICE: in add_substitution, at cp/mangle.c:386 with -fkeep-inline-functions

2010-06-29 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl

2010-06-28 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/44366] [C++0x] g++ crashes when declaring a lambda expression using a typedef'd decltype.

2010-06-09 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2010-06-09 15:12 --- Subject: Bug 44366 Author: jason Date: Wed Jun 9 15:11:42 2010 New Revision: 160483 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=160483 Log: PR c++/44366 * g++.dg/cpp0x/decltype23.C: Move

  1   2   3   4   5   6   7   8   9   10   >