[Bug tree-optimization/89809] movzwl is not utilized when uint16_t is loaded with bit-shifts (while memcpy does)

2019-03-25 Thread JunMa at linux dot alibaba.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89809 JunMa changed: What|Removed |Added CC||JunMa at linux dot alibaba.com --- Comment #2 fr

[Bug c++/82643] lambda capture breaks constexpr-ness of non-static const constexpr member call on non-constexpr value/variable

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82643 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/89822] New: self mov on x86_64 and not optimized-out sub on ARM/ARM64 in a jump table switch

2019-03-25 Thread nok.raven at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89822 Bug ID: 89822 Summary: self mov on x86_64 and not optimized-out sub on ARM/ARM64 in a jump table switch Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords:

[Bug rtl-optimization/88347] ICE in begin_move_insn, at sched-ebb.c:175

2019-03-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88347 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/89821] New: Get a SIGFPE on a simple test of a kind=real128 variable with -ffpe-trap=invalid switch

2019-03-25 Thread urbanjost at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89821 Bug ID: 89821 Summary: Get a SIGFPE on a simple test of a kind=real128 variable with -ffpe-trap=invalid switch Product: gcc Version: 7.3.0 Status: UNCONFIRMED S

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread s_gcc_bugzilla at binarez dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 --- Comment #8 from sduguay --- (In reply to Jonathan Wakely from comment #6) > In any case, I agree with confirming this as a bug: all warnings should be > controllable by a -Wxxx option. > > Adding such an option is quite easy, and a good firs

[Bug rtl-optimization/88347] ICE in begin_move_insn, at sched-ebb.c:175

2019-03-25 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88347 --- Comment #5 from Jeffrey A. Law --- Author: law Date: Mon Mar 25 23:33:36 2019 New Revision: 269928 URL: https://gcc.gnu.org/viewcvs?rev=269928&root=gcc&view=rev Log: PR rtl-optimization/88347 PR rtl-optimization/88423

[Bug rtl-optimization/88423] [9 Regression] ICE in begin_move_insn, at sched-ebb.c:175

2019-03-25 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88423 --- Comment #8 from Jeffrey A. Law --- Author: law Date: Mon Mar 25 23:33:36 2019 New Revision: 269928 URL: https://gcc.gnu.org/viewcvs?rev=269928&root=gcc&view=rev Log: PR rtl-optimization/88347 PR rtl-optimization/88423

[Bug libstdc++/70692] No warning when std::function binds a reference to a temporary

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70692 --- Comment #3 from Jonathan Wakely --- This should get addressed more thoroughly by https://wg21.link/p0932

[Bug fortran/85537] Invalid memory reference at runtime when calling subroutine through procedure pointer

2019-03-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85537 Thomas Koenig changed: What|Removed |Added Component|rtl-optimization|fortran Summary|[7/8/9 Regres

[Bug c/83855] [performance] Improve cse optimization for insn with inout ops

2019-03-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83855 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug rtl-optimization/85537] [7/8/9 Regression] Invalid memory reference at runtime when calling subroutine through procedure pointer

2019-03-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85537 --- Comment #11 from Thomas Koenig --- r237104 fails for me, testing r237008.

[Bug c/89812] [9 Regression] incorrect maximum in error: requested alignment ‘536870912’ exceeds maximum 2147483648

2019-03-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89812 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/89812] [9 Regression] incorrect maximum in error: requested alignment ‘536870912’ exceeds maximum 2147483648

2019-03-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89812 --- Comment #3 from Martin Sebor --- Author: msebor Date: Mon Mar 25 22:56:40 2019 New Revision: 269927 URL: https://gcc.gnu.org/viewcvs?rev=269927&root=gcc&view=rev Log: PR c/89812 - incorrect maximum in error: requested alignment '536870912' e

[Bug rtl-optimization/89435] [7/8/9 Regression] wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow()

2019-03-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435 --- Comment #7 from Eric Botcazou --- *** Bug 89815 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/89815] [7/8/9 Regression] wrong code with -Og -march=armv4t -fno-tree-ccp -fno-tree-fre

2019-03-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89815 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/86964] [7/8/9 Regression] Too many debug symbols included, especially for extern globals

2019-03-25 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964 --- Comment #9 from Jeffrey A. Law --- Author: law Date: Mon Mar 25 21:19:09 2019 New Revision: 269925 URL: https://gcc.gnu.org/viewcvs?rev=269925&root=gcc&view=rev Log: PR debug/86964 * dwarf2out.c (premark_used_variables): New

[Bug c++/79367] ICE with decltype of VLA in lambda

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79367 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Summ

[Bug rtl-optimization/89676] [7/8/9 Regression] Redundant moves for long long shift on 32bit x86

2019-03-25 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89676 --- Comment #9 from Vladimir Makarov --- Author: vmakarov Date: Mon Mar 25 21:14:40 2019 New Revision: 269924 URL: https://gcc.gnu.org/viewcvs?rev=269924&root=gcc&view=rev Log: 2019-03-25 Vladimir Makarov PR rtl-optimization/89676

[Bug c++/54367] [meta-bug] lambda expressions

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 70515, which changed state. Bug 70515 Summary: Nested lambdas causing invalid captured pointers on some platforms https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70515 What|Removed |Added

[Bug c++/70515] Nested lambdas causing invalid captured pointers on some platforms

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70515 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/87327] [8/9 Regression] Calling member functions on captured constexpr variables "is not a constant expression"

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87327 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/88529] G++ clears the return register on x86_64 when returning an empty class

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88529 --- Comment #4 from Andrew Pinski --- related to PR20408 (but not the same as the patch which Jason attached is different)

[Bug c++/85013] [7/8 Regression] :1:41: internal compiler error: in wide_int_to_tree_1, at tree.c:1567 0x4097e2b wide_int_to_tree_1

2019-03-25 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85013 Paolo Carlini changed: What|Removed |Added Summary|[7/8/9 Regression] |[7/8 Regression] |:1:4

[Bug c++/84661] [7/8 Regression] internal compiler error: Segmentation fault (strip_array_types())

2019-03-25 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84661 Paolo Carlini changed: What|Removed |Added Summary|[7/8/9 Regression] internal |[7/8 Regression] internal

[Bug c++/84661] [7/8/9 Regression] internal compiler error: Segmentation fault (strip_array_types())

2019-03-25 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84661 --- Comment #6 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Mar 25 20:43:36 2019 New Revision: 269923 URL: https://gcc.gnu.org/viewcvs?rev=269923&root=gcc&view=rev Log: /cp 2019-03-25 Paolo Carlini PR c++/84661 P

[Bug c++/85013] [7/8/9 Regression] :1:41: internal compiler error: in wide_int_to_tree_1, at tree.c:1567 0x4097e2b wide_int_to_tree_1

2019-03-25 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85013 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Mar 25 20:43:36 2019 New Revision: 269923 URL: https://gcc.gnu.org/viewcvs?rev=269923&root=gcc&view=rev Log: /cp 2019-03-25 Paolo Carlini PR c++/84661 P

[Bug target/88529] G++ clears the return register on x86_64 when returning an empty class

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88529 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/89820] Returning empty type produces unnecessary instructions

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89820 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/88529] G++ clears the return register on x86_64 when returning an empty class

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88529 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment #

[Bug c++/89820] New: Returning empty type produces unnecessary instructions

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89820 Bug ID: 89820 Summary: Returning empty type produces unnecessary instructions Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug fortran/71861] [7/8/9 Regression] [F03] ICE in write_symbol(): bad module symbol

2019-03-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71861 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug c++/86429] [8/9 Regression] lambda capture breaks constexpr-ness

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86429 --- Comment #5 from Jason Merrill --- Reduced: struct A { int i; constexpr int f(const int&) const { return i; } }; void g() { constexpr A a = { 42 }; [&](auto x) { constexpr auto y = a.f(x); }(24); }

[Bug fortran/71861] [7/8/9 Regression] [F03] ICE in write_symbol(): bad module symbol

2019-03-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71861 --- Comment #12 from janus at gcc dot gnu.org --- Author: janus Date: Mon Mar 25 19:58:04 2019 New Revision: 269922 URL: https://gcc.gnu.org/viewcvs?rev=269922&root=gcc&view=rev Log: fix PR 71861 2019-03-25 Janus Weil PR fortran/7186

[Bug c++/86429] [8/9 Regression] lambda capture breaks constexpr-ness

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86429 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/86521] [8 Regression] GCC 8 selects incorrect overload of ref-qualified conversion operator template

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521 Jason Merrill changed: What|Removed |Added Summary|[8/9 Regression] GCC 8 |[8 Regression] GCC 8 |

[Bug c++/87480] [8 Regression] SFINAE constructor not matched, only in templated function

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87480 Jason Merrill changed: What|Removed |Added Summary|[8/9 Regression] SFINAE |[8 Regression] SFINAE

[Bug c++/87748] [8 Regression] G++-8 treats SFINAE as error

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87748 Jason Merrill changed: What|Removed |Added Summary|[8/9 Regression] G++-8 |[8 Regression] G++-8 treats

[Bug c++/87480] [8/9 Regression] SFINAE constructor not matched, only in templated function

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87480 --- Comment #5 from Jason Merrill --- Author: jason Date: Mon Mar 25 18:27:08 2019 New Revision: 269921 URL: https://gcc.gnu.org/viewcvs?rev=269921&root=gcc&view=rev Log: PR c++/87748 - substitution failure error with decltype. This iss

[Bug c++/87748] [8/9 Regression] G++-8 treats SFINAE as error

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87748 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Mar 25 18:27:08 2019 New Revision: 269921 URL: https://gcc.gnu.org/viewcvs?rev=269921&root=gcc&view=rev Log: PR c++/87748 - substitution failure error with decltype. This iss

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c++/89767] [8 Regression] ICE with tuple and optimization

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767 Jakub Jelinek changed: What|Removed |Added Summary|[8/9 Regression] ICE with |[8 Regression] ICE with

[Bug other/89817] remove references to type modes from user docs for vector extensions

2019-03-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89817 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #10 from Ville Voutilainen --- Assignment can be made to avoid double-visitation, instead of using _M_destructive_move/copy. Other than that, getting it to generate fewer table items needs the idea from the other bug report.

[Bug libstdc++/89819] [9 Regression] std::variant operators regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89819 Ville Voutilainen changed: What|Removed |Added CC||ville.voutilainen at gmail dot com

[Bug rtl-optimization/89815] [7/8/9 Regression] wrong code with -Og -march=armv4t -fno-tree-ccp -fno-tree-fre

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89815 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #9 from Antony Polukhin --- BTW, I think there are some other cases where binary visitation could be simplified to unary (significantly reducing the code size and improving the compile times). I've filled Bug 89819, but looks like ass

[Bug libstdc++/89819] New: [9 Regression] std::variant operators regressed since GCC 8.3

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89819 Bug ID: 89819 Summary: [9 Regression] std::variant operators regressed since GCC 8.3 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug c++/89796] Incorrect warning generated with OpenMP atomic capture

2019-03-25 Thread perard at cg dot uni-saarland.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89796 --- Comment #6 from Arsène Pérard-Gayot --- (In reply to Jakub Jelinek from comment #5) > Created attachment 46018 [details] > gcc9-pr89796.patch > > Untested fix. > > You could have used simpler > #pragma omp atomic capture > prev = c++; > tha

[Bug c++/67343] C++ mangler does not follow ABI for local names in expressions

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67343 Andrew Pinski changed: What|Removed |Added Keywords||ABI, wrong-code See Also|

[Bug c++/89818] possibly invalid name mangling

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89818 --- Comment #2 from Andrew Pinski --- And related to the upstream ABI issue: https://github.com/itanium-cxx-abi/cxx-abi/issues/38 .

[Bug c++/88413] g++ mangles names involving unresolved names in function argument template parameters differently from the ABI standard.

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88413 --- Comment #10 from Andrew Pinski --- related to PR 67343.

[Bug c++/89818] possibly invalid name mangling

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89818 --- Comment #1 from Andrew Pinski --- related to PR 88413 and PR 67343

[Bug c++/89818] New: possibly invalid name mangling

2019-03-25 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89818 Bug ID: 89818 Summary: possibly invalid name mangling Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ As

[Bug c++/89214] [7/8 Regression] ICE in digest_init_r, at cp/typeck2.c:1211 with -std=c++17

2019-03-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89214 Marek Polacek changed: What|Removed |Added Summary|[7/8/9 Regression] ICE in |[7/8 Regression] ICE in

[Bug c++/89214] [7/8/9 Regression] ICE in digest_init_r, at cp/typeck2.c:1211 with -std=c++17

2019-03-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89214 --- Comment #11 from Marek Polacek --- Author: mpolacek Date: Mon Mar 25 16:38:48 2019 New Revision: 269919 URL: https://gcc.gnu.org/viewcvs?rev=269919&root=gcc&view=rev Log: PR c++/89214 - ICE when initializing aggregates with bases.

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #8 from Ville Voutilainen --- Patch: https://gcc.gnu.org/ml/gcc-patches/2019-03/msg01200.html

[Bug c++/89705] [7/8 Regression] ICE in convert_like_real, at cp/call.c:7334

2019-03-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89705 Marek Polacek changed: What|Removed |Added Summary|[7/8/9 Regression] ICE in |[7/8 Regression] ICE in

[Bug c++/89705] [7/8/9 Regression] ICE in convert_like_real, at cp/call.c:7334

2019-03-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89705 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Mon Mar 25 16:10:06 2019 New Revision: 269918 URL: https://gcc.gnu.org/viewcvs?rev=269918&root=gcc&view=rev Log: PR c++/89705 - ICE with reference binding with conversion funct

[Bug c++/89796] Incorrect warning generated with OpenMP atomic capture

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89796 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #7 from Ville Voutilainen --- Looks good - I'll do a patch shortly.

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #6 from Antony Polukhin --- The fix seems pretty trivial: in function `__variant_construct` get the address of the sorage before entering the `__do_visit` and make it switch only by the `__rhs`. Pseudo-code: template void __va

[Bug other/89817] New: remove references to type modes from user docs for vector extensions

2019-03-25 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89817 Bug ID: 89817 Summary: remove references to type modes from user docs for vector extensions Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug debug/89529] Wrong debug info generated at -Og [gcc-trunk]

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89529 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #5 from Ville Voutilainen --- Correct.

[Bug c++/89700] Warn if move constructor is not generated and not deleted

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89700 --- Comment #6 from Antony Polukhin --- Another way to workaround the warning is to use something like `my_class(my_class&) requires false;`. That's too ugly to use. I'd be fine with closing this issue as a 'won't fix'.

[Bug debug/89791] gcc generates wrong debug information at -O3

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89791 Richard Biener changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment #

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #3 from Ville Voutilainen --- The problem here is that the older approach knows that it's always from type X1 to type X1, never from type X4 to X2. The visitation approach generates combinations that we never use.

[Bug debug/89463] debug information for iteractor of an empty loop is gone (at -O3)

2019-03-25 Thread qrzhang at gatech dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463 --- Comment #9 from Qirun Zhang --- (In reply to Richard Biener from comment #8) > Patch posted here: https://gcc.gnu.org/ml/gcc-patches/2019-03/msg01192.html > > Some of your bugs might turn out as duplicates if they are fixed by that > patch.

[Bug debug/89463] debug information for iteractor of an empty loop is gone (at -O3)

2019-03-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463 --- Comment #10 from rguenther at suse dot de --- On Mon, 25 Mar 2019, qrzhang at gatech dot edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463 > > --- Comment #9 from Qirun Zhang --- > (In reply to Richard Biener from comment #8)

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2019-03-25 Thread nbkolchin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 --- Comment #38 from Nickolay Kolchin-Semyonov --- Since this is a long standing problem, maybe this limitation should be mentioned in official documentation?

[Bug c++/62181] [C/C++] Expected new warning: "adding 'char' to a string does not append to the string" [-Wstring-plus-int]

2019-03-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62181 --- Comment #17 from Eric Gallager --- (In reply to Xi Ruoyao from comment #16) > (In reply to Jonathan Wakely from comment #15) > > Was this question ever answered? > > https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01337.html > > Oh that's inte

[Bug debug/89530] Wrong debug informations for C array generated at -Og [gcc-trunk]

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530 Richard Biener changed: What|Removed |Added Keywords|wrong-debug | --- Comment #9 from Richard Biener --

[Bug debug/89463] debug information for iteractor of an empty loop is gone (at -O3)

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463 --- Comment #8 from Richard Biener --- Patch posted here: https://gcc.gnu.org/ml/gcc-patches/2019-03/msg01192.html Some of your bugs might turn out as duplicates if they are fixed by that patch.

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/62181] [C/C++] Expected new warning: "adding 'char' to a string does not append to the string" [-Wstring-plus-int]

2019-03-25 Thread xry111 at mengyan1223 dot wang
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62181 --- Comment #16 from Xi Ruoyao --- (In reply to Jonathan Wakely from comment #15) > Was this question ever answered? > https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01337.html Oh that's intentional. This would make this warning more useful, whi

[Bug rtl-optimization/89528] Wrong debug info generated at -Og [gcc-trunk]

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89528 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Ville Voutilainen changed: What|Removed |Added CC||ville.voutilainen at gmail dot com

[Bug tree-optimization/89789] [9 Regression] Compile time hog during RPO VN

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89789 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Mar 25 13:53:50 2019 New Revision: 269917 URL: https://gcc.gnu.org/viewcvs?rev=269917&root=gcc&view=rev Log: 2019-03-25 Richard Biener PR tree-optimization/89789

[Bug tree-optimization/89789] [9 Regression] Compile time hog during RPO VN

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89789 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Jonathan Wakely changed: What|Removed |Added CC||ville at gcc dot gnu.org --- Comment #

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone|

[Bug tree-optimization/89653] Missing vectorization of loop containing std::min/std::max and temporary

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89653 --- Comment #8 from Richard Biener --- (In reply to Moritz Kreutzer from comment #7) > Thanks for taking this up Richard! I just want to check back: Do you need > any assistance with testing or more information from my side? Not at this point -

[Bug libstdc++/89816] New: [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Bug ID: 89816 Summary: [9 Regression] std::variant move construction regressed since GCC 8.3 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 --- Comment #37 from Jonathan Wakely --- From PR 89806: Sample code: #pragma GCC diagnostic ignored "-Wdate-time" const char* g_test = "dirty-" __DATE__; When compiling with g++ (g++ -Werror=date-time) this produces: :2:31: error: macro "__DA

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 Jonathan Wakely changed: What|Removed |Added CC||nbkolchin at gmail dot com --- Comment

[Bug c++/89806] Different behaviour for "pragma diagnostic disabled" between gcc and g++

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89806 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/62181] [C/C++] Expected new warning: "adding 'char' to a string does not append to the string" [-Wstring-plus-int]

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62181 --- Comment #15 from Jonathan Wakely --- Was this question ever answered? https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01337.html

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Jonathan Wakely changed: What|Removed |Added Keywords||easyhack --- Comment #6 from Jonathan

[Bug tree-optimization/89653] Missing vectorization of loop containing std::min/std::max and temporary

2019-03-25 Thread moritz.kreutzer at siemens dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89653 --- Comment #7 from Moritz Kreutzer --- Thanks for taking this up Richard! I just want to check back: Do you need any assistance with testing or more information from my side?

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 --- Comment #5 from Richard Biener --- (In reply to sduguay from comment #3) > (In reply to Richard Biener from comment #1) > > Testcase: > > > > #pragma once > > int main() {} > > > > > g++ t.C -S > > t.C:1:9: warning: #pragma once in main fil

[Bug rtl-optimization/89815] New: [7/8/9 Regression] wrong code with -Og -march=armv4t -fno-tree-ccp -fno-tree-fre

2019-03-25 Thread zsojka at seznam dot cz
a-hardfloat Thread model: posix gcc version 9.0.1 20190325 (experimental) (GCC) The .ira dump has: ... (insn 55 24 32 2 (set (reg:QI 145 [143]) (const_int -1 [0x])) "testcase.c":10:7 191 {*arm_movqi_insn} (nil)) ... (insn 58 43 47 2 (set (reg:QI 143)

[Bug middle-end/89779] [9 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in tree_nop_conversion_p, at tree.c:12798

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89779 --- Comment #7 from Richard Biener --- Author: rguenth Date: Mon Mar 25 12:18:38 2019 New Revision: 269914 URL: https://gcc.gnu.org/viewcvs?rev=269914&root=gcc&view=rev Log: 2019-03-25 Richard Biener PR tree-optimization/89779

[Bug tree-optimization/89802] [9 Regresssion] ICE: verify_gimple failed (error: dead STMT in EH table)

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89802 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Mar 25 12:15:59 2019 New Revision: 269913 URL: https://gcc.gnu.org/viewcvs?rev=269913&root=gcc&view=rev Log: 2019-03-25 Richard Biener PR tree-optimization/89802

[Bug tree-optimization/89802] [9 Regresssion] ICE: verify_gimple failed (error: dead STMT in EH table)

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89802 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/89802] [9 Regresssion] ICE: verify_gimple failed (error: dead STMT in EH table)

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89802 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/60702] thread_local initialization

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 --- Comment #18 from Jakub Jelinek --- Should be fixed on the trunk now.

[Bug c++/60702] thread_local initialization

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 --- Comment #17 from Jakub Jelinek --- Author: jakub Date: Mon Mar 25 11:53:56 2019 New Revision: 269912 URL: https://gcc.gnu.org/viewcvs?rev=269912&root=gcc&view=rev Log: PR c++/60702 * g++.dg/tls/thread_local11.C: Remove scan-t

[Bug libfortran/79540] [7/8/9 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

2019-03-25 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 --- Comment #24 from John David Anglin --- Author: danglin Date: Mon Mar 25 11:48:36 2019 New Revision: 269911 URL: https://gcc.gnu.org/viewcvs?rev=269911&root=gcc&view=rev Log: PR libgfortran/79540 * io/write_float.def (build_fl

  1   2   >