[Bug tree-optimization/96187] GCC at -O2 generates branch for code that should be branch-free

2020-07-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96187 Richard Biener changed: What|Removed |Added Host|x86_64 | Status|UNCONFIRMED

[Bug target/96186] [11 regressoion] ICE: Unrecognizable insn since r11-1970-fab263ab0fc10ea08409b80afa7e8569438b8d28

2020-07-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96186 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0 --- Comment #1 from Richard Biener

[Bug c++/96185] Enhancement: Please add a builtin to count bindings in [dcl.struct.bind]

2020-07-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96185 Richard Biener changed: What|Removed |Added Version|unknown |11.0 Severity|normal

[Bug middle-end/96192] New: tree-inline.c(copy_decl_for_dup_finish) should preserve decl alignment in copy

2020-07-13 Thread skpgkp2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96192 Bug ID: 96192 Summary: tree-inline.c(copy_decl_for_dup_finish) should preserve decl alignment in copy Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: n

[Bug target/96191] New: aarch64 stack_protect_test canary leak

2020-07-13 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96191 Bug ID: 96191 Summary: aarch64 stack_protect_test canary leak Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/59978] C++11 Non-Type-Template-Parameter Pack Expansion not working according to standard

2020-07-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59978 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/59978] C++11 Non-Type-Template-Parameter Pack Expansion not working according to standard

2020-07-13 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59978 Richard Smith changed: What|Removed |Added CC||richard-gccbugzilla@metafoo

[Bug driver/96190] New: --enable-default-pie on sparc uses crtbeginS.o (correct) and crtend.o (incorrect)

2020-07-13 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96190 Bug ID: 96190 Summary: --enable-default-pie on sparc uses crtbeginS.o (correct) and crtend.o (incorrect) Product: gcc Version: 11.0 Status: UNCONFIRMED Severity

[Bug driver/81658] gcc configured with --enable-default-pie on SPARC produces buggy executable from working .o files

2020-07-13 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81658 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at inbox dot ru --- Comment

[Bug target/95952] [8 Regression] gcc-8 bootstrap failure on powerpc64-linux

2020-07-13 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95952 --- Comment #14 from Will Schmidt --- (In reply to Will Schmidt from comment #13) > Created attachment 48871 [details] > proposed patch > > Attached patch appears sufficient to resolve the issue on the 970 based box > I have access to. Mikael,

[Bug target/95952] [8 Regression] gcc-8 bootstrap failure on powerpc64-linux

2020-07-13 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95952 --- Comment #13 from Will Schmidt --- Created attachment 48871 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48871&action=edit proposed patch Attached patch appears sufficient to resolve the issue on the 970 based box I have access to.

[Bug libgcc/96173] double to _Decimal64 or _Decimal128 conversion with BID generates 3 MB of code

2020-07-13 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96173 --- Comment #5 from joseph at codesourcery dot com --- I expect there's a speed/space trade-off here. You can use large tables for the conversions with less computation, or small tables with more computation (and the BID implementation in libg

[Bug fortran/86268] [9.0] Error on correct code with PDTs

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86268 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/85942] ICE with PDTs

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85942 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/86148] parameterized type compile time error

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86148 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/91022] A suspicious code in fortran/decl.c

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91022 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/69654] ICE in gfc_trans_structure_assign

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69654 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/64120] [F03] Wrong handling of allocatable character string

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64120 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libfortran/92836] segfault with inquire()

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92836 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/92959] ICE in gfc_conv_associated, at fortran/trans-intrinsic.c:8634

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92959 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/88632] [F08] function contained in module invisible to submodule unless declared public

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88632 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/94324] [10/11 regression] gfortran.dg/default_format_1.f90 etc. FAIL on 32-bit Solaris/x86

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94324 --- Comment #5 from Dominique d'Humieres --- > > --- Comment #3 from Dominique d'Humieres --- > > Is it a fortran bug or a bug in a Solaris lib? > > The latter, I suspect (or rather: the Studio compiler used to build > them). However, I'd like

[Bug fortran/94324] [10/11 regression] gfortran.dg/default_format_1.f90 etc. FAIL on 32-bit Solaris/x86

2020-07-13 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94324 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from Dominique d'Humieres --- > Is it a fortran bug or a bug in a Solaris lib? The latter, I suspect (or rather: the Studio compiler used to build them). However, I'd

[Bug fortran/94324] [10/11 regression] gfortran.dg/default_format_1.f90 etc. FAIL on 32-bit Solaris/x86

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94324 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2020-07-13 Ever confirmed|0

[Bug fortran/37336] [F03] Finish derived-type finalization

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/92976] [8 Regression][OOP] ICE in trans_associate_var, at fortran/trans-stmt.c:1963

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92976 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/88247] [8/9/10/11 Regression] ICE in get_array_ctor_var_strlen, at fortran/trans-array.c:2068

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88247 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/94246] [9 Regression] valgrind error for ./gfortran.dg/bessel_5.f90 since r9-1566-g87c789f1c0b2df41

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94246 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/93794] [8/9/10/11 Regression] ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2497

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93794 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/93833] [8/9/10/11 Regression] ICE in trans_array_constructor, at fortran/trans-array.c:2566

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93833 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/96189] Failure to use eflags from cmpxchg on x86

2020-07-13 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96189 --- Comment #1 from Gabriel Ravier --- PS : The extraneous movzx is already reported at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96176

[Bug fortran/93701] ICE on associate of wrongly accessed array

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93701 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/31593] Invariant DO loop variables and subroutines

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31593 --- Comment #47 from Dominique d'Humieres --- The assignee is Tobias Schlüter, but the PR is not marked as assigned. Is Tobias still interested? If no, the PR should be unassigned.

[Bug target/96189] New: Failure to use eflags from cmpxchg on x86

2020-07-13 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96189 Bug ID: 96189 Summary: Failure to use eflags from cmpxchg on x86 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug fortran/93736] Add .f18 and .F18 file suffixes

2020-07-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93736 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:eb41624df3bfee5dd4183738f57e1cf54a2a32eb commit r10-8485-geb41624df3bfee5dd4183738f57e1cf54a2a32eb Author: Szabolcs Nagy D

[Bug libgcc/96001] aarch64: bti is missing from lse.S when built with branch protection

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96001 --- Comment #2 from CVS Commits --- The releases/gcc-10 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:8475641c2160262a33c553eee158f075c990fab7 commit r10-8482-g8475641c2160262a33c553eee158f075c990fab7 Author: Szabolcs Nagy D

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:e14149f66edebe16c48aeddb4c1f1abd00874eed commit r10-8484-ge14149f66edebe16c48aeddb4c1f1abd00874eed Author: Szabolcs Nagy D

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:c24e8063ef5f4a462bedb1f8f71409c8116b26b0 commit r10-8486-gc24e8063ef5f4a462bedb1f8f71409c8116b26b0 Author: Szabolcs Nagy D

[Bug target/94791] aarch64: -pg profiling is broken with pac-ret

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94791 --- Comment #2 from CVS Commits --- The releases/gcc-10 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:e14149f66edebe16c48aeddb4c1f1abd00874eed commit r10-8484-ge14149f66edebe16c48aeddb4c1f1abd00874eed Author: Szabolcs Nagy D

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:7e5bb3ce7c784844b1e14b754b58dee08ed5bac8 commit r10-8487-g7e5bb3ce7c784844b1e14b754b58dee08ed5bac8 Author: Szabolcs Nagy D

[Bug fortran/96158] Debug symbols not emitted for module common variables

2020-07-13 Thread amelvill at umich dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #11 from AJM --- Thanks for all your suggestions, they're very helpful! >'-falign-commons' > By default, 'gfortran' enforces **proper** alignment of all variables > in a 'COMMON' block by padding them as needed... I am not s

[Bug target/95151] [9/10/11 Regression] Add cmpmemM pattern for -minline-all-stringops

2020-07-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95151 Bug 95151 depends on bug 95443, which changed state. Bug 95443 Summary: cmpstrnqi patterns update string length https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95443 What|Removed |Added

[Bug c++/95789] [10/11 Regression] Const method is allowed to return non-const reference on template class

2020-07-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95789 --- Comment #7 from Marek Polacek --- // PR c++/96179 template struct vector { void push_back(T) { } }; struct dummy{ int a; }; void Modify_Dummy(dummy &d){ d.a=1; } template void Templated_Function(){ vector A;

[Bug c++/95789] [10/11 Regression] Const method is allowed to return non-const reference on template class

2020-07-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95789 --- Comment #6 from Marek Polacek --- *** Bug 96179 has been marked as a duplicate of this bug. ***

[Bug c++/96179] [10/11 Regression] g++-10.1 silently doesn't push_back the return of a void function

2020-07-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96179 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug target/95443] cmpstrnqi patterns update string length

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

[Bug target/95443] cmpstrnqi patterns update string length

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95443 --- Comment #1 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:9cba898481368ce16c6a2d30ef781a82dce27c55 commit r11-2068-g9cba898481368ce16c6a2d30ef781a82dce27c55 Author: H.J. Lu Date: Mon Jul 13 10:

[Bug c++/96169] Don't provide internal lambda names in diagnostics?

2020-07-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96169 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-07-13 CC|

[Bug middle-end/95270] OpenACC 'enter data attach' looks up target memory object displaced by pointer size

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95270 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Julian Brown : https://gcc.gnu.org/g:2974e1eee053496e1d43f7f2e62f5feac2aa0315 commit r10-8475-g2974e1eee053496e1d43f7f2e62f5feac2aa0315 Author: Julian Brown Dat

[Bug c++/96188] -Wstringop-overflow false positive on std::vector::push_back with -O3

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

[Bug c++/95288] Poor error message with function-scope enum definition

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

[Bug c++/95288] Poor error message with function-scope enum definition

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95288 --- Comment #3 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:6a9a3434c7396ea14c8f9c291694faea382c36dc commit r11-2067-g6a9a3434c7396ea14c8f9c291694faea382c36dc Author: Marek Polacek Date: Mo

[Bug fortran/96158] Debug symbols not emitted for module common variables

2020-07-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #10 from Thomas Koenig --- (In reply to AJM from comment #8) > If you really need to know, on the C side there is a struct with fields that > match the order and size of the variables in the common statement / module > declaration. I

[Bug target/87949] PowerPC saves CR registers across calls

2020-07-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87949 --- Comment #13 from Peter Bergner --- (In reply to Segher Boessenkool from comment #12) > Wow, this works! Mine :-) Hi Segher, did you ever commit anything to help here? Ie, can we mark this as fixed or is it still an open issue?

[Bug c++/95288] Poor error message with function-scope enum definition

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

[Bug c++/96188] -Wstringop-overflow false positive

2020-07-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96188 Martin Sebor changed: What|Removed |Added Keywords||diagnostic, |

[Bug ipa/96130] [10/11 Regression] ICE in analyze_function_body at gcc/ipa-fnsummary.c:2769 since r10-3199-g351e7c3b5fbd45bd

2020-07-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130 Jakub Jelinek changed: What|Removed |Added Assignee|fxue at gcc dot gnu.org|jakub at gcc dot gnu.org

[Bug ipa/96130] [10/11 Regression] ICE in analyze_function_body at gcc/ipa-fnsummary.c:2769 since r10-3199-g351e7c3b5fbd45bd

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0d03c0ee5213703ec6d9ffa632fa5298d83adaaa commit r10-8472-g0d03c0ee5213703ec6d9ffa632fa5298d83adaaa Author: Jakub Jelinek

[Bug fortran/96158] Debug symbols not emitted for module common variables

2020-07-13 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #9 from Steve Kargl --- On Mon, Jul 13, 2020 at 03:44:13PM +, amelvill at umich dot edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 > > --- Comment #8 from AJM --- > > > >> I won't comment on the questionable pro

[Bug ipa/96130] [10/11 Regression] ICE in analyze_function_body at gcc/ipa-fnsummary.c:2769 since r10-3199-g351e7c3b5fbd45bd

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:776e48e0931db69f158f40e5cb8e15463d879a42 commit r11-2066-g776e48e0931db69f158f40e5cb8e15463d879a42 Author: Jakub Jelinek Date: Mo

[Bug target/92488] GCC generates calls to __dpd_trunctdsd2 with -mhard-dfp

2020-07-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92488 Peter Bergner changed: What|Removed |Added Status|NEW |WAITING --- Comment #1 from Peter Bergne

[Bug c++/96188] New: -Wstringop-overflow false positive

2020-07-13 Thread derek.mauro at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96188 Bug ID: 96188 Summary: -Wstringop-overflow false positive Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

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

2020-07-13 Thread jerryfromearth at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #10 from Jiarui Hong --- Please note that there seems to be two issues here that affect different versions of gcc: (From the comment of g...@pkh.me) https://godbolt.org/z/xc59TM This fails in 9.3.0 but works in 10.1.0. (From the com

[Bug target/94393] Powerpc suboptimal 64-bit constant comparison

2020-07-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94393 --- Comment #5 from Peter Bergner --- (In reply to Alan Modra from comment #3) > There are two parts to fixing this PR. > 1) We can do better in the sequences generated for some constants. > 2) rs6000_rtx_costs needs to be accurate, so that expen

[Bug fortran/96158] Debug symbols not emitted for module common variables

2020-07-13 Thread amelvill at umich dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #8 from AJM --- > > >> I won't comment on the questionable programming idiom of placing > > >> a common block in a module, which kind of defeats the niceties of > > >> a module. > > > If somebody wants to transition your code from usi

[Bug fortran/45337] gfortran accepts pointer initialization of DT dummy arguments w/ INTENT(OUT)

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45337 --- Comment #14 from CVS Commits --- The master branch has been updated by Mark Eggleston : https://gcc.gnu.org/g:bae66e0f04323ba9d5daf60fcb997de925100e3e commit r11-2065-gbae66e0f04323ba9d5daf60fcb997de925100e3e Author: Mark Eggleston Date:

[Bug c++/96063] [10 Regression] mismatched-tags warnings in stdlib headers

2020-07-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 Martin Sebor changed: What|Removed |Added Known to fail|11.0| Resolution|---

[Bug c++/96063] [10/11 Regression] mismatched-tags warnings in stdlib headers

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #18 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:5e4c9ebbab7bec3b5994f85aebce13bf37cf46e9 commit r10-8471-g5e4c9ebbab7bec3b5994f85aebce13bf37cf46e9 Author: Martin Sebor Da

[Bug c++/96077] GCC accepts ill-legal local enum definition

2020-07-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96077 --- Comment #9 from Marek Polacek --- Fixed for GCC 10.2 and 11.

[Bug c++/96077] GCC accepts ill-legal local enum definition

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96077 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:30529e2faa482bc749c65a490763dbc2ccaf63ac commit r10-8470-g30529e2faa482bc749c65a490763dbc2ccaf63ac Author: Marek Polacek D

[Bug c++/96077] GCC accepts ill-legal local enum definition

2020-07-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96077 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/96077] GCC accepts ill-legal local enum definition

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96077 --- Comment #7 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:4fd124a23664c712f1bb1a7e91fa23fe83d72c0b commit r11-2064-g4fd124a23664c712f1bb1a7e91fa23fe83d72c0b Author: Marek Polacek Date: Th

[Bug tree-optimization/96187] New: GCC at -O2 generates branch for code that should be branch-free

2020-07-13 Thread philip.zander at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96187 Bug ID: 96187 Summary: GCC at -O2 generates branch for code that should be branch-free Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug debug/78288] Compile time hog (with var-tracking) for libsanitizer/asan/asan_interceptors.cc

2020-07-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78288 --- Comment #8 from Richard Biener --- files with growth: obj/gcc/calls.c.325t.statistics:320 4958 | 5571 obj/gcc/prefix.c.325t.statistics:320 115 | 118 yes, that's all of them.

[Bug fortran/96158] Debug symbols not emitted for module common variables

2020-07-13 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #7 from Steve Kargl --- On Mon, Jul 13, 2020 at 01:42:29PM +, amelvill at umich dot edu wrote: > > As far as workarounds go, if it came to that I'd rather just make a dummy > "debug" function that stored these common variables as

[Bug tree-optimization/96163] another ice in pass slp

2020-07-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96163 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/96163] another ice in pass slp

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96163 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c4facd483de2d5b6b4d20e6ad74c85b9f1eba41a commit r11-2062-gc4facd483de2d5b6b4d20e6ad74c85b9f1eba41a Author: Richard Biener Date:

[Bug debug/78288] Compile time hog (with var-tracking) for libsanitizer/asan/asan_interceptors.cc

2020-07-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78288 --- Comment #7 from Richard Biener --- Created attachment 48869 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48869&action=edit alternate patch OK, I have another patch that reduces the overall number of visited blocks in stage3 gcc/*.o b

[Bug target/96186] New: [11 regressoion] ICE: Unrecognizable insn since r11-1970-fab263ab0fc10ea08409b80afa7e8569438b8d28

2020-07-13 Thread wwwhhhyyy333 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96186 Bug ID: 96186 Summary: [11 regressoion] ICE: Unrecognizable insn since r11-1970-fab263ab0fc10ea08409b80afa7e8569438b8d28 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug fortran/96158] Debug symbols not emitted for module common variables

2020-07-13 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #6 from Steve Kargl --- On Mon, Jul 13, 2020 at 12:23:58PM +, amelvill at umich dot edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 > > --- Comment #4 from AJM --- > >> I won't comment on the questionable program

[Bug fortran/95981] ICE in gfc_find_array_ref(): No ref found

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95981 --- Comment #2 from CVS Commits --- The master branch has been updated by Mark Eggleston : https://gcc.gnu.org/g:3f069011019c9df670969ea283fd4d139f34a925 commit r11-2061-g3f069011019c9df670969ea283fd4d139f34a925 Author: Mark Eggleston Date:

[Bug fortran/96158] Symbols not emitted for module common variables

2020-07-13 Thread amelvill at umich dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #5 from AJM --- Also, in case it wasn't clear, > Breakpoint 2, boo () at a.f90:9 > 9 write(*, '(A, I3)') "moduleVar=", n > (gdb) p n > $2 = 123 > (gdb) p moduleVar > No symbol "moduleVar" in current context. > (gdb) p (integ

[Bug c++/96170] Enhancement: allow requires-clause checking of statement expression substitution success or failure

2020-07-13 Thread wjwray at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96170 --- Comment #2 from Will Wray --- A much better idea, submitted here as bug 96185 and simultaneously submitted to Clang and MSVC - a portable builtin to count bindings in [dcl.struct.bind]

[Bug c++/96185] Enhancement: Please add a builtin to count bindings in [dcl.struct.bind]

2020-07-13 Thread wjwray at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96185 --- Comment #1 from Will Wray --- Clang ticket https://bugs.llvm.org/show_bug.cgi?id=46704 MSVC ticket https://developercommunity.visualstudio.com/idea/203/enhancement-please-add-a-builtin-to-count-bindings.html#

[Bug c++/96185] New: Enhancement: Please add a builtin to count bindings in [dcl.struct.bind]

2020-07-13 Thread wjwray at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96185 Bug ID: 96185 Summary: Enhancement: Please add a builtin to count bindings in [dcl.struct.bind] Product: gcc Version: unknown Status: UNCONFIRMED Severity: norm

[Bug c++/96063] [10/11 Regression] mismatched-tags warnings in stdlib headers

2020-07-13 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #17 from Ian McInerney --- I think that r11-1899 is the more important one to backport, since that will also allow for warnings that are generated by headers inside "-isystem" include directories to not have the notes printed without

[Bug c++/96179] [10/11 Regression] g++-10.1 silently doesn't push_back the return of a void function

2020-07-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96179 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #4 from CVS Commits --- The master branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:6a391e06f953c3390b14020d8cacb6d55f81b2b9 commit r11-2059-g6a391e06f953c3390b14020d8cacb6d55f81b2b9 Author: Szabolcs Nagy Date: Th

[Bug target/94791] aarch64: -pg profiling is broken with pac-ret

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94791 --- Comment #1 from CVS Commits --- The master branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:463a54e5d4956143f81c1f23b91cbd2d93855741 commit r11-2056-g463a54e5d4956143f81c1f23b91cbd2d93855741 Author: Szabolcs Nagy Date: Tu

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #2 from CVS Commits --- The master branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:2bc95be3bb8c8138e2e87c1c11c84bfede989d61 commit r11-2057-g2bc95be3bb8c8138e2e87c1c11c84bfede989d61 Author: Szabolcs Nagy Date: Th

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #3 from CVS Commits --- The master branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:b097c7a27fb0796b2653a1d003cbf6b7a69d8961 commit r11-2058-gb097c7a27fb0796b2653a1d003cbf6b7a69d8961 Author: Szabolcs Nagy Date: Th

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #1 from CVS Commits --- The master branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:463a54e5d4956143f81c1f23b91cbd2d93855741 commit r11-2056-g463a54e5d4956143f81c1f23b91cbd2d93855741 Author: Szabolcs Nagy Date: Tu

[Bug middle-end/95114] [9/10/11 Regression] ICE in obj_type_ref_class for structural-equality types

2020-07-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95114 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:5834e96a08fd8b86a42428f38a95903d2f1de202 commit r11-2055-g5834e96a08fd8b86a42428f38a95903d2f1de202 Author: Richard Sandiford Da

[Bug c++/96184] New: GCC treats "use of local variable with automatic storage from containing function" differently in versions

2020-07-13 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96184 Bug ID: 96184 Summary: GCC treats "use of local variable with automatic storage from containing function" differently in versions Product: gcc Version: 11.0

[Bug c++/96182] GCC accepts constexpr function with no return-statement

2020-07-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96182 --- Comment #6 from Jakub Jelinek --- So we could do something like: --- gcc/cp/decl.c.jj2020-07-09 11:27:51.088908783 +0200 +++ gcc/cp/decl.c 2020-07-13 14:34:59.887259561 +0200 @@ -17164,7 +17164,9 @@ finish_function (bool inline_p)

[Bug c++/96182] GCC accepts constexpr function with no return-statement

2020-07-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96182 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/96183] New: GCC accepts "convert '' from 'void' to 'int'" at compile time

2020-07-13 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96183 Bug ID: 96183 Summary: GCC accepts "convert '' from 'void' to 'int'" at compile time Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: accepts-invalid

[Bug fortran/96158] Symbols not emitted for module common variables

2020-07-13 Thread amelvill at umich dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #4 from AJM --- >> I won't comment on the questionable programming idiom of placing >> a common block in a module, which kind of defeats the niceties of >> a module. > If somebody wants to transition your code from using common blocks

[Bug c++/96182] GCC accepts constexpr function with no return-statement

2020-07-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96182 --- Comment #4 from Jakub Jelinek --- Or another possible wording would be that a constexpr function which is not a valid constant expression for all possible parameter values is invalid. I believe such wording is there for templates and instead

  1   2   >