[Bug libstdc++/87520] [8/9 Regression] ODR violations in std::make_shared when mixing -fno-rtti and -frtti

2018-10-19 Thread g...@axel-naumann.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87520 --- Comment #3 from Axel Naumann --- (In reply to Jonathan Wakely from comment #1) > A possible (partial) fix would be: > > --- a/libstdc++-v3/include/bits/shared_ptr_base.h > +++ b/libstdc++-v3/include/bits/shared_ptr_base.h I can confirm that

[Bug web/81187] New: Doc entry for -Wnoexcept-type misspelled, -Wc++1z-compat missing

2017-06-22 Thread g...@axel-naumann.de
Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: g...@axel-naumann.de Target Milestone: --- This is a bug report on the web documentation *only*. <https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#C_002b_0

[Bug c++/78308] New: Hiding of member function templates introduced by using-decl

2016-11-11 Thread g...@axel-naumann.de
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: g...@axel-naumann.de Target Milestone: --- Hi, struct A { template auto func(T t) -> decltype(T::member); }; struct B: A { using A::func; template auto func(T t) -> decltype(T:

[Bug c++/71468] New: explicit ctor and overload resolution

2016-06-09 Thread g...@axel-naumann.de
++ Assignee: unassigned at gcc dot gnu.org Reporter: g...@axel-naumann.de Target Milestone: --- GCC and clang disagree; I tend to be on clang's side here: #include struct D { D(std::initializer_list); }; struct E { explicit E(double, bool); }; struct F { F(const E&a

[Bug c++/70529] Unhelpful diagnostic for hex float literals, inconsistent parsing

2016-04-08 Thread g...@axel-naumann.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70529 --- Comment #12 from Axel Naumann --- Thanks for explaining, Jakub - I missed the identifier-nondigit. Then it's really a matter of making the diagnostic more informative.

[Bug c++/70529] Unhelpful diagnostic for hex float literals, inconsistent parsing

2016-04-08 Thread g...@axel-naumann.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70529 --- Comment #10 from Axel Naumann --- (In reply to jos...@codesourcery.com from comment #9) > On Thu, 7 Apr 2016, manu at gcc dot gnu.org wrote: > It's simply the case that if the 'p' or 'P' is followed by a digit, rather > than by '+' or '-', t

[Bug c++/70529] Unhelpful diagnostic for hex float literals, inconsistent parsing

2016-04-04 Thread g...@axel-naumann.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70529 --- Comment #2 from Axel Naumann --- Hi Jakub, Thanks for your reply! Let me try to explain better then. This code auto a = 0x123p2; auto b = 0x123p-2; compiles just fine until the recent hexfloat change. Now, the second line will trigger an

[Bug c++/70529] New: Unhelpful diagnostic for hex float literals, inconsistent parsing

2016-04-04 Thread g...@axel-naumann.de
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: g...@axel-naumann.de Target Milestone: --- auto d = 0x123p-2; with g++ prog.cc -Wall -Wextra -std=c++14 -fsyntax-only produces prog.cc:1:10: error: exponent has no digits auto d

[Bug libstdc++/65329] [C++14] constexpr complex::real(), imag() are non-const

2015-03-05 Thread g...@axel-naumann.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65329 --- Comment #2 from Axel Naumann --- Thanks Jonathan, Indeed, that does it. Apologies for not going to the source of it! Axel.

[Bug libstdc++/65329] New: [C++14] constexpr complex::real(), imag() are non-const

2015-03-05 Thread g...@axel-naumann.de
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: g...@axel-naumann.de Hi, N3669 wants "constexpr std::complex::real() const" but https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00664.html#a26d289a887c06b2d66fd02dbcd345

[Bug other/48164] New: ICE in redirect_jump, at jump.c:1443

2011-03-17 Thread g...@axel-naumann.de
...@gcc.gnu.org ReportedBy: g...@axel-naumann.de Created attachment 23688 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23688 Test case $ g++ -O2 t.cxx -c t.cxx: In member function ‘void TDataSetManager::MonitorUsedSpace()’: t.cxx:26:1: internal compiler error: in redirect_jump,