[Bug tree-optimization/93504] Missed reassociation with constants and not of that constant with IORs

2020-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93504 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/93502] std::regex_match uses stack space proportional to input string length

2020-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93502 --- Comment #3 from Richard Biener --- Another question would be whether it's easy for the programmer to direct std::regex_match to use the heap?

[Bug target/93505] [8/9/10 Regression] wrong code or ICE with __builtin_bswap64() and rotation at -Og

2020-01-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 --- Comment #2 from Andrew Pinski --- The reason why I say that is because the shiffter/rotater can be the full 64bit value or a smaller value. For PowerPC, it is the full 64bit value.

[Bug target/93505] [8/9/10 Regression] wrong code or ICE with __builtin_bswap64() and rotation at -Og

2020-01-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 --- Comment #1 from Andrew Pinski --- I think this code is undefined

[Bug fortran/93501] [10 regression] gfortran.dg/pr93473.f90 ICEs starting with r10-6295

2020-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93501 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/93496] Miscompile of range-for over braced-init-list in constructor of class with virtual inheritance

2020-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93496 Richard Biener changed: What|Removed |Added Keywords||wrong-code

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|x86

[Bug target/93304] RISC-V: Function with interrupt attribute use register without save/restore at prologue/epilogue

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93304 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:afb84a42ad867c117d0112fbb8edd863bdc0dafe commit r9-8191-gafb84a42ad867c117d0112fbb8edd863bdc0dafe Author: Kito Cheng Date:

[Bug target/92243] Missing "auto-vectorization" of char array reversal using x86 scalar bswap when SIMD pshufb isn't available

2020-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92243 Richard Biener changed: What|Removed |Added Component|tree-optimization |target --- Comment #2 from Richard

[Bug target/93505] New: [8/9/10 Regression] wrong code or ICE with __builtin_bswap64() and rotation at -Og

2020-01-29 Thread zsojka at seznam dot cz
322-g6693911f069-checking-yes-rtl-df-extra-powerpc64le Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.0.1 20200129 (experimental) (GCC)

[Bug target/91602] GCC fails to build for riscv in a combined tree due to misconfigured leb128 support

2020-01-29 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602 --- Comment #11 from Jim Wilson --- Since Marxin pinged this and got me thinking about this again, I realized that there is a simpler fix based on Serge's second suggestion. We can just delete the gas version number from the uleb128 gas check

[Bug tree-optimization/91663] split function can be re-inlined, leaving bad stack trace

2020-01-29 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91663 Ian Lance Taylor changed: What|Removed |Added Status|WAITING |NEW --- Comment #3 from Ian Lance

[Bug inline-asm/84680] [8/9/10 Regression] internal compiler error: Max. number of generated reload insns per insn is achieved (90)

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

[Bug target/84757] [8/9/10 Regression] Useless MOVs and PUSHes to store results of MUL

2020-01-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84757 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Target

[Bug tree-optimization/85175] [8/9/10 regression] false-positive -Wformat-overflow= warning with gcc-8 -Os

2020-01-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85175 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #10

[Bug c++/82521] [8/9/10 Regression] No -Wtype-limits warning when using templates

2020-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82521 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 71965, which changed state. Bug 71965 Summary: [8/9/10 Regression] [concepts] Substitution error *after* failure to satisfy an earlier constraint https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71965 What

[Bug c++/71965] [8/9/10 Regression] [concepts] Substitution error *after* failure to satisfy an earlier constraint

2020-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71965 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/90333] [9 Regression] Can't apply attributes to lambdas with trailing returns

2020-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90333 Jason Merrill changed: What|Removed |Added Known to work||10.0 Summary|[9/10

[Bug c++/89357] [8 regression][C++11] alignas for automatic variables with alignment greater than 16 fails

2020-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/89357] [8/9/10 regression][C++11] alignas for automatic variables with alignment greater than 16 fails

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:9d9679132e0e9b0108e78bf1bc8fdea6238649a3 commit r9-8190-g9d9679132e0e9b0108e78bf1bc8fdea6238649a3 Author: Jason Merrill

[Bug tree-optimization/93504] Missed reassociation with constants and not of that constant with IORs

2020-01-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93504 --- Comment #2 from Andrew Pinski --- I should note this does not block bit-field lowering because store merging did not optimize it this way either.

[Bug go/93468] New patches to build gcc-10 on GNU/Hurd

2020-01-29 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93468 Ian Lance Taylor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug go/93468] New patches to build gcc-10 on GNU/Hurd

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93468 --- Comment #6 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:66af5a226acd0edfbafcbcac76ed268cee0612ed commit r10-6340-g66af5a226acd0edfbafcbcac76ed268cee0612ed Author: Ian Lance Taylor

[Bug go/93468] New patches to build gcc-10 on GNU/Hurd

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93468 --- Comment #5 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:68f3759eff5ee498b52490213650b42b1ad89f16 commit r10-6339-g68f3759eff5ee498b52490213650b42b1ad89f16 Author: Ian Lance Taylor

[Bug c++/89357] [8/9/10 regression][C++11] alignas for automatic variables with alignment greater than 16 fails

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e3b6c052b6a0569aa8f89c50db1ac376c42e41e0 commit r10-6338-ge3b6c052b6a0569aa8f89c50db1ac376c42e41e0 Author: Jason Merrill Date:

[Bug tree-optimization/93504] Missed reassociation with constants and not of that constant with IORs

2020-01-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93504 --- Comment #1 from Andrew Pinski --- OP can be ^ too.

[Bug tree-optimization/93504] New: Missed reassociation with constants and not of that constant with IORs

2020-01-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93504 Bug ID: 93504 Summary: Missed reassociation with constants and not of that constant with IORs Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/92706] SRA confuses FRE

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92706 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:59da7f96ffc489f4aea649f12ac80c384bad736c commit r10-6336-g59da7f96ffc489f4aea649f12ac80c384bad736c Author: Jakub Jelinek Date:

[Bug middle-end/85563] [8/9/10 regression] -Wmaybe-uninitialized false alarm regression with __builtin_unreachable and GCC 8

2020-01-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85563 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Target

[Bug go/93468] New patches to build gcc-10 on GNU/Hurd

2020-01-29 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93468 --- Comment #4 from Ian Lance Taylor --- You've given me less than 48 hours before asking why this takes such a long time. I am extremely busy. Please be patient. I will get to this.

[Bug c++/93503] Duplicated warning on pure virtual implicit template in C++2a

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93503 Marek Polacek changed: What|Removed |Added Keywords||diagnostic

[Bug c++/60503] gcc looks for C++ attributes in the wrong place in a lambda-expression

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60503 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:245e40af4fab5b7cf40fb310591a879355775971 commit r10-6335-g245e40af4fab5b7cf40fb310591a879355775971 Author: Jason Merrill Date:

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #10 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:245e40af4fab5b7cf40fb310591a879355775971 commit r10-6335-g245e40af4fab5b7cf40fb310591a879355775971 Author: Jason Merrill Date:

[Bug c++/90333] [9/10 Regression] Can't apply attributes to lambdas with trailing returns

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90333 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:245e40af4fab5b7cf40fb310591a879355775971 commit r10-6335-g245e40af4fab5b7cf40fb310591a879355775971 Author: Jason Merrill Date:

[Bug middle-end/87489] [8/9/10 Regression] Spurious -Wnonnull warning

2020-01-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87489 Jeffrey A. Law changed: What|Removed |Added Target Milestone|8.4 |11.0 --- Comment #11 from Jeffrey A.

[Bug c++/93503] New: Duplicated warning on pure virtual implicit template in C++2a

2020-01-29 Thread arthur.j.odwyer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93503 Bug ID: 93503 Summary: Duplicated warning on pure virtual implicit template in C++2a Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/92924] [10 regression] reproducible indirect call profile merging causes 80% slowdown in Firefox pref-reftest-singletons id-getter microbenchmarks

2020-01-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92924 --- Comment #20 from Jan Hubicka --- And thanks for the gcov-analysis improvemnets. It is quite handy tool now :) and it is interesting to know where the many-target calls are. Clearly there is not much to win on walk_tree, but I guess it all

[Bug bootstrap/93409] [10 Regression] gcn libgomp plugin fails to build for x32

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93409 --- Comment #10 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:165255c7a562e04e3be89eb1c87b4ac3c5248d77 commit r10-6334-g165255c7a562e04e3be89eb1c87b4ac3c5248d77 Author: Tobias Burnus Date:

[Bug c++/91212] [8/9/10 Regression] const ignored for ctor arguments within return since r8-2493-g4ce8c5dea53d8073

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

[Bug libstdc++/93502] std::regex_match uses stack space proportional to input string length

2020-01-29 Thread nyh at math dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93502 --- Comment #2 from Nadav Har'El --- Maybe you mean it is a dup of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86164 ? But I'm not sure. I honestly don't understand the conclusion there that ".*" is implemented recursively. Why would such a

[Bug tree-optimization/92924] [10 regression] reproducible indirect call profile merging causes 80% slowdown in Firefox pref-reftest-singletons id-getter microbenchmarks

2020-01-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92924 --- Comment #19 from Jan Hubicka --- Seems that the multi-target speculation fallout is now fixed and also indirect call profiling works similarly as to gcc9 now if the reproducibility logic is disabled. I re-benchmarked Firefox. Reproducible

[Bug libstdc++/93502] std::regex_match uses stack space proportional to input string length

2020-01-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93502 --- Comment #1 from Jonathan Wakely --- I think this is a dup of an existing bug.

[Bug c++/93502] New: std::regex_match uses stack space proportional to input string

2020-01-29 Thread nyh at math dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93502 Bug ID: 93502 Summary: std::regex_match uses stack space proportional to input string Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/91212] [8/9/10 Regression] const ignored for ctor arguments within return since r8-2493-g4ce8c5dea53d8073

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

[Bug tree-optimization/92706] SRA confuses FRE

2020-01-29 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92706 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug c++/87765] Internal compiler error: coerce_template_parms (8.2) or cxx_eval_constant_expression (trunk)

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87765 --- Comment #4 from Marek Polacek --- A short test by Daniel Kirchner: struct X { int s(); }; template using Y = void; template static constexpr void t(X x) { Y v; }

[Bug c++/87765] Internal compiler error: coerce_template_parms (8.2) or cxx_eval_constant_expression (trunk)

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87765 Marek Polacek changed: What|Removed |Added CC||daniel at ekpyron dot org --- Comment

[Bug c++/92432] Regression: ICE on non-constant expression as template argument

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92432 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libstdc++/91243] is_invocable mishandles functions returning indestructible types by value

2020-01-29 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91243 --- Comment #5 from TC --- I don't think we should use decltype's special rule in this context :) Also, std::is_nothrow_invocable_v hard-errors in libstdc++, because the noexcept operator doesn't have that rule...

[Bug c++/92650] internal compiler error: canonical types differ for identical types

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92650 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/93313] g++: internal compiler error: Segmentation fault signal terminated program cc1plus

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93313 Marek Polacek changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug c++/88092] class nontype template deduction failed when providing type to class

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88092] class nontype template deduction failed when providing type to class

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 --- Comment #10 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:11ffae58473472766960b2f6c59108e331a9eba7 commit r10-6333-g11ffae58473472766960b2f6c59108e331a9eba7 Author: Marek Polacek Date:

[Bug fortran/93501] [10 regression] gfortran.dg/pr93473.f90 ICEs starting with r10-6295

2020-01-29 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93501 --- Comment #1 from Andrew Benson --- This should be fixed by the patch in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87103#c7

[Bug fortran/87103] [OOP] ICE in gfc_new_symbol() due to overlong symbol name

2020-01-29 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87103 --- Comment #7 from Andrew Benson --- Created attachment 47735 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47735=edit updated patch

[Bug fortran/90788] ICE on allocating derived type containing class(*) pointer initialized to null()

2020-01-29 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90788 --- Comment #3 from Andrew Benson --- Ignore previous comment - wrong PR.

[Bug fortran/90788] ICE on allocating derived type containing class(*) pointer initialized to null()

2020-01-29 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90788 --- Comment #2 from Andrew Benson --- Created attachment 47734 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47734=edit updated patch

[Bug fortran/87103] [OOP] ICE in gfc_new_symbol() due to overlong symbol name

2020-01-29 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87103 --- Comment #6 from Andrew Benson --- The patch from https://gcc.gnu.org/ml/fortran/2018-09/msg00044.html still applies cleanly to trunk (with some line offsets) and regression tests cleanly as of today. I'll attached a new version of the patch

[Bug c++/88092] class nontype template deduction failed when providing type to class

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

[Bug target/91903] vec_ctf altivec intrinsic can cause ICE on powerpc

2020-01-29 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91903 --- Comment #4 from Bill Schmidt --- Well, we should give you a better error message instead of an ICE. But the ABI definition of the second argument as "const int" indicates it needs to be an actual constant in the range 0..31. So You're

[Bug fortran/93501] New: [10 regression] gfortran.dg/pr93473.f90 ICEs starting with r10-6294

2020-01-29 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93501 Bug ID: 93501 Summary: [10 regression] gfortran.dg/pr93473.f90 ICEs starting with r10-6294 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/89565] [C++2a] ICE on template instantiating user defined non-type template from template value member

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89565 Marek Polacek changed: What|Removed |Added CC||boris.rura at gmail dot com --- Comment

[Bug c++/90335] ICE with lambda as cnttp in a templated struct (segfault). C++2a

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90335 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/93494] [10 Regression] wrong code with __builtin_add_overflow since r10-3989

2020-01-29 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93494 --- Comment #5 from Zdenek Sojka --- (In reply to Jakub Jelinek from comment #3) > With a slightly modified testcase: > unsigned short a; > > int > main () > { > register unsigned long long y = 0; > int x = __builtin_add_overflow (y,

[Bug tree-optimization/89689] [8/9 regression] false warning -Wstringop-overflow=

2020-01-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89689 Jeffrey A. Law changed: What|Removed |Added Summary|[8/9/10 regression] false |[8/9 regression] false

[Bug tree-optimization/89689] [8/9/10 regression] false warning -Wstringop-overflow=

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89689 --- Comment #5 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:0de349f108d963219bd59aa374a68c15355236be commit r10-6332-g0de349f108d963219bd59aa374a68c15355236be Author: Jeff Law Date: Wed Jan 29

[Bug c++/91803] statement-expressions are not allowed in template arguments

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91803 Marek Polacek changed: What|Removed |Added Severity|normal |enhancement

[Bug rtl-optimization/87763] [9/10 Regression] aarch64 target testcases fail after r265398

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87763 --- Comment #64 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:2812a28418b72b24979805cfca1f140dda4963b7 commit r10-6331-g2812a28418b72b24979805cfca1f140dda4963b7 Author: Richard Sandiford

[Bug c++/91754] [c++2a] Defining member function outside of class body fails to compile when containing class is templated on class-type NTTP

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91754 --- Comment #5 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:e3b60da8e07030b1417067295f047b25015f21f2 commit r10-6330-ge3b60da8e07030b1417067295f047b25015f21f2 Author: Marek Polacek Date:

[Bug c++/92948] internal compiler error: in tsubst_copy, at cp/pt.c:15788

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92948 --- Comment #8 from Marek Polacek --- Fixed on trunk so far, will backport to 9 sometime soon.

[Bug c++/92948] internal compiler error: in tsubst_copy, at cp/pt.c:15788

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92948 --- Comment #7 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:423284053ec51832bc4c823fb90dc41e632e37ac commit r10-6329-g423284053ec51832bc4c823fb90dc41e632e37ac Author: Marek Polacek Date:

[Bug fortran/93500] New: ICE in gfc_numeric_ts, at fortran/expr.c:891

2020-01-29 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93500 Bug ID: 93500 Summary: ICE in gfc_numeric_ts, at fortran/expr.c:891 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/93499] New: ICE in gfc_zero_size_array, at fortran/arith.c:1686

2020-01-29 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93499 Bug ID: 93499 Summary: ICE in gfc_zero_size_array, at fortran/arith.c:1686 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/92003] [8/9/10 Regression] constexpr-ness of char const* doesn't propagate

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92003 Marek Polacek changed: What|Removed |Added Known to work||6.4.0 Target Milestone|---

[Bug fortran/93498] New: ICE in gfc_resolve_findloc, at fortran/iresolve.c:1844

2020-01-29 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93498 Bug ID: 93498 Summary: ICE in gfc_resolve_findloc, at fortran/iresolve.c:1844 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/93494] [10 Regression] wrong code with __builtin_add_overflow since r10-3989

2020-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93494 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/93497] New: ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:7594

2020-01-29 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93497 Bug ID: 93497 Summary: ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:7594 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/93498] ICE in gfc_resolve_findloc, at fortran/iresolve.c:1844

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

[Bug c++/92171] accept incorrect access of static constexpr member when read from a reference

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92171 --- Comment #3 from Marek Polacek --- Not working on this now, needs to wait till GCC 11.

[Bug c++/92171] accept incorrect access of static constexpr member when read from a reference

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92171 --- Comment #2 from Marek Polacek --- The constexpr evaluator doesn't see the "ref." part at all: VALUE is a static data member, so build_class_member_access_expr produces "value": (gdb) pt result unit-size align:8

[Bug c++/93496] New: Miscompile of range-for over braced-init-list in constructor of class with virtual inheritance

2020-01-29 Thread justin.lapolla.hpe at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93496 Bug ID: 93496 Summary: Miscompile of range-for over braced-init-list in constructor of class with virtual inheritance Product: gcc Version: unknown Status: UNCONFIRMED

[Bug libstdc++/92895] [libstdc++] stop_token conformance issues

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

[Bug libstdc++/92895] [libstdc++] stop_token conformance issues

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92895 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0a8f4febf75e9e44f847b65776d7f5f38940b3bf commit r10-6328-g0a8f4febf75e9e44f847b65776d7f5f38940b3bf Author: Jonathan Wakely Date:

[Bug target/91489] misplaced stack pointer when __ms_hook_prologue__ attribute is used

2020-01-29 Thread gofmanp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91489 --- Comment #3 from Paul Gofman --- (In reply to Martin Liška from comment #2) > @Paul: Can you please send the patch to GCC patches mailing list? I think I found later that unfortunately this patch is not quite correct: the stack was still

[Bug tree-optimization/93491] Wrong optimization: const-function moved over control flow leading to crashes

2020-01-29 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93491 --- Comment #3 from joseph at codesourcery dot com --- On Wed, 29 Jan 2020, pinskia at gcc dot gnu.org wrote: > Const functions by definition dont trap or throw. So adding const to a > function that traps makes the testcase undefined. It's

[Bug target/93494] [10 Regression] wrong code with __builtin_add_overflow since r10-3989

2020-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93494 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug tree-optimization/93491] Wrong optimization: const-function moved over control flow leading to crashes

2020-01-29 Thread ch3root at openwall dot com
- gcc x86-64 version: gcc (GCC) 10.0.1 20200129 (experimental) -- Again, this doesn't mean that gcc have to support such use cases. > Do you have a testcase were gcc does this optimize without the user addin

[Bug libgomp/91762] OpenMP omp target exit data directive not working with gfortran

2020-01-29 Thread edoardo.apra at pnnl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91762 --- Comment #4 from Edoardo Apra --- @Jakub Thanks for the update. Please keep in mind that this bug shows up only when OpenMP target directives are used in subroutines are called by the main program. I have just upload a new test that tests the

[Bug libgomp/91762] OpenMP omp target exit data directive not working with gfortran

2020-01-29 Thread edoardo.apra at pnnl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91762 --- Comment #3 from Edoardo Apra --- Created attachment 47732 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47732=edit Fortran code to test the OpenMP directive target exit data map(release) without subroutines Same test as previous

[Bug driver/91629] gcc-ar assumes that GCC_EXEC_PREFIX is ${bindir}, but it is ${libdir}/gcc

2020-01-29 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91629 --- Comment #2 from joseph at codesourcery dot com --- The observation about GCC_EXEC_PREFIX is correct.

[Bug other/93495] GCC fails to parse response files with UTF-8 BOM

2020-01-29 Thread andrey.vihrov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93495 --- Comment #2 from Andrey Vihrov --- Yes, I confirmed the same issue for GNU ld and as, but didn't report that yet.

[Bug other/93495] GCC fails to parse response files with UTF-8 BOM

2020-01-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93495 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug go/93468] New patches to build gcc-10 on GNU/Hurd

2020-01-29 Thread svante.signell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93468 --- Comment #3 from Svante Signell --- ping! These patches are very minor. What takes so long time? They were reported for gcc-10, I did not find any entry for gcc-snapshot. Is gcc-10 released and stable, compared to gcc-snapshot, i.e. current

[Bug libgomp/91938] libgomp (and libitm) DSOs are incorrectly built with initial-exec tls-model

2020-01-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91938 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/93494] [8/9/10 Regression] wrong code or ICE with __builtin_add_overflow

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

[Bug middle-end/91848] missing warning on strcpy past the end of a member of an array with variable index

2020-01-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91848 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org ---

[Bug c++/93490] -Wsuggest-attribute=const suggests const attribute for non-static member function

2020-01-29 Thread christian.morales.vega at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93490 Cristian Morales Vega changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/93490] -Wsuggest-attribute=const suggests const attribute for non-static member function

2020-01-29 Thread christian.morales.vega at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93490 --- Comment #7 from Cristian Morales Vega --- Oh, it isn't a bug because it's returning a reference and even if the value of member_ changes the reference (i.e. pointer) will always be the same?

[Bug c++/93490] -Wsuggest-attribute=const suggests const attribute for non-static member function

2020-01-29 Thread christian.morales.vega at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93490 --- Comment #6 from Cristian Morales Vega --- Yes, -- struct Class1 { int member_; }; int (Class1 *a) { return a->member_; } -- also generates the warning. This is a bug, right? I'm basing this issue on

  1   2   3   4   >