[Bug c++/77585] g++ incorrectly decides that member function is called without object in generic lambda

2016-12-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77585 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/77585] g++ incorrectly decides that member function is called without object in generic lambda

2016-12-14 Thread nathan at gcc dot gnu.org
||2016-12-14 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1

[Bug c++/77585] g++ incorrectly decides that member function is called without object in generic lambda

2016-12-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77585 --- Comment #2 from Nathan Sidwell --- Created attachment 40337 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40337=edit Let's try that again ...

[Bug c++/61636] generic lambda: segfault / "cannot call member function without object"

2016-12-16 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #23 from Nathan Sidwell --- Thanks for the investigation Adam. I was wondering whether the pragmatic solution you describe was acceptable. https://gcc.gnu.org/ml/gcc-patches/2016-12/msg00885.html

[Bug debug/72828] ICE in clone_tree_partial when compiling with -fdebug-types-section

2016-12-16 Thread nathan at gcc dot gnu.org
||nathan at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/77585] g++ incorrectly decides that member function is called without object in generic lambda

2016-12-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77585 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Thu Dec 15 19:50:25 2016 New Revision: 243723 URL: https://gcc.gnu.org/viewcvs?rev=243723=gcc=rev Log: PR c++/77585 * pt.c (instantiate_decl): Push to class scope

[Bug c++/77585] g++ incorrectly decides that member function is called without object in generic lambda

2016-12-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77585 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78771] [5/6/7 Regression] ICE when using inherited constructors (instantiate_template_1 in gcc/cp/pt.c:17391)

2016-12-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78771 --- Comment #2 from Nathan Sidwell --- Created attachment 40345 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40345=edit simpler testcase the deletedness of the template ctor is a red herring. Also the templatedness of the base class.

[Bug c++/78621] lambda mangling not ABI compliant

2016-12-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78621 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78776] member using declaration with typename ICEs

2016-12-12 Thread nathan at gcc dot gnu.org
||2016-12-12 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1

[Bug c++/78776] New: member using declaration with typename ICEs

2016-12-12 Thread nathan at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Created attachment 40311 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40311=edit reproducer the attached case ICES due to differing types sharing a canonical t

[Bug c++/69481] ICE with C++11 alias using with templates

2016-12-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69481 Nathan Sidwell changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/69481] ICE with C++11 alias using with templates

2016-12-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69481 --- Comment #12 from Nathan Sidwell --- Author: nathan Date: Tue Dec 13 20:43:08 2016 New Revision: 243624 URL: https://gcc.gnu.org/viewcvs?rev=243624=gcc=rev Log: cp/ PR c++/69481 * cp-tree.h (TYPE_TEMPLATE_INFO):

[Bug bootstrap/21481] crtstuff.c should not include auto-host.h

2016-12-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21481 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|nathan at gcc

[Bug lto/71959] [OpenACC] #pragma acc parallel leads to segfault in x86_64-pc-linux-gnu-accel-nvptx-none-gcc

2016-12-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71959 Nathan Sidwell changed: What|Removed |Added Assignee|nathan at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/78701] [6/7 Regression] ICE: unexpected expression N of kind template_parm_index

2016-12-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78701 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Wed Dec 14 17:23:06 2016 New Revision: 243660 URL: https://gcc.gnu.org/viewcvs?rev=243660=gcc=rev Log: PR c++/78701 * pt.c (type_unification_real): Check tsubst arg

[Bug c++/78701] [6/7 Regression] ICE: unexpected expression N of kind template_parm_index

2016-12-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78701 Nathan Sidwell changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/69481] ICE with C++11 alias using with templates

2016-12-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69481 --- Comment #14 from Nathan Sidwell --- Author: nathan Date: Wed Dec 14 16:43:07 2016 New Revision: 243656 URL: https://gcc.gnu.org/viewcvs?rev=243656=gcc=rev Log: PR c++/69481 * cp-tree.h (TYPE_TEMPLATE_INFO_MAYBE_ALIAS):

[Bug c++/78701] [6/7 Regression] ICE: unexpected expression N of kind template_parm_index

2016-12-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78701 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Wed Dec 14 16:45:33 2016 New Revision: 243657 URL: https://gcc.gnu.org/viewcvs?rev=243657=gcc=rev Log: PR c++/78701 * pt.c (type_unification_real): Check tsubst arg

[Bug debug/78835] New: [7 regression] ICE with -fdebug-types-section and member function

2016-12-16 Thread nathan at gcc dot gnu.org
Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- In reducing 72828 I stumbled onto a different ICE with: struct Bar { void Baz (); }; void Foo (Bar ) { t.Baz (); } ./cc1plus -fdebug

[Bug debug/78835] [7 regression] ICE with -fdebug-types-section and member function

2016-12-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78835 --- Comment #3 from Nathan Sidwell --- started failing with: r240578 | rguenth | 2016-09-28 07:30:19 -0700 (Wed, 28 Sep 2016) | 17 lines 2016-09-28 Richard Biener * dwarf2out.c (struct die_struct): Add removed

[Bug debug/72828] ICE in clone_tree_partial when compiling with -fdebug-types-section

2016-12-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72828 --- Comment #7 from Nathan Sidwell --- With 78835 patched using Jakub's diff in comment 1, this no longer ices.

[Bug other/78252] C++ demangler crashes with infinite recursion with lambda (auto)

2016-12-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78252 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Mon Dec 12 17:00:37 2016 New Revision: 243566 URL: https://gcc.gnu.org/viewcvs?rev=243566=gcc=rev Log: libiberty/ PR c++/78252 * cp-demangle.c (struct

[Bug other/78252] C++ demangler crashes with infinite recursion with lambda (auto)

2016-12-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78252 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Mon Dec 12 17:38:53 2016 New Revision: 243568 URL: https://gcc.gnu.org/viewcvs?rev=243568=gcc=rev Log: PR c++/78252 * cp-demangle.c (struct d_print_info): Add

[Bug other/70517] c++filt crashes when demangling a symbol

2016-12-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70517 Bug 70517 depends on bug 78252, which changed state. Bug 78252 Summary: C++ demangler crashes with infinite recursion with lambda (auto) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78252 What|Removed |Added

[Bug c++/68700] demangler failed with signal 11

2016-12-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68700 Bug 68700 depends on bug 78252, which changed state. Bug 78252 Summary: C++ demangler crashes with infinite recursion with lambda (auto) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78252 What|Removed |Added

[Bug c++/68383] Demangler stack overflow

2016-12-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68383 Bug 68383 depends on bug 78252, which changed state. Bug 78252 Summary: C++ demangler crashes with infinite recursion with lambda (auto) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78252 What|Removed |Added

[Bug other/78252] C++ demangler crashes with infinite recursion with lambda (auto)

2016-12-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78252 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-11 Thread nathan at gcc dot gnu.org
||nathan at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 --- Comment #3 from Nathan Sidwell --- The struct variant only 'works' because 'struct X' is a valid incomplete struct declaration. Try: struct f {}; template void f () { struct f Q; } template void f (); void f() void f() [with = int]

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Thu Jan 12 12:40:28 2017 New Revision: 244351 URL: https://gcc.gnu.org/viewcvs?rev=244351=gcc=rev Log: cp/ PR c++/77812 * name-lookup.c

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Wed Jan 11 20:37:16 2017 New Revision: 244335 URL: https://gcc.gnu.org/viewcvs?rev=244335=gcc=rev Log: cp/ PR c++/77812 * name-lookup.c

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Wed Jan 11 20:49:50 2017 New Revision: 244336 URL: https://gcc.gnu.org/viewcvs?rev=244336=gcc=rev Log: cp/ PR c++/77812 * name-lookup.c

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-02 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-12-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #21 from Nathan Sidwell --- Why doesn't a mark/walk/unmark idiom when walking a potentially circular data structure work here? I.e. add a mutable counter to demangle_component. Inc/dec at start/end of d_print_comp? IIUC if it gets

[Bug c++/78621] New: lambda mangling not ABI compliant

2016-11-30 Thread nathan at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- bug 78252 exposes a bug in the mangler. [](auto...) is mangled as-if that was a template parameter reference (T[n]_), rather than auto (Da). Refer to that bug for test case. Fix will need

[Bug c++/78621] lambda mangling not ABI compliant

2016-11-30 Thread nathan at gcc dot gnu.org
||2016-11-30 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1

[Bug c++/78621] lambda mangling not ABI compliant

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78621 --- Comment #1 from Nathan Sidwell --- Created attachment 40255 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40255=edit squangling too This testcase shows problems with the mangling of auto parms themeselves, and with subsequent fallout

[Bug c++/68489] arrays of flexible array members are silently accepted

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68489 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/68489] arrays of flexible array members are silently accepted

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68489 Nathan Sidwell changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #2

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 --- Comment #8 from Nathan Sidwell --- The fix for both bugs is the same -- reject creation of arrays of trailing array elements. We used to reject initializers for such arrays, then we silently accepted them (generating wrong code), now we

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 --- Comment #3 from Nathan Sidwell --- r234635 compiles w/o error -- i.e. has already lost the diagnostic Jonathan mentioned. Tracking down when the diag was lost ...

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 --- Comment #5 from Nathan Sidwell --- r231665 lost the diagnostic +2015-12-15 Martin Sebor + + c++/42121 + * tree-chkp.c (chkp_find_bound_slots_1): Handle flexible array + members. + * tree.c

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-12-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-12-02 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #27 from Nathan Sidwell --- I think the symbols containing 'Ul' should demangle -- they're lambdas and I'd expect my patch to fix those. Some of the others certainly look suspicious. Did they come out of the compiler, or are they

[Bug c++/66735] [C++14] lambda init-capture fails for const references

2017-01-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66735 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Wed Jan 4 15:23:40 2017 New Revision: 244056 URL: https://gcc.gnu.org/viewcvs?rev=244056=gcc=rev Log: cp/ PR c++/66735 * cp-tree.h (DECLTYPE_FOR_REF_CAPTURE):

[Bug c++/66735] [C++14] lambda init-capture fails for const references

2017-01-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66735 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/54367] [meta-bug] lambda expressions

2017-01-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 66735, which changed state. Bug 66735 Summary: [C++14] lambda init-capture fails for const references https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66735 What|Removed |Added

[Bug c++/78765] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5708)

2017-01-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78765 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78765] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5708)

2017-01-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78765 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Thu Jan 5 12:30:26 2017 New Revision: 244101 URL: https://gcc.gnu.org/viewcvs?rev=244101=gcc=rev Log: cp/ PR c++/78765 * pt.c (convert_nontype_argument): Don't

[Bug c++/66735] [C++14] lambda init-capture fails for const references

2016-12-29 Thread nathan at gcc dot gnu.org
||nathan at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #4 from Nathan Sidwell --- int const x = 5; void Foo () { auto l = [ = x]() {}; }

[Bug c++/54367] [meta-bug] lambda expressions

2016-12-29 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 70385, which changed state. Bug 70385 Summary: Lambda capture by reference of const reference fails https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70385 What|Removed |Added

[Bug c++/66735] [C++14] lambda init-capture fails for const references

2016-12-29 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66735 Nathan Sidwell changed: What|Removed |Added CC||nikb at bougalis dot net --- Comment

[Bug c++/70385] Lambda capture by reference of const reference fails

2016-12-29 Thread nathan at gcc dot gnu.org
||nathan at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #3 from Nathan Sidwell --- Same as 66735, to which I have attached a simpler testcase *** This bug has been marked as a duplicate of bug 66735 ***

[Bug c++/78840] [5/6/7 Regression] ICE with const variables in templates implicitly captured by nested lambda expressions

2016-12-19 Thread nathan at gcc dot gnu.org
||nathan at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/78842] "error: declaration of 'bool icase' shadows a parameter" should be warning

2016-12-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78842 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/78840] [5/6/7 Regression] ICE with const variables in templates implicitly captured by nested lambda expressions

2016-12-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78840 --- Comment #2 from Nathan Sidwell --- Created attachment 40379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40379=edit reduced testcase.

[Bug c++/78842] "error: declaration of 'bool icase' shadows a parameter" should be warning

2016-12-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78842 --- Comment #4 from Nathan Sidwell --- sigh, bugzilla's moving on to 'random' other bug gets me. Again.

[Bug c++/78551] [5/6/7 Regression] Internal compiler error with constexpr initialization of union

2016-12-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78551 --- Comment #11 from Nathan Sidwell --- Created attachment 40276 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40276=edit non-union crash Union is not necessary to trigger the ICE. All we need is to initialize a char array with a string

[Bug c++/80091] [6 Regression] gcc-6 branch segfaults while compiling firefox

2017-03-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80091 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/80091] [6 Regression] gcc-6 branch segfaults while compiling firefox

2017-03-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80091 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Tue Mar 21 17:40:40 2017 New Revision: 246329 URL: https://gcc.gnu.org/viewcvs?rev=246329=gcc=rev Log: PR c++/80091 * lambda.c (maybe_generic_this_capture): Capture

[Bug c++/80091] [6 Regression] gcc-6 branch segfaults while compiling firefox

2017-03-20 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #5 from Nathan Sidwell --- I'll take a whack at this

[Bug target/79905] ICE in canonical types differ for identical types __vector(4) int and V4i {aka __vector(4) int}

2017-04-03 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #11 from Nathan Sidwell --- I'll take a look. Before I forget, I noticed that the canonical type hasher gets given a bespoke hash code by the type creator. I think the aim is to avoid a generic hasher. This leads to various

[Bug c++/80279] New: Implement DR 2061

2017-04-01 Thread nathan at gcc dot gnu.org
: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- DR 2061. inline namespace B { namespace C { ... } } namespace C { // this reopens B::C ... }

[Bug c++/80279] Implement DR 2061

2017-04-01 Thread nathan at gcc dot gnu.org
|UNCONFIRMED |NEW Last reconfirmed||2017-04-01 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1

[Bug target/79905] ICE in canonical types differ for identical types __vector(4) int and V4i {aka __vector(4) int}

2017-04-10 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79905 --- Comment #12 from Nathan Sidwell --- Author: nathan Date: Mon Apr 10 11:25:44 2017 New Revision: 246802 URL: https://gcc.gnu.org/viewcvs?rev=246802=gcc=rev Log: PR target/79905 * config/rs6000/rs6000.c (rs6000_vector_type):

[Bug target/79905] ICE in canonical types differ for identical types __vector(4) int and V4i {aka __vector(4) int}

2017-04-10 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79905 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79865] ICE calling member function with template parameter from generic lambda

2017-03-09 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79865 --- Comment #3 from Nathan Sidwell --- I think 79264 fix is dependent on 61636 fix. But both are fine to backport.

[Bug c++/79393] [7 Regression] cc1plus rejects valid code with noexcept

2017-03-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79393 --- Comment #1 from Nathan Sidwell --- Author: nathan Date: Mon Mar 13 11:58:15 2017 New Revision: 246085 URL: https://gcc.gnu.org/viewcvs?rev=246085=gcc=rev Log: PR c++/79393 DR 1658 workaround * method.c

[Bug c++/79393] [7 Regression] cc1plus rejects valid code with noexcept

2017-03-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79393 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|SUSPENDED --- Comment #2 from Nathan

[Bug c++/79393] [7 Regression] cc1plus rejects valid code with noexcept

2017-03-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79393 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Tue Mar 14 14:41:53 2017 New Revision: 246126 URL: https://gcc.gnu.org/viewcvs?rev=246126=gcc=rev Log: PR c++/79393 DR 1658 workaround * method.c

[Bug c++/81271] gcc/cp/lex.c:116: wrong condition ?

2017-07-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81271 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug bootstrap/81425] Bootstrap broken since r250158

2017-07-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81425 --- Comment #4 from Nathan Sidwell --- wot, the Changelog's not enough? apologies.

[Bug c++/81574] ICE on valid C++14 code: in canonicalize_component_ref, at gimplify.c:2481

2017-07-27 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/81229] [8 Regression] ICE in c_tree_chain_next on aarch64

2017-06-29 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81229 --- Comment #5 from Nathan Sidwell --- Reproduced on x86_64-linux native.

[Bug c++/81247] [8 Regression] ICE on invalid C++ code with malformed namespace declaration: in do_push_nested_namespace, at cp/name-lookup.c:6002

2017-06-29 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81247 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Thu Jun 29 18:20:13 2017 New Revision: 249804 URL: https://gcc.gnu.org/viewcvs?rev=249804=gcc=rev Log: PR c++/81247 * parser.c (cp_parser_namespace_definition):

[Bug c++/81247] [8 Regression] ICE on invalid C++ code with malformed namespace declaration: in do_push_nested_namespace, at cp/name-lookup.c:6002

2017-06-29 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81247 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/81229] [8 Regression] ICE in c_tree_chain_next on aarch64

2017-06-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81229 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Fri Jun 30 11:40:08 2017 New Revision: 249835 URL: https://gcc.gnu.org/viewcvs?rev=249835=gcc=rev Log: PR c++/81229 * name-lookup.c (do_pushdecl): Reset IDENTIFIER_TYPE

[Bug c++/81229] [8 Regression] ICE in c_tree_chain_next on aarch64

2017-06-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81229 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/81229] [8 Regression] ICE in c_tree_chain_next on aarch64

2017-06-29 Thread nathan at gcc dot gnu.org
||nathan at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/81247] [8 Regression] ICE on invalid C++ code with malformed namespace declaration: in do_push_nested_namespace, at cp/name-lookup.c:6002

2017-06-29 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/79369] namespace definition with qualified id

2017-05-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79369 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79369] namespace definition with qualified id

2017-05-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79369 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Mon May 15 20:26:19 2017 New Revision: 248075 URL: https://gcc.gnu.org/viewcvs?rev=248075=gcc=rev Log: PR c++/79369 * g++.dg/cpp1z/nested-namespace-def1.C: Adjust.

[Bug c++/79369] namespace definition with qualified id

2017-05-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79369 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Mon May 15 19:35:52 2017 New Revision: 248073 URL: https://gcc.gnu.org/viewcvs?rev=248073=gcc=rev Log: gcc/cp/ PR c++/79369 * cp-tree.h

[Bug c++/81119] [8 Regression] -Wshadow warns on "typedef struct foo foo;"

2017-06-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81119 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Mon Jun 19 14:13:58 2017 New Revision: 249369 URL: https://gcc.gnu.org/viewcvs?rev=249369=gcc=rev Log: PR c++/81119 * name-lookup.c (update_binding): Only warn about

[Bug c++/81119] [8 Regression] -Wshadow warns on "typedef struct foo foo;"

2017-06-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81119 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/67074] Name lookup ambiguity between namespace and its alias

2017-06-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67074 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Tue Jun 20 12:53:11 2017 New Revision: 249408 URL: https://gcc.gnu.org/viewcvs?rev=249408=gcc=rev Log: PR c++/67074 - namespace aliases * decl.c (duplicate_decls):

[Bug c++/67074] Name lookup ambiguity between namespace and its alias

2017-06-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67074 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/12944] [meta-bug] C++ name-lookup problems

2017-06-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12944 Bug 12944 depends on bug 67074, which changed state. Bug 67074 Summary: Name lookup ambiguity between namespace and its alias https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67074 What|Removed |Added

[Bug c++/79767] inline namespace and unqualified definition

2017-06-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79767 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/81161] New: poor code concatenating bitfields

2017-06-21 Thread nathan at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Created attachment 41604 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41604=edit example The example code is trying to use a set of adjacent single bit fields as a wider va

[Bug middle-end/81161] poor code concatenating bitfields

2017-06-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81161 --- Comment #3 from Nathan Sidwell --- similar but different. Maybe same underlying optimization is needed. I don't know.

[Bug c++/18805] [meta-bug] C++ member lookup

2017-06-22 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18805 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Nathan

[Bug c++/80279] Implement DR 2061

2017-06-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80279 Nathan Sidwell changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/81128] Function multi-versioning does not work with -O

2017-06-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81128 --- Comment #6 from Nathan Sidwell --- the ifunc attribute is essentially slightly different syntactic sugar to the alias attribute. It sounds like the optimizer is treating the attribute as-if it were an alias.

[Bug c++/53402] [C++11] non-inline namespace can be wrongly re-opened as inline

2017-06-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53402 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/81124] [8 Regression] internal compiler error: in operator*, at cp/cp-tree.h:726

2017-06-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81124 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Mon Jun 19 19:11:31 2017 New Revision: 249385 URL: https://gcc.gnu.org/viewcvs?rev=249385=gcc=rev Log: PR c++/81124 PR c++/79766 * name-lookup.c

[Bug c++/79766] inline namespace and ::

2017-06-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79766 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Mon Jun 19 19:11:31 2017 New Revision: 249385 URL: https://gcc.gnu.org/viewcvs?rev=249385=gcc=rev Log: PR c++/81124 PR c++/79766 * name-lookup.c

<    1   2   3   4   5   6   7   8   9   10   >