[Bug preprocessor/82506] Stringizing raw string literals

2017-10-10 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82506 --- Comment #1 from Nathan Sidwell --- We fail to stringize raw string literals containing \n chars: ./xg++ -B./ q.cc -E gives: "R\"( )\"" (snipping line markers). That's a regular string literal with a naked LF char in it. This is like the

[Bug preprocessor/82506] Stringizing raw string literals

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

[Bug preprocessor/82506] Stringizing raw string literals

2017-10-10 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82506 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Tue Oct 10 18:56:31 2017 New Revision: 253605 URL: https://gcc.gnu.org/viewcvs?rev=253605&root=gcc&view=rev Log: [PATCH] preprocessor stringizing raw strings https://gcc.gnu.org/ml/gcc

[Bug preprocessor/82506] Stringizing raw string literals

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

[Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C

2017-10-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542 Nathan Sidwell changed: What|Removed |Added CC||joseph at codesourcery dot com --- Comm

[Bug middle-end/82546] New: tree_size handling for TYPE nodes is confused

2017-10-13 Thread nathan at gcc dot gnu.org
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- In working on the modules branch I discovered TYPE node size determination is messed up. tree_code_size returns sizeof (tree_type_non_common) for all tcc_type nodes. Not

[Bug c/71996] -fdump-translation-unit fails to dump string literals of type char16_t/char32_t/wchar_t

2017-10-16 Thread nathan at gcc dot gnu.org
||nathan at gcc dot gnu.org Resolution|--- |WONTFIX --- Comment #3 from Nathan Sidwell --- The raw dump is not an interchange format.

[Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed

2017-10-16 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug middle-end/82577] [8 Regression] ICE in compare_base_decls, at alias.c:2053

2017-10-17 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug middle-end/82546] tree_size handling for TYPE nodes is confused

2017-10-17 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82546 --- Comment #1 from Nathan Sidwell --- Author: nathan Date: Tue Oct 17 14:49:05 2017 New Revision: 253817 URL: https://gcc.gnu.org/viewcvs?rev=253817&root=gcc&view=rev Log: [PATCH PR/82546] tree node size https://gcc.gnu.org/ml/gcc-patches/2017

[Bug middle-end/82577] [8 Regression] ICE in compare_base_decls, at alias.c:2053

2017-10-17 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82577 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Tue Oct 17 15:42:19 2017 New Revision: 253819 URL: https://gcc.gnu.org/viewcvs?rev=253819&root=gcc&view=rev Log: [PATCH, middle-end/82577] Fix DECL_ASSEMBLER_NAME ICE https://gcc.gnu.o

[Bug middle-end/82577] [8 Regression] ICE in compare_base_decls, at alias.c:2053

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

[Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed

2017-10-17 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Tue Oct 17 15:52:21 2017 New Revision: 253820 URL: https://gcc.gnu.org/viewcvs?rev=253820&root=gcc&view=rev Log: [C++ PATCH 82560] missing dtor call https://gcc.gnu.org/ml/gcc-patches/

[Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed

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

[Bug libstdc++/82584] New: div by zero in random distribution

2017-10-17 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 42384 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42384&action=edit compile with -fsanitize=float-divide-by-zero the attached program, when usin

[Bug libstdc++/82584] div by zero in random distribution

2017-10-17 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82584 --- Comment #1 from Nathan Sidwell --- The make_unique bit's irrelevant: std::discrete_distribution X (weights.begin(), weights.end()); is sufficient. Reading 29.6.8.6.1 suggests the code is well formed, but all (two) probabilites are zero

[Bug middle-end/82546] tree_size handling for TYPE nodes is confused

2017-10-17 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82546 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed

2017-10-17 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560 --- Comment #7 from Nathan Sidwell --- Fixed on gcc-7 branch r253822.

[Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed

2017-10-17 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Tue Oct 17 17:27:11 2017 New Revision: 253822 URL: https://gcc.gnu.org/viewcvs?rev=253822&root=gcc&view=rev Log: [C++ PATCH 82560] missing dtor call https://gcc.gnu.org/ml/gcc-patches/

[Bug c++/82710] Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]

2017-10-25 Thread nathan at gcc dot gnu.org
||2017-10-25 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Nathan Sidwell --- Richard is correct, and I picked the existing Wparenthesis warning to enable it. However, I

[Bug c++/81702] [7/8 Regression] ICE in gimple_get_virt_method_for_vtable

2017-10-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81702 --- Comment #8 from Nathan Sidwell --- Ah, I remember now. The ABI specifies the data layout of the various RTTI objects like _ZTVN10__cxxabiv117__class_type_infoE. It does not specify the vtable layout -- implementations are free to add additi

[Bug c++/82710] [8 Regression] Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]

2017-11-02 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82710 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Thu Nov 2 18:26:29 2017 New Revision: 254349 URL: https://gcc.gnu.org/viewcvs?rev=254349&root=gcc&view=rev Log: [PR c++/82710] false positive paren warning https://gcc.gnu.org/ml/gcc-

[Bug c++/82710] [8 Regression] Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]

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

[Bug c++/82710] [8 Regression] Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]

2017-11-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82710 --- Comment #7 from Nathan Sidwell --- Author: nathan Date: Fri Nov 3 13:16:06 2017 New Revision: 254371 URL: https://gcc.gnu.org/viewcvs?rev=254371&root=gcc&view=rev Log: [PR c++/82710] false positive paren warning https://gcc.gnu.org/ml/gcc-

[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)

2017-11-08 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82737 --- Comment #19 from Nathan Sidwell --- I can take a look at the trunk crash, but not till next week. You could try https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00384.html, which I've yet to commit.

[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)

2017-11-13 Thread nathan at gcc dot gnu.org
gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #21 from Nathan Sidwell --- yeah, I messed up. I had presumed that once set, DECL_ASSEMBLER_NAME does not change. That is untrue. In this case it's even worse, in that DECL_ASSEMBLER_NAME is set on a new decl that duplicate

[Bug c++/82836] [8 Regression] ICE on valid code

2017-11-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82836 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

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

2017-11-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81574 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Wed Nov 15 13:18:09 2017 New Revision: 254768 URL: https://gcc.gnu.org/viewcvs?rev=254768&root=gcc&view=rev Log: [PR c++/81574] lambda capture of function reference https://gcc.gnu.org

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

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

[Bug c++/81060] [8 Regression] ICE with un-expanded parameter pack

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

[Bug c++/81060] [8 Regression] ICE with un-expanded parameter pack

2017-11-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81060 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Thu Nov 16 12:11:36 2017 New Revision: 254817 URL: https://gcc.gnu.org/viewcvs?rev=254817&root=gcc&view=rev Log: [PR c++/81060] ICE with invalid initialzer via lambda https://gcc.gnu.o

[Bug c++/79331] ICE on valid C++14 code (with initialized lambda capture) on x86_64-linux-gnu: in canonicalize_component_ref, at gimplify.c:2451

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

[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)

2017-11-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82737 --- Comment #23 from Nathan Sidwell --- Author: nathan Date: Thu Nov 16 14:54:54 2017 New Revision: 254823 URL: https://gcc.gnu.org/viewcvs?rev=254823&root=gcc&view=rev Log: [PATCH] New lang hook https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01

[Bug c++/82836] [8 Regression] ICE on valid code

2017-11-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82836 --- Comment #1 from Nathan Sidwell --- Author: nathan Date: Thu Nov 16 14:54:54 2017 New Revision: 254823 URL: https://gcc.gnu.org/viewcvs?rev=254823&root=gcc&view=rev Log: [PATCH] New lang hook https://gcc.gnu.org/ml/gcc-patches/2017-11/msg013

[Bug c++/82836] [8 Regression] ICE on valid code

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

[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)

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

[Bug middle-end/83022] New: malloc & memset -> calloc is not always an optimization

2017-11-16 Thread nathan at gcc dot gnu.org
normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Created attachment 42623 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42623&action=edit exemplar We like to optimize m

[Bug middle-end/83023] New: branch probabilities pessimize malloc

2017-11-16 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 42625 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42625&action=edit exemplar on x86_64 compiled with -O2 -fdump-tree-all, th

[Bug middle-end/83022] malloc & memset -> calloc is not always an optimization

2017-11-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83022 --- Comment #2 from Nathan Sidwell --- Yes, this is a measurable degradation in going from gcc 4.9 -> 5.0 with myrocks DB. Apparently 25% more queries/sec with gcc 4.9 (I think it's from a benchmark). Profiling (by others) has fingered this opt

[Bug middle-end/83022] malloc & memset -> calloc is not always an optimization

2017-11-17 Thread nathan at gcc dot gnu.org
||2017-11-17 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Nathan Sidwell --- working on a patch. This also occurred in mysql 5.6, and the 5.7 release refactored the code

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2017-11-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 --- Comment #4 from Nathan Sidwell --- I recall discussion years back that concluded the int *p = &a.s[-1]; case was well formed (there being no access specifier between the two fields). Of course the validity of the argument may have changed

[Bug middle-end/82878] [7/8 Regression] ICE in assign_temp, at function.c:968 when using optimization

2017-11-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82878 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Mon Nov 20 14:39:00 2017 New Revision: 254958 URL: https://gcc.gnu.org/viewcvs?rev=254958&root=gcc&view=rev Log: [PR c++/82878] pass-by-invisiref in lambda https://gcc.gnu.org/ml/gcc-p

[Bug c++/78495] [7 regression][new inheriting ctors] invisible-ref parm has address taken

2017-11-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78495 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Mon Nov 20 14:39:00 2017 New Revision: 254958 URL: https://gcc.gnu.org/viewcvs?rev=254958&root=gcc&view=rev Log: [PR c++/82878] pass-by-invisiref in lambda https://gcc.gnu.org/ml/gcc-p

[Bug middle-end/82878] [7 Regression] ICE in assign_temp, at function.c:968 when using optimization

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

[Bug c++/59930] template friend declarations, namespaces, and explicit instantiations don't mix

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

[Bug c++/59930] template friend declarations, namespaces, and explicit instantiations don't mix

2017-11-22 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59930 --- Comment #2 from Nathan Sidwell --- When we parse the template friend declaration, we're not injecting an invisible template decl into the enclosing namespace. When we instantiate the template we do an unqualified lookup (and ask for hidden o

[Bug c++/82336] [6/7/8 Regression] GCC requires but does not emit defaulted constructors in certain cases

2017-11-27 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82336 --- Comment #3 from Nathan Sidwell --- When checking the default arg during parsing, we perform an implicit conversion inside an unevaluated_operand context. That's needed to fix 54198, where an ill-formed instantiation occurs otherwise. Howe

[Bug c++/83187] [8 regression] internal compiler error: in get_alias_set, at alias.c:923

2017-11-28 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/83187] [8 regression] internal compiler error: in get_alias_set, at alias.c:923

2017-11-29 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83187 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Wed Nov 29 13:22:44 2017 New Revision: 255231 URL: https://gcc.gnu.org/viewcvs?rev=255231&root=gcc&view=rev Log: [PATCH] complex type canonicalization https://gcc.gnu.org/ml/gcc-patch

[Bug c++/83187] [8 regression] internal compiler error: in get_alias_set, at alias.c:923

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

[Bug c++/83287] [8 Regression] ice in tsubst_copy, at cp/pt.c:14884

2017-12-05 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/83287] [8 Regression] ice in tsubst_copy, at cp/pt.c:14884

2017-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83287 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Tue Dec 5 17:29:58 2017 New Revision: 255429 URL: https://gcc.gnu.org/viewcvs?rev=255429&root=gcc&view=rev Log: [PR C++/83287] Mark lookup for keeping https://gcc.gnu.org/ml/gcc-patch

[Bug c++/83287] [8 Regression] ice in tsubst_copy, at cp/pt.c:14884

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

[Bug c++/83309] Structure elements have O(n^2) compile time slowdown

2017-12-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83309 --- Comment #3 from Nathan Sidwell --- yeah, I'm not surprised by these numbers. IIUC the linear search happens when we get a qualified lookup during parsing. Unqualified lookup will find the IDENTIFIER_VALUE binding. But ICBW. Anyway, when I

[Bug c++/77539] gcc-5/6: comparison of array to nullptr failure in constexpr (fixed by r235506 on trunk)

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

[Bug c++/77539] gcc-5/6: comparison of array to nullptr failure in constexpr (fixed by r235506 on trunk)

2016-09-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77539 --- Comment #1 from Nathan Sidwell --- Author: nathan Date: Wed Sep 14 14:29:01 2016 New Revision: 240136 URL: https://gcc.gnu.org/viewcvs?rev=240136&root=gcc&view=rev Log: cp/ PR c++/77539 * constexpr.c (get_fundef_copy)

[Bug c++/77539] gcc-5/6: comparison of array to nullptr failure in constexpr (fixed by r235506 on trunk)

2016-09-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77539 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Wed Sep 14 16:13:52 2016 New Revision: 240138 URL: https://gcc.gnu.org/viewcvs?rev=240138&root=gcc&view=rev Log: PR c++/77539 * g++.dg/cpp1y/pr77539.C: New. Added:

[Bug c++/77539] gcc-5/6: comparison of array to nullptr failure in constexpr (fixed by r235506 on trunk)

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

[Bug c++/66443] [DR 1611] Virtual inheritance vs. non-default constructors

2016-10-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66443 --- Comment #1 from Nathan Sidwell --- Author: nathan Date: Fri Oct 7 20:01:17 2016 New Revision: 240874 URL: https://gcc.gnu.org/viewcvs?rev=240874&root=gcc&view=rev Log: cp/ PR c++/64433 DR1658, DR1611 * init.c

[Bug c++/64433] Segmentation fault while compiling

2016-10-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64433 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Fri Oct 7 20:01:17 2016 New Revision: 240874 URL: https://gcc.gnu.org/viewcvs?rev=240874&root=gcc&view=rev Log: cp/ PR c++/64433 DR1658, DR1611 * init.c

[Bug c++/66443] [DR 1611] Virtual inheritance vs. non-default constructors

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

[Bug c++/32658] Supposedly illegal conversion compiles without errors

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

[Bug other/78252] C++ demangler crashes with infinite recursion

2016-11-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78252 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/78252] C++ demangler crashes with infinite recursion

2016-11-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78252 --- Comment #2 from Nathan Sidwell --- Created attachment 40062 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40062&action=edit reduced source code I've reduced the original source to the attached. This emits 4 function symbols, 2 of whi

[Bug other/78252] C++ demangler crashes with infinite recursion

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

[Bug c++/65954] gcc segfaults on the following input with a syntax error

2015-05-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65954 --- Comment #1 from Nathan Sidwell --- Author: nathan Date: Wed May 20 01:54:09 2015 New Revision: 223430 URL: https://gcc.gnu.org/viewcvs?rev=223430&root=gcc&view=rev Log: cp/ PR c++/65954 * typeck.c (finish_class_member

[Bug c++/65954] gcc segfaults on the following input with a syntax error

2015-05-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65954 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/60943] [C++14] Return type deduction interferes with ref-qualifiers

2015-05-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60943 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Thu May 21 20:50:45 2015 New Revision: 223502 URL: https://gcc.gnu.org/viewcvs?rev=223502&root=gcc&view=rev Log: cp/ PR c++/60943 * decl2.c (change_return_type):

[Bug c++/60943] [C++14] Return type deduction interferes with ref-qualifiers

2015-05-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60943 Nathan Sidwell changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/66243] enum class value is allowed to be initialized by value from other enum class

2015-05-21 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++/65936] [6 Regression] ICE: canonical types differ for identical types

2015-05-23 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65936 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Sat May 23 22:28:54 2015 New Revision: 223613 URL: https://gcc.gnu.org/viewcvs?rev=223613&root=gcc&view=rev Log: cp/ PR c++/65936 * pt.c (lookup_template_class_1

[Bug c++/65936] [6 Regression] ICE: canonical types differ for identical types

2015-05-23 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65936 Nathan Sidwell changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/66243] enum class value is allowed to be initialized by value from other enum class

2015-05-24 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66243 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Sun May 24 23:17:58 2015 New Revision: 223636 URL: https://gcc.gnu.org/viewcvs?rev=223636&root=gcc&view=rev Log: cp/ PR c++/66243 * decl.c (build_enumerator): Do

[Bug c++/66243] enum class value is allowed to be initialized by value from other enum class

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

[Bug c++/66270] [6 Regression] ICE: canonical types differ for identical types

2015-05-25 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++/66270] [6 Regression] ICE: canonical types differ for identical types

2015-05-27 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66270 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Wed May 27 20:36:14 2015 New Revision: 223773 URL: https://gcc.gnu.org/viewcvs?rev=223773&root=gcc&view=rev Log: PR c++/66270 * tree.c (build_pointer_type_for_mode): Can

[Bug c++/66270] [6 Regression] ICE: canonical types differ for identical types

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

[Bug c++/52595] [DR 325] commas and non-static data member initializers don't mix

2015-05-27 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++/58583] [c++11] ICE with invalid non-static data member initialization in template

2015-05-27 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 middle-end/67861] [6 Regression] coreutils' wc.c:write_counts is miscompiled since commit 7e3a76de7c496449b187c2688d958631cf21a944

2015-10-06 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67861 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Tue Oct 6 16:47:00 2015 New Revision: 228536 URL: https://gcc.gnu.org/viewcvs?rev=228536&root=gcc&view=rev Log: PR 67861 * gimple-fold.c (gimple_fold_builtin): Add brea

[Bug middle-end/67861] [6 Regression] coreutils' wc.c:write_counts is miscompiled since commit 7e3a76de7c496449b187c2688d958631cf21a944

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

[Bug middle-end/67861] [6 Regression] coreutils' wc.c:write_counts is miscompiled since commit 7e3a76de7c496449b187c2688d958631cf21a944

2015-10-09 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67861 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Fri Oct 9 14:13:39 2015 New Revision: 228657 URL: https://gcc.gnu.org/viewcvs?rev=228657&root=gcc&view=rev Log: * config/nvptx/nvptx.c (nvptx_init_axis_predicate): Fix output

[Bug libgomp/68242] [gomp4] FAIL: libgomp.oacc-c-c++-common/reduction-2.c -DACC_DEVICE_TYPE_host=1 execution test

2015-11-07 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #3 from Nathan Sidwell --- I think my firstprivate patch resolves this one.

[Bug tree-optimization/68977] [gomp4] FAIL: c-c++-common/goacc/loop-2.c (internal compiler error)

2015-12-18 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68977 --- Comment #3 from Nathan Sidwell --- As the code is ill-formed, and IIUC the error only happens if we;ve seen an error, I suggest push_gimplify_context (!seen_error ()); No point making the compiler work harder than necesary in the usual case?

[Bug c/69033] [6 regression] many internal compiler errors starting with r231928

2015-12-23 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69033 --- Comment #1 from Nathan Sidwell --- patch r231928 reverted. Analysis at https://gcc.gnu.org/ml/gcc-patches/2015-12/msg02100.html

[Bug c++/58583] [c++11] ICE with invalid non-static data member initialization in template

2016-01-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58583 --- Comment #9 from Nathan Sidwell --- Author: nathan Date: Tue Jan 5 14:40:11 2016 New Revision: 232075 URL: https://gcc.gnu.org/viewcvs?rev=232075&root=gcc&view=rev Log: gcc/cp/ PR c++/58583 * pt.c (build_non_dependent

[Bug c++/58616] [meta-bug] nsdmi

2016-01-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 58583, which changed state. Bug 58583 Summary: [c++11] ICE with invalid non-static data member initialization in template https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58583 What|Removed

[Bug c++/58583] [c++11] ICE with invalid non-static data member initialization in template

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

[Bug c++/52595] [DR 325] commas and non-static data member initializers don't mix

2015-06-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52595 --- Comment #10 from Nathan Sidwell --- Author: nathan Date: Fri Jun 5 13:35:30 2015 New Revision: 224152 URL: https://gcc.gnu.org/viewcvs?rev=224152&root=gcc&view=rev Log: cp/ PR c++/52595 * parser.c (cp_parser_cache_de

[Bug c++/58616] [meta-bug] nsdmi

2015-06-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 52595, which changed state. Bug 52595 Summary: [DR 325] commas and non-static data member initializers don't mix https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52595 What|Removed |Added -

[Bug c++/52595] [DR 325] commas and non-static data member initializers don't mix

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

[Bug c++/66421] G++ fails compilation when assigning tuple created with variadic template to auto variable

2015-06-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66421 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/66443] Virtual inheritance vs. non-default constructors

2015-06-07 Thread nathan at gcc dot gnu.org
||2015-06-08 CC||nathan at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1

[Bug c++/58583] [c++11] ICE with invalid non-static data member initialization in template

2015-06-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58583 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Tue Jun 16 01:59:55 2015 New Revision: 224502 URL: https://gcc.gnu.org/viewcvs?rev=224502&root=gcc&view=rev Log: cp/ PR c++/58583 * cp-tree.h (DECL_INSTANTIATING

[Bug c++/58583] [c++11] ICE with invalid non-static data member initialization in template

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

[Bug c++/58616] [meta-bug] nsdmi

2015-06-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 58583, which changed state. Bug 58583 Summary: [c++11] ICE with invalid non-static data member initialization in template https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58583 What|Removed

[Bug middle-end/67027] [gomp4] FAIL: gfortran.dg/goacc/modules.f95 -O (internal compiler error)

2015-07-28 Thread nathan at gcc dot gnu.org
||2015-07-28 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1

[Bug middle-end/67027] [gomp4] FAIL: gfortran.dg/goacc/modules.f95 -O (internal compiler error)

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

[Bug c/71849] New: bitfield placement of overly aligned type

2016-07-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 38881 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38881&action=edit testcase Iain Sandoe & I have discovered an anomaly with the placement of bit

[Bug c++/70616] [5/6/7 Regression] ICE on valid code on x86_64-linux-gnu in build_base_path, at cp/class.c:303

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

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