[Bug libstdc++/89641] New: std::atomic no longer works

2019-03-09 Thread d25fe0be at outlook dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: d25fe0be at outlook dot com Target Milestone: --- Live example: https://wandbox.org/permlink/j7rBCbdmy9sUBRZQ Compiling the following snippet ... ```cpp #include std::atomic x; int main() { ++x; } ``` ... fails with: ``` /opt

[Bug c++/88475] -E -fdirectives-only clashes with raw strings

2019-01-21 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88475 --- Comment #2 from d25fe0be@ --- It looks like this was (incorrectly, I assume) rejected since GCC 4.4. https://wandbox.org/permlink/I0yF3U3OXoH6LbIM

[Bug c++/88757] [9 Regression] GCC wrongly treats dependent name as a type when it should be treated as a value

2019-01-08 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88757 --- Comment #2 from d25fe0be@ --- Oops, I didn't realize this. Thank you for clarifying.

[Bug c++/88757] New: GCC wrongly treats dependent name as a type when it should be treated as a value

2019-01-08 Thread d25fe0be at outlook dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: d25fe0be at outlook dot com Target Milestone: --- GCC complains "error: no declaration matches 'int C::x(typename S::size)'" when compiling the followi

[Bug c++/88692] New: Spurious "redundant move in return statement"

2019-01-04 Thread d25fe0be at outlook dot com
mponent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: d25fe0be at outlook dot com Target Milestone: --- From https://en.cppreference.com/w/cpp/language/member_functions: > Note: unlike cv-qualification, ref-qualification does not change the > properties of

[Bug c++/86933] New: GCC fails to recognize specialization of variadic non-type template parameter declared with `auto`

2018-08-13 Thread d25fe0be at outlook dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: d25fe0be at outlook dot com Target Milestone: --- The following code fails to compile, saying `TT<::x, ::y>` is not defined. template str

[Bug c++/82619] C++17 std::apply treated as in global namespace under certain circumstances

2017-10-19 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82619 --- Comment #1 from d25fe0be@ --- If a `std::tuple` is passed in as `tuple`, isn't `std::apply` found by ADL?

[Bug c++/81398] Complaining about 'partial specialization of '...' after instantiation' in c++1z

2017-09-27 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81398 d25fe0be@ changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/82087] HEAD fails to bootstrap on x86_64-apple-darwin16.7.0

2017-09-07 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82087 d25fe0be@ changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/82087] HEAD fails to bootstrap on x86_64-apple-darwin16.7.0

2017-09-03 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82087 --- Comment #2 from d25fe0be@ --- After suppressing Clang's error about passing POD through varargs, bootstrapping r251624 now fails with: ``` libtool: compile: /private/tmp/gcc-20170903-13173-cfn0kc/build/./gcc/xgcc

[Bug bootstrap/82087] HEAD fails to bootstrap on x86_64-apple-darwin16.7.0

2017-09-03 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82087 --- Comment #1 from d25fe0be@ --- Sorry, the command invoked was missing: ``` clang++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC-fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings

[Bug tree-optimization/81814] Incorrect behaviour at -O0 (conditional operator)

2017-08-11 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81814 --- Comment #5 from d25fe0be@ --- Oops, sorry, I read the 2nd and the 3rd operand of the conditional operator in wrong order. A silly mistake..

[Bug tree-optimization/81814] Incorrect behaviour at -O0 (conditional operator)

2017-08-11 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81814 --- Comment #4 from d25fe0be@ --- Per n4659 7.8/[conv.integral]: ``` If the destination type is signed, the value is unchanged if it can be represented in the destination type; otherwise, the value is implementation-defined. ``` Isn't

[Bug bootstrap/81033] [8 Regression] Revision r249019 breaks bootstrap on darwin

2017-07-09 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81033 --- Comment #19 from d25fe0be@ --- Bootstrap seems to work for me now. Not sure which revision brings it back to normal though.

[Bug c++/81279] variadic template regression : compiles without error under 5.4.0 , 6.3.0 with error under 7.1.0

2017-07-02 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81279 --- Comment #4 from d25fe0be@ --- '_t::_call' is a dependent name, adding 'template' before '_call' fixes the compilation error.

[Bug sanitizer/81079] -static-libasan/libtsan/libubsan does not take effect unless -fsanitize=address/thread/undefined is also specified when linking object files using gcc

2017-06-13 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81079 --- Comment #2 from d25fe0be@ --- Thank you for your explanation. I missed 'When the -fsanitize=address option is used to link a program' in the documentation as I was reading. Sorry for the noise.

[Bug libstdc++/80796] std::make_xxx_searcher / std::search(iter, iter, searcher) is missing

2017-05-19 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80796 --- Comment #3 from d25fe0be@ --- Oh, my bad. I did't know about p0433r2, but at least I should have checked n4659 (make_xxx_searcher has already been removed there) before submitting. My apologize. And thanks for pointing out this.

[Bug c++/80664] Destructor not called upon exception while initializing a vector

2017-05-08 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80664 --- Comment #3 from d25fe0be@ --- Is this related to PR 66139?

[Bug c++/80594] error: ‘SDL_Window’ does not name a type

2017-05-02 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80594 d25fe0be@ changed: What|Removed |Added CC||d25fe0be at outlook dot com --- Comment #1