[Bug libstdc++/110167] excessive compile time for std::to_array with huge arrays

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110167 --- Comment #11 from Richard Biener --- It's also very bad for code size, so yes, a loopy implementation is very much prefered even for a much smaller threshold than 1024!

[Bug target/110170] Sub-optimal conditional jumps in conditional-swap with floating point

2023-06-09 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110170 --- Comment #7 from Hongtao.liu --- void __cond_swap(double* __x, double* __y) { bool __r = (*__x < *__y); *__x = __r ? *__y : *__x ; } void __cond_swap1(double* __x, double* __y) { bool __r = (*__x < *__y); *__y = __r ? *__x : *__y; }

[Bug target/110170] Sub-optimal conditional jumps in conditional-swap with floating point

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110170 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/110176] [10/11/12/13/14 Regression] wrong code at -Os and above on x86_64-linux-gnu

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110176 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Keywords|

[Bug other/110178] [14 regression] gfortran.dg/gomp/target-update-1.f90 fails after r14-1579-g4ede915d5dde93

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110178 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 Keywords|

[Bug fortran/96024] [10/11/12/13 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 --- Comment #19 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4cf6e322adc19f927859e0a5edfa93cec4b8c844 commit r14-1642-g4cf6e322adc19f927859e0a5edfa93cec4b8c844 Author: Jakub Jelinek Date: F

[Bug tree-optimization/110182] [11/12/13/14 Regression] Vector(2) cast from double to float and back and subtraction seems to produce incorrect results

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110182 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug modula2/110126] Variables are reported as unused when only referenced by ASM statements

2023-06-09 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110126 --- Comment #8 from Thorsten Otto --- And here are examples that trigger the bug: DEFINITION MODULE BIOS; FROM SYSTEM IMPORT ADDRESS, CARDINAL32, INTEGER16, INTEGER32; END BIOS. IMPLEMENTATION MODULE BIOS; PROCEDURE trap_13_w(n: INTEGER16):

[Bug fortran/96024] [10/11/12/13 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 --- Comment #20 from CVS Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:32c51d0911e8d1bdf3f60bc831794b7932416ccd commit r13-7431-g32c51d0911e8d1bdf3f60bc831794b7932416ccd Author: Jakub Jelinek

[Bug c/110188] New: gcc for RISC-V stack aligned error

2023-06-09 Thread jzhgonha at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110188 Bug ID: 110188 Summary: gcc for RISC-V stack aligned error Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/110185] [14 Regression]: Tens of c++ testsuite crashes for cris-elf with r14-1624-g28db36e2cfca1b

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110185 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug target/110188] gcc for RISC-V stack aligned error

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110188 --- Comment #1 from Andrew Pinski --- This is at -O0. Maybe -O1 or -O2 will use the reduced stack size.

[Bug fortran/96024] [10/11/12/13 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 --- Comment #21 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bc4adb88611cb17280ab15ac4e13ab1d05b11825 commit r12-9687-gbc4adb88611cb17280ab15ac4e13ab1d05b11825 Author: Jakub Jelinek

[Bug fortran/96024] [10/11/12/13 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 --- Comment #22 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7f875e435b23dfb439bc7784cade4aebbd5d4a69 commit r11-10850-g7f875e435b23dfb439bc7784cade4aebbd5d4a69 Author: Jakub Jelinek

[Bug fortran/96024] [10/11/12/13 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 --- Comment #23 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f46b16ef25fec4f936724ca449259db5c3de0f54 commit r10-11441-gf46b16ef25fec4f936724ca449259db5c3de0f54 Author: Jakub Jelinek

[Bug target/110188] gcc for RISC-V stack aligned error

2023-06-09 Thread 18761437418 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110188 --- Comment #2 from 18761437418 at 163 dot com --- thank you very much, I have tried different optimization levels, but all occupy 32bytes. O0, O1, O2, O3, Os all occupy 32bytes. comand: riscv64-unknown-elf-gcc -c main.c -o main.o -march=rv32ima

[Bug modula2/110189] New: Using an unknown TYPE as argument to VAL gives ICE

2023-06-09 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110189 Bug ID: 110189 Summary: Using an unknown TYPE as argument to VAL gives ICE Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/110188] gcc for RISC-V stack aligned error

2023-06-09 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110188 --- Comment #3 from Andreas Schwab --- According to riscv.h there is a difference between ABI and calling conventions: /* The smallest supported stack boundary the calling convention supports. */ #define STACK_BOUNDARY \ (riscv_abi == ABI_IL

[Bug target/110044] [10/11/12/13 Regression] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 --- Comment #9 from CVS Commits --- The releases/gcc-13 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:46e585c5c3f8ea81c163e1d7db044a972bc29321 commit r13-7432-g46e585c5c3f8ea81c163e1d7db044a972bc29321 Author: Iain Sandoe Da

[Bug target/110044] [10/11/12/13 Regression] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:8d64b55db0bec62873503739fabc2a4d3219ad58 commit r12-9688-g8d64b55db0bec62873503739fabc2a4d3219ad58 Author: Iain Sandoe D

[Bug target/110044] [10/11/12/13 Regression] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:92293d71135f8a4ad4097e971122ce3153de73a8 commit r11-10851-g92293d71135f8a4ad4097e971122ce3153de73a8 Author: Iain Sandoe

[Bug target/110044] [10/11/12/13 Regression] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:dfbf62f87824ac2bd40222bd9c1cbc8d65875a9c commit r10-11442-gdfbf62f87824ac2bd40222bd9c1cbc8d65875a9c Author: Iain Sandoe

[Bug libstdc++/110190] New: regex: incorrect match results on DFA engines

2023-06-09 Thread mimomorin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110190 Bug ID: 110190 Summary: regex: incorrect match results on DFA engines Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: li

[Bug fortran/96024] [10/11/12/13 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2023-06-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 Jakub Jelinek changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug target/110044] [10/11/12/13 Regression] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-06-09 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/106907] gcc/config/rs6000/rs6000.cc:23155: strange expression ?

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106907 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by jeevitha : https://gcc.gnu.org/g:3b09a5453114fee10b0f0984793ce968503dbea7 commit r12-9689-g3b09a5453114fee10b0f0984793ce968503dbea7 Author: Jeevitha Palanisamy

[Bug libstdc++/52799] deque::emplace(iterator, ...) tries to call push_front(...), which doesn't exist

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52799 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3ec1d76a359542ed4c8370390efa9ee9e25e757f commit r14-1645-g3ec1d76a359542ed4c8370390efa9ee9e25e757f Author: Jonathan Wakely Date:

[Bug ipa/109886] UBSAN error: shift exponent 64 is too large for 64-bit type when compiling gcc.c-torture/compile/pr96796.c

2023-06-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109886 --- Comment #9 from Martin Jambor --- A buildbot run which checked out this revision unfortunately still reports this problem with UBSAN-bootstrapped compiler.

[Bug tree-optimization/110182] [11/12/13/14 Regression] Vector(2) cast from double to float and back and subtraction seems to produce incorrect results

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110182 --- Comment #5 from Richard Biener --- commit 3e12669a0eb968cfcbe9242b382fd8020935edf8 (origin/master, origin/HEAD) Author: Richard Biener Date: Fri Jun 9 09:29:09 2023 +0200 middle-end/110182 - TYPE_PRECISION on VECTOR_TYPE causes wrong

[Bug c++/110191] New: Alias template in function parameter does not match the nested type it refers to

2023-06-09 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110191 Bug ID: 110191 Summary: Alias template in function parameter does not match the nested type it refers to Product: gcc Version: 13.1.0 Status: UNCONFIRMED Sever

[Bug c++/110187] The compiler fails to warn about deleted constructor

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110187 Jonathan Wakely changed: What|Removed |Added Blocks||87403 Severity|normal

[Bug c++/110186] -Weffc++ does not recognize user defined constructor.

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110186 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/59974] ostream crashes on large numbers under Windows

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59974 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/102445] [meta-bug] std::regex issues

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102445 Bug 102445 depends on bug 103664, which changed state. Bug 103664 Summary: std::regex_replace bug if the string contains \0 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103664 What|Removed |Added --

[Bug libstdc++/103664] std::regex_replace bug if the string contains \0

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103664 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.4 Resolution|---

[Bug libstdc++/100361] gcc-11 for msp430-elf fails to build: src/c++17/floating_to_chars.cc:107: d2fixed_full_table.h:1283:23: error: size of array ‘POW10_SPLIT_2’ exceeds maximum object size ‘32767’

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100361 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.2 Resolution|---

[Bug c++/110185] [14 Regression]: Tens of c++ testsuite crashes for cris-elf with r14-1624-g28db36e2cfca1b

2023-06-09 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110185 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org Target|

[Bug tree-optimization/110192] New: Missed GIMPLE optimization with calls

2023-06-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110192 Bug ID: 110192 Summary: Missed GIMPLE optimization with calls Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optim

[Bug tree-optimization/110182] [11/12 Regression] Vector(2) cast from double to float and back and subtraction seems to produce incorrect results

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110182 Richard Biener changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12 Regression] |

[Bug tree-optimization/110192] Missed GIMPLE optimization with calls

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110192 --- Comment #1 from Richard Biener --- tail merging is supposed to handle this but ...

[Bug libstdc++/110077] [14 regression] libstdc++-abi/abi_check FAILs on Solaris

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110077 --- Comment #2 from Jonathan Wakely --- I'm testing this fix: --- a/libstdc++-v3/src/c++17/floating_from_chars.cc +++ b/libstdc++-v3/src/c++17/floating_from_chars.cc @@ -1325,7 +1325,8 @@ _ZSt10from_charsPKcS0_RDF128_St12chars_format(const char

[Bug middle-end/110148] [14 Regression] TSVC s242 regression between g:c0df96b3cda5738afbba3a65bb054183c5cd5530 and g:e4c986fde56a6248f8fbe6cf0704e1da34b055d8

2023-06-09 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110148 cuilili changed: What|Removed |Added CC||lili.cui at intel dot com --- Comment #2 from

[Bug target/109800] [11 Regression] arm: ICE (segfault) loading double with -mpure-code -mbig-endian

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109800 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:2d3b72cbbfe7fb38b0e3b8ef2119156cbce57488 commit r11-10852-g2d3b72cbbfe7fb38b0e3b8ef2119156cbce57488 Author: Alex Coplan Dat

[Bug libstdc++/59974] ostream crashes on large numbers under Windows

2023-06-09 Thread steve at sk2 dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59974 --- Comment #6 from Stephen Kitt --- The patches were written by Jeff Epler, not me, so I can't assign copyright or sign off.

[Bug target/109800] [11 Regression] arm: ICE (segfault) loading double with -mpure-code -mbig-endian

2023-06-09 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109800 Alex Coplan changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/110108] [14 Regression] Wrong code from combining VPABSB/VPBLENDVB since g:1ede03e2d0437ea9c2f7

2023-06-09 Thread benjsith at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110108 --- Comment #9 from Benji Smith --- Yes, updated to the latest trunk (dac73e4c64bf62be18bd5203e4e0f3e6bc64b4dc) and confirmed that it no longer repros. Thanks for the fix!

[Bug libstdc++/110167] excessive compile time for std::to_array with huge arrays

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110167 --- Comment #12 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:960de5dd886572711ef86fa1e15e30d3810eccb9 commit r14-1647-g960de5dd886572711ef86fa1e15e30d3810eccb9 Author: Jonathan Wakely Date

[Bug libstdc++/110149] std::format for pointer arguments allows a '0' option

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110149 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:628ba410b9265dbd4278c1f1b1fadf05348adef2 commit r14-1648-g628ba410b9265dbd4278c1f1b1fadf05348adef2 Author: Jonathan Wakely Date:

[Bug middle-end/108410] x264 averaging loop not optimized well for avx512

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108410 --- Comment #5 from Richard Biener --- Btw, for the case we can use the same mask compare type as we use as type for the IV (so we know we can represent all required values) we can elide the saturation. So for example void foo (double * __rest

[Bug libstdc++/100285] experimental/net/socket/socket_base.cc fails on arm-eabi (r12-137)

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100285 --- Comment #14 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:793ed718b522b15e2d758eca953feeec1979fe2c commit r14-1650-g793ed718b522b15e2d758eca953feeec1979fe2c Author: Jonathan Wakely Date

[Bug libstdc++/100285] experimental/net/socket/socket_base.cc fails on arm-eabi (r12-137)

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100285 --- Comment #15 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #12) > This is failing for aarch64-none-elf: > > FAIL: experimental/net/headers.cc (test for excess errors) I hope this one is fixed on trunk now.

[Bug libstdc++/110149] std::format for pointer arguments allows a '0' option

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110149 --- Comment #6 from Jonathan Wakely --- Fixed on trunk so far, backport to follow.

[Bug libstdc++/110145] 20_util/to_chars/double.cc fails for -m32 -fexcess-precision=standard

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110145 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.2

[Bug c++/110137] implement clang -fassume-sane-operator-new

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 CC|jwakely at redha

[Bug libstdc++/107815] 20_util/to_chars/float128_c++23.cc FAILs

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107815 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/110077] [14 regression] libstdc++-abi/abi_check FAILs on Solaris

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110077 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:00da6bcfccbc5ab13821d8dd7334dd48c22d5702 commit r14-1651-g00da6bcfccbc5ab13821d8dd7334dd48c22d5702 Author: Jonathan Wakely Date:

[Bug libstdc++/110077] [14 regression] libstdc++-abi/abi_check FAILs on Solaris

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110077 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/110168] Security issue on FORTIFY_SOURCE for strcpy function (tested on i386/32 bits)

2023-06-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110168 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #4 fr

[Bug c++/101789] Fails to match (re-)declaration of member function of class template when using an alias template for the (dependent) return type

2023-06-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101789 Patrick Palka changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/110191] Alias template in function parameter does not match the nested type it refers to

2023-06-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110191 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug target/110188] gcc for RISC-V stack aligned error

2023-06-09 Thread 18761437418 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110188 --- Comment #4 from 18761437418 at 163 dot com --- thank you very much. according to the define, STACK_BOUNDARY is 8 bytes, ABI_STACK_BOUNDARY is 128, just 16bytes, not 32bytes, but compiler allocate 32bytes to stack. At 2023-06-09

[Bug d/110193] New: d_signed_or_unsigned_type is invoked for vector types

2023-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110193 Bug ID: 110193 Summary: d_signed_or_unsigned_type is invoked for vector types Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug ipa/109886] UBSAN error: shift exponent 64 is too large for 64-bit type when compiling gcc.c-torture/compile/pr96796.c

2023-06-09 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109886 --- Comment #10 from Andrew Macleod --- (In reply to Martin Jambor from comment #9) > A buildbot run which checked out this revision unfortunately still reports > this problem with UBSAN-bootstrapped compiler. Oh, I see.. there's a second prob

[Bug c/110194] New: GCC shouldn't warn for inline functions when -G provided.

2023-06-09 Thread umesh.kalappa0 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110194 Bug ID: 110194 Summary: GCC shouldn't warn for inline functions when -G provided. Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/110188] gcc for RISC-V stack aligned error

2023-06-09 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110188 Kito Cheng changed: What|Removed |Added CC||kito at gcc dot gnu.org --- Comment #5 fro

[Bug c/110194] GCC shouldn't warn for inline functions when -G provided.

2023-06-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110194 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug ipa/109886] UBSAN error: shift exponent 64 is too large for 64-bit type when compiling gcc.c-torture/compile/pr96796.c

2023-06-09 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109886 --- Comment #11 from Andrew Macleod --- (In reply to Martin Jambor from comment #9) > A buildbot run which checked out this revision unfortunately still reports > this problem with UBSAN-bootstrapped compiler. Actually, I do not think that rang

[Bug middle-end/110194] GCC shouldn't warn for inline functions when -G provided.

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

[Bug middle-end/110194] GCC shouldn't warn for inline functions when -G provided.

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110194 --- Comment #3 from Andrew Pinski --- Also -G and -g are different options. I was thinking you saying gcc should not warn when you specify the small data size on some targets (-G). Oh -g is independent from optimization level too.

[Bug middle-end/110194] GCC shouldn't warn for inline functions when -G provided.

2023-06-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110194 --- Comment #4 from Jakub Jelinek --- Note, I think -Og only does early inlining and not IPA inlining, so it will inline far fewer functions than -O1, -O2, -Os etc.

[Bug tree-optimization/110165] [13/14 Regression] wrong code with signed 1 bit integers sometimes since r13-4459-g6508d5e5a1a8

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110165 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:72e652f3425079259faa4edefe1dc571f72f91e0 commit r14-1653-g72e652f3425079259faa4edefe1dc571f72f91e0 Author: Andrew Pinski Date: Th

[Bug tree-optimization/110166] [14 Regression] wrong code with signed 1-bit integers sometimes since r14-868-gb06cfb62229f

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110166 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:72e652f3425079259faa4edefe1dc571f72f91e0 commit r14-1653-g72e652f3425079259faa4edefe1dc571f72f91e0 Author: Andrew Pinski Date: Th

[Bug tree-optimization/97711] Failure to optimise "x & 1 ? x - 1 : x" to "x & -2"

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97711 --- Comment #10 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:55fcaa9a8bd9c8ce97ca929fc902c88cf92786a0 commit r14-1656-g55fcaa9a8bd9c8ce97ca929fc902c88cf92786a0 Author: Andrew Pinski Date: We

[Bug tree-optimization/110155] Missing if conversion

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110155 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:55fcaa9a8bd9c8ce97ca929fc902c88cf92786a0 commit r14-1656-g55fcaa9a8bd9c8ce97ca929fc902c88cf92786a0 Author: Andrew Pinski Date: We

[Bug middle-end/110194] GCC shouldn't warn for inline functions when -g provided.

2023-06-09 Thread umesh.kalappa0 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110194 --- Comment #5 from Umesh Kalappa --- Ok thank you @Jakub and @Andrew for the quick reply , >>-Winline Option triggers this diagnostic ,so it better not to use this option in the debug build ?

[Bug tree-optimization/110166] [14 Regression] wrong code with signed 1-bit integers sometimes since r14-868-gb06cfb62229f

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110166 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/110165] [13 Regression] wrong code with signed 1 bit integers sometimes since r13-4459-g6508d5e5a1a8

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110165 Andrew Pinski changed: What|Removed |Added Known to work||14.0 Summary|[13/14 Regressi

[Bug tree-optimization/110155] Missing if conversion

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110155 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|ASSIGNED

[Bug tree-optimization/97711] Failure to optimise "x & 1 ? x - 1 : x" to "x & -2"

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97711 Bug 97711 depends on bug 110155, which changed state. Bug 110155 Summary: Missing if conversion https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110155 What|Removed |Added ---

[Bug tree-optimization/97711] Failure to optimise "x & 1 ? x - 1 : x" to "x & -2"

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97711 --- Comment #11 from Andrew Pinski --- Note the committed patch only fixes f in comment #1. g (Pointer plus) will need another change.

[Bug c++/96868] C++20 designated initializer erroneous warnings

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96868 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:0f8f1dee851c23bce19977b2531cf69b4da9f88f commit r14-1657-g0f8f1dee851c23bce19977b2531cf69b4da9f88f Author: Marek Polacek Date: Thu

[Bug c/39589] make -Wmissing-field-initializers=2 work with "designated initializers" ?

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39589 --- Comment #13 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:0f8f1dee851c23bce19977b2531cf69b4da9f88f commit r14-1657-g0f8f1dee851c23bce19977b2531cf69b4da9f88f Author: Marek Polacek Date: Th

[Bug middle-end/110194] GCC shouldn't warn for inline functions when -g provided.

2023-06-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110194 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug c++/110185] [14 Regression]: Tens of c++ testsuite crashes for cris-elf with r14-1624-g28db36e2cfca1b

2023-06-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110185 Jason Merrill changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/97988] [C++20] Forward-declared class type declared inside requires-expression gives weird inconsistencies

2023-06-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97988 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org St

[Bug c++/101677] [11 Regression] Concept with use of incomplete type succeeds on GCC 10.3.0, fails on GCC 11 onward

2023-06-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101677 Patrick Palka changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com --- C

[Bug c++/12944] [meta-bug] C++ name-lookup problems

2023-06-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12944 Bug 12944 depends on bug 97988, which changed state. Bug 97988 Summary: [C++20] Forward-declared class type declared inside requires-expression gives weird inconsistencies https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97988 What|Re

[Bug target/110108] [14 Regression] Wrong code from combining VPABSB/VPBLENDVB since g:1ede03e2d0437ea9c2f7

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

[Bug tree-optimization/110192] Missed GIMPLE optimization with calls

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110192 --- Comment #2 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > tail merging is supposed to handle this but ... VOPs IIRC.

[Bug rtl-optimization/110163] [14 Regression] Comparing against a constant string is inefficient on some targets

2023-06-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110163 --- Comment #2 from Jeffrey A. Law --- It is a regression for rv64. So probably P4 would be most appropriate.

[Bug tree-optimization/110192] Missed GIMPLE optimization with calls

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110192 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug d/110193] d_signed_or_unsigned_type is invoked for vector types

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

[Bug c++/110195] New: defaulted constructor does not respect the private accessor

2023-06-09 Thread jack.cui2 at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110195 Bug ID: 110195 Summary: defaulted constructor does not respect the private accessor Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/95906] Failure to recognize max pattern with mask

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95906 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/110195] defaulted constructor does not respect the private accessor

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

[Bug c++/110195] defaulted constructor does not respect the private accessor

2023-06-09 Thread jack.cui2 at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110195 --- Comment #2 from jack --- (In reply to Andrew Pinski from comment #1) > Before C++20, Single{} didn't call the constructor so this behavior is > expected. Could you explain why it didn't call the constructor before c++20? C++ standard rules

[Bug tree-optimization/21278] Move maximum out of a loop

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21278 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-08-18 00:00:00 |2023-6-9 --- Comment #4 from Andrew Pins

[Bug c++/110102] [13/14 regression] initializer_list ctors of containers skip Allocator_traits::construct, copies move-only type

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110102 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:35d2c40e4ac9ba57ae82e4722e557a2028d0cf13 commit r14-1658-g35d2c40e4ac9ba57ae82e4722e557a2028d0cf13 Author: Jason Merrill Date: Th

[Bug c++/110185] [14 Regression]: Tens of c++ testsuite crashes for cris-elf with r14-1624-g28db36e2cfca1b

2023-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110185 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:953bbeaeff050f4d0b670568a587aa1ce82ed711 commit r14-1660-g953bbeaeff050f4d0b670568a587aa1ce82ed711 Author: Jason Merrill Date: Fr

[Bug libstdc++/110196] New: stacktrace_entry does not print origin binary filename

2023-06-09 Thread fabian_kessler at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110196 Bug ID: 110196 Summary: stacktrace_entry does not print origin binary filename Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Co

  1   2   >