[Bug middle-end/45410] constant not optimized / propagated across printf calls

2021-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45410 Andrew Pinski changed: What|Removed |Added Summary|constant not optimized /|constant not optimized /

[Bug rtl-optimization/46265] Missing ifcvt

2021-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46265 Andrew Pinski changed: What|Removed |Added Known to work|7.1.0 | Target Milestone|---

[Bug tree-optimization/61502] == comparison on "one-past" pointer gives wrong result

2021-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502 --- Comment #46 from Andrew Pinski --- Note this came up on twitter the other day: https://twitter.com/rep_stosq_void/status/1461635511009828864

[Bug tree-optimization/61502] == comparison on "one-past" pointer gives wrong result

2021-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502 Andrew Pinski changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment #

[Bug c/103343] Invalid codegen when comparing pointer to one past the end and then dereferencing that pointer

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

[Bug c/103343] New: Invalid codegen when comparing pointer to one past the end and then dereferencing that pointer

2021-11-20 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103343 Bug ID: 103343 Summary: Invalid codegen when comparing pointer to one past the end and then dereferencing that pointer Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/103342] New: [OPENMP]Missing barrier for linear clause within loop simd construct which not directly contained by parrellel construct

2021-11-20 Thread xiao.liu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103342 Bug ID: 103342 Summary: [OPENMP]Missing barrier for linear clause within loop simd construct which not directly contained by parrellel construct Product: gcc Ver

[Bug lto/81847] ICE with LTO enabled

2021-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847 Andrew Pinski changed: What|Removed |Added Known to fail||7.5.0 --- Comment #7 from Andrew Pinski

[Bug ipa/103052] [9/10/11/12 Regression] Function is found to be pure looping but has a call to a noreturn function in it

2021-11-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103052 --- Comment #12 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:ce2dbf943ac8ffefe048016ac3abfd3b6a4518d4 commit r12-5434-gce2dbf943ac8ffefe048016ac3abfd3b6a4518d4 Author: Jan Hubicka Date: Sun

[Bug ipa/103052] [9/10/11/12 Regression] Function is found to be pure looping but has a call to a noreturn function in it

2021-11-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103052 --- Comment #11 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:a0e99d5bb741d3db74a67d492f47b28217fbf88a commit r12-5433-ga0e99d5bb741d3db74a67d492f47b28217fbf88a Author: Jan Hubicka Date: Sun

[Bug tree-optimization/101541] Missing ABSU detection at gimple

2021-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101541 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Mine, let me try to figure out the best way to fix this. Basically the patterns starting with: /* abs/negative simplifications moved from fold_cond_expr_with_co

[Bug c++/103341] New: ICE type of variable instantiation constrained on template parameter

2021-11-20 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103341 Bug ID: 103341 Summary: ICE type of variable instantiation constrained on template parameter Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/103340] [12 Regression] constexpr std::string is incompatible with --enable-libstdcxx-allocator

2021-11-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103340 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > Only __gnu_cxx::new_allocator is usable in constant expressions. And __gnu_cxx::malloc_allocator. Making the others work isn't difficult.

[Bug analyzer/103217] analyzer false positive on leak warning when using indirect strdup

2021-11-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103217 --- Comment #6 from David Malcolm --- (In reply to Dominique Martinet from comment #4) [...snip...] Thanks for re-testing it, and the new test cases. > (What do you prefer to move forward -- I've tried reopening the bug but you > really fixed

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-20 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 --- Comment #22 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:7950c96ca667ddaab9d6e894da3958ebc2e2dccb commit r12-5432-g7950c96ca667ddaab9d6e894da3958ebc2e2dccb Author: Jeff Law Date: Sat Nov 20

[Bug libstdc++/103305] Cannot build libstdc++ with newlib on aarch64-none-elf or bfin-elf with new version of newlib

2021-11-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 --- Comment #15 from Jonathan Wakely --- Thanks for the explanation! If you have other suggestions to make things less wrong they'll be welcome.

[Bug other/103335] new test case gcc.dg/tree-ssa/modref-dse-4.c fails

2021-11-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103335 H.J. Lu changed: What|Removed |Added Last reconfirmed||2021-11-20 Target|powerpc64-linux

[Bug libstdc++/103305] Cannot build libstdc++ with newlib on aarch64-none-elf or bfin-elf with new version of newlib

2021-11-20 Thread pexu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 Pekka S changed: What|Removed |Added CC||p...@gcc-bugzilla.mail.kaps

[Bug other/103331] There should be a rule to make build.log in the top-level Makefile

2021-11-20 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103331 Eric Gallager changed: What|Removed |Added CC||neroden at gcc dot gnu.org --- Comment

[Bug bootstrap/103306] [12 Regression] parallel build hangs since r12-5234-g04c5a9 when /usr/include includes broken symbolic links

2021-11-20 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306 Xi Ruoyao changed: What|Removed |Added CC||bkorb at gnu dot org --- Comment #17 from X

[Bug target/102117] s390: Inefficient code for 64x64=128 signed multiply for <= z13

2021-11-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102117 Roger Sayle changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc do

[Bug ipa/103227] [12 Regression] 58% exchange2 regression with -Ofast -march=native on zen3 since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

2021-11-20 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103227 --- Comment #9 from hubicka at kam dot mff.cuni.cz --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103227 > ... fixing this problem properly. > I just loked into thi again and we already have code that preserves > propagates bits on pointer pa

[Bug libstdc++/64135] Allocator base classes should use reserved names

2021-11-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64135 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > Another option would be to drop the base class from std::allocator when > configured to derive from new_allocator, and just inline that code into > std::alloc

[Bug ipa/103227] [12 Regression] 58% exchange2 regression with -Ofast -march=native on zen3 since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

2021-11-20 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103227 --- Comment #8 from hubicka at kam dot mff.cuni.cz --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103227 > > --- Comment #7 from Martin Jambor --- > (In reply to hubicka from comment #5) > > > I like the idea of transformation phases better

[Bug libstdc++/103340] [12 Regression] constexpr std::string is incompatible with --enable-libstdcxx-allocator

2021-11-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103340 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Known to work|

[Bug libstdc++/103340] New: constexpr std::string is incompatible with --enable-libstdcxx-allocator

2021-11-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103340 Bug ID: 103340 Summary: constexpr std::string is incompatible with --enable-libstdcxx-allocator Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-20 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #17 from Avi Kivity --- Created attachment 51843 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51843&action=edit valid-code reproducer (compiles with -O0) Uploaded a valid-code reproducer (if you don't mind warnings). Compile

[Bug preprocessor/103165] [12 Regression] ICE unspellable token PRAGMA since r12-4797-g0078a058a5693871

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

[Bug tree-optimization/101541] Missing ABSU detection at gimple

2021-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101541 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/103266] [12 regression] llvm-13 miscompilation: __builtin_assume_aligned causes over-aggressive dce

2021-11-20 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103266 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/102872] If statement is always false but not figured out at gimple level

2021-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102872 --- Comment #3 from Andrew Pinski --- I wonder if we should just do this: (for neeq (ne eq) (simplify (neeq (convert:s @0) integer_zerop@1) (with { tree inside_type = TREE_TYPE (@0); tree outer_type = TREE_TYPE (@1); }

[Bug middle-end/31531] A microoptimization of isnegative of signed integer

2021-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31531 Andrew Pinski changed: What|Removed |Added Attachment #26645|0 |1 is obsolete|

gcc-bugs@gcc.gnu.org

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

gcc-bugs@gcc.gnu.org

2021-11-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103220 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:74faa9834a9ad208e34f67b08c854c20b0fcfe92 commit r12-5430-g74faa9834a9ad208e34f67b08c854c20b0fcfe92 Author: Andrew Pinski Date: Sa