[Bug tree-optimization/102681] New: AArch64 bootstrap failure

2021-10-10 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102681 Bug ID: 102681 Summary: AArch64 bootstrap failure Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug middle-end/102669] [12 Regression] FAIL: gnat.dg/unroll1.adb scan-rtl-dump-times loop2_unroll

2021-10-10 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102669 --- Comment #2 from Hongtao.liu --- (In reply to H.J. Lu from comment #1) > It is likely caused by r12-4240. Yes, add -fno-tree-vectorize to it.

[Bug rtl-optimization/71793] Volatile local variable passed by value is (wrongly?) optimised away, but the containing loop is not

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71793 Andrew Pinski changed: What|Removed |Added URL|http://stackoverflow.com/qu | |estions/38235112

[Bug rtl-optimization/45223] RTL PRE GCSE pass hoists trapping insn out of loop

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45223 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug analyzer/102671] -Wanalyzer-null-dereference false positive when compiling GNU Emacs

2021-10-10 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102671 --- Comment #1 from eggert at cs dot ucla.edu --- Created attachment 51582 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51582=edit 2nd test case illustrating the bug I'm attaching a second test case, also taken from GNU Emacs,

[Bug target/102543] -march=cascadelake performs odd alignment peeling

2021-10-10 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102543 --- Comment #7 from Hongtao.liu --- SPEC2017 data on CLX seems to ok after changing unaligned sse store cost. fprate: 503.bwaves_rBuildSame 507.cactuBSSN_r -0.22 508.namd_r -0.02 510.parest_r-0.28

[Bug c++/67795] Wrong code generated for conditional expression with cast

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67795 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/86735] [8/9 Regression] Bad wrong-code bug with "-march=skylake-avx512 -Ofast"

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86735 Andrew Pinski changed: What|Removed |Added CC||thomas at monjalon dot net --- Comment

[Bug target/88096] wrong inline AVX512F optimization

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88096 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/46029] -ftree-loop-if-convert-stores causes FAIL: libstdc++-v3/testsuite/ext/pb_ds/example/tree_intervals.cc

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46029 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0 Status|ASSIGNED

[Bug tree-optimization/51778] ICE during bootstrap when adding -ftree-loop-if-convert-stores to boo

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51778 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Target Milestone|---

[Bug tree-optimization/47770] wrong code -O2 -ftree-loop-if-convert-stores -fno-tree-reassoc

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47770 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug tree-optimization/102622] [9/10 Regression] Wrong code with -O1 and above due to phiopt and signed one bit integer types

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 --- Comment #4 from H.J. Lu --- Another possibility is to add a configure test to locate the system and include it instead of .

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 --- Comment #3 from H.J. Lu --- (In reply to Gerald Pfeifer from comment #2) > (In reply to H.J. Lu from comment #1) > > That file is FreeBSD specific. Can you use a local patch to force > > /usr/include/md5.h, like > > > > #include_next >

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-10 Thread gerald at pfeifer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 --- Comment #2 from Gerald Pfeifer --- (In reply to H.J. Lu from comment #1) > That file is FreeBSD specific. Can you use a local patch to force > /usr/include/md5.h, like > > #include_next I tried replacing #include by #include_next ;

[Bug target/102672] [AArch64] Failure to optimize to using stp instead of 2 strs when possible

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102672 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-10-10 Ever confirmed|0

[Bug fortran/88488] ICE in gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1646

2021-10-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88488 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/65144] Problems printing, reading and accessing substrings of ISO_10646 character variables

2021-10-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65144 Bug 65144 depends on bug 65141, which changed state. Bug 65141 Summary: ISO_10646 constant parameters convert kind when used with substring references https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65141 What|Removed

[Bug fortran/67972] Substrings of arrays of unicode strings are of type DEFAULT rather than ISO_10646

2021-10-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67972 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||zbeekman at gmail dot com

[Bug fortran/65141] ISO_10646 constant parameters convert kind when used with substring references

2021-10-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65141 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/102680] lambda-expression in template-argument plus templateed using leads to further using-directive being ignored within template scope

2021-10-10 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102680 --- Comment #2 from hq.ks at web dot de --- Ooops, terribly sorry, wanted to send that to someone else. On 10/10/2021 20.56, Philipp Klenze wrote: > https://www.overleaf.com/learn/latex/Matrices > > On 10/10/2021 20.51, pinskia at gcc dot

[Bug c++/102680] lambda-expression in template-argument plus templateed using leads to further using-directive being ignored within template scope

2021-10-10 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102680 --- Comment #1 from hq.ks at web dot de --- https://www.overleaf.com/learn/latex/Matrices On 10/10/2021 20.51, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102680 > > Andrew Pinski changed: > >

[Bug tree-optimization/102679] Failure to optimize out 64-bit multiplication to 32-bit multiplication when possible in circumstances involving modifying a 64-bit variable that gets converted to 32-bit

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102679 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug fortran/99348] ICE in resolve_structure_cons, at fortran/resolve.c:1286

2021-10-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99348 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug fortran/99348] ICE in resolve_structure_cons, at fortran/resolve.c:1286

2021-10-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99348 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:74ccca380cde5e79e082d39214b306a90ded0344 commit r12-4278-g74ccca380cde5e79e082d39214b306a90ded0344 Author: Harald Anlauf Date:

[Bug fortran/102521] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6240

2021-10-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102521 --- Comment #6 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:74ccca380cde5e79e082d39214b306a90ded0344 commit r12-4278-g74ccca380cde5e79e082d39214b306a90ded0344 Author: Harald Anlauf Date:

[Bug c++/102680] New: lambda-expression in template-argument plus templateed using leads to further using-directive being ignored within template scope

2021-10-10 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102680 Bug ID: 102680 Summary: lambda-expression in template-argument plus templateed using leads to further using-directive being ignored within template scope Product: gcc

[Bug tree-optimization/102679] Failure to optimize out 64-bit multiplication to 32-bit multiplication when possible in circumstances involving modifying a 64-bit variable that gets converted to 32-bit

2021-10-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102679 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug tree-optimization/102679] New: Failure to optimize out 64-bit multiplication to 32-bit multiplication when possible in circumstances involving modifying a 64-bit variable that gets converted to 3

2021-10-10 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102679 Bug ID: 102679 Summary: Failure to optimize out 64-bit multiplication to 32-bit multiplication when possible in circumstances involving modifying a 64-bit variable that gets

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-10 Thread gcc_bugzilla at axeitado dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #19 from Óscar Fuentes --- When I say that --enable-frame-pointer makes no difference, I'm talking about the build failure that prompted this bug report. The build still fails with

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-10 Thread gcc_bugzilla at axeitado dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #18 from Óscar Fuentes --- Adding --enable-frame-pointer makes no difference. No change either adding --enable-large-address-aware --with-fpmath=sse --disable-sjlj-exceptions --enable-frame-pointer --disable-libada

[Bug c++/92911] Valid lambda inside variadic template does not compile (2)

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92911 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from

[Bug c++/92910] Valid lambda inside variadic template does not compile

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92910 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/100035] Parameter packs not expanded with local variable in lambda

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100035 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/100035] Parameter packs not expanded with local variable in lambda

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100035 Andrew Pinski changed: What|Removed |Added CC||michael.gerhold at web dot de ---

[Bug c++/102678] GCC fails to compile immediately invoked lambda inside fold expression

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102678 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/102678] New: GCC fails to compile immediately invoked lambda inside fold expression

2021-10-10 Thread michael.gerhold at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102678 Bug ID: 102678 Summary: GCC fails to compile immediately invoked lambda inside fold expression Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/102669] [12 Regression] FAIL: gnat.dg/unroll1.adb scan-rtl-dump-times loop2_unroll

2021-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102669 H.J. Lu changed: What|Removed |Added CC||crazylht at gmail dot com Ever

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 H.J. Lu changed: What|Removed |Added Attachment #51559|0 |1 is obsolete|

[Bug tree-optimization/102676] Failure to optimize out malloc/nothrow allocation that's only used for bool checking

2021-10-10 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102676 --- Comment #2 from Gabriel Ravier --- Well, I think the assumption LLVM is making is that the allocation, being unused, can just be eliminated and considered to have always succeeded. I don't see how that would contradict the standard,

[Bug libstdc++/49745] error: ‘int truncate’ redeclared as different kind of symbol

2021-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug testsuite/102677] New: Extra testsuite failures with glibc 2.34

2021-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102677 Bug ID: 102677 Summary: Extra testsuite failures with glibc 2.34 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug debug/102441] [10 Regression] Incorrect location list in debug info

2021-10-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102441 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] |[10 Regression] Incorrect

[Bug c++/61355] gcc doesn't normalize type in non-type template parameters

2021-10-10 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61355 --- Comment #6 from Ivan Sorokin --- (In reply to Patrick Palka from comment #5) > Fixed for GCC 12. Thanks!

[Bug debug/102441] [10/11/12 Regression] Incorrect location list in debug info

2021-10-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102441 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:309827c85f14011166178c6efcb721d87a4577bb commit r11-9093-g309827c85f14011166178c6efcb721d87a4577bb Author: Jakub Jelinek

[Bug debug/102441] [10/11/12 Regression] Incorrect location list in debug info

2021-10-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102441 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9583b26f3701ea0456405d84f9a898451a2f7452 commit r12-4277-g9583b26f3701ea0456405d84f9a898451a2f7452 Author: Jakub Jelinek Date:

[Bug tree-optimization/102622] [9/10 Regression] Wrong code with -O1 and above due to phiopt and signed one bit integer types

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #22 from Andrew Pinski --- Here is the simple patch which I will test for both GCC 10 and GCC 9. The question becomes does it make sense to make the same change to GCC 11 even if it cannot be hit. diff --git

[Bug tree-optimization/102622] [9/10 Regression] Wrong code with -O1 and above due to phiopt and signed one bit integer types

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 Andrew Pinski changed: What|Removed |Added URL|https://gcc.gnu.org/piperma |

[Bug tree-optimization/102622] [9/10/12 Regression] Wrong code with -O1 and above due to phiopt and signed one bit integer types

2021-10-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #20 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:882d806c1a8f9d2d2ade1133de88d63e5d4fe40c commit r12-4276-g882d806c1a8f9d2d2ade1133de88d63e5d4fe40c Author: Andrew Pinski Date:

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #17 from Eric Botcazou --- Thanks for the data point. We have a working 11.2 compiler on the same platform configured with: ../src/configure --enable-languages=ada,c,c++ --enable-checking=release --enable-threads=win32

[Bug tree-optimization/102676] Failure to optimize out malloc/nothrow allocation that's only used for bool checking

2021-10-10 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102676 --- Comment #1 from Andreas Schwab --- Why is malloc(1) always true?