[Bug middle-end/39275] -funroll-loop fails

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

[Bug middle-end/16660] attribute((aligned)) doesn't work for variables on the stack for greater than required alignement

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

[Bug middle-end/14505] __builtin_constant_p(__func__) is not true

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14505 Andrew Pinski changed: What|Removed |Added Severity|minor |enhancement --- Comment #8 from Andrew P

[Bug middle-end/58101] Wrong out-of-bounds warning under -Os

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58101 --- Comment #6 from Andrew Pinski --- Further reduced: int a [1]; void foo (int n) { if (n <= 1) return; int i = 1; a [i] = a [i - 1]; } This is one of these false positives warning where we should maybe not warn but instead just chang

[Bug middle-end/71533] -fdump-tree-fre1 hangs while printing an unnormal long double

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

[Bug tree-optimization/95118] [10 Regression] gcc-10 and master -O3 -fopt-info-vec causes gcc to hang

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95118 Andrew Pinski changed: What|Removed |Added CC||ch3root at openwall dot com --- Comment

[Bug middle-end/59394] Unused code generated

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

[Bug middle-end/77422] -fdata-sections should put each constant in its own section

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

[Bug middle-end/60762] [ASAN] -fsanitize=address fails with LTO

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

[Bug tree-optimization/81445] Dynamic stack allocation not optimized into static allocation

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

[Bug tree-optimization/81445] Dynamic stack allocation not optimized into static allocation

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

[Bug tree-optimization/58817] optimize alloca with constant size

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

[Bug tree-optimization/89889] worse code compared to clang with alloca()

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

[Bug tree-optimization/58817] optimize alloca with constant size

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58817 Andrew Pinski changed: What|Removed |Added CC||sdmike9r at liargroup dot com --- Commen

[Bug middle-end/46597] configure -enable-checking=... -enable-build-with-cxx and bootstrap is g++ 3.3 hit minor problem

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

[Bug tree-optimization/83349] Missed optimization in math expression: aggressive optimization with std::pow

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

[Bug middle-end/92943] missing -Wformat-overflow with an allocated buffer with non-constant size in known range

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92943 Andrew Pinski changed: What|Removed |Added Known to fail||10.3.0 Known to work|

[Bug tree-optimization/93518] missing warning on a possible overflow by sprintf %s with an allocated argument

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93518 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|middle-end

[Bug tree-optimization/103800] New: ICE in vectorizable_phi, at tree-vect-loop.c:7861 with -O3 -march=skylake-avx512

2021-12-22 Thread vsevolod.livinskij at frtk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103800 Bug ID: 103800 Summary: ICE in vectorizable_phi, at tree-vect-loop.c:7861 with -O3 -march=skylake-avx512 Product: gcc Version: 12.0 Status: UNCONFIRMED Severit

[Bug tree-optimization/103800] [12 Regression] ICE in vectorizable_phi, at tree-vect-loop.c:7861 with -O3

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

[Bug libstdc++/103801] New: Link tests are not allowed after GCC_NO_EXECUTABLES. for pdp11-aout target

2021-12-22 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103801 Bug ID: 103801 Summary: Link tests are not allowed after GCC_NO_EXECUTABLES. for pdp11-aout target Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: nor

[Bug libstdc++/103801] Link tests are not allowed after GCC_NO_EXECUTABLES. for pdp11-aout target

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

[Bug c/96114] ICE in make_ssa_name_fn, at tree-ssanames.c:279 since r7-536-g381cdae49785fc4b

2021-12-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96114 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | --- Comment #2 from Martin Liška --- St

[Bug debug/103788] [9/10/11/12 Regression] '-fcompare-debug' failure (length) w/ -O1

2021-12-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103788 Martin Liška changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment #6

[Bug fortran/103795] ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:8325 since r7-1821-g20d0bfcefd6caf09

2021-12-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103795 Martin Liška changed: What|Removed |Added Summary|ICE in |ICE in |gfc_conv_array

[Bug tree-optimization/47341] unnecessary versioning in the vectorizer, not implemented affine-affine test

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47341 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Severity|nor

[Bug middle-end/78399] g++ generates sub-optimal assembler code when structs aren't explicitly aligned.

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

[Bug fortran/103796] ICE in gfc_conv_expr_val, at fortran/trans-expr.c:9446 since r8-6395-gf8862a1b2afad9d1

2021-12-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103796 Martin Liška changed: What|Removed |Added CC||damian at sourceryinstitute dot or

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2021-12-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug tree-optimization/103799] switch expansion could be smarter

2021-12-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103799 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/103802] New: [12 regression] recip-3.c fails after r12-6087 on Power m32

2021-12-22 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103802 Bug ID: 103802 Summary: [12 regression] recip-3.c fails after r12-6087 on Power m32 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103800] [12 Regression] ICE in vectorizable_phi, at tree-vect-loop.c:7861 with -O3 since r12-5626-g0194d92c35ca8b3a

2021-12-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103800 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Summary|[12 Regression] ICE

[Bug tree-optimization/103800] [12 Regression] ICE in vectorizable_phi, at tree-vect-loop.c:7861 with -O3 since r12-5626-g0194d92c35ca8b3a

2021-12-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103800 Martin Liška changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/80399] Premature optimization with unsigned

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80399 Andrew Pinski changed: What|Removed |Added Known to work||10.2.0, 12.0, 9.3.0 Known to fail|

[Bug middle-end/103802] [12 regression] recip-3.c fails after r12-6087 on Power m32

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103802 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization,

[Bug driver/93645] Support Clang 12 --ld-path=

2021-12-22 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93645 --- Comment #11 from Fangrui Song --- (In reply to Martin Liška from comment #10) > I replied here: > https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573823.html There are people wanting to use mold https://www.reddit.com/r/rust/comments/rhc

[Bug middle-end/83384] Optimize heap allocation as stack allocation

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

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2021-12-22 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 --- Comment #2 from hubicka at kam dot mff.cuni.cz --- > Can you please attach a reduced test-case? Do you know how to produce one with a reasonable effort? The declaratoins are quite convoluted, but the function is well isolated and easy to ins

[Bug middle-end/83384] Optimize heap allocation as stack allocation

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

[Bug driver/93645] Support Clang 12 --ld-path=

2021-12-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93645 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Com

[Bug middle-end/87655] `i = i % constant` for static local `i` is not optimized

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

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2021-12-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 --- Comment #3 from Martin Liška --- (In reply to hubicka from comment #2) > > Can you please attach a reduced test-case? > Do you know how to produce one with a reasonable effort? -E and remove not needed code. > The > declaratoins are quite

[Bug tree-optimization/103803] New: i++; i = i % constant -> i >= constant-1 ? 0 : i+1

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103803 Bug ID: 103803 Summary: i++; i = i % constant -> i >= constant-1 ? 0 : i+1 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhance

[Bug middle-end/87655] `i = i % constant` for static local `i` is not optimized

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

[Bug middle-end/87654] Information about constants from condition is not propagated

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87654 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Sev

[Bug middle-end/87654] Information about constants from condition is not propagated

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87654 Andrew Pinski changed: What|Removed |Added Depends on||22196 --- Comment #2 from Andrew Pinski

[Bug tree-optimization/89922] Loop on fixed size array is not unrolled and poorly optimized at -O2

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89922 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Severity|nor

<    1   2