[Bug ada/103785] [12 Regression] Ada LTO+PGO bootstrap ICEs on i586

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

[Bug fortran/103782] [9/10/11/12 Regression] internal error occurs when overloading intrinsic since r9-1566-g87c789f1c0b2df41

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

[Bug ada/103785] New: [12 Regression] Ada LTO+PGO bootstrap ICEs on i586

2021-12-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103785 Bug ID: 103785 Summary: [12 Regression] Ada LTO+PGO bootstrap ICEs on i586 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/103786] New: Suspicious code in verify_type

2021-12-21 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103786 Bug ID: 103786 Summary: Suspicious code in verify_type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/103780] zero pointer is considered true

2021-12-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103780 --- Comment #4 from Jonathan Wakely --- Yes that's the nature of undefined behaviour. It might have surprising results. Don't write code with undefined behaviour. The FIXED resolution means a bug in GCC was fixed, not that your problem has

[Bug target/87548] Optimize fetch atomics with unused results

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

[Bug target/87548] Optimize fetch atomics with unused results

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87548 --- Comment #3 from Andrew Pinski --- .file "example.cpp" .intel_syntax noprefix .text .p2align 4,,15 .globl f(int*) .type f(int*), @function f(int*): .LFB0: .cfi_startproc

[Bug target/92549] Use x86 xchg instruction more

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

[Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.

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

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #23 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:ecd9684ec16ec0de2e4c0bb3f2097f98e6686cbe commit r10-10354-gecd9684ec16ec0de2e4c0bb3f2097f98e6686cbe Author: Iain Buclaw

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #22 from CVS Commits --- The releases/gcc-11 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:96a09dec2421af3e201f5a54dadb35f00917ea5b commit r11-9408-g96a09dec2421af3e201f5a54dadb35f00917ea5b Author: Iain Buclaw

[Bug fortran/103789] ICE when providing kind argument to mask{l,r}

2021-12-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103789 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-12-21 CC|

[Bug target/92137] [ia32] Missing documentation for ia32 builtins

2021-12-21 Thread frankhb1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92137 frankhb1989 at gmail dot com changed: What|Removed |Added CC||frankhb1989 at gmail dot

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2021-12-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #13 from Segher Boessenkool --- If we need more than three insns to create a constant we are better off loading it from memory, in all cases. Maybe three is too much already, at least on some processors?

[Bug c++/103790] internal compiler error: Segmentation fault when playing with coroutine

2021-12-21 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103790 Iain Sandoe changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #2 from

[Bug c++/103790] internal compiler error: Segmentation fault when playing with coroutine

2021-12-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103790 --- Comment #3 from Martin Liška --- > the error is correct suspend_always{} is not a valid return for > await_suspend() - but we should not ICE, of course. Note, we don't ICE on master since the revision.

[Bug c/103791] New: A "segmentation fault" error appears when trying to compile a kernel

2021-12-21 Thread ak47.almank at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103791 Bug ID: 103791 Summary: A "segmentation fault" error appears when trying to compile a kernel Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103173] strncpy output may be truncated copying 32 bytes from a string of length 1439 (bogus) [-Werror=stringop-truncation]

2021-12-21 Thread patrickdepinguin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103173 --- Comment #4 from Thomas De Schampheleire --- Note also that in the test program of comment #3, there is no problem if using the 'password' or 'application' fields, rather than 'user', which is first in the structure.

[Bug tree-optimization/103793] New: [12 Regression] ICE: in to_reg_br_prob_base, at profile-count.h:277 with -O3 -fno-guess-branch-probability

2021-12-21 Thread zsojka at seznam dot cz via Gcc-bugs
orted LTO compression algorithms: zlib zstd gcc version 12.0.0 20211221 (experimental) (GCC)

[Bug target/103785] [12 Regression] Ada bootstrap ICEs on i?86

2021-12-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103785 --- Comment #4 from Roger Sayle --- This is either (i) related to PR 103773, where GNAT is somehow setting optimize_size to a value greater than 1 (i.e. -Oz) and getting hit by the known memory corruption or (ii) somehow related to the highpart

[Bug c/103791] A "segmentation fault" error appears when trying to compile a kernel

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

[Bug tree-optimization/103793] [12 Regression] ICE: in to_reg_br_prob_base, at profile-count.h:277 with -O3 -fno-guess-branch-probability since r12-6086-gcd5ae148c47c6dee

2021-12-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103793 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/103173] strncpy output may be truncated copying 32 bytes from a string of length 1439 (bogus) [-Werror=stringop-truncation]

2021-12-21 Thread patrickdepinguin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103173 --- Comment #3 from Thomas De Schampheleire --- While the original test program failed on gcc 11.2.0 but not on gcc 9.4.0, I now encounter a very similar case that does fail on gcc 9.4.0: -- #include #define

[Bug sanitizer/103792] stack-use-after-scope false positive with exceptions on ARM EABI

2021-12-21 Thread mcross at irobot dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103792 --- Comment #1 from Matt Cross --- Address Sanitizer output from executing this: = ==29328==ERROR: AddressSanitizer: stack-use-after-scope on address 0xbed737e0 at pc 0xb319b875

[Bug c++/103790] internal compiler error: Segmentation fault when playing with coroutine

2021-12-21 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103790 --- Comment #4 from Iain Sandoe --- (In reply to Martin Liška from comment #3) > > the error is correct suspend_always{} is not a valid return for > > await_suspend() - but we should not ICE, of course. > > Note, we don't ICE on master since

[Bug sanitizer/103792] New: stack-use-after-scope false positive with exceptions on ARM EABI

2021-12-21 Thread mcross at irobot dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103792 Bug ID: 103792 Summary: stack-use-after-scope false positive with exceptions on ARM EABI Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/103773] wrong code at -Oz due to sign extension

2021-12-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103773 --- Comment #3 from Roger Sayle --- Patch proposed https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587258.html

[Bug target/103773] wrong code at -Oz due to sign extension

2021-12-21 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103773 --- Comment #4 from Zdenek Sojka --- (In reply to Roger Sayle from comment #3) > Patch proposed > https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587258.html Thank you for the patch. Does it work correctly with the red zone? I am

[Bug target/103785] [12 Regression] Ada LTO+PGO bootstrap ICEs on i586

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103785 Andrew Pinski changed: What|Removed |Added Keywords||build, ice-on-valid-code,

[Bug target/87565] suboptimal memory-indirect tailcalls on arm

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

[Bug target/93130] PPC simple memset not inlined

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

[Bug target/69143] PowerPC64: aggregate results are badly handled

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

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

2021-12-21 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103788 Bug ID: 103788 Summary: [9/10/11/12 Regression] '-fcompare-debug' failure (length) w/ -O1 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-21 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2021-12-21 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #20 from Paul Menzel --- (In reply to Andrew Pinski from comment #19) > *** Bug 103768 has been marked as a duplicate of this bug. *** It’d be great, if you could advise how to address the warning in SeaBIOS. In file included

[Bug c++/103790] internal compiler error: Segmentation fault when playing with coroutine

2021-12-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103790 Martin Liška changed: What|Removed |Added CC||iains at gcc dot gnu.org,

[Bug fortran/77525] wrong requirement of an upper bound for an array argument

2021-12-21 Thread themos.tsikas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77525 Themos Tsikas changed: What|Removed |Added CC||themos.tsikas at gmail dot com ---

[Bug target/90622] Suboptimal code generated for __builtin_avr_insert_bits

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

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #24 from CVS Commits --- The releases/gcc-9 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:38d8dec9c9d6a735759ddebe6d90a50719a7f94c commit r9-9881-g38d8dec9c9d6a735759ddebe6d90a50719a7f94c Author: Iain Buclaw

[Bug c++/103790] New: internal compiler error: Segmentation fault when playing with coroutine

2021-12-21 Thread jack.cui2 at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103790 Bug ID: 103790 Summary: internal compiler error: Segmentation fault when playing with coroutine Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2021-12-21 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 Jiu Fu Guo changed: What|Removed |Added CC||guojiufu at gcc dot gnu.org --- Comment

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2021-12-21 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #50 from cqwrteur --- Backported GCC 11 patch https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587255.html

[Bug target/87601] Missed opportunity for flag reuse and macro-op fusion on x86

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87601 --- Comment #1 from Andrew Pinski --- sub rsi, 1 testesi, esi jne .L3 To sub rsi, 1 jne .L3 Is not the same, the first is a 64bit subtract followed by a 32bit compare. in the 2nd

[Bug target/92135] Implement popcountsi expansion for arm

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

[Bug target/93002] while(i--) optimization

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

[Bug target/49001] GCC uses VMOVAPS/PD AVX instructions to access stack variables that are not 32-byte aligned

2021-12-21 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49001 --- Comment #7 from Thiago Macieira --- Hack to workaround: asm( ".macro vmovapd args:vararg\n" "vmovupd \\args\n" ".endm\n" ".macro vmovaps args:vararg\n" "vmovups \\args\n" ".endm\n" ".macro vmovdqa

[Bug ipa/103786] Suspicious code in verify_type

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

[Bug ipa/103786] Suspicious code in verify_type

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

[Bug target/103785] [12 Regression] Ada bootstrap ICEs on i?86

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103785 Andrew Pinski changed: What|Removed |Added Keywords|lto | --- Comment #3 from Andrew Pinski

[Bug tree-optimization/87601] Missed opportunity for flag reuse and macro-op fusion on x86

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

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2021-12-21 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #11 from Jiu Fu Guo --- While for the const which Bill said in comment9, 0x0008411 The code sequence still contains a few instructions: e.g. li %r11,0 ori %r11,%r11,0x8000 sldi %r11,%r11,32

[Bug target/88013] can't vectorize rgb to grayscale conversion code

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

[Bug target/91502] suboptimal atomic_fetch_sub and atomic_fetch_add

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

[Bug fortran/103789] New: ICE when providing kind argument to mask{l,r}

2021-12-21 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103789 Bug ID: 103789 Summary: ICE when providing kind argument to mask{l,r} Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2021-12-21 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #49 from cqwrteur --- https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587254.html I just send an email to add a patch for this. Jonathan Wakely, can you review the patch here?

[Bug target/82328] x86 rdrand: flags not used directly when branching on success/failure

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

[Bug target/80517] [missed optimization] constant propagation through Intel intrinsics

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

[Bug target/103787] [12 regression] SEGV in gnat1 breaks i?86 bootstrap

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

[Bug target/103785] [12 Regression] Ada LTO+PGO bootstrap ICEs on i586

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103785 Andrew Pinski changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #2

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2021-12-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #12 from Segher Boessenkool --- This is my g:72b2f3317b44, two years and a day old :-)

[Bug target/103787] New: [12 regression] SEGV in gnat1 breaks i?86 bootstrap

2021-12-21 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103787 Bug ID: 103787 Summary: [12 regression] SEGV in gnat1 breaks i?86 bootstrap Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/103787] [12 regression] SEGV in gnat1 breaks i?86 bootstrap

2021-12-21 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103787 Rainer Orth changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/87223] -Os produces sub-optimal x86 machine code for initialization with zero

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

[Bug target/88402] inefficient code generation for mask from CC

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

[Bug target/87206] Suboptimal code generation for __atomic_compare_exchange_n followed by a comparison

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

[Bug target/86011] Inefficient code generated for ldivmod with constant value

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

[Bug fortran/103789] ICE when providing kind argument to mask{l,r}

2021-12-21 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103789 --- Comment #1 from Mikael Morin --- maskr is the same. Fix probably similar to PR87851.

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

2021-12-21 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||ebotcazou at gcc dot gnu.org,

[Bug fortran/103794] ICE in gfc_check_reshape, at fortran/check.c:4727

2021-12-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103794 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-12-21

[Bug c++/66153] Internal compiler error in nested template function

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66153 --- Comment #10 from Andrew Pinski --- A little more reduced: template struct c { obj data; }; struct r {}; template obj g(const obj ); template auto g(const c & arg) -> c(arg.data))> { return c(arg.data))>{}; } int main() { c array;

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

2021-12-21 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 Bug ID: 103797 Summary: Clang vectorized LightPixel while GCC does not Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/35606] Unresolved #pragma weak prevents all function aliasing in C++

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

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

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

[Bug tree-optimization/103793] [12 Regression] ICE: in to_reg_br_prob_base, at profile-count.h:277 with -O3 -fno-guess-branch-probability since r12-6086-gcd5ae148c47c6dee

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

[Bug middle-end/36282] [4.7 Regression] Spurious warning "asm declaration ignored due to conflict with previous rename"

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36282 Andrew Pinski changed: What|Removed |Added CC||ian at airs dot com --- Comment #15

[Bug c++/85461] A simple recursive TMP static const initializer defeats gcc

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85461 --- Comment #3 from Andrew Pinski --- Using constexpr is a decent workaround. Note enum version of this is rejected by all compilers: template struct bitWidthHolding { enum {width = (v == 0) ? 0 : bitWidthHolding<(v>>1)>::width + 1}; }; int

[Bug fortran/103795] New: ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:8325

2021-12-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103795 Bug ID: 103795 Summary: ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:8325 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/103796] New: ICE in gfc_conv_expr_val, at fortran/trans-expr.c:9446

2021-12-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103796 Bug ID: 103796 Summary: ICE in gfc_conv_expr_val, at fortran/trans-expr.c:9446 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

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

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103788 --- Comment #4 from Andrew Pinski --- In .gimple already: -g2: [/app/example.cpp:11:5] goto ; vs -g0: [/app/example.cpp:10:17] goto ; -g2: :; # DEBUG BEGIN STMT; SAVE_EXPR ;, x = (SAVE_EXPR ) + x;; # DEBUG BEGIN STMT; ++i; #

[Bug middle-end/103791] A "segmentation fault" error appears when trying to compile a kernel

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103791 --- Comment #2 from Andrew Pinski --- >For some reason I can't find a preprocessed file. Because you used -E with -save-temps, so the preprocessed source will be in the output file.

[Bug d/103739] Bootstrap broken on powerpc64-linux

2021-12-21 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103739 Iain Buclaw changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/66153] Internal compiler error in nested template function

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66153 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Severity|major

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

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

[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

2021-12-21 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug c++/66153] Internal compiler error in nested template function

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66153 --- Comment #8 from Andrew Pinski --- Reduced further: #include template struct TypeMapper { static const int NestLevel = T::NestLevel; }; template<> struct TypeMapper { static const int NestLevel = 0; }; template struct Container { obj data;

[Bug target/103611] GCC generates suboptimal code for SSE2/SSE4.1 64-bit integer element extraction on 32-bit x86 targets

2021-12-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103611 Roger Sayle changed: What|Removed |Added Target Milestone|--- |12.0 Status|UNCONFIRMED

[Bug fortran/103794] New: ICE in gfc_check_reshape, at fortran/check.c:4727

2021-12-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103794 Bug ID: 103794 Summary: ICE in gfc_check_reshape, at fortran/check.c:4727 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug driver/82534] [meta-bug] POSIX compliant compiler options

2021-12-21 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82534 Eric Gallager changed: What|Removed |Added Keywords||documentation --- Comment #2 from Eric

[Bug c++/66153] Internal compiler error in nested template function

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66153 --- Comment #9 from Andrew Pinski --- Here is the full on reduced testcase (the previous one was wrong): template struct Container { obj data[1]; }; template struct Recursive {}; template obj function(const obj ) { return obj{}; } template

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

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103788 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target

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

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103788 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > (In reply to Martin Liška from comment #1) > > Likely latent which was exposed with r9-3352-g87bd153645f393a1. here is a slightly modified (just line rather

[Bug objc++/58783] Fast enumeration is not supported for Objective-C++

2021-12-21 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58783 --- Comment #10 from Eric Gallager --- Note that on the Standards page of the manual, it currently says "fast enumeration (only for Objective-C)", so once this bug is fixed, that parenthetical can be removed:

[Bug d/103528] [12 regression] d21 doesn't build on Solaris

2021-12-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #9 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:7c6ae994fb587c19ca14aebe18dbc9aca83be609 commit r12-6091-g7c6ae994fb587c19ca14aebe18dbc9aca83be609 Author: Iain Buclaw Date: Thu

[Bug c++/103790] internal compiler error: Segmentation fault when playing with coroutine

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

[Bug c++/100673] [coroutines] Non-template, UDT await_suspend return-type results in ICE.

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100673 Andrew Pinski changed: What|Removed |Added CC||jack.cui2 at foxmail dot com ---

[Bug driver/81371] Too many C++ templates output in build error

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371 Andrew Pinski changed: What|Removed |Added Component|c++ |driver Keywords|

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-21 Thread syq at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #26 from YunQiang Su --- (In reply to Iain Buclaw from comment #25) > Fixed layout has been pushed out, should be all good now. (In reply to YunQiang Su from comment #19) > (In reply to Iain Buclaw from comment #18) > > (In reply

[Bug c++/81973] alias virtual function does not cause the vtable to be emitted even if the aliased function is defined in the TU

2021-12-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81973 Andrew Pinski changed: What|Removed |Added Keywords||link-failure Ever confirmed|0

[Bug c++/98500] ICE template template parameter with default parameter lambda

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

[Bug c++/86126] Note when linking libraries built with different -std options

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

  1   2   >