[Bug target/120441] [avr] exp returns Inf for x>=512 and 0 for x<=-512 in libgcc/libf7

2025-05-26 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120441 Georg-Johann Lay changed: What|Removed |Added Keywords||wrong-code Target|

[Bug target/120441] New: [avr] exp returns Inf for x>=512 and 0 for x<=-512 in libgcc/libf7

2025-05-26 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120441 Bug ID: 120441 Summary: [avr] exp returns Inf for x>=512 and 0 for x<=-512 in libgcc/libf7 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/120428] [15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-26 Thread shawn at shawnxu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 --- Comment #2 from Shawn Xu --- Shorter reproduction: // https://godbolt.org/z/z8z4Ye4rq #include #include #include #include void permute(std::array& data) { static constexpr std::array order{0, 1}; std::array buffer{}; for (

[Bug libstdc++/120428] [15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-26 Thread shawn at shawnxu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 --- Comment #3 from Shawn Xu --- Seems to only matter when -mavx or -mavx512f is on. Otherwise the generated assemblies are identical

[Bug ada/120440] [15/16 regression] gnat exception handling miscompiled (`gnat ls` crashes when bootstrapped with -march=znver3)

2025-05-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120440 Sam James changed: What|Removed |Added Keywords||needs-bisection --- Comment #1 from Sam Jam

[Bug ada/120440] [15/16 regression] gnat exception handling miscompiled (`gnat ls` crashes when bootstrapped with -march=znver3)

2025-05-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120440 Sam James changed: What|Removed |Added Target Milestone|--- |15.2

[Bug ada/120440] New: [15/16 regression] gnat exception handling miscompiled (`gnat ls` crashes when bootstrapped with -march=znver3)

2025-05-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
ix=/tmp/gcc-pfx --enable-languages=c,c++,ada CFLAGS='-O2 -march=znver3' CXXFLAGS='-O2 -march=znver3' 'BOOT_CFLAGS=-O2 -march=znver3' 'BOOT_CXXFLAGS=-O2 -march=znver3' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.0 20250526 (experimental) (GCC) ```

[Bug fortran/120431] SPREAD does not handle scalar argument and NCOPIES=-1 correctly

2025-05-26 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120431 --- Comment #2 from kargls at comcast dot net --- The following diff "fixes" the problem. Or, I should say it would fix the problem if I could regenerate the c files from the m4 file. For whatever reason, --enable-maintainer-mode no longer rege

[Bug bootstrap/120438] --enable-maintainer-mode is broken

2025-05-26 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120438 kargls at comcast dot net changed: What|Removed |Added Resolution|--- |INVALID Status|U

[Bug bootstrap/120438] --enable-maintainer-mode is broken

2025-05-26 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120438 --- Comment #4 from kargls at comcast dot net --- > gmake[3]: Entering directory '/home/kargl/gcc/obj/lto-plugin' > cd ../../gcc/lto-plugin && /bin/sh /home/kargl/gcc/gcc/missing > automake-1.15 --foreign > configure.ac:4: error: your implement

[Bug middle-end/120434] GCC uses signed extend (movsxd) for known positive variables rather than zero extend 'mov'

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120434 --- Comment #8 from Jakub Jelinek --- If we wanted to do it in some GIMPLE pass (e.g. VRP or whatever other suitable late GIMPLE pass which uses the ranger), we'd need a target hook to choose preference of sign or zero extension and then probabl

[Bug target/120439] New: RVV: wrong tail/mask-policy when source and destination overlap with different EEW

2025-05-26 Thread camel-cdr at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120439 Bug ID: 120439 Summary: RVV: wrong tail/mask-policy when source and destination overlap with different EEW Product: gcc Version: 16.0 Status: UNCONFIRMED Sever

[Bug bootstrap/120438] --enable-maintainer-mode is broken

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120438 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug bootstrap/120438] --enable-maintainer-mode is broken

2025-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120438 --- Comment #2 from Andrew Pinski --- Looks like configure is looking for automake-1.15 exactly rather than automake. Can you provide the output of `ls -l $HOME/work/bin/automake*`

[Bug bootstrap/120438] --enable-maintainer-mode is broken

2025-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120438 --- Comment #1 from Andrew Pinski --- from aclocal.m4 in lto-plugin: AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the

[Bug bootstrap/120438] New: --enable-maintainer-mode is broken

2025-05-26 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120438 Bug ID: 120438 Summary: --enable-maintainer-mode is broken Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-26 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 Jerry DeLisle changed: What|Removed |Added Attachment #61475|0 |1 is obsolete|

[Bug middle-end/120434] GCC uses signed extend (movsxd) for known positive variables rather than zero extend 'mov'

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120434 Jakub Jelinek changed: What|Removed |Added CC||amacleod at redhat dot com,

[Bug middle-end/120434] GCC uses signed extend (movsxd) for known positive variables rather than zero extend 'mov'

2025-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120434 --- Comment #6 from Andrew Pinski --- (In reply to Kang-Che Sung from comment #5) > Note that I only report this as a bug for x86-64 targets. I've also tested > an RISC-V (64-bit) and on that target the zero-extension would make larger > code. >

[Bug tree-optimization/120268] Missed removing loop of setting zero when dereference pointer (memset) at -O3 -fallow-store-data-races

2025-05-26 Thread kaelfandrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120268 --- Comment #5 from Kael Franco --- (In reply to Kael Franco from comment #4) > (In reply to Andrew Pinski from comment #1) > > This is only valid with -fallow-store-data-races. Otherwise you can > > introduce a race condition according to the C

[Bug middle-end/118694] OpenMP: target/metadirective/teams directive nesting gives error

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118694 --- Comment #12 from GCC Commits --- The releases/gcc-15 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:d390c7e5bd03490485a0b036add096e2e8b811b9 commit r15-9731-gd390c7e5bd03490485a0b036add096e2e8b811b9 Author: Tobias Burnus

[Bug middle-end/118694] OpenMP: target/metadirective/teams directive nesting gives error

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118694 --- Comment #11 from GCC Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:5d6ed6d604ff949b650e48fa4eaed3ec8b6489c1 commit r16-883-g5d6ed6d604ff949b650e48fa4eaed3ec8b6489c1 Author: Tobias Burnus Date: M

[Bug c++/120413] [12/13/14/15/16 Regression] C++ OpenMP 'target' SIGSEGV in 'gcc/cp/semantics.cc:finish_omp_target_clauses_r'

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120413 --- Comment #4 from GCC Commits --- The releases/gcc-15 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:9c8e20a8425f123abd54261d03af5a956d4d01c6 commit r15-9729-g9c8e20a8425f123abd54261d03af5a956d4d01c6 Author: Tobias Burnus

[Bug c++/120413] [12/13/14/15/16 Regression] C++ OpenMP 'target' SIGSEGV in 'gcc/cp/semantics.cc:finish_omp_target_clauses_r'

2025-05-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120413 --- Comment #5 from Tobias Burnus --- ICE FIXED so far for mainline (GCC 16) and GCC 15. * * * Reading: > There is also BIND_EXPR_VARS, dunno if that should be walked instead > or in addition. The current code is about adding map clauses for

[Bug middle-end/118694] OpenMP: target/metadirective/teams directive nesting gives error

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118694 --- Comment #10 from GCC Commits --- The releases/gcc-15 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:cf619d4a366ad428421fdb7ad617b4749799cf93 commit r15-9730-gcf619d4a366ad428421fdb7ad617b4749799cf93 Author: Tobias Burnus

[Bug c++/113976] [12 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 Jakub Jelinek changed: What|Removed |Added Summary|[12/13 Regression] explicit |[12 Regression] explicit

[Bug rtl-optimization/118623] [12 regression] Miscompile with -O2/3 and -O0/1 since r12-7751-g919fbffef07555

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623 Jakub Jelinek changed: What|Removed |Added Summary|[12/13 regression] |[12 regression] Miscompile

[Bug rtl-optimization/117239] [12 Regression] wrong code at -O{s,2} with "-fno-inline -fschedule-insns" on x86_64-linux-gnu since r12-7472-g609e8c492d62d9

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117239 Jakub Jelinek changed: What|Removed |Added Summary|[12/13/14 Regression] wrong |[12 Regression] wrong code

[Bug tree-optimization/117358] [12 Regression] ICE: in execute_todo, at passes.cc:2138 at -O2 and above with const attribute

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117358 Jakub Jelinek changed: What|Removed |Added Summary|[12/13/14 Regression] ICE: |[12 Regression] ICE: in

[Bug rtl-optimization/113994] [13 Regression] Probable C++ code generation bug with -O2 on s390x platform

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/113994] [13 Regression] Probable C++ code generation bug with -O2 on s390x platform

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 --- Comment #19 from Jakub Jelinek --- Fixed for 13.4 as well.

[Bug c++/116636] [12 Regression] Deprecation warning/unavailable error when overriding member of virtual base class

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116636 Jakub Jelinek changed: What|Removed |Added Summary|[12/13 Regression] |[12 Regression] Deprecation

[Bug sanitizer/110676] [12 Regression] strlen of array[1] should not be optimized to 0 if using ASAN

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110676 Jakub Jelinek changed: What|Removed |Added Summary|[12/13 Regression] strlen |[12 Regression] strlen of

[Bug tree-optimization/117358] [12/13/14 Regression] ICE: in execute_todo, at passes.cc:2138 at -O2 and above with const attribute

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117358 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:65724317b26eb16a3cd7279aacd68f4c85b355c0 commit r13-9693-g65724317b26eb16a3cd7279aacd68f4c85b355c0 Author: Jakub Jelinek

[Bug tree-optimization/120268] Missed removing loop of setting zero when dereference pointer (memset) at -O3 -fallow-store-data-races

2025-05-26 Thread kaelfandrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120268 --- Comment #4 from Kael Franco --- (In reply to Andrew Pinski from comment #1) > This is only valid with -fallow-store-data-races. Otherwise you can > introduce a race condition according to the C/C++11 memory model. I don't think -fallow-stor

[Bug libstdc++/119152] [C++26] P3019R14 indirect and polymorphic: Vocabulary Types for Composite Class Design

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119152 --- Comment #3 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:97e8cd9295dadad32fb5866e96cb7e403c1d993d commit r16-882-g97e8cd9295dadad32fb5866e96cb7e403c1d993d Author: Tomasz KamiÅski Date:

[Bug rtl-optimization/116799] [14 Regression] Miscompiled code (vim testsuite fails) on s390x at -O2 since r14-2675-gef28aadad6e

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116799 --- Comment #15 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c1e55bcc1075aa74bebd7e1bb87d3939da2e498b commit r13-9692-gc1e55bcc1075aa74bebd7e1bb87d3939da2e498b Author: Jakub Jelinek

[Bug c++/120413] [12/13/14/15/16 Regression] C++ OpenMP 'target' SIGSEGV in 'gcc/cp/semantics.cc:finish_omp_target_clauses_r'

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120413 --- Comment #3 from GCC Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:45b849d05b733a25ec7ce612229084b8f4b86d3d commit r16-881-g45b849d05b733a25ec7ce612229084b8f4b86d3d Author: Tobias Burnus Date: Mo

[Bug c++/116606] unavailable attribute on virtual function causes error on object construction

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116606 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d0f2b0711f24238c5daefc97448d2f1b3a856359 commit r13-9690-gd0f2b0711f24238c5daefc97448d2f1b3a856359 Author: Marek Polacek

[Bug middle-end/118819] [15 Regression] runtime error: signed integer overflow during bootstrap

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118819 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b0502fbcee2a4eaf070f26201829478d8df51423 commit r13-9696-gb0502fbcee2a4eaf070f26201829478d8df51423 Author: Jakub Jelinek

[Bug rtl-optimization/117239] [12/13/14 Regression] wrong code at -O{s,2} with "-fno-inline -fschedule-insns" on x86_64-linux-gnu since r12-7472-g609e8c492d62d9

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117239 --- Comment #18 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ffac0a49a88e0e366d35739d97fced2b01bfcf89 commit r13-9695-gffac0a49a88e0e366d35739d97fced2b01bfcf89 Author: Jakub Jelinek

[Bug rtl-optimization/117239] [12/13/14 Regression] wrong code at -O{s,2} with "-fno-inline -fschedule-insns" on x86_64-linux-gnu since r12-7472-g609e8c492d62d9

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117239 --- Comment #17 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:af5d43648bd942a9c273218432b2cd0c446a9f04 commit r13-9694-gaf5d43648bd942a9c273218432b2cd0c446a9f04 Author: Jakub Jelinek

[Bug c++/113976] [12/13 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 --- Comment #15 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5e72938390fb49549a38e5800b2c635c061b07d8 commit r13-9698-g5e72938390fb49549a38e5800b2c635c061b07d8 Author: Jakub Jelinek

[Bug rtl-optimization/118623] [12/13 regression] Miscompile with -O2/3 and -O0/1 since r12-7751-g919fbffef07555

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623 --- Comment #22 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b70fba168fb3b11998a80e21cec0eb7fa7a42da7 commit r13-9697-gb70fba168fb3b11998a80e21cec0eb7fa7a42da7 Author: Jakub Jelinek

[Bug sanitizer/110676] [12/13 Regression] strlen of array[1] should not be optimized to 0 if using ASAN

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110676 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c884148d3cb440fca6692452aabb42c340b987a9 commit r13-9689-gc884148d3cb440fca6692452aabb42c340b987a9 Author: Jakub Jelinek

[Bug rtl-optimization/113994] [13 Regression] Probable C++ code generation bug with -O2 on s390x platform

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 --- Comment #18 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c1e55bcc1075aa74bebd7e1bb87d3939da2e498b commit r13-9692-gc1e55bcc1075aa74bebd7e1bb87d3939da2e498b Author: Jakub Jelinek

[Bug c++/116636] [12/13 Regression] Deprecation warning/unavailable error when overriding member of virtual base class

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116636 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:17dcde03ec2fcc1856b9026f8479f57495c949ae commit r13-9691-g17dcde03ec2fcc1856b9026f8479f57495c949ae Author: Jakub Jelinek

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 --- Comment #16 from Iain Sandoe --- (In reply to Jason Merrill from comment #15) > Created attachment 61520 [details] > updated fix > > Here's a better version of the patch, also sent to gcc-patches. replied on-list, this also resolves the is

[Bug c++/116954] [13/14 Regression] format attribute is being lost for function template with a depedent type argument and decl merging since r13-4160-g2efb237ffc68ec

2025-05-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116954 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 Jason Merrill changed: What|Removed |Added Attachment #61500|0 |1 is obsolete|

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 Jakub Jelinek changed: What|Removed |Added Attachment #61493|0 |1 is obsolete|

[Bug libstdc++/99832] std::chrono::system_clock::to_time_t needs ABI tag for 32-bit time_t

2025-05-26 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832 --- Comment #10 from John David Anglin --- On hppa-linux, I don't see any difference in g++ and libstdc++ test results with or without patch added in comment #9 (i.e., I don't see any regressions with patch).

[Bug target/117814] [15/16 Regression] arm/MVE: regressions after r15-4734-g63b6967b06b538

2025-05-26 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117814 --- Comment #7 from Christophe Lyon --- While we could adjust the test to avoid the warning, this would hide a bug: we should not really emit a warning.

[Bug target/110812] Check availability of builtins at expand time

2025-05-26 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #12 from Andreas Schwab --- $ echo 'int main () {}' > empty.c $ echo '#pragma riscv intrinsic "vector" void v () { __riscv_vsetvl_e8m8 (0); }' > vector.c $ gcc -flto -c empty.c $ gcc -flto -c -march=rv64gcv vector.c $ gcc empty.o ve

[Bug middle-end/120434] GCC uses signed extend (movsxd) for known positive variables rather than zero extend 'mov'

2025-05-26 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120434 --- Comment #5 from Kang-Che Sung --- Note that I only report this as a bug for x86-64 targets. I've also tested an RISC-V (64-bit) and on that target the zero-extension would make larger code. So I can say such an optimization would be target

[Bug libstdc++/119152] [C++26] P3019R14 indirect and polymorphic: Vocabulary Types for Composite Class Design

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119152 --- Comment #2 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:caf804b1795575d7714c62dd45b649831598055e commit r16-878-gcaf804b1795575d7714c62dd45b649831598055e Author: Jonathan Wakely Date:

[Bug target/110812] Check availability of builtins at expand time

2025-05-26 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #13 from Andreas Schwab --- $ lto-dump -list vector.o lto-dump: fatal error: target specific builtin not available compilation terminated.

[Bug c++/116954] [13/14 Regression] format attribute is being lost for function template with a depedent type argument and decl merging since r13-4160-g2efb237ffc68ec

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116954 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:bde3ca83ffe99088718198ea643bed7c4b22bbf1 commit r13-9687-gbde3ca83ffe99088718198ea643bed7c4b22bbf1 Author: Jason Merrill

[Bug c++/95298] [12/13 Regression] sorry, unimplemented: mangling record_type

2025-05-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95298 --- Comment #12 from Jason Merrill --- I'm reluctant to backport mangling fixes, and the PR says this was broken as far back as GCC 7, so I lean toward not backporting.

[Bug c++/117817] [13 Regression] Compile error when taking address of temporary array in sizeof operator since r13-6716-g31cdfdef04701e

2025-05-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117817 --- Comment #5 from Jason Merrill --- That patch also introduced PR120385, so we shouldn't just backport it.

[Bug c/120437] profile-generate profile-use

2025-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120437 Andrew Pinski changed: What|Removed |Added Resolution|--- |MOVED Status|UNCONFIRMED

[Bug c++/94264] Array-to-pointer conversion not performed on array prvalues

2025-05-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94264 --- Comment #11 from Jason Merrill --- This caused PR120385.

[Bug ipa/106783] [12 Regression] ICE in ipa-modref.cc:analyze_function since r12-5247-ga34edf9a3e907de2

2025-05-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106783 Richard Biener changed: What|Removed |Added Known to fail||13.3.0 Known to work|

[Bug tree-optimization/113673] [12/13 Regression] ICE: verify_flow_info failed: BB 5 cannot throw but has an EH edge with -Os -finstrument-functions -fnon-call-exceptions -ftrapv

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113673 --- Comment #11 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d034c8d5c31811b0c12a4c1ffad89f8f8b086053 commit r13-9686-gd034c8d5c31811b0c12a4c1ffad89f8f8b086053 Author: Roger Sayle

[Bug ipa/116055] [14/15 Regression] ICE from gcc.c-torture/unsorted/dump-noaddr.c after "Fix modref's iteraction with store merging"

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116055 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:1067dd74239aa3efd3489cf8c6216fb9787031ca commit r13-9685-g1067dd74239aa3efd3489cf8c6216fb9787031ca Author: Jan Hubicka

[Bug rtl-optimization/99015] [12/13 Regression] ICE: Max. number of generated reload insns per insn is achieved (90)

2025-05-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99015 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/120436] New: division-by-zero when calling some RVV intrinsics without the V extension

2025-05-26 Thread artemiy at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120436 Bug ID: 120436 Summary: division-by-zero when calling some RVV intrinsics without the V extension Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: norm

[Bug rtl-optimization/101188] [12/13 Regression] [postreload] Uses content of a clobbered register

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

[Bug target/98991] ICE: Max. number of generated reload insns per insn is achieved (90)

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

[Bug c++/113976] [12/13 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2025-05-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/117817] [13 Regression] Compile error when taking address of temporary array in sizeof operator since r13-6716-g31cdfdef04701e

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

[Bug rtl-optimization/99015] [12/13 Regression] ICE: Max. number of generated reload insns per insn is achieved (90)

2025-05-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99015 --- Comment #10 from Richard Biener --- still needs bisection of what fixed it, the IL looks the same

[Bug target/120435] New: [New INSN][GCN] Add half-cycle trigonometric INSNs pattern (sinpi, cospi, …)

2025-05-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120435 Bug ID: 120435 Summary: [New INSN][GCN] Add half-cycle trigonometric INSNs pattern (sinpi, cospi, …) Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: m

[Bug libstdc++/119126] [C++26] Implement P0792R14 function_ref: a type-erased callable reference

2025-05-26 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119126 Tomasz Kamiński changed: What|Removed |Added CC||tkaminsk at gcc dot gnu.org R

[Bug libstdc++/110339] Implement C++26 library features

2025-05-26 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110339 Bug 110339 depends on bug 119126, which changed state. Bug 119126 Summary: [C++26] Implement P0792R14 function_ref: a type-erased callable reference https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119126 What|Removed

[Bug c++/95298] [12/13 Regression] sorry, unimplemented: mangling record_type

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

[Bug tree-optimization/119534] [12/13 Regression] ICE when building libaom-3.10.0 since r12-5392

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119534 --- Comment #15 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:cdc47838cba79380bb5caa8f3934aabf2b44a7d5 commit r13-9684-gcdc47838cba79380bb5caa8f3934aabf2b44a7d5 Author: Richard Biene

[Bug c++/84075] [12/13 Regression] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

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

[Bug target/114676] [12/13 Regression] DSE removes assignment that is used later

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

[Bug tree-optimization/119057] [12/13 regression] ICE at -O{2,3} with "-fno-tree-vrp -fno-tree-forwprop" on x86_64-linux-gnu: in operator[], at vec.h:910 since r15-1055

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119057 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:876083c5e7a8863ce87d8da9e3a43927aee7e02b commit r13-9681-g876083c5e7a8863ce87d8da9e3a43927aee7e02b Author: Richard Biener

[Bug tree-optimization/119778] [13 regression] -Wuninitialized crashed with longjmp/setjmp since r13-2500

2025-05-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119778 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to fail|13.3.1

[Bug ipa/119119] [12/13 Regression] ICE in create_tmp_var

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119119 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:5a855127604e4df40afb25326a449b066c4a3527 commit r13-9682-g5a855127604e4df40afb25326a449b066c4a3527 Author: Richard Biene

[Bug tree-optimization/117979] [12/13 Regression] ICE on x86_64-linux-gnu: in verify_loop_structure, at cfgloop.cc:1742 at -Os and above and returns twice since r12-5301

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117979 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:6e6b9bbe9aadbfec4130c442ace9cabab50400c2 commit r13-9680-g6e6b9bbe9aadbfec4130c442ace9cabab50400c2 Author: Richard Biener

[Bug tree-optimization/119778] [13 regression] -Wuninitialized crashed with longjmp/setjmp since r13-2500

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119778 --- Comment #18 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b98de795c7f57ad15155ed1223c25c094ff27d16 commit r13-9679-gb98de795c7f57ad15155ed1223c25c094ff27d16 Author: Richard Biene

[Bug tree-optimization/98845] [12/13 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE.) since r6-528-g465770e43996a132

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98845 --- Comment #19 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:9e7c7e567704bd12d65b01246a655d8628bb521d commit r13-9683-g9e7c7e567704bd12d65b01246a655d8628bb521d Author: Richard Biener

[Bug tree-optimization/119706] [12/13 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 --- Comment #15 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d02be6073d902925510736855e7f044eb8755aa4 commit r13-9678-gd02be6073d902925510736855e7f044eb8755aa4 Author: Richard Biene

[Bug tree-optimization/119706] [12/13 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 --- Comment #14 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b73dffc733524f05634ab0321a6978fc798d1384 commit r13-9677-gb73dffc733524f05634ab0321a6978fc798d1384 Author: Jennifer Schm

[Bug tree-optimization/119706] [12/13 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:fa2089e8dd1632e4597d61230e33375628368fc1 commit r13-9676-gfa2089e8dd1632e4597d61230e33375628368fc1 Author: Richard Biene

[Bug fortran/109345] [12/13/14 Regression] class(*) variable that is a string array is not handled correctly

2025-05-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109345 --- Comment #12 from Richard Biener --- (In reply to Richard Biener from comment #11) > The testcase still FAILs for me on the gcc-13 branch on x86_64-linux: > > FAIL: gfortran.dg/pr109345.f90 -O0 execution test > FAIL: gfortran.dg/pr109345.

[Bug cobol/119211] [15/16 Regression] Cobol GCC 15 release checklist

2025-05-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119211 --- Comment #14 from Richard Biener --- (In reply to James K. Lowden from comment #13) > A few uses of getenv(3) are still in the parser for debugging. I will > remove them. > > > simply "moving" LICENSE from the FE to libgcobol > > Is this

[Bug libstdc++/119126] [C++26] Implement P0792R14 function_ref: a type-erased callable reference

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119126 --- Comment #1 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:545433e9bd32e965726956cb238d53b39844b85c commit r16-877-g545433e9bd32e965726956cb238d53b39844b85c Author: Tomasz KamiÅski Date:

[Bug middle-end/118694] OpenMP: target/metadirective/teams directive nesting gives error

2025-05-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118694 --- Comment #9 from Tobias Burnus --- STATUS: * 'target teams' handles the target part differently, depending whether a 'teams' follows or not. Thus, the host (launching the offload kernel) has to know whether a 'teams' follows or not. *

[Bug libgomp/93226] OpenACC 2.6: acc_memcpy_device runtime function missing

2025-05-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93226 --- Comment #1 from Tobias Burnus --- Created attachment 61519 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61519&action=edit Draft patch for 'acc_memcpy_device' - (only) missing are testcases (and possibly a bit cleanup/testing) This is

[Bug libstdc++/120428] [15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 Richard Biener changed: What|Removed |Added Component|target |libstdc++ --- Comment #1 from Richard

[Bug target/120427] [12/13/14/15/16 Regression] "and $0,mem" is generated without -Oz since r12-6106-gef26c151c14a87

2025-05-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120427 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Priority|P3

[Bug middle-end/118819] [15 Regression] runtime error: signed integer overflow during bootstrap

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118819 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4b9f2877e334b4108c33259753acfdd27820b4f5 commit r14-11810-g4b9f2877e334b4108c33259753acfdd27820b4f5 Author: Jakub Jelinek

[Bug target/120417] gcc -m32 -O1 codegen error, leading to SIGSEGV, workaround -fno-tree-coalesce-vars

2025-05-26 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120417 --- Comment #9 from Simon Sobisch --- Checked -fstack-reuse=none - same abort. The main issue here is the language this C code has to cover: COBOL allows for any trailing arguments to be "left out". If the COBOL compiler knows about the paramet

[Bug tree-optimization/120425] [12/13/14/15/16 regression] GCC-compiled (with -O{1,2,s,3}) program got segfault from GCC 12.1 since r12-476-gd846f225c25c58

2025-05-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120425 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #9 from Richard Biener

[Bug rtl-optimization/117239] [12/13/14 Regression] wrong code at -O{s,2} with "-fno-inline -fschedule-insns" on x86_64-linux-gnu since r12-7472-g609e8c492d62d9

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117239 --- Comment #16 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5499c332a60a6928274796af0667d40719bf0715 commit r14-11809-g5499c332a60a6928274796af0667d40719bf0715 Author: Jakub Jelinek

[Bug rtl-optimization/117239] [12/13/14 Regression] wrong code at -O{s,2} with "-fno-inline -fschedule-insns" on x86_64-linux-gnu since r12-7472-g609e8c492d62d9

2025-05-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117239 --- Comment #15 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:cfd7c674139097d12546d034f7869e272457aa56 commit r14-11808-gcfd7c674139097d12546d034f7869e272457aa56 Author: Jakub Jelinek

  1   2   >