[Bug tree-optimization/92860] [8/9/10/11 regression] Global flags affected by -O settings are clobbered by optimize attribute

2020-06-24 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #36 from David Binderman --- (In reply to Martin Liška from comment #35) > Btw. can you run the failing compilation in gdb and list where exactly it > fails (which option name is different)? Shown previous runs indicate the first tes

[Bug tree-optimization/92860] [8/9/10/11 regression] Global flags affected by -O settings are clobbered by optimize attribute

2020-06-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #35 from Martin Liška --- Btw. can you run the failing compilation in gdb and list where exactly it fails (which option name is different)?

[Bug tree-optimization/92860] [8/9/10/11 regression] Global flags affected by -O settings are clobbered by optimize attribute

2020-06-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #34 from Martin Liška --- I don't have to do anything special in order to get pre-processed source file: $ gcc pr88876.c -freport-bug pr88876.c:10:1: internal compiler error: ‘global_options’ are modified in local context 10 | in

[Bug tree-optimization/95804] [11 Regression] ICE in generate_code_for_partition, at tree-loop-distribution.c:1323 since r11-1565-g2c0069fafb53ccb7

2020-06-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95804 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Summary|ice in

[Bug fortran/95880] [9/10/11 Regression] ICE in gfc_add_type, at fortran/symbol.c:2030

2020-06-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95880 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug middle-end/95886] suboptimal memcpy with embedded zero bytes

2020-06-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95886 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/95886] suboptimal memcpy with embedded zero bytes

2020-06-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95886 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug fortran/95828] ICE in resolve_select_rank, at fortran/resolve.c:9774

2020-06-24 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95828 --- Comment #3 from anlauf at gcc dot gnu.org --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2020-June/054604.html

[Bug middle-end/95887] New: suboptimal memcmp with embedded zero bytes

2020-06-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95887 Bug ID: 95887 Summary: suboptimal memcmp with embedded zero bytes Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-

[Bug middle-end/95189] [10/11 Regression] memcmp being wrongly stripped like strcmp

2020-06-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #7 from Martin Sebor --- The following is a more straightforward test case that's also miscompiled to return zero: int main () { char a[] = "\0abc"; return __builtin_memcmp (a, "\0\0\0\0", 4); } main: .LFB0:

[Bug c++/88335] Implement P1073R3, C++20 immediate functions (consteval).

2020-06-24 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88335 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/95828] ICE in resolve_select_rank, at fortran/resolve.c:9774

2020-06-24 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95828 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|u

[Bug middle-end/95886] New: suboptimal memcpy with embedded zero bytes

2020-06-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95886 Bug ID: 95886 Summary: suboptimal memcpy with embedded zero bytes Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-

[Bug target/94954] Wrong code generation for vec_pack_to_short_fp32 builtin for Power

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94954 --- Comment #2 from CVS Commits --- The master branch has been updated by Will Schmidt : https://gcc.gnu.org/g:58b475a2233630b1737bbdab986f08510d62cd3a commit r11-1643-g58b475a2233630b1737bbdab986f08510d62cd3a Author: Will Schmidt Date: Wed

[Bug fortran/95880] [9/10/11 Regression] ICE in gfc_add_type, at fortran/symbol.c:2030

2020-06-24 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95880 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/92860] [8/9/10/11 regression] Global flags affected by -O settings are clobbered by optimize attribute

2020-06-24 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #33 from David Binderman --- (In reply to Martin Liška from comment #32) > Thank you very much. I'll wait for a test-case by you ;) I have had a go, but I cannot generate an intermediate file. I've tried various ways to get options-

[Bug c++/95510] [coroutines] ICE with consteval operator co_await

2020-06-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95510 Iain Sandoe changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug rtl-optimization/90174] Bad register spill due to top-down allocation order

2020-06-24 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90174 --- Comment #11 from Vladimir Makarov --- (In reply to Tamar Christina from comment #10) > Hi Vlad, > > Just curious if you had a chance to think about an approach to this that > would be acceptable. Sorry for not working on this issue more a

[Bug fortran/95689] [8/9/10/11 Regression] ICE in check_sym_interfaces, at fortran/interface.c:2015

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95689 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e3d976ae009b873596b47961869b7cdfc41d7e67 commit r9-8696-ge3d976ae009b873596b47961869b7cdfc41d7e67 Author: Harald Anlauf Da

[Bug middle-end/65832] Inefficient vector construction

2020-06-24 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65832 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug testsuite/95577] Tcl error with testsuite/gcc.misc-tests/outputs.exp on darwin

2020-06-24 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95577 Alexandre Oliva changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/95689] [8/9/10/11 Regression] ICE in check_sym_interfaces, at fortran/interface.c:2015

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95689 --- Comment #9 from CVS Commits --- The releases/gcc-8 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e1edfe597d9157b8b9b61c4677b38730a9a59936 commit r8-10327-ge1edfe597d9157b8b9b61c4677b38730a9a59936 Author: Harald Anlauf Da

[Bug testsuite/95416] Several gcc.misc-tests/outputs.exp tests FAIL

2020-06-24 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95416 Alexandre Oliva changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/95577] Tcl error with testsuite/gcc.misc-tests/outputs.exp on darwin

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95577 --- Comment #9 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:ef6506e23691a72e1e724977e8ee8b9f3db74015 commit r11-1642-gef6506e23691a72e1e724977e8ee8b9f3db74015 Author: Alexandre Oliva Date:

[Bug testsuite/95416] Several gcc.misc-tests/outputs.exp tests FAIL

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95416 --- Comment #4 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:ef6506e23691a72e1e724977e8ee8b9f3db74015 commit r11-1642-gef6506e23691a72e1e724977e8ee8b9f3db74015 Author: Alexandre Oliva Date:

[Bug c++/95672] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:584

2020-06-24 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95672 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Sta

[Bug c++/95719] [10/11 Regression] ICE in lookup_vfn_in_binfo at gcc/cp/class.c:2459 since r11-954-g0ddb93ce77374004

2020-06-24 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95719 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/95672] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:584

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95672 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:11a751ff77fba92de77b099ec5e1896d3a99d482 commit r11-1641-g11a751ff77fba92de77b099ec5e1896d3a99d482 Author: Nicholas Krause Date:

[Bug c++/95813] Making static member function a coroutine may cause "defined but not used" warning for destroy(frame*) function

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95813 --- Comment #2 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:1e5da6a02fec8aa84bb00966282f420cb70fe4f0 commit r11-1640-g1e5da6a02fec8aa84bb00966282f420cb70fe4f0 Author: Iain Sandoe Date: Wed

[Bug c++/95518] [coroutines] [[maybe_unused]] does not propagate to actor() and destroy()

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95518 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:1e5da6a02fec8aa84bb00966282f420cb70fe4f0 commit r11-1640-g1e5da6a02fec8aa84bb00966282f420cb70fe4f0 Author: Iain Sandoe Date: Wed

[Bug c++/95719] [10/11 Regression] ICE in lookup_vfn_in_binfo at gcc/cp/class.c:2459 since r11-954-g0ddb93ce77374004

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95719 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:554eb7d2e1ef5660d6a8e1c12ee1d751a70bbf31 commit r10-8363-g554eb7d2e1ef5660d6a8e1c12ee1d751a70bbf31 Author: Jason Merrill D

[Bug target/95885] New: LOCAL_DECL_ALIGNMENT macro documentation is incorrect.

2020-06-24 Thread skpgkp2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95885 Bug ID: 95885 Summary: LOCAL_DECL_ALIGNMENT macro documentation is incorrect. Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/95719] [10/11 Regression] ICE in lookup_vfn_in_binfo at gcc/cp/class.c:2459 since r11-954-g0ddb93ce77374004

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95719 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7d6baf68fe22b6ef5b1d6fabbef97c0e1b4d7abf commit r11-1637-g7d6baf68fe22b6ef5b1d6fabbef97c0e1b4d7abf Author: Jason Merrill Date: Tu

[Bug c++/95883] New: Attributes on lambdas appear to be parsed in the wrong place

2020-06-24 Thread drewb at valvesoftware dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95883 Bug ID: 95883 Summary: Attributes on lambdas appear to be parsed in the wrong place Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/95820] [10/11 Regression] ICE in splice_late_return_type, at cp/pt.c:29034

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95820 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug testsuite/95720] [11 Regression] New dump output filename strategy invalidates tests

2020-06-24 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95720 --- Comment #7 from Alexandre Oliva --- now, if it is from the board config file, maybe it had better be moved to ldflags or libs; both of them undergo some -Wl, treatment of object files and libs already.

[Bug testsuite/95720] [11 Regression] New dump output filename strategy invalidates tests

2020-06-24 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95720 --- Comment #6 from Alexandre Oliva --- In case that's from some board config file, I suggest prefixing it with -Wl, so that it doesn't count as an additional input.

[Bug testsuite/95720] [11 Regression] New dump output filename strategy invalidates tests

2020-06-24 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95720 --- Comment #5 from Alexandre Oliva --- that's because of the second input gcc_tg.o can you tell where that comes from?

[Bug fortran/95827] ICE in gfc_get_string, at fortran/iresolve.c:70

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95827 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a16d0924f18046704ef9a4b6d9593718594677f1 commit r11-1634-ga16d0924f18046704ef9a4b6d9593718594677f1 Author: Harald Anlauf Date: We

[Bug fortran/95882] [9/10/11 Regression] ICE in gfc_get_derived_type, at fortran/trans-types.c:2729

2020-06-24 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95882 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from G

[Bug fortran/95882] New: [9/10/11 Regression] ICE in gfc_get_derived_type, at fortran/trans-types.c:2729

2020-06-24 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95882 Bug ID: 95882 Summary: [9/10/11 Regression] ICE in gfc_get_derived_type, at fortran/trans-types.c:2729 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug fortran/95881] New: [9/10/11 Regression] ICE in resolve_symbol, at fortran/resolve.c:15175

2020-06-24 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95881 Bug ID: 95881 Summary: [9/10/11 Regression] ICE in resolve_symbol, at fortran/resolve.c:15175 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/95880] New: [9/10/11 Regression] ICE in gfc_add_type, at fortran/symbol.c:2030

2020-06-24 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95880 Bug ID: 95880 Summary: [9/10/11 Regression] ICE in gfc_add_type, at fortran/symbol.c:2030 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/95820] [10/11 Regression] ICE in splice_late_return_type, at cp/pt.c:29034

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95820 Marek Polacek changed: What|Removed |Added Summary|ICE in |[10/11 Regression] ICE in

[Bug fortran/95879] [10/11 Regression] ICE in gfc_get_derived_type, at fortran/trans-types.c:2729

2020-06-24 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95879 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from G

[Bug fortran/95879] New: [10/11 Regression] ICE in gfc_get_derived_type, at fortran/trans-types.c:2729

2020-06-24 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95879 Bug ID: 95879 Summary: [10/11 Regression] ICE in gfc_get_derived_type, at fortran/trans-types.c:2729 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: no

[Bug c++/95878] ICE when compiling code that mixes an empty class, [[no_unique_address]] and non-trivial default and copy constructors

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95878 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug c++/93711] [9/10/11 Regression] ICE: [[no_unique_address] when constructing via template helper

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93711 --- Comment #6 from Marek Polacek --- Another test: struct istream_iterator { istream_iterator() {} istream_iterator(const istream_iterator&) {} }; istream_iterator next(istream_iterator&& bound) { return static_cast(bou

[Bug c++/93711] [9/10/11 Regression] ICE: [[no_unique_address] when constructing via template helper

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93711 Marek Polacek changed: What|Removed |Added CC||boris.staletic at gmail dot com --- Comm

[Bug fortran/95877] [9 regression] ICE in test case gfortran.dg/pr95689.f90 after r9-8693

2020-06-24 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95877 --- Comment #1 from anlauf at gcc dot gnu.org --- (In reply to Bill Seurer from comment #0) > g:84323d9fa7526496d844f167f6353e0ec12279e8, r9-8693 > > This same error occurs on both gcc 8 and 9. Bad backport maybe? I do not get this error on x8

[Bug c++/95878] New: ICE when compiling code that mixes an empty class, [[no_unique_address]] and non-trivial default and copy constructors

2020-06-24 Thread boris.staletic at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95878 Bug ID: 95878 Summary: ICE when compiling code that mixes an empty class, [[no_unique_address]] and non-trivial default and copy constructors Product: gcc Version

[Bug rtl-optimization/89310] Poor code generation returning float field from a struct

2020-06-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89310 --- Comment #4 from Segher Boessenkool --- Maybe you can make a define_insn_and_split for the lshrdi3 plus this? Which will split to an insn fewer immediately. If you split after reload you need many extra patterns to get the most basic optimisa

[Bug c++/95870] [8/9/10/11 Regression] ICE (segmentation fault) in most_general_template(), in gcc/cp/pt.c

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870 Marek Polacek changed: What|Removed |Added Target Milestone|--- |8.5 Keywords|

[Bug fortran/67311] ICE calling subroutine with derived type as argument within OpenMP parallel region

2020-06-24 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67311 --- Comment #7 from Tobias Burnus --- Patch – without one recursively checks the same type. --- a/gcc/fortran/trans-openmp.c +++ b/gcc/fortran/trans-openmp.c @@ -330,6 +330,11 @@ gfc_has_alloc_comps (tree type, tree decl) return false;

[Bug tree-optimization/95866] vectorized shift with scalar argument not correctly costed

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95866 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c78907d514d65483c7ddfb4cb1f5c57f23da73d9 commit r11-1633-gc78907d514d65483c7ddfb4cb1f5c57f23da73d9 Author: Richard Biener Date:

[Bug fortran/95877] New: gfortran.dg/pr95689.f90

2020-06-24 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95877 Bug ID: 95877 Summary: gfortran.dg/pr95689.f90 Product: gcc Version: 9.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assigne

[Bug c++/95870] ICE(segmentation fault) in most_general_template(), in gcc/cp/pt.c

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870 --- Comment #3 from Marek Polacek --- Reduced, but invalid: template class a { public: a(); int b = [] { enum E {}; }; }; class c : a { c(); }; template a::a() = default; c::c() {}

[Bug c++/95870] ICE(segmentation fault) in most_general_template(), in gcc/cp/pt.c

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870 --- Comment #2 from Marek Polacek --- Looks like it started with r251433.

[Bug c++/95820] ICE in splice_late_return_type, at cp/pt.c:29034

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95820 --- Comment #3 from Marek Polacek --- Hit this when reducing something: template class a b[]()->int So it'd be nice to fix it to alleviate problems when reducing C++ code.

[Bug rtl-optimization/90174] Bad register spill due to top-down allocation order

2020-06-24 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90174 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Commen

[Bug tree-optimization/95853] Failure to optimize add overflow pattern to __builtin_add_overflow

2020-06-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95853 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/95870] ICE(segmentation fault) in most_general_template(), in gcc/cp/pt.c

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/95870] ICE(segmentation fault) in most_general_template(), in gcc/cp/pt.c

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/88752] [8 Regression] ICE in enclosing_instantiation_of, at cp/pt.c:13328

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88752 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/78906] ICE with a member variable template whose type is a decltype of a member variable template of a class template

2020-06-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78906 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug go/95876] New: Error in compiling gcc-11-20200621 with gcc-10 without -g

2020-06-24 Thread 570070308 at qq dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95876 Bug ID: 95876 Summary: Error in compiling gcc-11-20200621 with gcc-10 without -g Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prior

[Bug libstdc++/95851] [10/11 Regression] std::to_chars(p, p, c, 2) segfault

2020-06-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95851 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/95875] New: Misleading error message "invalid use of incomplete type"

2020-06-24 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95875 Bug ID: 95875 Summary: Misleading error message "invalid use of incomplete type" Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: diagnostic S

[Bug target/95874] New: CLWB isn't supported on Icelake client

2020-06-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95874 Bug ID: 95874 Summary: CLWB isn't supported on Icelake client Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/95839] Failure to optimize addition of vector elements to vector addition

2020-06-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95839 --- Comment #4 from Richard Biener --- OK, with some pending patch applied and diff --git a/gcc/tree-vect-slp.c b/gcc/tree-vect-slp.c index ca6bedc9cc8..3d5de39383c 100644 --- a/gcc/tree-vect-slp.c +++ b/gcc/tree-vect-slp.c @@ -3130,7 +3130,7 @

[Bug c++/95873] New: Duplicated warning message "'class' tag used in naming 'union a'"

2020-06-24 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95873 Bug ID: 95873 Summary: Duplicated warning message "'class' tag used in naming 'union a'" Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug tree-optimization/95839] Failure to optimize addition of vector elements to vector addition

2020-06-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95839 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #

[Bug c++/95872] New: Duplicated warning message in "-Wlogical-op"

2020-06-24 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95872 Bug ID: 95872 Summary: Duplicated warning message in "-Wlogical-op" Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priorit

[Bug c++/95871] New: Duplicated error message : "the value is not usable in a constant expression"

2020-06-24 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95871 Bug ID: 95871 Summary: Duplicated error message : "the value is not usable in a constant expression" Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: di

[Bug c++/95870] New: ICE(segmentation fault) in most_general_template(), in gcc/cp/pt.c

2020-06-24 Thread viktor.rosendahl at bmw dot de
ocessed cource code) I can reproduce this bug with the following gcc versions: 9.3.0 10.1.0 11.0.0 20200624 (experimental) [this was built with revision eb0ff770e29 from git://gcc.gnu.org/git/gcc.git, which was the tip of the master branch on 24th of June, 2020] The bug does not happen with: 7

[Bug fortran/95869] New: ICE when "target parallel" construct used with "if" clause in Fortran

2020-06-24 Thread kcy at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95869 Bug ID: 95869 Summary: ICE when "target parallel" construct used with "if" clause in Fortran Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/95660] get_intel_cpu in cpuinfo.c contains unnecessary check for brand_id

2020-06-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95660 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/95660] get_intel_cpu in cpuinfo.c contains unnecessary check for brand_id

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95660 --- Comment #2 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:134f7c941929b3d099322a89928c04e5ac69267e commit r11-1631-g134f7c941929b3d099322a89928c04e5ac69267e Author: H.J. Lu Date: Fri Jun 12 16:

[Bug target/95774] __builtin_cpu_is can't detect cooperlake

2020-06-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95774 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Bug target/95843] Duplicated ISA info in driver-i386.c and i386-builtins.c

2020-06-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95843 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ipa/95859] Statically true asserts not recognized as such with -O2, but with -O1, -Og, -O3

2020-06-24 Thread tobi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95859 --- Comment #3 from Tobias Schlüter --- ps here's the compiler explorer link for the preprocessed test. https://godbolt.org/z/zDw5JQ I tried manually reducing it, but couldn't easily get below the 1000kib limit.

[Bug libstdc++/95851] [10/11 Regression] std::to_chars(p, p, c, 2) segfault

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95851 --- Comment #2 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ff5c8fe44a98025c1e700cfc033247965e293869 commit r10-8360-gff5c8fe44a98025c1e700cfc033247965e293869 Author: Jonathan Wakel

[Bug target/95774] __builtin_cpu_is can't detect cooperlake

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95774 --- Comment #2 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:403e166b974f53982d78efdd70938d05b6983b2a commit r11-1630-g403e166b974f53982d78efdd70938d05b6983b2a Author: H.J. Lu Date: Fri Jun 19 21:

[Bug tree-optimization/95839] Failure to optimize addition of vector elements to vector addition

2020-06-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95839 --- Comment #2 from Uroš Bizjak --- What I find interesting is a similar case with the division instead of the addition. Clang compiles it to: divps %xmm1, %xmm0 retq Considering that we have [a0, a1, 0, 0] / [b0, b1, 0, 0], t

[Bug target/95843] Duplicated ISA info in driver-i386.c and i386-builtins.c

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95843 --- Comment #1 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:6c35d16a3925958b3a22426de0cb8e04f654b6dd commit r11-1629-g6c35d16a3925958b3a22426de0cb8e04f654b6dd Author: H.J. Lu Date: Wed Jun 24 04:

[Bug ipa/95859] Statically true asserts not recognized as such with -O2, but with -O1, -Og, -O3

2020-06-24 Thread tobi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95859 --- Comment #2 from Tobias Schlüter --- Created attachment 48779 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48779&action=edit Preprocessed source x86 (32bit) Here's preprocessed source for x86 (32 bit). This shows the same behavior as

[Bug target/95864] [11 Regression] GCN offloading execution regressions after commit f062c3f11505b70c5275e5bc0e52f3e441f8afbc "amdgcn: Switch to HSACO v3 binary format"

2020-06-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95864 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/95867] Failure to optimize successive multiplications of ___uint128_t

2020-06-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95867 --- Comment #3 from Richard Biener --- It's done through POWI internally, I guess we could open the internal function to also operate on integers... As for overflow for a multiplication chain of the same operand there shouldn't be any issue, but

[Bug tree-optimization/95867] Failure to optimize successive multiplications of ___uint128_t

2020-06-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95867 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/95867] Failure to optimize successive multiplications of ___uint128_t

2020-06-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95867 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug testsuite/95720] [11 Regression] New dump output filename strategy invalidates tests

2020-06-24 Thread andrea.corallo at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95720 --- Comment #4 from Andrea Corallo --- "aoliva at gcc dot gnu.org" writes: > --- Comment #3 from Alexandre Oliva --- > akrl, any clue as to where this .out is coming from in your runs? I get .exe > in my arm test runs; I don't see anything th

[Bug target/95259] Duplicated codes in libgcc, driver-i386.c and i386-builtins.c

2020-06-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95259 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/95864] [11 Regression] GCN offloading execution regressions after commit f062c3f11505b70c5275e5bc0e52f3e441f8afbc "amdgcn: Switch to HSACO v3 binary format"

2020-06-24 Thread ams at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95864 --- Comment #1 from Andrew Stubbs --- I'm aware of these issues. I fixed all the test failures that were definitely bugs in the HSACOv3 implementation, and the ones that remain appear to be either latent bugs uncovered by the new driver configur

[Bug target/95259] Duplicated codes in libgcc, driver-i386.c and i386-builtins.c

2020-06-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95259 --- Comment #4 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:1890f2f0e210ef515c39728c54151372d36dd187 commit r11-1627-g1890f2f0e210ef515c39728c54151372d36dd187 Author: H.J. Lu Date: Mon May 18 05:

[Bug fortran/95868] New: Derived-type deferred-length character component handling broken

2020-06-24 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95868 Bug ID: 95868 Summary: Derived-type deferred-length character component handling broken Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-co

[Bug tree-optimization/95867] Failure to optimize successive multiplications of ___uint128_t

2020-06-24 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95867 --- Comment #1 from Gabriel Ravier --- PS : Of course this can be optimized in the general case, I was only giving an example here, I wouldn't want only the pattern of 653 successive multiplications to be optimized

[Bug tree-optimization/95867] New: Failure to optimize successive multiplications of ___uint128_t

2020-06-24 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95867 Bug ID: 95867 Summary: Failure to optimize successive multiplications of ___uint128_t Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/95866] vectorized shift with scalar argument not correctly costed

2020-06-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95866 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-06-24 Ever confirmed|0

[Bug tree-optimization/95866] New: vectorized shift with scalar argument not correctly costed

2020-06-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95866 Bug ID: 95866 Summary: vectorized shift with scalar argument not correctly costed Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prio

[Bug pch/64117] warning control #pragmas in precompiled headers are not obeyed for template code

2020-06-24 Thread fsmoke at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64117 fsmoke changed: What|Removed |Added CC||fsmoke at mail dot ru --- Comment #4 from fsmok

  1   2   >