[Bug c++/96577] New: template binary bloat of two std::sort as an example. It looks like colonization is doing the wrong thing

2020-08-11 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96577 Bug ID: 96577 Summary: template binary bloat of two std::sort as an example. It looks like colonization is doing the wrong thing Product: gcc Version: 11.0 Status:

[Bug testsuite/96525] new test gcc.target/powerpc/pr96493.c fails

2020-08-11 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96525 Alan Modra changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/96525] new test gcc.target/powerpc/pr96493.c fails

2020-08-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96525 --- Comment #8 from CVS Commits --- The master branch has been updated by Alan Modra : https://gcc.gnu.org/g:2ba0674c657fb2089d8aae4f8c254ce0559c8f53 commit r11-2660-g2ba0674c657fb2089d8aae4f8c254ce0559c8f53 Author: Alan Modra Date: Mon Aug

[Bug target/96562] Rather poor assembly generated for copy-list-initialization in return statement.

2020-08-11 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96562 --- Comment #6 from Hongtao.liu --- I'm testing this patch diff --git a/gcc/config/i386/i386-expand.c b/gcc/config/i386/i386-expand.c index e194214804b..29809d69782 100644 --- a/gcc/config/i386/i386-expand.c +++ b/gcc/config/i386/i386-expand.c

[Bug c++/96576] New: ICE when decltype std::index_sequence

2020-08-11 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96576 Bug ID: 96576 Summary: ICE when decltype std::index_sequence Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug testsuite/96574] FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]16[\t ] 6

2020-08-11 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96574 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug c++/96575] New: std::ranges::sort is not usable as a 'constexpr' function when saving its return value in lambda function

2020-08-11 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96575 Bug ID: 96575 Summary: std::ranges::sort is not usable as a 'constexpr' function when saving its return value in lambda function Product: gcc Version: 11.0

[Bug c++/96570] Warnings desired for time_t to int coversions

2020-08-11 Thread terra at gnome dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96570 --- Comment #4 from M Welinder --- > Explicit casts don't, and that's what I was questioning. They most certainly do. That's an empirical statement from having gone over a fairly large code base. It is not a statement that they should occur

[Bug c++/95434] ICE for CTAD in generic lambda within variadic lambda

2020-08-11 Thread johelegp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95434 --- Comment #3 from Johel Ernesto Guerrero Peña --- Another example: https://godbolt.org/z/Wq1vjP. Perhaps, this too requires another bug report. ```C++ template class T, class... Us> concept ctadable = requires(Us... us) { T{us...}; };

[Bug testsuite/96574] New: FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]16[\t ] 6

2020-08-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96574 Bug ID: 96574 Summary: FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]16[\t ] 6 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

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

2020-08-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93711 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug go/96567] [11 Regression] libgo/go/internal/syscall/unix/getrandom_linux.go:35:41: error: reference to undefined name 'getrandomTrap'

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

[Bug libstdc++/91620] std::[forward_]list::remove_if/unique should respect to DR 526

2020-08-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91620 --- Comment #4 from CVS Commits --- The master branch has been updated by Franथà¤ois Dumont : https://gcc.gnu.org/g:8b7af071b0cd4a6f8d989453ac81a4c3768d6343 commit r11-2658-g8b7af071b0cd4a6f8d989453ac81a4c3768d6343 Author: François Dumont

[Bug go/96567] [11 Regression] libgo/go/internal/syscall/unix/getrandom_linux.go:35:41: error: reference to undefined name 'getrandomTrap'

2020-08-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96567 --- Comment #1 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:8f9fd3c4ee5f9e9eb5045d35fcf189ccd214231c commit r11-2657-g8f9fd3c4ee5f9e9eb5045d35fcf189ccd214231c Author: Ian Lance Taylor

[Bug tree-optimization/96573] [10/11 Regression] Regression in optimization on x86-64 with -O3

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96573 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/96573] New: [Regression] Regression in optimization on x86-64 with -O3 from GCC 9 to 10

2020-08-11 Thread remi.andruccioli at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96573 Bug ID: 96573 Summary: [Regression] Regression in optimization on x86-64 with -O3 from GCC 9 to 10 Product: gcc Version: 10.2.0 Status: UNCONFIRMED Keywords:

[Bug c++/96570] Warnings desired for time_t to int coversions

2020-08-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96570 --- Comment #3 from Jonathan Wakely --- (In reply to M Welinder from comment #2) > Casts occur also in (e.g.) overload resolution and entirely too often in > template soup. And in macros too, I guess. Explicit casts don't, and that's what I

[Bug target/95450] [10/11 regression] Wrong long double folding

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95450 --- Comment #9 from Jakub Jelinek --- Created attachment 49045 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49045=edit gcc11-pr95450.patch Untested fix. Or as I said, it could be limited to && COMPOSITE_MODE_P (element_mode (type))

[Bug middle-end/96564] [11 Regression] New maybe use of uninitialized variable warning since r11-959

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

[Bug c++/96570] Warnings desired for time_t to int coversions

2020-08-11 Thread terra at gnome dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96570 --- Comment #2 from M Welinder --- > Why? If somebody wants to be explicitly stupid, that's their prerogative. I agree with the second sentence. However, casts are not a clear indication that somebody wants to be explicitly stupid, at least

[Bug middle-end/39398] verify_flow_info failed

2020-08-11 Thread terminatorul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39398 --- Comment #5 from Timothy Madden --- Sorry but I can no longer test this to confirm

[Bug middle-end/96564] [11 Regression] New maybe use of uninitialized variable warning since r11-959

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

[Bug tree-optimization/96572] New: Failure to optimize out branch when it always results in UB from dereferencing a pointer to an undefined value set in there

2020-08-11 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96572 Bug ID: 96572 Summary: Failure to optimize out branch when it always results in UB from dereferencing a pointer to an undefined value set in there Product: gcc

[Bug target/95450] [10/11 regression] Wrong long double folding

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95450 --- Comment #8 from Jakub Jelinek --- Or as an ugly hack for floating types with MODE_COMPOSITE_P (TYPE_MODE (mode)) in that spot, after using native_interpret_expr do native_encode_expr again and compare if the bits are identical (or perhaps do

[Bug target/95581] [11 Regression] ICE in gimple_call_arg, at gimple.h:3260 since r11-959-gb825a22890740f341eae566af27e18e528cd29a7

2020-08-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95581 seurer at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug middle-end/87209] Wuninitialized or Wmaybe-uninitialized doesn't warn when malloc's return value is used without being initialized

2020-08-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87209 Martin Sebor changed: What|Removed |Added Known to fail||10.2.0, 9.2.0 Target Milestone|---

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2020-08-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 87209, which changed state. Bug 87209 Summary: Wuninitialized or Wmaybe-uninitialized doesn't warn when malloc's return value is used without being initialized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87209

[Bug target/95450] [10/11 regression] Wrong long double folding

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95450 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug c/96571] New: Bad "set but not used" warning with _Generic

2020-08-11 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96571 Bug ID: 96571 Summary: Bad "set but not used" warning with _Generic Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/88836] [SVE] Redundant PTEST in loop test

2020-08-11 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88836 --- Comment #4 from rsandifo at gcc dot gnu.org --- My preferred fix for this is now to finish off the secondary (and ill-fated :-)) combine pass I posted at: https://gcc.gnu.org/pipermail/gcc-patches/2019-November/534728.html I've been

[Bug libstdc++/89760] [9/10 Regression] libstdc++ experimental testsuite failures

2020-08-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89760 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f7a449909a53ec6e4ea13f197f86ed1aed7de560 commit r9-8802-gf7a449909a53ec6e4ea13f197f86ed1aed7de560 Author: Jonathan Wakely

[Bug libstdc++/89760] [9/10 Regression] libstdc++ experimental testsuite failures

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

[Bug middle-end/96384] [11 Regression] bogus -Wstringop-overflow= storing into multidimensional array with index in range

2020-08-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96384 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[Bug c++/96511] Incorrect placement-new warning

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

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #12 from Tom de Vries --- (In reply to Tom de Vries from comment #6) > (In reply to Jakub Jelinek from comment #3) > > Either the test can be skipped on nvptx or any targets that don't emit > > something like a .zero similar

[Bug target/95450] [10/11 regression] Wrong long double folding

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95450 --- Comment #6 from Jakub Jelinek --- The problem is that this gl_LDBL_MAX.ld is really the right maximum normalized double double number, but is one ulp larger than GCC's __LDBL_MAX__. The former is: 0x1.f7c000p+1023 and

[Bug target/95450] [10/11 regression] Wrong long double folding

2020-08-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95450 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-08-11 Ever confirmed|0

[Bug target/95450] [10/11 regression] Wrong long double folding

2020-08-11 Thread carlos at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95450 Carlos O'Donell changed: What|Removed |Added CC||carlos at redhat dot com --- Comment

[Bug c++/96570] Warnings desired for time_t to int coversions

2020-08-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96570 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Blocks|

[Bug ipa/96482] [10/11 Regression] Combination of -finline-small-functions and ipa-cp optimisations causes incorrect values being passed to a function since r279523

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96482 --- Comment #16 from Martin Liška --- Honza, can you please take a look? There's a bug in how get_default_value how nonzero bits are combined with ipcp_get_parm_bits. I can work on that tomorrow..

[Bug libstdc++/89760] [9/10 Regression] libstdc++ experimental testsuite failures

2020-08-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89760 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:afd61b43808cebe0882cdf13dcdd766cae4ce4e7 commit r10-8605-gafd61b43808cebe0882cdf13dcdd766cae4ce4e7 Author: Jonathan

[Bug ipa/96482] [10/11 Regression] Combination of -finline-small-functions and ipa-cp optimisations causes incorrect values being passed to a function since r279523

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96482 Martin Liška changed: What|Removed |Added Priority|P3 |P1 --- Comment #15 from Martin Liška

[Bug c++/96570] New: Warnings desired for time_t to int coversions

2020-08-11 Thread terra at gnome dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96570 Bug ID: 96570 Summary: Warnings desired for time_t to int coversions Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/96568] Cross compiler for epiphany and arm-none cannot be built

2020-08-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96568 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libstdc++/89760] [9/10/11 Regression] libstdc++ experimental testsuite failures

2020-08-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89760 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:18095be17013444d9e91aa8c73ebe5cf58ccb3f1 commit r11-2653-g18095be17013444d9e91aa8c73ebe5cf58ccb3f1 Author: Jonathan Wakely Date:

[Bug ipa/96482] [10/11 Regression] Combination of -finline-small-functions and ipa-cp optimisations causes incorrect values being passed to a function since r279523

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96482 --- Comment #14 from Martin Liška --- So in ltrans we end up with: addr_to_index (struct nir_builder * b, struct nir_ssa_def * addr, nir_address_format addr_format) { unsigned int num_channels; unsigned int swizzle[16]; unsigned int i;

[Bug libstdc++/96568] Cross compiler for epiphany and arm-none cannot be built

2020-08-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96568 --- Comment #2 from Jonathan Wakely --- Should be already fixed.

[Bug ipa/96482] [10/11 Regression] Combination of -finline-small-functions and ipa-cp optimisations causes incorrect values being passed to a function since r279523

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96482 --- Comment #13 from Martin Liška --- (In reply to Martin Liška from comment #11) > But streamed IPA CP info tells that: > > Node: addr_to_offset/632014: > param [0]: VARIABLE > ctxs: VARIABLE > Bits: value = 0x0, mask =

[Bug c/96545] ICE in get_atomic_generic_size

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96545 --- Comment #4 from Jakub Jelinek --- Fixed on the trunk so far.

[Bug c/96545] ICE in get_atomic_generic_size

2020-08-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96545 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7840b4dc05539cf5575b3e9ff57ff5f6c3da2cae commit r11-2648-g7840b4dc05539cf5575b3e9ff57ff5f6c3da2cae Author: Jakub Jelinek Date:

[Bug fortran/96569] F2018 add EX edit descriptor support

2020-08-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96569 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libfortran/93727] Fortran 2018: EX edit descriptor

2020-08-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93727 Dominique d'Humieres changed: What|Removed |Added CC||markeggleston at gcc dot gnu.org

[Bug fortran/85836] [meta-bug] Fortran 2018 support

2020-08-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85836 Bug 85836 depends on bug 96569, which changed state. Bug 96569 Summary: F2018 add EX edit descriptor support https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96569 What|Removed |Added

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #11 from Tom de Vries --- (In reply to Martin Sebor from comment #10) > The issue described in bug 92815 comment 9 sounds like a similar problem. > Does sending the output to /dev/null instead of a .s file help? If it does, >

[Bug fortran/96569] New: F2018 add EX edit descriptor support

2020-08-11 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96569 Bug ID: 96569 Summary: F2018 add EX edit descriptor support Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug target/88836] [SVE] Redundant PTEST in loop test

2020-08-11 Thread mkuvyrkov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88836 Maxim Kuvyrkov changed: What|Removed |Added CC||mkuvyrkov at gcc dot gnu.org ---

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #10 from Martin Sebor --- The issue described in bug 92815 comment 9 sounds like a similar problem. Does sending the output to /dev/null instead of a .s file help? If it does, adding a dg directive to do that might be a solution.

[Bug target/95581] [11 Regression] ICE in gimple_call_arg, at gimple.h:3260 since r11-959-gb825a22890740f341eae566af27e18e528cd29a7

2020-08-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95581 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2020-08-11 Thread mailboxnotfound at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #47 from john henning --- SPEC next step: Because the performance differences were small (in my limited testing) no matter which workaround I picked (-O3, or remove Feedback Directed Optimization, or add

[Bug tree-optimization/96535] [10/11 Regression] GCC 10 ignoring function __attribute__ optimize for all x86 since r11-1019

2020-08-11 Thread guojiufu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96535 --- Comment #8 from Jiu Fu Guo --- (In reply to Jakub Jelinek from comment #7) > Created attachment 49043 [details] > gcc11-pr96535.patch > > Updated patch to only move handling of the loop unrolling options (but I > need changes on the rs6000

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #9 from Tom de Vries --- (In reply to Jakub Jelinek from comment #7) > I'm not sure a target specific option is the way to go here, the only > difference is that nvptx spends all the time on this (adjusted) testcase at > compile time

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #8 from Tom de Vries --- (In reply to Tom de Vries from comment #6) > With a size of 0xfff we take 5s and generate a 193MB assembly file. > > With a size of 0x we take 1m10s and generate a 3.1GB assembly file. FTR, I

[Bug fortran/96495] [gfortran] MERGE does not copy ALLOCATABLE property of derived type

2020-08-11 Thread paul.luck...@rwth-aachen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96495 paul.luck...@rwth-aachen.de changed: What|Removed |Added Attachment #49042|0 |1 is obsolete|

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #7 from Jakub Jelinek --- I'm not sure a target specific option is the way to go here, the only difference is that nvptx spends all the time on this (adjusted) testcase at compile time (and eats all disk space there too), while on

[Bug c++/96106] [10/11 Regression] A friend abbreviated template function denies access to private members

2020-08-11 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96106 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/96106] [10/11 Regression] A friend abbreviated template function denies access to private members

2020-08-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96106 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:745ba1024c653324f9f0b88968c6f8989ed1e093 commit r10-8604-g745ba1024c653324f9f0b88968c6f8989ed1e093 Author: Patrick Palka

[Bug tree-optimization/96535] [10/11 Regression] GCC 10 ignoring function __attribute__ optimize for all x86 since r11-1019

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96535 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug fortran/96495] [gfortran] MERGE does not copy ALLOCATABLE property of derived type

2020-08-11 Thread paul.luck...@rwth-aachen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96495 paul.luck...@rwth-aachen.de changed: What|Removed |Added Attachment #49011|0 |1 is obsolete|

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #6 from Tom de Vries --- (In reply to Jakub Jelinek from comment #3) > Either the test can be skipped on nvptx or any targets that don't emit > something like a .zero similar directive, or we should after the size of > variable is

[Bug fortran/94958] gcc/fortran/trans-array.c:9797: possible typo ?

2020-08-11 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94958 vehre at gcc dot gnu.org changed: What|Removed |Added CC||vehre at gcc dot gnu.org ---

[Bug rtl-optimization/96539] Unnecessary no-op copy with Os and tail call with struct argument

2020-08-11 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96539 --- Comment #4 from Yichao Yu --- Wow that was fast... thx.

[Bug libstdc++/96568] Cross compiler for epiphany and arm-none cannot be built

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96568 --- Comment #1 from Martin Liška --- Created attachment 49041 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49041=edit Build log

[Bug bootstrap/96568] New: Cross compiler for epiphany and arm-none cannot be built

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96568 Bug ID: 96568 Summary: Cross compiler for epiphany and arm-none cannot be built Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug go/96567] New: [11 Regression] libgo/go/internal/syscall/unix/getrandom_linux.go:35:41: error: reference to undefined name 'getrandomTrap'

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96567 Bug ID: 96567 Summary: [11 Regression] libgo/go/internal/syscall/unix/getrandom_linux.go:35:4 1: error: reference to undefined name 'getrandomTrap' Product: gcc

[Bug tree-optimization/96565] Failure to optimize out VLA even though it is left unused

2020-08-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96565 --- Comment #2 from Marc Glisse --- Actually, it isn't so much the alloca call itself, it seems to be __builtin_stack_save / __builtin_stack_restore that prevent DSE from removing arr[0] = 0 (without that write, DCE can remove

[Bug gcov-profile/96534] keep gcov intermediate format

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96534 --- Comment #4 from Martin Liška --- > I did not have the real statistics yet as our company is not yet moved to > gcc9 (maybe end of this year ). > > and even the size of the compressed file is smaller , but we have to unzip > and parse it ,

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #5 from Tom de Vries --- Then with this in addition: ... @@ -2202,7 +2202,7 @@ nvptx_assemble_decl_begin (FILE *file, const char *name, const char *section, /* Neither vector nor complex types can contain the other. */

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #4 from Jakub Jelinek --- Note, on x86_64-linux we'd likely time out on the adjusted testcase during assembly (unless it would will up the disks before that).

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #3 from Jakub Jelinek --- Either the test can be skipped on nvptx or any targets that don't emit something like a .zero similar directive, or we should after the size of variable is too large diagnostic throw the initializer away

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #2 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > If we run the command by hand, and tail the .s file, we get an endless > repetition of 0, 0, 0, ... , which starts off like this: > ... > // BEGIN GLOBAL VAR DEF:

[Bug target/96566] [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 --- Comment #1 from Tom de Vries --- Corresponding source bit: ... struct Ax_m3 { char a[PTRDIFF_MAX - 3], ax[]; }; struct Ax_m3 xm3_3 = { { 0 }, { 1, 2, 3 } }; On x86_64, we generate for this: ... xm3_3: .byte 0 .zero

[Bug rtl-optimization/96539] Unnecessary no-op copy with Os and tail call with struct argument

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96539 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/96549] [10/11 Regression] Wrong evaluation of a comparison between long & short

2020-08-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96549 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6b815e113c9aec397a86d7194f66455eb189cc7a commit r11-2646-g6b815e113c9aec397a86d7194f66455eb189cc7a Author: Jakub Jelinek Date:

[Bug middle-end/96549] [10 Regression] Wrong evaluation of a comparison between long & short

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96549 Jakub Jelinek changed: What|Removed |Added Summary|[10/11 Regression] Wrong|[10 Regression] Wrong

[Bug tree-optimization/96565] Failure to optimize out VLA even though it is left unused

2020-08-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96565 Marc Glisse changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug rtl-optimization/96539] Unnecessary no-op copy with Os and tail call with struct argument

2020-08-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96539 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:299c98578bda88c020a6d5b2c319c9e191a315d4 commit r11-2647-g299c98578bda88c020a6d5b2c319c9e191a315d4 Author: Jakub Jelinek Date:

[Bug target/93897] Poor trivial structure initialization code with -O3

2020-08-11 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897 --- Comment #3 from Maxim Egorushkin --- It seems to get triggered by uint32_t, see also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96562 Any plans to fix this bug?

[Bug tree-optimization/96535] [10/11 Regression] GCC 10 ignoring function __attribute__ optimize for all x86 since r11-1019

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96535 Martin Liška changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/96566] New: [nvptx] Timeout in gcc.dg/builtin-object-size-21.c

2020-08-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96566 Bug ID: 96566 Summary: [nvptx] Timeout in gcc.dg/builtin-object-size-21.c Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/96562] Rather poor assembly generated for copy-list-initialization in return statement.

2020-08-11 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96562 --- Comment #5 from Maxim Egorushkin --- (In reply to H.J. Lu from comment #2) > Add -mavx to -O2 triggers this. The bug seems to be caused by -msse4.1, -mno-sse4.1 fixes it. Changing size from `unsigned` to `unsigned long` makes the bug

[Bug tree-optimization/96565] New: Failure to optimize out VLA even though it is left unused

2020-08-11 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96565 Bug ID: 96565 Summary: Failure to optimize out VLA even though it is left unused Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/96535] [10/11 Regression] GCC 10 ignoring function __attribute__ optimize for all x86 since r11-1019

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96535 Jakub Jelinek changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug tree-optimization/96535] [10/11 Regression] GCC 10 ignoring function __attribute__ optimize for all x86 since r11-1019

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96535 --- Comment #4 from Jakub Jelinek --- Created attachment 49039 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49039=edit gcc11-pr96535.patch Ugh, process_options is called only once and thus I believe processing of options with

[Bug c++/96535] [10/11 Regression] GCC 10 ignoring function __attribute__ optimize for all x86 since r11-1019

2020-08-11 Thread danielhanchen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96535 --- Comment #3 from Daniel Han-Chen --- Oh lolll I was just about to add a comment about further experimentation Seems like Jakub and Hongtao have found the root cause of the issues? Anyways what I was gonna write [probs not necessary anymore

[Bug c++/96535] [10/11 Regression] GCC 10 ignoring function __attribute__ optimize for all x86 since r11-1019

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96535 Jakub Jelinek changed: What|Removed |Added Summary|GCC 10 ignoring function|[10/11 Regression] GCC 10

[Bug middle-end/96564] [11 Regression] New maybe use of uninitialized variable warning since r11-959

2020-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96564 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2020-08-11 Target Milestone|---

[Bug target/96559] Wrong code with -march=z900 -mtune=z9-109

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96559 Martin Liška changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug ipa/96482] [10/11 Regression] Combination of -finline-small-functions and ipa-cp optimisations causes incorrect values being passed to a function since r279523

2020-08-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96482 --- Comment #12 from Martin Liška --- It's likely correctly propagated, right now it looks the source code is invalid.

[Bug middle-end/96564] New maybe use of uninitialized variable warning since GCC >10

2020-08-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96564 --- Comment #1 from Marc Glisse --- I think there are duplicates about the fact that while gcc knows that a and x cannot alias (if you read *x, write to *a, then read from *x again, gcc reuses the first value), it does not use that information

[Bug fortran/96436] -std=f2003 -pedantic rejects valid f0.d edit descriptor

2020-08-11 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96436 markeggleston at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |markeggleston

  1   2   >