[Bug c++/56543] [4.7/4.8 Regression] ICE on valid code in copy_node_stat

2013-03-06 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56543 --- Comment #6 from Jason Merrill 2013-03-06 14:28:15 UTC --- (In reply to comment #5) > -if (TREE_CODE (fullname) == TEMPLATE_ID_EXPR) > +if (TREE_CODE (fullname) == TEMPLATE_ID_EXPR > +&& TREE_OPERAND (fullna

[Bug debug/53363] g++.dg/debug/dwarf2/thunk1.C FAILs

2013-03-06 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53363 --- Comment #18 from Jason Merrill 2013-03-06 15:34:19 UTC --- Author: jason Date: Wed Mar 6 15:34:11 2013 New Revision: 196493 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196493 Log: PR debug/53363 * g++.dg/debug/

[Bug c++/56567] [4.8 Regression] ICE with lambda return type deduction and braced-init-list

2013-03-08 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56567 --- Comment #2 from Jason Merrill 2013-03-08 15:55:28 UTC --- Author: jason Date: Fri Mar 8 15:55:18 2013 New Revision: 196548 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196548 Log: PR c++/56567 * semantics.c (app

[Bug c++/56222] Pointer to member in lambda should not require this to be captured

2013-03-08 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56222 --- Comment #5 from Jason Merrill 2013-03-08 16:03:57 UTC --- Author: jason Date: Fri Mar 8 16:03:48 2013 New Revision: 196549 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196549 Log: PR c++/51494 PR c++/51884

[Bug c++/51494] Legal program rejection - capturing "this" when using static method inside lambda

2013-03-08 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51494 --- Comment #9 from Jason Merrill 2013-03-08 16:03:57 UTC --- Author: jason Date: Fri Mar 8 16:03:48 2013 New Revision: 196549 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196549 Log: PR c++/51494 PR c++/51884

[Bug c++/51884] [C++11] ICE with local class/lambda template argument

2013-03-08 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51884 --- Comment #8 from Jason Merrill 2013-03-08 16:03:57 UTC --- Author: jason Date: Fri Mar 8 16:03:48 2013 New Revision: 196549 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196549 Log: PR c++/51494 PR c++/51884

[Bug c++/51884] [C++11] ICE with local class/lambda template argument

2013-03-08 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51884 --- Comment #9 from Jason Merrill 2013-03-08 16:04:30 UTC --- Author: jason Date: Fri Mar 8 16:04:15 2013 New Revision: 196551 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196551 Log: PR c++/51884 * class.c (modify_

[Bug c++/51884] [C++11] ICE with local class/lambda template argument

2013-03-08 Thread jason at gcc dot gnu.org
||FIXED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.8.0 --- Comment #10 from Jason Merrill 2013-03-08 16:09:09 UTC --- Fixed for 4.8.

[Bug c++/56222] Pointer to member in lambda should not require this to be captured

2013-03-08 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56222 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/52183] [C++0x] Redeclaration of __this in lambda inside template member function when calling static class function

2013-03-08 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52183 --- Comment #2 from Jason Merrill 2013-03-08 16:10:24 UTC --- Author: jason Date: Fri Mar 8 16:10:19 2013 New Revision: 196552 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196552 Log: PR c++/52183 Correct PR tag.

[Bug c++/51494] Legal program rejection - capturing "this" when using static method inside lambda

2013-03-08 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51494 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/52183] [C++0x] Redeclaration of __this in lambda inside template member function when calling static class function

2013-03-08 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52183 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/56567] [4.8 Regression] ICE with lambda return type deduction and braced-init-list

2013-03-08 Thread jason at gcc dot gnu.org
||FIXED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | --- Comment #3 from Jason Merrill 2013-03-08 16:13:53 UTC --- Fixed.

[Bug c++/54359] [C++0x] decltype in member function's trailing return type when defined outside of class

2013-03-10 Thread jason at gcc dot gnu.org
||2013-03-11 CC||jason at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1

[Bug c++/56567] [4.8 Regression] ICE with lambda return type deduction and braced-init-list

2013-03-10 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56567 --- Comment #5 from Jason Merrill 2013-03-11 03:21:52 UTC --- (In reply to comment #4) > It's certainly legal to compile a function returning an std::initializer list, > which is never called. So this fix is problematic. For example > >

[Bug c++/56567] [4.8 Regression] ICE with lambda return type deduction and braced-init-list

2013-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56567 --- Comment #6 from Jason Merrill 2013-03-11 16:22:28 UTC --- Author: jason Date: Mon Mar 11 16:22:16 2013 New Revision: 196600 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196600 Log: PR c++/56567 * typeck.c (check_

[Bug c++/56346] FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 (test for excess errors)

2013-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56346 --- Comment #4 from Jason Merrill 2013-03-11 16:33:18 UTC --- Created attachment 29638 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29638 tentative patch __cxa_thread_atexit is in libstdc++; the default implementation doesn't do

[Bug c++/56039] ICE in iterative_hash_template_arg, at cp/pt.c:1606

2013-03-11 Thread jason at gcc dot gnu.org
Status|UNCONFIRMED |NEW Last reconfirmed||2013-03-11 CC||jason at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org

[Bug libstdc++/54314] [4.8 Regression] undefined references to 'construction vtable for std::ostream-in-std::basic_ostringstream, std::allocator >'

2013-03-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54314 --- Comment #36 from Jason Merrill 2013-03-12 13:05:52 UTC --- (In reply to comment #35) > I am still bit confused how keyed construction vtables are supposed to work. > If I understand it right, and there is no C++ ABI mangling for those

[Bug libstdc++/54314] [4.8 Regression] undefined references to 'construction vtable for std::ostream-in-std::basic_ostringstream, std::allocator >'

2013-03-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54314 --- Comment #38 from Jason Merrill 2013-03-12 14:03:05 UTC --- (In reply to comment #37) > I assumed it to be public... So I suppose there is no way to write > constructor > of fstream that would not be linked into libstdc++.so but that

[Bug c++/54764] In class initialization of non-static lambda member can't be used in class with default template paramer

2013-03-12 Thread jason at gcc dot gnu.org
||jason at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org |

[Bug c++/55972] cannot access private member from lambda used in NSDMI

2013-03-12 Thread jason at gcc dot gnu.org
||jason at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org |

[Bug c++/52374] [C++11] Fails to transform id-expression into dependent base member access in lambda expression

2013-03-12 Thread jason at gcc dot gnu.org
||jason at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org |

[Bug c++/55532] Runtime segfault calling mutable lambda wrapped in a non-mutable lambda within a template function

2013-03-12 Thread jason at gcc dot gnu.org
||jason at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org |

[Bug c++/56607] [4.8 regression] GCC fails to warn on division by zero

2013-03-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56607 --- Comment #3 from Jason Merrill 2013-03-13 14:18:34 UTC --- The patch is OK for 4.8.1.

[Bug c++/56346] FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 (test for excess errors)

2013-03-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56346 Jason Merrill changed: What|Removed |Added Attachment #29638|0 |1 is obsolete|

[Bug c++/56346] FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 (test for excess errors)

2013-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56346 --- Comment #8 from Jason Merrill 2013-03-14 13:08:42 UTC --- Author: jason Date: Thu Mar 14 13:08:36 2013 New Revision: 196657 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196657 Log: PR c++/56346 * decl.c (register

[Bug c++/56614] [4.7/4.8 Regression] error: default argument 'std::vector(std::initializer_list{((const E*)(& ._0)), 1u}, (*(const std::allocator*)(& std::allocator())))' uses local variab

2013-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56614 --- Comment #5 from Jason Merrill 2013-03-14 13:09:20 UTC --- Author: jason Date: Thu Mar 14 13:09:11 2013 New Revision: 196658 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196658 Log: PR c++/56614 * decl.c (local_va

[Bug c++/56403] [4.6/4.7 Regression] internal compiler error: in build_zero_init_1, at cp/init.c:279

2013-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56403 --- Comment #13 from Jason Merrill 2013-03-14 16:11:56 UTC --- Author: jason Date: Thu Mar 14 16:11:37 2013 New Revision: 196660 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196660 Log: PR c++/56403 * init.c (build_z

[Bug c++/56403] [4.6/4.7 Regression] internal compiler error: in build_zero_init_1, at cp/init.c:279

2013-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56403 --- Comment #14 from Jason Merrill 2013-03-14 16:12:58 UTC --- Author: jason Date: Thu Mar 14 16:12:37 2013 New Revision: 196661 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196661 Log: PR c++/56403 * init.c (build_z

[Bug c++/56403] [4.6/4.7 Regression] internal compiler error: in build_zero_init_1, at cp/init.c:279

2013-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56403 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/56614] [4.7/4.8 Regression] error: default argument 'std::vector(std::initializer_list{((const E*)(& ._0)), 1u}, (*(const std::allocator*)(& std::allocator())))' uses local variab

2013-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56614 --- Comment #6 from Jason Merrill 2013-03-14 17:35:03 UTC --- Author: jason Date: Thu Mar 14 17:34:55 2013 New Revision: 196662 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196662 Log: PR c++/56614 * decl.c (local_va

[Bug c++/56614] [4.7/4.8 Regression] error: default argument 'std::vector(std::initializer_list{((const E*)(& ._0)), 1u}, (*(const std::allocator*)(& std::allocator())))' uses local variab

2013-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56614 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/56346] FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 (test for excess errors)

2013-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56346 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/45917] inaccessible types allowed as template argument in nested-name-specifier

2013-03-14 Thread jason at gcc dot gnu.org
||jason at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org |

[Bug c++/45917] inaccessible types allowed as template argument in nested-name-specifier

2013-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45917 --- Comment #3 from Jason Merrill 2013-03-14 21:40:38 UTC --- Created attachment 29671 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29671 patch Simple fix, waiting for 4.8 to branch.

[Bug c++/11764] [DR147] g++ does not treat injected class name correctly.

2013-03-15 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764 --- Comment #25 from Jason Merrill 2013-03-15 13:36:11 UTC --- (In reply to comment #24) > OK, I read some explanations in the duplicates but still don't know why this > should be valid code. That is a question for the standards committ

[Bug c++/56095] [4.6/4.7 Regression] Crash casting function pointer as non-type template argument

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56095 --- Comment #10 from Jason Merrill 2013-03-17 02:33:46 UTC --- Author: jason Date: Sun Mar 17 02:33:38 2013 New Revision: 196722 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196722 Log: PR c++/56095 * class.c (resolv

[Bug debug/49090] provide a way to recognize defaulted template parameters

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49090 --- Comment #11 from Jason Merrill 2013-03-17 02:33:59 UTC --- Author: jason Date: Sun Mar 17 02:33:50 2013 New Revision: 196723 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196723 Log: PR debug/49090 * dwarf2out.c (

[Bug c++/56238] [4.7 regression] ICE in tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_conversions, at cp/search.c:2515

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56238 --- Comment #5 from Jason Merrill 2013-03-17 02:34:17 UTC --- Author: jason Date: Sun Mar 17 02:34:03 2013 New Revision: 196724 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196724 Log: PR c++/56238 * pt.c (fold_non_d

[Bug c++/55241] [C++11] diagnostics show sizeof...(T) as sizeof(T...)

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55241 --- Comment #2 from Jason Merrill 2013-03-17 02:34:45 UTC --- Author: jason Date: Sun Mar 17 02:34:31 2013 New Revision: 196726 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196726 Log: PR c++/55241 * error.c (dump_ex

[Bug c++/55240] [c++0x] ICE on non-static data member initialization using 'auto' variable from containing function

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55240 --- Comment #3 from Jason Merrill 2013-03-17 02:35:01 UTC --- Author: jason Date: Sun Mar 17 02:34:45 2013 New Revision: 196727 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196727 Log: PR c++/55240 * parser.c (parsin

[Bug c++/55017] [DR 1051] [C++11] Rvalue-reference member should cause copy constructor to be deleted, but still declared

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55017 --- Comment #5 from Jason Merrill 2013-03-17 02:35:18 UTC --- Author: jason Date: Sun Mar 17 02:35:01 2013 New Revision: 196728 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196728 Log: PR c++/55017 * method.c (walk_f

[Bug c++/56447] [C++11] Lambda in template has conversion op it shouldn't have

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56447 --- Comment #2 from Jason Merrill 2013-03-17 02:35:34 UTC --- Author: jason Date: Sun Mar 17 02:35:18 2013 New Revision: 196729 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196729 Log: PR c++/56447 PR c++/55532

[Bug c++/55532] Runtime segfault calling mutable lambda wrapped in a non-mutable lambda within a template function

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55532 --- Comment #3 from Jason Merrill 2013-03-17 02:35:35 UTC --- Author: jason Date: Sun Mar 17 02:35:18 2013 New Revision: 196729 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196729 Log: PR c++/56447 PR c++/55532

[Bug c++/54946] ICE on template parameter from cast char-pointer in C++11 constexpr struct

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54946 --- Comment #3 from Jason Merrill 2013-03-17 02:36:09 UTC --- Author: jason Date: Sun Mar 17 02:35:50 2013 New Revision: 196731 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196731 Log: PR c++/54946 * pt.c (convert_no

[Bug c++/54835] [C++11][DR 1518] Explicit default constructors not respected during copy-list-initialization

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54835 --- Comment #5 from Jason Merrill 2013-03-17 02:36:25 UTC --- Author: jason Date: Sun Mar 17 02:36:08 2013 New Revision: 196732 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196732 Log: DR 1518 PR c++/54835 * cal

[Bug c++/17232] classes and class template specializations treated differently w.r.t. core issue #337

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17232 --- Comment #18 from Jason Merrill 2013-03-17 02:36:54 UTC --- Author: jason Date: Sun Mar 17 02:36:40 2013 New Revision: 196734 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196734 Log: DR 337 PR c++/17232 * pt.

[Bug c++/52748] [C++11] N3276 changes to decltype

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52748 --- Comment #5 from Jason Merrill 2013-03-17 02:37:21 UTC --- Author: jason Date: Sun Mar 17 02:37:09 2013 New Revision: 196736 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196736 Log: N3276 PR c++/52748 * cp-tr

[Bug c++/56481] [4.8 Regression] endless loop compiling a C++ file

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56481 --- Comment #6 from Jason Merrill 2013-03-17 02:37:34 UTC --- Author: jason Date: Sun Mar 17 02:37:21 2013 New Revision: 196737 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196737 Log: PR c++/56481 * semantics.c (pot

[Bug c++/55357] -Wshadow warns about lambda function parameters matching variables in outer scope

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55357 --- Comment #2 from Jason Merrill 2013-03-17 02:38:16 UTC --- Author: jason Date: Sun Mar 17 02:38:01 2013 New Revision: 196739 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196739 Log: PR c++/55357 * semantics.c (may

[Bug c++/54359] [C++0x] decltype in member function's trailing return type when defined outside of class

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54359 --- Comment #4 from Jason Merrill 2013-03-17 02:38:34 UTC --- Author: jason Date: Sun Mar 17 02:38:21 2013 New Revision: 196740 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196740 Log: PR c++/54359 * parser.c (cp_par

[Bug c++/56039] ICE in iterative_hash_template_arg, at cp/pt.c:1606

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56039 --- Comment #10 from Jason Merrill 2013-03-17 02:38:49 UTC --- Author: jason Date: Sun Mar 17 02:38:35 2013 New Revision: 196741 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196741 Log: PR c++/56039 * tree.c (strip_t

[Bug c++/54764] In class initialization of non-static lambda member can't be used in class with default template paramer

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54764 --- Comment #3 from Jason Merrill 2013-03-17 02:39:05 UTC --- Author: jason Date: Sun Mar 17 02:38:50 2013 New Revision: 196742 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196742 Log: PR c++/54764 PR c++/55972

[Bug c++/55972] cannot access private member from lambda used in NSDMI

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55972 --- Comment #1 from Jason Merrill 2013-03-17 02:39:03 UTC --- Author: jason Date: Sun Mar 17 02:38:50 2013 New Revision: 196742 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196742 Log: PR c++/54764 PR c++/55972

[Bug c++/52374] [C++11] Fails to transform id-expression into dependent base member access in lambda expression

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52374 --- Comment #1 from Jason Merrill 2013-03-17 02:39:18 UTC --- Author: jason Date: Sun Mar 17 02:39:04 2013 New Revision: 196743 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196743 Log: PR c++/52374 * pt.c (tsubst_qua

[Bug c++/45917] inaccessible types allowed as template argument in nested-name-specifier

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45917 --- Comment #4 from Jason Merrill 2013-03-17 02:39:39 UTC --- Author: jason Date: Sun Mar 17 02:39:22 2013 New Revision: 196744 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196744 Log: PR c++/45917 * parser.c (cp_par

[Bug c++/55931] [C++11] Constexpr member function inside a static member is not working

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55931 --- Comment #7 from Jason Merrill 2013-03-17 02:40:06 UTC --- Author: jason Date: Sun Mar 17 02:39:51 2013 New Revision: 196746 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196746 Log: PR c++/55931 * parser.c (cp_par

[Bug c++/54277] Template class member referred to with implicit this inside lambda is incorrectly const-qualified

2013-03-16 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54277 --- Comment #5 from Jason Merrill 2013-03-17 02:41:35 UTC --- Author: jason Date: Sun Mar 17 02:41:22 2013 New Revision: 196747 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196747 Log: PR c++/54277 * cp-tree.h (WILDC

[Bug c++/56641] [4.7/4.8 regression] Bogus warning: 'A' has a field 'A::e' whose type uses the anonymous namespace

2013-03-17 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56641 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/56642] ice in backtrace_dwarf_add

2013-03-17 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56642 --- Comment #2 from Jason Merrill 2013-03-17 20:32:24 UTC --- Author: jason Date: Sun Mar 17 20:32:17 2013 New Revision: 196758 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196758 Log: PR c++/17232 PR c++/56642

[Bug c++/17232] classes and class template specializations treated differently w.r.t. core issue #337

2013-03-17 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17232 --- Comment #19 from Jason Merrill 2013-03-17 20:32:24 UTC --- Author: jason Date: Sun Mar 17 20:32:17 2013 New Revision: 196758 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196758 Log: PR c++/17232 PR c++/56642

[Bug c++/56639] ice in cp_parser_late_return_type_opt

2013-03-17 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56639 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/54359] [C++0x] decltype in member function's trailing return type when defined outside of class

2013-03-17 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54359 --- Comment #5 from Jason Merrill 2013-03-18 03:41:18 UTC --- Author: jason Date: Mon Mar 18 03:41:10 2013 New Revision: 196765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196765 Log: PR c++/54359 PR c++/56639

[Bug c++/56639] ice in cp_parser_late_return_type_opt

2013-03-17 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56639 --- Comment #3 from Jason Merrill 2013-03-18 03:41:19 UTC --- Author: jason Date: Mon Mar 18 03:41:10 2013 New Revision: 196765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196765 Log: PR c++/54359 PR c++/56639

[Bug c++/56222] Pointer to member in lambda should not require this to be captured

2013-03-17 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56222 --- Comment #8 from Jason Merrill 2013-03-18 03:51:11 UTC --- Now that 4.8.0 is about to be released, I'm reluctant to backport non-regression C++11 fixes to 4.7.

[Bug c++/56684] [4.9 Regression] [C++0x] ICE: unexpected expression 'T' of kind template_parm_index

2013-03-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56684 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug lto/53808] Undefined symbol when building a library with lto

2013-03-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #2 from Jason Merrill 2013-03-23 00:36:48 UTC --- Created attachment 29709 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29709 partial (front end) patch This patch causes the destructor to be created and marked as COMD

[Bug c++/54764] In class initialization of non-static lambda member can't be used in class with default template paramer

2013-03-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54764 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/54835] [C++11][DR 1518] Explicit default constructors not respected during copy-list-initialization

2013-03-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54835 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/54835] [C++11][DR 1518] Explicit default constructors not respected during copy-list-initialization

2013-03-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54835 Jason Merrill changed: What|Removed |Added Target Milestone|--- |4.9.0 --- Comment #7 from Jason

[Bug c++/54277] [4.7/4.8 regression] Template class member referred to with implicit this inside lambda is incorrectly const-qualified

2013-03-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54277 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/17232] classes and class template specializations treated differently w.r.t. core issue #337

2013-03-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17232 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/56447] [C++11] Lambda in template has conversion op it shouldn't have

2013-03-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56447 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/55972] cannot access private member from lambda used in NSDMI

2013-03-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55972 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/55532] Runtime segfault calling mutable lambda wrapped in a non-mutable lambda within a template function

2013-03-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55532 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/55357] -Wshadow warns about lambda function parameters matching variables in outer scope

2013-03-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55357 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/52374] [C++11] Fails to transform id-expression into dependent base member access in lambda expression

2013-03-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52374 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/56039] ICE in iterative_hash_template_arg, at cp/pt.c:1606

2013-03-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56039 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/53157] within lambda, error: lvalue required as unary ‘&’ operand

2013-03-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53157 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/52014] [c++0x] Segfault When `decltype` Used in Nested Lambda Function Defined in Class Member Function

2013-03-25 Thread jason at gcc dot gnu.org
||jason at gcc dot gnu.org Resolution||FIXED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.8.1

[Bug c++/56699] [4.8/4.9 regression] Failed for sizeof (non-static member) in lambda expression

2013-03-25 Thread jason at gcc dot gnu.org
||2013-03-25 CC||jason at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | Summary|Failed for sizeof |[4.8/4.9

[Bug c++/50243] vtable for pure abstract class (interface) shouldn't be emitted

2013-03-25 Thread jason at gcc dot gnu.org
||2013-03-25 CC||jason at gcc dot gnu.org Depends on||34949 Ever Confirmed|0 |1 --- Comment #3 from Jason Merrill 2013-03-25 22:11:45 UTC --- (In reply to comment #0) > N

[Bug c++/54359] [C++0x] decltype in member function's trailing return type when defined outside of class

2013-03-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54359 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/52748] [C++11] N3276 changes to decltype

2013-03-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52748 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/34949] Dead code in empty destructors.

2013-03-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34949 --- Comment #11 from Jason Merrill 2013-03-26 15:14:30 UTC --- Created attachment 29731 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29731 patch to add clobbers This patch adds the clobber assignments as Jakub suggested, but the

[Bug c++/34949] Dead code in empty destructors.

2013-03-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34949 Jason Merrill changed: What|Removed |Added Attachment #29731|0 |1 is obsolete|

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

2013-03-26 Thread jason at gcc dot gnu.org
|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org |

[Bug c++/16375] decltype in class definition

2013-03-26 Thread jason at gcc dot gnu.org
||jason at gcc dot gnu.org Resolution||FIXED Target Milestone|--- |4.4.0 --- Comment #6 from Jason Merrill 2013-03-26 18:12:15 UTC --- typeof is deprecated in favor of C++11 decltype. The first testcase

[Bug c++/51157] [C++0x] decltype/typeof of template member with default template argument confuses g++

2013-03-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51157 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/47346] access control for nested type is ignored in class template

2013-03-27 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346 --- Comment #10 from Jason Merrill 2013-03-27 13:28:24 UTC --- Even simpler: class B { struct C {}; }; template struct A { B::C c; }; A a;

[Bug c++/56749] [4.8/4.9 Regression] weird interaction between scoped enum used as non-type template parameter and template lookup

2013-03-27 Thread jason at gcc dot gnu.org
Status|NEW |ASSIGNED CC||jason at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.8.1

[Bug rtl-optimization/56742] Optimization bug lead to uncaught throw

2013-03-27 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56742 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/56728] [4.8/4.9 Regression] ICE using constexpr initialization and arrays

2013-03-27 Thread jason at gcc dot gnu.org
Status|NEW |ASSIGNED CC||jason at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org |

[Bug c++/52748] [4.9 Regression][C++11] N3276 changes to decltype

2013-03-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52748 --- Comment #10 from Jason Merrill 2013-03-28 13:36:07 UTC --- The implementation is complete. Unfortunately, my fixes for DRs 337 and 657 are interfering with the desired result; creating a function type returning an abstract class cause

[Bug c++/52748] [4.9 Regression][C++11] N3276 changes to decltype

2013-03-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52748 Jason Merrill changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Bug c++/56679] [C++11] Cannot take sizeof... a template template parameter pack

2013-03-28 Thread jason at gcc dot gnu.org
||jason at gcc dot gnu.org Resolution||FIXED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.9.0

[Bug c++/56701] [C++11] The *this* pointer fails to bind to rvalue reference to pointer type

2013-03-28 Thread jason at gcc dot gnu.org
||jason at gcc dot gnu.org Resolution||FIXED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.9.0

[Bug c++/56710] Using reserved double underscore variable name in a lambda causes internal compiler error

2013-03-28 Thread jason at gcc dot gnu.org
||jason at gcc dot gnu.org Resolution||FIXED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.9.0

[Bug c++/56728] [4.8/4.9 Regression] ICE using constexpr initialization and arrays

2013-03-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56728 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

<    3   4   5   6   7   8   9   10   11   12   >