[Bug c++/94027] [10 Regression] ice in comptypes, at cp/typeck.c:1489 since r10-6907

2020-03-06 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94027 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/94027] [10 Regression] ice in comptypes, at cp/typeck.c:1489 since r10-6907

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

[Bug c++/94117] New: non-dependent expr treated as-if dependent

2020-03-10 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 48006 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48006&action=edit distilled from ranges We accept the attached test case, which should be rejec

[Bug c++/94117] non-dependent expr treated as-if dependent

2020-03-10 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94117 Nathan Sidwell changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/94117] non-dependent expr treated as-if dependent

2020-03-10 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94117 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/94117] deferred noexcept specifications and friend fns

2020-03-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94117 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|SUSPENDED --- Comment #9 from Nathan Si

[Bug c++/94147] New: mangling of lambdas in initializers is wrong

2020-03-11 Thread nathan at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- inline auto var = [] (int) {}; should mangle the lambda as _ZN3varMUlE_clEv likewise for static member variables

[Bug c++/94147] mangling of lambdas in initializers is wrong

2020-03-11 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed||2020-03-11

[Bug c++/94044] [10 Regression] internal compiler error: in comptypes, at cp/typeck.c:1490 on riscv64-unknown-linux-gnu and arm-eabi

2020-03-12 Thread nathan at gcc dot gnu.org
|1 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/94044] [10 Regression] internal compiler error: in comptypes, at cp/typeck.c:1490 on riscv64-unknown-linux-gnu and arm-eabi

2020-03-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94044 --- Comment #4 from Nathan Sidwell --- I cannot reproduce this with the cross or native compilers I've tried: native: x86_64-linux, aarch64-linux cross: arm-eabi riscv64-unknown-linux The cross compilers are hosted on x86_64-linux

[Bug c++/94044] [10 Regression] internal compiler error: in comptypes, at cp/typeck.c:1490 on riscv64-unknown-linux-gnu and arm-eabi

2020-03-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94044 --- Comment #6 from Nathan Sidwell --- Still no luck. I'm at cb99630f254 2020-03-11 | fold undefined pointer offsetting Configured with ../../src/configure '--with-mpfr=/data/users/nathans/tools' '--with-mpc=/data/users/nathans/tools' '--enable

[Bug c++/94044] [10 Regression] internal compiler error: in comptypes, at cp/typeck.c:1490 on riscv64-unknown-linux-gnu and arm-eabi

2020-03-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94044 --- Comment #10 from Nathan Sidwell --- Thanks for poking at this Jim!

[Bug c++/94147] mangling of lambdas in initializers is wrong

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

[Bug c++/94044] [10 Regression] internal compiler error: in comptypes, at cp/typeck.c:1490 on riscv64-unknown-linux-gnu and arm-eabi

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

[Bug c++/94257] ICE in inline nested namespace

2020-03-26 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94257 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/94257] ICE in inline nested namespace

2020-03-27 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94257 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/84733] [8/9/10 Regression] internal compiler error: Segmentation fault (check_local_shadow())

2020-03-27 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733 --- Comment #18 from Nathan Sidwell --- fixed GCC 10 13dfc007557c384683118fa12cd255e69b70a34d

[Bug c++/84733] [8/9/10 Regression] internal compiler error: Segmentation fault (check_local_shadow())

2020-03-27 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733 --- Comment #23 from Nathan Sidwell --- Fixed trunk and gcc-9

[Bug c++/94426] [10 Regression] ICE in mangle_decl with -flto

2020-04-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94426 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/94426] [10 Regression] ICE in mangle_decl with -flto

2020-04-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94426 Nathan Sidwell changed: What|Removed |Added Status|SUSPENDED |ASSIGNED --- Comment #4 from Nathan Sid

[Bug c++/94426] [10 Regression] ICE in mangle_decl with -flto

2020-04-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94426 --- Comment #5 from Nathan Sidwell --- Reduced testcase: template using Void = void; template bool Init (U); template bool VAR = Init ([] {}); template Void> Foo (T) {} void q () { Foo ([] {}); } bug.ii: At global scope: bug.ii:5:38:

[Bug c++/94454] ICE 'canonical types differ for identical types'

2020-04-02 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94454 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/94476] New: NSDMI deferred parse

2020-04-03 Thread nathan at gcc dot gnu.org
: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- This code, extracted from leaves an unparsed NSDMI for _M_type. That kills the module streamer, which doesn't expect to meet such things. Bizarrely, removing either the 'signed char'

[Bug c++/94476] NSDMI deferred parse

2020-04-03 Thread nathan at gcc dot gnu.org
||2020-04-03 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/94476] NSDMI deferred parse

2020-04-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94476 Nathan Sidwell changed: What|Removed |Added Priority|P3 |P4 Status|ASSIGNED

[Bug c++/94528] coroutines: ICE building cppcoro in gimplify_expr, at gimplify.c:14399

2020-04-08 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94528 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/70790] Can't mangle noexcept expressions

2020-04-08 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70790 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org

[Bug c++/94426] [10 Regression] ICE in mangle_decl with -flto

2020-04-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94426 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/94454] ICE 'canonical types differ for identical types'

2020-04-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94454 --- Comment #10 from Nathan Sidwell --- I cannot reproduce it, but looking at the gist referenced in comment #1 I see that the complaint is about two instances of the same instantiation of struct std::integral_constant > One of which has __attri

[Bug c++/94454] ICE 'canonical types differ for identical types'

2020-04-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94454 --- Comment #12 from Nathan Sidwell --- Created attachment 48270 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48270&action=edit asserts to trigger it I have found the cause, but not the underlying reason. We have template arguments that

[Bug c++/94454] ICE 'canonical types differ for identical types'

2020-04-14 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/94608] Fix for PR94426 causes a regression in g++.dg/lto/pr83720 on arm

2020-04-15 Thread nathan at gcc dot gnu.org
|1 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #1 from Nathan Sidwell --- Quite probably Christophe

[Bug c++/94608] Fix for PR94426 causes a regression in g++.dg/lto/pr83720 on arm

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

[Bug c++/94454] ICE 'canonical types differ for identical types'

2020-04-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94454 --- Comment #13 from Nathan Sidwell --- Created attachment 48313 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48313&action=edit testing shim

[Bug c++/94454] ICE 'canonical types differ for identical types'

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

[Bug c++/85046] [8/9/10 Regression] cp/name-lookup.c:6175:53: runtime error: member access within null pointer of type 'struct cp_binding_level'

2020-04-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85046 --- Comment #8 from Nathan Sidwell --- the reduced testcases no longer crash the compiler. The first emits a correct error, the second succeeds. The original testcase still crashes the compiler, after emitting a slew of errors about ill-formed

[Bug c++/94691] New: ICE resolving deduction guide

2020-04-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 48324 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48324&action=edit testcase This ICEs. Removing 'const' makes it work. devvm2772:52>./cc1p

[Bug c++/94691] ICE resolving deduction guide

2020-04-22 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94691 --- Comment #2 from Nathan Sidwell --- Created attachment 48353 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48353&action=edit another case Attached another example of the same assert triggering

[Bug libstdc++/94747] Confusing code in libsupc++/dyncast.cc

2020-04-24 Thread nathan at gcc dot gnu.org
|Undefined behavior: integer |Confusing code in |overflow in |libsupc++/dyncast.cc |libsupc++/dyncast.cc| CC||nathan at gcc dot gnu.org Status|RESOLVED|ASSIGNED

[Bug c++/94807] Inconsistency in lambda instantiation

2020-04-27 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed||2020-04-27 --- Comment #1 from Nathan Sidwell --- Something for stage 1

[Bug c++/94807] New: Inconsistency in lambda instantiation

2020-04-27 Thread nathan at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- The parser renames a lambda's function operator's object pointer argument to be '__closure' (closure_identifier). This gets lost, if that lambda's in a temp

[Bug libstdc++/94823] New: modulo arithmetic bug in random.tcc

2020-04-28 Thread nathan at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- I think there's a bug in libstdc++v3/include/bits/random.tcc, found by ubsan's (over conservative) unsigned overflow checker. This time, a true positive. there's

[Bug c++/94827] [10 Regression] crash on requires clause in tparam list

2020-04-28 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94827 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug libstdc++/94823] modulo arithmetic bug in random.tcc

2020-04-29 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94823 Nathan Sidwell changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug c++/94827] [10 Regression] crash on requires clause in tparam list since r10-4424

2020-04-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94827 --- Comment #3 from Nathan Sidwell --- Created attachment 48425 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48425&action=edit try instantiating the fn This one ices with the initial patch.

[Bug c++/94827] [10 Regression] crash on requires clause in tparam list since r10-4424

2020-04-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94827 --- Comment #4 from Nathan Sidwell --- Note to stage-1 me: Jason wrote: But I don't think that we need to keep saving the converted current_template_parms; diagnostics could also normalize using NULL_TREE args. And it looks like diagnose_nested

[Bug c++/94827] crash on requires clause in tparam list since r10-4424

2020-04-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94827 Nathan Sidwell changed: What|Removed |Added Summary|[10 Regression] crash on|crash on requires clause in

[Bug c++/94827] crash on requires clause in tparam list since r10-4424

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

[Bug libstdc++/94747] Confusing code in libsupc++/dyncast.cc

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

[Bug c++/94807] Inconsistency in lambda instantiation

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

[Bug c++/94946] [9/10/11 Regression] error: ‘template JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d

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

[Bug c++/94984] New: rejects requires clause in array declaration

2020-05-07 Thread nathan at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Daveed tells us we reject this (clang & edg accept). gcc-9 and 10 reject it (so not a regression) template char (*f(int i))[N] requires(sizeof(i) < 100) {} dav.ii:2:21

[Bug c++/94984] rejects requires clause in array declaration

2020-05-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94984 Nathan Sidwell changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug preprocessor/88937] valgrind error in parse_has_include

2020-05-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88937 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/94984] rejects requires clause in array declaration

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

[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-11 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug preprocessor/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

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

[Bug pch/95131] Instantiate templates at pch generation time

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

[Bug preprocessor/95183] [11 Regression] ICE: Segmentation fault (in _cpp_lex_direct)

2020-05-18 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug preprocessor/95183] [11 Regression] ICE: Segmentation fault (in _cpp_lex_direct)

2020-05-18 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95183 --- Comment #2 from Nathan Sidwell --- This is a bug, but you're running a --traditional C preprocessor test through the c++ compiler, right? (A regular test run doesn't fail this test for me at least)

[Bug preprocessor/95183] [11 Regression] ICE: Segmentation fault (in _cpp_lex_direct)

2020-05-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95183 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/95208] New: missed switch optimization as bit test

2020-05-19 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 48565 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48565&action=edit The if case is optimized better This comes from libcpp/lex.c's raw

[Bug target/95182] Change the definition of Pmode

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

[Bug preprocessor/95183] [11 Regression] ICE: Segmentation fault (in _cpp_lex_direct)

2020-05-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95183 --- Comment #5 from Nathan Sidwell --- patch got attached to p95182, because reasons

[Bug c++/95149] lex.c:1729:8: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]

2020-05-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95149 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/95263] [11 Regression] ICE in lookup_template_class_1 since r11-504-g74744bb1f2847b5b

2020-05-21 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/95288] New: Poor error message with function-scope enum definition

2020-05-23 Thread nathan at gcc dot gnu.org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Created attachment 48587 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48587&action=edit testcase A malformed enum definition in function-scope gives a ve

[Bug c++/95337] New: duplicated deprecated attribute gives incorrectly duplicated diagnostic

2020-05-26 Thread nathan at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Created attachment 48607 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48607&action=edit yesterday, no, testcase. Tha

[Bug c++/95263] [11 Regression] ICE in lookup_template_class_1 since r11-504-g74744bb1f2847b5b

2020-05-26 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95263 --- Comment #1 from Nathan Sidwell --- Reduced: template class TPL { template using INT = int; }; template class Klass { public: template using ALIAS = typename TPL::INT; template static void FUNC (); // OK template static ALIAS

[Bug c++/95337] duplicated deprecated attribute gives incorrectly duplicated diagnostic

2020-05-27 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95337 --- Comment #1 from Nathan Sidwell --- Oops, I ran my installed compiler, and on this machine that's still 9.3. On trunk we get one diagnostic. Ignoring the other deprecated reason.

[Bug c++/95428] ABI breakage for "base object constructor" for final classes

2020-06-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95428 --- Comment #5 from Nathan Sidwell --- i have filed ABI issue 104 https://github.com/itanium-cxx-abi/cxx-abi/issues/104

[Bug c++/95428] ABI breakage for "base object constructor" for final classes

2020-06-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95428 --- Comment #7 from Nathan Sidwell --- Richard Smith thinks the ABI is clear and compilers should always emit the as-base ctor. Even though that wording was written before final was a thing. Depends if Jason wants to argue the case?

[Bug c++/95677] undefined reference to `(anonymous namespace)::xx'

2020-06-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677 --- Comment #3 from Nathan Sidwell --- I think the testcase is should be formed. it was ok in C++98, but that changed when anonymous namespaces gave their contents internal linkage (rather than external but with unpronounceable symbols). [basic

[Bug c++/95677] undefined reference to `(anonymous namespace)::xx'

2020-06-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677 Nathan Sidwell changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/95809] GCC treats inline namespace declaration as "ambiguous"

2020-06-25 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95809 --- Comment #2 from Nathan Sidwell --- yup, dr2061 made that ill-formed. p1701 (wg21.link/p1701) documents the behaviour and it appears EWG is exploring another avenue to resolve the underlying problem 2061 was attempting to fix.

[Bug c++/95809] GCC treats inline namespace declaration as "ambiguous"

2020-06-26 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95809 --- Comment #4 from Nathan Sidwell --- The code is invalid due to DR2061

[Bug demangler/96143] C++ demangler should not add a lambda as a substitution

2020-07-10 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96143 Nathan Sidwell changed: What|Removed |Added Last reconfirmed||2020-07-10 Status|UNCONFIRM

[Bug c++/96257] [11 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.c:3948

2020-07-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96257 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Nathan Sid

[Bug c++/96257] [11 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.c:3948

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

[Bug c++/96363] New: bogus error with constrained partial specialization

2020-07-28 Thread nathan at gcc dot gnu.org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- template class TPL; template struct Trait; template requires (Trait::val == 0) class TPL; // #1 template requires (Trait::val == 1) class TPL; // #2 error here

[Bug preprocessor/95889] [10 regression] __has_include broken with -traditional-cpp (and therefore with Fortran)

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

[Bug preprocessor/95889] [10 regression] __has_include broken with -traditional-cpp (and therefore with Fortran)

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

[Bug c++/96523] New: variable templates of constant types have incorrect linkage

2020-08-07 Thread nathan at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Created attachment 49022 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49022&action=edit testcase part 1 non-template namespac

[Bug c++/96523] variable templates of constant types have incorrect linkage

2020-08-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96523 --- Comment #1 from Nathan Sidwell --- Created attachment 49023 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49023&action=edit testcase part 2

[Bug c++/96523] variable templates of constant types have incorrect linkage

2020-08-10 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug tree-optimization/96633] New: missed optimization?

2020-08-16 Thread nathan at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Matt Godbolt's https://queue.acm.org/detail.cfm?id=3372264 has an example of optimizing on amd64: bool isWhitespace(char c) { return c == ' ' || c == '\r

[Bug c++/88003] ICE on outside definition of inner function-local class in poplevel_class, at cp/name-lookup.c:4325

2020-08-24 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88003 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug target/96246] [AVX512] unefficient code generatation for vpblendm*

2020-08-28 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96246 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org

[Bug objc++/97015] [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100

2020-09-11 Thread nathan at gcc dot gnu.org
|1 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Last reconfirmed||2020-09-11

[Bug objc++/97015] [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100

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

[Bug c++/97171] [11 Regression] ICE in symtab_node::get_for_asmname at gcc/symtab.c:1023 since r11-3192-ge9fdb9a73249f95f

2020-09-23 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97171 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/97171] [11 Regression] ICE in symtab_node::get_for_asmname at gcc/symtab.c:1023 since r11-3192-ge9fdb9a73249f95f

2020-09-23 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97171 --- Comment #2 from Nathan Sidwell --- reduced testcase: template void transform(_UnaryOperation); template void Apply () { extern T Maker (void); // block-scope extern with dependent type transform (Maker); } template void Apply (); T

[Bug c++/97171] [11 Regression] ICE in symtab_node::get_for_asmname at gcc/symtab.c:1023 since r11-3192-ge9fdb9a73249f95f

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

[Bug c++/95677] undefined reference to `(anonymous namespace)::xx'

2020-09-23 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/69855] Missing diagnostic for overload that only differs by return type

2020-09-23 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69855 Nathan Sidwell changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug c++/91826] [8/9/10 Regression] Unexpected behavior when class defined with namespace alias

2019-10-22 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/92370] [10 Regression] ICE in cp_lexer_consume_token, at cp/parser.c:1118

2019-11-05 Thread nathan at gcc dot gnu.org
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/92370] [10 Regression] ICE in cp_lexer_consume_token, at cp/parser.c:1118

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

[Bug c++/92370] [10 Regression] ICE in cp_lexer_consume_token, at cp/parser.c:1118

2019-11-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92370 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Tue Nov 5 16:59:41 2019 New Revision: 277853 URL: https://gcc.gnu.org/viewcvs?rev=277853&root=gcc&view=rev Log: [PR c++/92370] ICE with VC marker https://gcc.gnu.org/ml/gcc-patches/20

[Bug c++/55809] g++ doesn't differentiate elaborated type specifier and typename specifier in dependent types

2019-11-22 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55809 --- Comment #3 from Nathan Sidwell --- I think it's ill-formed. the parameter is a non-type template parameter, using a qualified-id containing a dependent type. As such typename T::X * is correct. Using class there is ill-formed. typename an

  1   2   3   4   5   6   7   8   9   10   >