[Bug c++/61647] internal compiler error: in push_access_scope, at cp/pt.c:219 for a c++ header, clang++ 3.4 generate .pch without error

2014-06-29 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61647 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug libstdc++/61645] forward_list::splice_after shall not throw exceptions

2014-06-29 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61645 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to lh_mouse from comment #2) Replace forward_list with list, splice_after with splice and before_begin with begin, all three static_assert's hold

[Bug c++/61637] C++ program does not catch exceptions on AIX 7.1

2014-06-28 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637 --- Comment #2 from Daniel Krügler daniel.kruegler at googlemail dot com --- As usual you need to provide a code example and the used compiler flags.

[Bug libstdc++/56193] ios_base should replace operator void* with explicit operator bool in C++11 onwards.

2014-06-26 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56193 --- Comment #10 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #9) Yes, sure.

[Bug c++/58972] Lambda can't access private members

2014-06-26 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58972 --- Comment #7 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Ville Voutilainen from comment #6) Makes sense to me, I'll do that for the local-class example

[Bug libstdc++/56193] ios_base should replace operator void* with explicit operator bool in C++11 onwards.

2014-06-25 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56193 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/61528] std::min std::max and RValue

2014-06-24 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61528 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/61543] static_castvoid *(static_castint(enum_value)) doesn't get an error

2014-06-24 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61543 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/61543] static_castvoid *(static_castint(enum_value)) doesn't get an error

2014-06-24 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61543 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Vaughn Cato from comment #2) I'm not sure it is related to bug 49171. I agree and withdraw my previous comparison. I didn't notice that the result

[Bug c++/61484] [C++11] [constexpr] can't initialize constexpr multi-dimentional array of a literal type

2014-06-13 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61484 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/61488] [4.9/4.10 regression] Regression in template argument substitution in 4.9+

2014-06-13 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61488 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/61500] [C++11] [4.8/4.9 Regression] Can't take pointer to member referenced via member pointer template parameter.

2014-06-13 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61500 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/61414] enum class bitfield size-checking failure

2014-06-04 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/61381] constexpr non captured by template lambda

2014-06-03 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61381 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/61362] g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2 does not compile lambda with template

2014-05-30 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61362 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/61362] g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2 does not compile lambda with template

2014-05-30 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61362 --- Comment #2 from Daniel Krügler daniel.kruegler at googlemail dot com --- Reduced example (removing library dependencies) using compiler flags -Wall -Wextra -std=c++11 -pedantic for gcc HEAD 4.10.0 20140529 (experimental

[Bug c++/61216] wrong name lookup for operator functions with using-declaration

2014-05-18 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61216 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/61182] [4.9/4.10 Regression] Forming pointer to qualified function type

2014-05-14 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61182 --- Comment #8 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Paolo Carlini from comment #6) I'm adding Daniel in CC, maybe he has a something to say. To be safe, I'm also tentatively marking this as a regression. I

[Bug c++/61182] [4.9/4.10 Regression] Forming pointer to qualified function type

2014-05-14 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61182 --- Comment #9 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #7) And Boost. I have to wonder why their remove_const is so much more complicated than ours: templatetypename _Tp

[Bug c++/61182] [4.9/4.10 Regression] Forming pointer to qualified function type

2014-05-14 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61182 --- Comment #11 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to pdaouadi from comment #3) Still, if the standard says that it is not allowed we can work around it, but then should I file a bug to clang? I have done

[Bug c++/61038] g++ -E is unusable with UDL strings

2014-05-12 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61038 --- Comment #9 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Ben Longbons from comment #8) What about multi-char constants, or are they not permitted in C++ UDLs? Normally they get converted to int, so they're

[Bug c++/60986] Wrong handling of const variables in lambda functions

2014-04-28 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60986 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60798] Access checking of template alias not done at the point of use

2014-04-09 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60798 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60803] Trivial example of overloading in the presence of inheritance fails

2014-04-09 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60803 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60767] [ICE] use of using inside template causes failure in retreive_specialization

2014-04-05 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60767 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2014-04-04 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2014-04-04 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #2) Yes, we rely on that in initializer_list::end(), and clang rejects that. nod I discussed that case with Jason and we

[Bug c++/60692] ICE with template template parameter (invalid code)

2014-03-31 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60692 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60709] [C++11]ICE when using a braced-init-list as function argument to initialize a reference to array

2014-03-31 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60709 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60715] Narrowing conversions not caught in non-type template parameters

2014-03-31 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60715 --- Comment #2 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #1) I'm pretty sure there's an existing bug report about this Agreed. What about bug 57891?

[Bug c++/60705] ill-formed member access in alias template ignored

2014-03-30 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60705 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug libstdc++/60637] --fast-math breaks std::signbit function

2014-03-24 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60637 --- Comment #1 from Daniel Krügler daniel.kruegler at googlemail dot com --- This seems to be fixed in 4.9.0 trunk. My guess is that this was solved via bug 58625.

[Bug c++/60631] [c++11] rvalue this member functions are ambiguous

2014-03-24 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60631 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60595] Compiler error when computing default destructor thunk within virtual inheritance hierarchy

2014-03-19 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60595 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60511] New: [C++1y][N3652] Missing extended constexpr function support

2014-03-12 Thread daniel.kruegler at googlemail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: daniel.kruegler at googlemail dot com gcc 4.9.0 20140309 (experimental) compiled with the flags -std=c++1y -Wall -pedantic rejects: //-- templateclass T struct L { T t

[Bug c++/60437] New: [C++11] Bogus error: no matching function for call to 'X::X(brace-enclosed initializer list)'

2014-03-07 Thread daniel.kruegler at googlemail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com CC: daniel.kruegler at googlemail dot com CC: daniel.kruegler at googlemail dot com Using

[Bug c++/60416] [4.9 Regression] aggregate init will not use explicit default constructors for members with no initializer-clause

2014-03-04 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60416 --- Comment #2 from Daniel Krügler daniel.kruegler at googlemail dot com --- I agree that this is unwanted, but I can deduce astonishing little information what the standard requires here. For copy/move operations we have at least 12.3.1 p3 saying

[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization

2014-03-04 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417 --- Comment #4 from Daniel Krügler daniel.kruegler at googlemail dot com --- I have submitted a request to the core group for clarification, but personally I believe that the intention is clearly to never implicitly-declare an explicit default

[Bug c++/60399] constexpr ctor that does not init an attribute should be rejected but isn't

2014-03-03 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60399 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60402] const overload with variadics declared ambiguous according to standard (may be related to bug 58156)

2014-03-03 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60402 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60305] ICE constexpr array of functions in template

2014-02-24 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60305 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60314] [C++1y] ICE with decltype(auto) when generating debug information

2014-02-22 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60314 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60299] [C++11] Copy constructor calls itself if base class has a constructor which is a variadic function template

2014-02-21 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60299 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60273] gcc gets confused when one class uses variadic

2014-02-19 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60273 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60258] Member initialization for atomic fail.

2014-02-18 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60258 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug libstdc++/60263] C++11 header cuchar is missing

2014-02-18 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60263 --- Comment #2 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to jos...@codesourcery.com from comment #1) In http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01524.html, Jason said he'd raised the issue of whether C++11

[Bug c++/60258] Member initialization for atomic fail.

2014-02-18 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60258 --- Comment #5 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Daniel Krügler from comment #4) Reduced example: More reduced by eliminating library dependencies: //-- struct atomic_bool { atomic_bool

[Bug c++/60199] 'error: field initializer is not constant' when initializing static member function pointer to a function

2014-02-16 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60199 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60209] Declaration of user-defined literal operator cause error

2014-02-16 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60209 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60125] defaulted constructor with throwing NSDMI still declared as noexcept

2014-02-09 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60125 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/59526] [C++11] Defaulted special member functions don't accept noexcept if a member has a non-trivial noexcept operator in the corresponding special member function

2014-02-09 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59526 --- Comment #2 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #1) Trunk doesn't give the same errors, but fails two of the assertions: n.cc:30:1: error: static assertion failed

[Bug c++/60041] Strange behavior

2014-02-03 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60041 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60044] Template argument of alias template not evaluated

2014-02-03 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60044 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60019] [C++11] Bogus error: use of deleted function unique_ptr(const unique_ptr)

2014-02-01 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60019 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/60011] Compile error for legal exemplar from c++11 std [class.friend] 11.3.2

2014-01-31 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60011 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/59816] [c++11] Incorrect visibility check in template instantiation when the default constructor is a variadic template.

2014-01-16 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59816 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/59606] Internal compiler error: Error reporting routines re-entered.

2014-01-13 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59606 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug libstdc++/59508] std::find could use specialized container's find

2013-12-15 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59508 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug libstdc++/59508] std::find could use specialized container's find

2013-12-15 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59508 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Oleg Endo from comment #2) Could you please elaborate? My response was referring to the generic code that you provided, because that would also be applied

[Bug c++/59404] declaration shadowing template parameter wrongly accepted

2013-12-15 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59404 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/59329] Using `assert(...)` is not allowed in constexpr functions

2013-12-02 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59329 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/57645] [4.8/4.9 Regression] Explicitly-declared destructor with no exception specification is always noexcept(true)

2013-11-26 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57645 --- Comment #6 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Dave Peterson from comment #5) In C++11 terminate is expected for this code, because the implied exception specification of any destructor is noexcept(true

[Bug c++/59244] [c++11] can't specialize template on ref-qualified member function pointer type

2013-11-23 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59244 --- Comment #1 from Daniel Krügler daniel.kruegler at googlemail dot com --- This seems to be fixed in gcc 4.8.2 and in gcc 4.9.0 HEAD

[Bug c++/59211] init_priority doesn't work with constant expressions

2013-11-21 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59211 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/59135] Incorrect ambiguity in constexpr function overloads

2013-11-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59135 --- Comment #1 from Daniel Krügler daniel.kruegler at googlemail dot com --- The problem seems to exist in gcc 4.7.3 and within the recent 4.9.0 trunk. The following variant of the code removes unnecessary library dependencies and constexpr (which

[Bug c++/59144] weird behavior when dealing with too complicated templates and class hierarchy

2013-11-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59144 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/59165] gcc looks up begin(), end() for for-range loops for ints in namespace std

2013-11-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59165 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/59204] Incorrect metaprogram evaluation in SFINAE context

2013-11-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59204 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/58752] [C++11] Bogus error: ambiguous class template instantiation

2013-11-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58752 --- Comment #6 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Richard Smith from comment #4) Richard, could you please explain what precisely you meant with: Deducing #1 from #2 gives T=const U, which results

[Bug libstdc++/59027] std::is_signed does not include check for is_arithmetic

2013-11-07 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59027 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/59033] cannot control inherited constructors access

2013-11-07 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59033 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug libstdc++/59027] std::is_signed does not include check for is_arithmetic

2013-11-07 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59027 --- Comment #4 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Marc Mutz from comment #3) See code posted in http://llvm.org/bugs/show_bug.cgi?id=17834 is_unsignedMouseButton fails, !is_signed succeeds. MouseButton

[Bug c++/59004] ICE generated by __func__

2013-11-05 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59004 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/59005] Having designated inits in C++ with -std=c++11 does not cause any errors

2013-11-05 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59005 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/58972] Lambda can't access private members

2013-11-03 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58972 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/58954] accessing a private member function in decltype of a friend class causes access control error

2013-11-01 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58954 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/58948] c++0x support for enums in namespaces

2013-11-01 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58948 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/58948] c++0x support for enums in namespaces

2013-11-01 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58948 --- Comment #4 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to sshannin from comment #2) I wonder if there's any way to declare it such that the namespaces/types are unambiguous that will parse correctly in both the c

[Bug c++/58923] g++ does not use provided conversion function for implicit conversion to another type

2013-10-30 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58923 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/58924] Non-member invocation of overload of operator when the first argument is a temporary of type std::stringstream

2013-10-30 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58924 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Fanael from comment #1) I agree with Fanael: It is supposed to be that way in C++11 because of the provided stream-rvalue support via template class charT

[Bug c++/58894] C++11 lambda doesn't take const variable by reference

2013-10-27 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58894 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/58885] Template static variable linking issue!

2013-10-26 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58885 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/58885] Template static variable linking issue!

2013-10-26 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58885 --- Comment #5 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Vehbi Esref Bayraktar from comment #4) So why doesn't it compile as is CGEnumint, Test_Enum::instances_list CGEnumint, Test_Enum::msInstances; and asks

[Bug c++/58848] constexpr function allows throw

2013-10-23 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58848 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/58815] Casting/Conversion operator for std::decimal not supported

2013-10-22 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58815 --- Comment #8 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Paolo Carlini from comment #6) I also would like to encourage using explicit conversion functions. This is explicitly suggested in the updated C++11

[Bug c++/58820] lambda multiple inheritance operator() not ambiguous

2013-10-21 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58820 --- Comment #1 from Daniel Krügler daniel.kruegler at googlemail dot com --- This looks like a more fundamental name lookup problem of gcc to me. It can be reproduced with function object types that are no lambda closures: template class... Fs

[Bug c++/58815] Casting/Conversion operator for std::decimal not supported

2013-10-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58815 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC

[Bug c++/58713] error: cannot bind ‘std::ostream {aka std::basic_ostreamchar}’ lvalue to ‘std::basic_ostreamchar’

2013-10-14 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58713 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #1) I've tried to improve it in the past, but I think there's no easy way to do it. A possible fix might be to change

[Bug c++/58713] error: cannot bind ‘std::ostream {aka std::basic_ostreamchar}’ lvalue to ‘std::basic_ostreamchar’

2013-10-14 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58713 --- Comment #5 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Marc Glisse from comment #4) If I try to sfinae-out this function based on osx being well-formed, I get an error that template instantiation depth exceeds

[Bug c++/58713] error: cannot bind ‘std::ostream {aka std::basic_ostreamchar}’ lvalue to ‘std::basic_ostreamchar’

2013-10-14 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58713 --- Comment #6 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Daniel Krügler from comment #5) Thanks for your test, Marc. I will reflect upon the problem in a bit more detail My current guess is that my suggested

[Bug libstdc++/58605] atomicT::atomic() disobeys [atomics.types.operations.req]p4 for types with user-defined default constructors

2013-10-12 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58605 --- Comment #4 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Daniel Krügler from comment #3) A new library has been opened: http://cplusplus.github.io/LWG/lwg-active.html#2334

[Bug libstdc++/58625] std::signbit always converts to double

2013-10-05 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58625 --- Comment #10 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Oleg Endo from comment #4) There's another place in file libstdc++-v3/include/c_std/cmath: templatetypename _Tp inline typename __gnu_cxx

[Bug libstdc++/58605] atomicT::atomic() disobeys [atomics.types.operations.req]p4 for types with user-defined default constructors

2013-10-03 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58605 --- Comment #1 from Daniel Krügler daniel.kruegler at googlemail dot com --- Re initialization: I would think that the usage of uninitialized state is a wording issue that should better be clarified by a library issue. I don't think

[Bug libstdc++/58605] atomicT::atomic() disobeys [atomics.types.operations.req]p4 for types with user-defined default constructors

2013-10-03 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58605 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jeffrey Yasskin from comment #2) It would still make sense to keep this issue open as Deferred waiting for the corresponding library issue resolution. I'll

[Bug c++/58569] Compilation error when a class contains multiple std::function

2013-10-01 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58569 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Paolo Carlini from comment #1) [Somehow bugzilla lost my response] Yes, foo is incomplete within a data member declaration of type foo and this breaks std

[Bug c++/58569] Compilation error when a class contains multiple std::function

2013-10-01 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58569 --- Comment #6 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #4) Why would LWG 2132 require any such check during the instantiation of the class template or during the instantiation

[Bug c++/58569] Compilation error when a class contains multiple std::function

2013-10-01 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58569 --- Comment #7 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #5) And it should only happen when instantiating the converting constructor template or converting assignment operator

[Bug c++/58569] Compilation error when a class contains multiple std::function

2013-10-01 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58569 --- Comment #12 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #11) Further reduced (clang gives the same error for this version): templatebool B struct enable_if { typedef void type

[Bug c++/58569] Compilation error when a class contains multiple std::function

2013-10-01 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58569 --- Comment #14 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #13) Argh, yes, I didn't read the diagnostic properly after that last change, sorry! Thanks. I think the actual problem can

[Bug c++/58569] Compilation error when a class contains multiple std::function

2013-10-01 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58569 --- Comment #15 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Daniel Krügler from comment #14) Furthermore the name hiding happening here templatetypename F, typename R = RequiresCallableF Function(F); needs

<    1   2   3   4   5   6   7   8   9   >