[Bug c/114205] New: Miscompilation: the use of __builtin_object_size cause asan failure.

2024-03-01 Thread 141242068 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114205 Bug ID: 114205 Summary: Miscompilation: the use of __builtin_object_size cause asan failure. Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/114204] Missed optimization: -(a*!a) => 0 when a=-b-c

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114204 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/114204] New: Missed optimization: -(a*!a) => 0 when a=-b-c

2024-03-01 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114204 Bug ID: 114204 Summary: Missed optimization: -(a*!a) => 0 when a=-b-c Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tr

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2024-03-01 Thread kmatsui at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Ken Matsui changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at g

[Bug tree-optimization/114203] [13/14 Regression] Miscompilation: A possible miscompilation in GCC 13 and 14 with option -Os

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114203 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Last reconfirmed|

[Bug c/114203] New: Miscompilation: A possible miscompilation in GCC 13 and 14 with option -Os

2024-03-01 Thread 141242068 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114203 Bug ID: 114203 Summary: Miscompilation: A possible miscompilation in GCC 13 and 14 with option -Os Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: nor

[Bug libbacktrace/114201] [14 regression] r14-9247-gc6d4fb0062c605 breaks a bunch of tests on powerpc64 BE

2024-03-01 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114201 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libbacktrace/114201] [14 regression] r14-9247-gc6d4fb0062c605 breaks a bunch of tests on powerpc64 BE

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114201 --- Comment #2 from GCC Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:282455d3132322885160d21e8d1da341de6b4484 commit r14-9270-g282455d3132322885160d21e8d1da341de6b4484 Author: Ian Lance Taylor Dat

[Bug libbacktrace/114201] [14 regression] r14-9247-gc6d4fb0062c605 breaks a bunch of tests on powerpc64 BE

2024-03-01 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114201 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #1 f

[Bug target/114202] [14] RISC-V rv64gcv: miscompile at -O3

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114202 --- Comment #1 from Patrick O'Neill --- Looks similar to pr114200 so it might be related/duplicate.

[Bug target/114202] New: [14] RISC-V rv64gcv: miscompile at -O3

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114202 Bug ID: 114202 Summary: [14] RISC-V rv64gcv: miscompile at -O3 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug middle-end/114196] [13/14 Regression] Fixed length vector ICE: in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9454

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114196 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug libbacktrace/114201] New: [14 regression] r14-9247-gc6d4fb0062c605 breaks a bunch of tests on powerpc64 BE

2024-03-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114201 Bug ID: 114201 Summary: [14 regression] r14-9247-gc6d4fb0062c605 breaks a bunch of tests on powerpc64 BE Product: gcc Version: 14.0 Status: UNCONFIRMED Severit

[Bug target/114200] New: [14] RISC-V fixed-length vector miscompile at -O3

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114200 Bug ID: 114200 Summary: [14] RISC-V fixed-length vector miscompile at -O3 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/114090] [13 Regression] forwprop -fwrapv miscompilation

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114090 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6b8d8a8bce88981554e5ffeb66bcb6b71a869e62 commit r13-8393-g6b8d8a8bce88981554e5ffeb66bcb6b71a869e62 Author: Jakub Jelinek

[Bug tree-optimization/113603] [12/13 Regression] ICE Segfault during GIMPLE pass: strlen at -O3 since r12-145

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113603 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7bc85af4c48b555da4447405f1319b35ca769d7b commit r13-8386-g7bc85af4c48b555da4447405f1319b35ca769d7b Author: Jakub Jelinek

[Bug tree-optimization/113993] ICE: in get_no_error_domain, at tree-call-cdce.cc:815 with __builtin_exp2f32x() at -O1 and above

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113993 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:856a66a672a1fd7feb2dee7e7aca21118016063f commit r13-8391-g856a66a672a1fd7feb2dee7e7aca21118016063f Author: Jakub Jelinek

[Bug middle-end/110115] [11/12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110115 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:432708c306838fe1444da0df7d629a60468c0c73 commit r13-8383-g432708c306838fe1444da0df7d629a60468c0c73 Author: Jakub Jelinek

[Bug middle-end/90348] [11/12/13/14 Regression] Partition of char arrays is incorrect in some cases

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348 --- Comment #32 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:432708c306838fe1444da0df7d629a60468c0c73 commit r13-8383-g432708c306838fe1444da0df7d629a60468c0c73 Author: Jakub Jelinek

[Bug tree-optimization/114041] wrong code with _BitInt() and -O -fgraphite-identity

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114041 --- Comment #15 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ed3588982a5ce058c7b27f33c54c7118adbaf164 commit r13-8395-ged3588982a5ce058c7b27f33c54c7118adbaf164 Author: Jakub Jelinek

[Bug preprocessor/114007] gcc chokes on __has_cpp_attribute(clang::unsafe_buffer_usage)

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114007 --- Comment #29 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:051cd2a3ee9ba9f47d640a10e96c79b6c5124736 commit r13-8392-g051cd2a3ee9ba9f47d640a10e96c79b6c5124736 Author: Jakub Jelinek

[Bug middle-end/110754] assume create spurious load for volatile variable

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110754 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e084a6406ea0587beda62684b9d4856292acacfa commit r13-8389-ge084a6406ea0587beda62684b9d4856292acacfa Author: Jakub Jelinek

[Bug tree-optimization/113372] wrong code with _BitInt() arithmetics at -O1

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113372 --- Comment #21 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:432708c306838fe1444da0df7d629a60468c0c73 commit r13-8383-g432708c306838fe1444da0df7d629a60468c0c73 Author: Jakub Jelinek

[Bug middle-end/114136] wrong code for c23 fully anonymous arg lists on arm

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114136 --- Comment #3 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:96e6576a1ba0080e70fef4a6f9cc3129fcf6f008 commit r13-8397-g96e6576a1ba0080e70fef4a6f9cc3129fcf6f008 Author: Jakub Jelinek

[Bug rtl-optimization/113656] [x86] ICE in simplify_const_unary_operation, at simplify-rtx.cc:1954 with new -mavx10.1

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113656 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:21d7bffdbe2046cc787fa31a5df5c71dc645b304 commit r13-8387-g21d7bffdbe2046cc787fa31a5df5c71dc645b304 Author: Jakub Jelinek

[Bug c++/113674] [11/12/13 Regression] [[____attr____]] causes internal compiler error: in decl_attributes, at attribs.cc:776

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9de6ff5ec9a46951d2c71b5b32574a516a72b907 commit r13-8390-g9de6ff5ec9a46951d2c71b5b32574a516a72b907 Author: Jakub Jelinek

[Bug libgomp/113192] [11/12/13 Regression] ERROR: couldn't execute "../../../gcc/libgomp/testsuite/flock": no such file or directory

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113192 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d4f849c0564fc80938d4d4871810a2b97ace45e7 commit r13-8382-gd4f849c0564fc80938d4d4871810a2b97ace45e7 Author: Jakub Jelinek

[Bug c/113262] [11/12/13 Regression] ICE when using [[gnu::copy("")]] attribute

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113262 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7d49a382a6b1b08bda6761b93c27de13397aa630 commit r13-8381-g7d49a382a6b1b08bda6761b93c27de13397aa630 Author: Jakub Jelinek

[Bug middle-end/111422] Wrong code at -O3 on x86_64-linux-gnu

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111422 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:432708c306838fe1444da0df7d629a60468c0c73 commit r13-8383-g432708c306838fe1444da0df7d629a60468c0c73 Author: Jakub Jelinek

[Bug target/113122] Assembler messages: Error: operand type mismatch for `movabs' / bad expression / invalid use of register with -fprofile -mcmodel=large -masm=intel

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113122 --- Comment #3 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8b2a4022af095d1e4fadc2489d4b9ea13966ec5c commit r13-8384-g8b2a4022af095d1e4fadc2489d4b9ea13966ec5c Author: Jakub Jelinek

[Bug libgomp/113192] [11/12/13 Regression] ERROR: couldn't execute "../../../gcc/libgomp/testsuite/flock": no such file or directory

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113192 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3ac307df305146a438988acbea2341829e8b7ad3 commit r13-8380-g3ac307df305146a438988acbea2341829e8b7ad3 Author: Jakub Jelinek

[Bug rtl-optimization/112758] [13/14 Regression] Inconsistent Bitwise AND Operation Result between int and long long int

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112758 --- Comment #18 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e7c9aafd7c2c3f3b68e65ddc999808cce75a19b3 commit r13-8379-ge7c9aafd7c2c3f3b68e65ddc999808cce75a19b3 Author: Jakub Jelinek

[Bug debug/112768] btf: fix asm comment output for BTF_KIND_FUNC* kinds

2024-03-01 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112768 Indu Bhagat changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/114186] Incorrect CTF generated for multidimensional array

2024-03-01 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114186 Indu Bhagat changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/114101] FAIL: 26_numerics/headers/cmath/functions_std_c++17.cc -std=gnu++17 (test for excess errors)

2024-03-01 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114101 --- Comment #8 from John David Anglin --- Patch here: https://gcc.gnu.org/pipermail/gcc-patches/2024-February/646905.html

[Bug ipa/46596] misbehavior when mixing always_inline and alias attributes in the same compilation unit

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46596 Andrew Pinski changed: What|Removed |Added CC||luto at kernel dot org --- Comment #7 fr

[Bug c/59197] An alias from an always_inline function causes inconsistent behavior

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59197 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c/59197] An alias from an always_inline function causes inconsistent behavior

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59197 --- Comment #2 from Andrew Pinski --- Dup.

[Bug ipa/101270] error: inlining failed in call to ‘always_inline’ ‘open.localalias’: function not inlinable with -fPIC -fno-semantic-interposition

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101270 Andrew Pinski changed: What|Removed |Added CC||csfore at posteo dot net --- Comment #3

[Bug ipa/114199] __gnu_inline__ vs -fno-semantic-interposition with defintion in the same TU

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114199 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug ipa/114199] __gnu_inline__ vs -fno-semantic-interposition with defintion in the same TU

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114199 Andrew Pinski changed: What|Removed |Added Component|c |ipa --- Comment #5 from Andrew Pinski

[Bug c/114199] error: inlining failed in call to ‘always_inline’ ‘readlinkat.localalias’: function not inlinable

2024-03-01 Thread csfore at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114199 --- Comment #4 from Christopher Fore --- Created attachment 57593 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57593&action=edit original preprocessed file

[Bug c/114199] error: inlining failed in call to ‘always_inline’ ‘readlinkat.localalias’: function not inlinable

2024-03-01 Thread csfore at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114199 --- Comment #3 from Christopher Fore --- Created attachment 57592 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57592&action=edit minimized preprocessed file

[Bug c/114199] error: inlining failed in call to ‘always_inline’ ‘readlinkat.localalias’: function not inlinable

2024-03-01 Thread csfore at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114199 --- Comment #2 from Christopher Fore --- Got it, I believe I was missing a flag when attempting to reproduce on the lower versions, apologies!

[Bug libstdc++/114103] FAIL: 29_atomics/atomic/lock_free_aliases.cc -std=gnu++20 (test for excess errors)

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114103 Jonathan Wakely changed: What|Removed |Added Attachment #57540|0 |1 is obsolete|

[Bug libstdc++/114103] FAIL: 29_atomics/atomic/lock_free_aliases.cc -std=gnu++20 (test for excess errors)

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114103 --- Comment #13 from Jonathan Wakely --- Ah yes, it still needs some rules_counter, just not using the lock-free alias: --- a/libstdc++-v3/src/c++20/tzdb.cc +++ b/libstdc++-v3/src/c++20/tzdb.cc @@ -705,6 +705,8 @@ namespace std::chrono #endif

[Bug c/114199] error: inlining failed in call to ‘always_inline’ ‘readlinkat.localalias’: function not inlinable

2024-03-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114199 Sam James changed: What|Removed |Added Summary|[14 regression] error: |error: inlining failed in

[Bug libstdc++/114103] FAIL: 29_atomics/atomic/lock_free_aliases.cc -std=gnu++20 (test for excess errors)

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114103 --- Comment #12 from Jonathan Wakely --- Ah yes, it still needs some rules_counter, just not using the lock-free alias: --- a/libstdc++-v3/src/c++20/tzdb.cc +++ b/libstdc++-v3/src/c++20/tzdb.cc @@ -705,6 +705,8 @@ namespace std::chrono #endif

[Bug c/114199] New: [14 regression] error: inlining failed in call to ‘always_inline’ ‘readlinkat.localalias’: function not inlinable

2024-03-01 Thread csfore at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114199 Bug ID: 114199 Summary: [14 regression] error: inlining failed in call to ‘always_inline’ ‘readlinkat.localalias’: function not inlinable Product: gcc Version: 1

[Bug c++/106009] [modules] internal compiler error: in import_entity_index with templated local enum in header unit

2024-03-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106009 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/103524] [meta-bug] modules issue

2024-03-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 106009, which changed state. Bug 106009 Summary: [modules] internal compiler error: in import_entity_index with templated local enum in header unit https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106009 What

[Bug c++/103524] [meta-bug] modules issue

2024-03-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 104919, which changed state. Bug 104919 Summary: [modules] enum in constexpr function causes "failed to read compiled module cluster 1: Bad file data" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104919 What

[Bug c++/104919] [modules] enum in constexpr function causes "failed to read compiled module cluster 1: Bad file data"

2024-03-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104919 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/104919] [modules] enum in constexpr function causes "failed to read compiled module cluster 1: Bad file data"

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104919 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:574fd1f17f100c7c355ad26bc525ab5a3386bb2d commit r14-9268-g574fd1f17f100c7c355ad26bc525ab5a3386bb2d Author: Patrick Palka Date: F

[Bug c++/106009] [modules] internal compiler error: in import_entity_index with templated local enum in header unit

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106009 --- Comment #4 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:574fd1f17f100c7c355ad26bc525ab5a3386bb2d commit r14-9268-g574fd1f17f100c7c355ad26bc525ab5a3386bb2d Author: Patrick Palka Date: F

[Bug middle-end/114197] [14] middle-end: ICE in verify_dominators

2024-03-01 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114197 --- Comment #3 from Edwin Lu --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647031.html

[Bug libstdc++/114103] FAIL: 29_atomics/atomic/lock_free_aliases.cc -std=gnu++20 (test for excess errors)

2024-03-01 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114103 --- Comment #11 from dave.anglin at bell dot net --- On 2024-02-29 12:44 p.m., redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114103 > > --- Comment #10 from Jonathan Wakely --- > This additional change should fix

[Bug c++/114005] Constructing a constexpr std::initializer_list ICEs GCC when using C++ modules

2024-03-01 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114005 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c++/103524] [meta-bug] modules issue

2024-03-01 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 114005, which changed state. Bug 114005 Summary: Constructing a constexpr std::initializer_list ICEs GCC when using C++ modules https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114005 What|Removed

[Bug c++/103524] [meta-bug] modules issue

2024-03-01 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 114170, which changed state. Bug 114170 Summary: [modules] error streaming in header unit with instantiated variable template with non-trivial initializer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114170

[Bug c++/114170] [modules] error streaming in header unit with instantiated variable template with non-trivial initializer

2024-03-01 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114170 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org Res

[Bug c++/114170] [modules] error streaming in header unit with instantiated variable template with non-trivial initializer

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114170 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:852b58552991099141f9df5782e1f28d8606af9d commit r14-9267-g852b58552991099141f9df5782e1f28d8606af9d Author: Nathaniel Shead Date:

[Bug c++/114005] Constructing a constexpr std::initializer_list ICEs GCC when using C++ modules

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114005 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:2823b4d96d9ec4ad4e67e5e8edaa1b060a467491 commit r14-9266-g2823b4d96d9ec4ad4e67e5e8edaa1b060a467491 Author: Nathaniel Shead Date:

[Bug middle-end/114198] New: [14] RISC-V fixed-length vector -flto ICE: in vectorizable_load, at tree-vect-stmts.cc:10570

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114198 Bug ID: 114198 Summary: [14] RISC-V fixed-length vector -flto ICE: in vectorizable_load, at tree-vect-stmts.cc:10570 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug middle-end/114197] [14] middle-end: ICE in verify_dominators

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114197 --- Comment #2 from Patrick O'Neill --- found via fuzzer

[Bug middle-end/114197] [14] middle-end: ICE in verify_dominators

2024-03-01 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114197 Edwin Lu changed: What|Removed |Added CC||ewlu at rivosinc dot com,

[Bug middle-end/114197] New: [14] middle-end: ICE in verify_dominators

2024-03-01 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114197 Bug ID: 114197 Summary: [14] middle-end: ICE in verify_dominators Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle

[Bug middle-end/114196] New: [13/14 Regression] Fixed length vector ICE: in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9454

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114196 Bug ID: 114196 Summary: [13/14 Regression] Fixed length vector ICE: in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9454 Product: gcc Version: 14.0 Status: UNCONFIR

[Bug c++/110075] Bogus -Wdangling-reference

2024-03-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110075 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/110213] Bogus (as opposed to false positive) -Wdangling-reference warning

2024-03-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110213 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Res

[Bug rtl-optimization/114190] wrong code with -O2 -fno-dce -fharden-compares -mvpclmulqdq --param=max-rtl-if-conversion-unpredictable-cost=136

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114190 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/114195] New: [14] RISC-V vector ICE: in vectorizable_store, at tree-vect-stmts.cc:8690

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114195 Bug ID: 114195 Summary: [14] RISC-V vector ICE: in vectorizable_store, at tree-vect-stmts.cc:8690 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: norm

[Bug target/114190] wrong code with -O2 -fno-dce -fharden-compares -mvpclmulqdq --param=max-rtl-if-conversion-unpredictable-cost=136

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114190 --- Comment #2 from Andrew Pinski --- So after reload, it looks ok: (insn 22 21 380 2 (set (reg:CCZ 17 flags) (compare:CCZ (reg:SI 4 si [orig:111 _21+4 ] [111]) (const_int 0 [0]))) "/app/example.cpp":8:8 discrim 1 7 {*cmpsi_c

[Bug target/114190] wrong code with -O2 -fno-dce -fharden-compares -mvpclmulqdq --param=max-rtl-if-conversion-unpredictable-cost=136

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114190 --- Comment #1 from Andrew Pinski --- >testesi, esi is missing with `-fno-dce`

[Bug c++/110358] requesting nicer suppression for Wdangling-reference

2024-03-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110358 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/110358] requesting nicer suppression for Wdangling-reference

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110358 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c7607c4cf18986025430ca8626abfe56bfe87106 commit r14-9263-gc7607c4cf18986025430ca8626abfe56bfe87106 Author: Marek Polacek Date: Th

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 --- Comment #19 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c7607c4cf18986025430ca8626abfe56bfe87106 commit r14-9263-gc7607c4cf18986025430ca8626abfe56bfe87106 Author: Marek Polacek Date: T

[Bug fortran/114188] Overloading assignment does not invalidate intrinsic assignment

2024-03-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114188 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to ba...@lrz.de from comment #0) > (NAG Fortran, Intel Fortran and NVidia Fortran issue appropriate error > messages). NVidia has a different issue: if one imports only the type declara

[Bug target/114187] [14 regression] bizarre register dance on x86_64 for pass-by-value struct since r14-2526

2024-03-01 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114187 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug fortran/114188] Overloading assignment does not invalidate intrinsic assignment

2024-03-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114188 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Priority|P3

[Bug c++/114165] &scalar+1 and array+1 rejected as template parameters

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114165 --- Comment #2 from Andrew Pinski --- Reduced testcase: ``` template void withP() {} int array[2]; int main() { withP(); withP(); } ``` GCC and MSVC both reject `array+1` . All three accept `&array[1]` though in C++20+.

[Bug c++/114165] &scalar+1 and array+1 rejected as template parameters

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114165 --- Comment #1 from Andrew Pinski --- :17:32: error: '((& scalar) + 4)' is not a valid template argument for 'int*' because it is not the address of a variable

[Bug debug/114186] Incorrect CTF generated for multidimensional array

2024-03-01 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114186 --- Comment #1 from Indu Bhagat --- This in turn affects BTF generation too, because GCC internally uses the CTFC (CTF container) to create BTF info. $ bpftool btf dump file array.o [1] INT 'int' size=4 bits_offset=0 nr_bits=32 encoding=SIGNE

[Bug libstdc++/113841] Can't swap two std::hash

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113841 --- Comment #10 from Jonathan Wakely --- This one's much harder to fix: #include template struct Alloc { using value_type = T; Alloc(int) { } template Alloc(const Alloc&) { } T* allocate(std::size_t n) { return std::allocator().all

[Bug fortran/104819] Reject NULL without MOLD as actual to an assumed-rank dummy

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104819 --- Comment #10 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:db0b6746be075e43c8142585968483e125bb52d0 commit r14-9261-gdb0b6746be075e43c8142585968483e125bb52d0 Author: Harald Anlauf Date:

[Bug fortran/114188] Overloading assignment does not invalidate intrinsic assignment

2024-03-01 Thread Bader at lrz dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114188 --- Comment #2 from Bader at lrz dot de --- You note that > Unfortunately, the five requirements in 10.2.1.4 for defined assignment > do not say anything about argument association. Hmm, one could see this as "intentionally" instead of "unfort

[Bug c++/114138] [c++2b] ICE on valid code using `auto(expr)` DECAY-COPY

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114138 --- Comment #1 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a6a1920b592b58c38137c5c891b3bbb02b084f38 commit r14-9260-ga6a1920b592b58c38137c5c891b3bbb02b084f38 Author: Patrick Palka Date: F

[Bug c++/110025] [C++23] ICE with default-argument for template-param with decltype and auto.

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110025 --- Comment #8 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a6a1920b592b58c38137c5c891b3bbb02b084f38 commit r14-9260-ga6a1920b592b58c38137c5c891b3bbb02b084f38 Author: Patrick Palka Date: F

[Bug c++/111224] modules: xtreme-header-1_a.H etc. ICE (in core_vals, at cp/module.cc:6108) on AArch64 with SVE types

2024-03-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111224 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug analyzer/111802] [14 Regression] New analyser diagram failures since commit b365e9d57ad4

2024-03-01 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111802 --- Comment #5 from Thiago Jung Bauermann --- I can confirm this is fixed in our setup. Thank you!

[Bug fortran/114188] Overloading assignment does not invalidate intrinsic assignment

2024-03-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114188 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug tree-optimization/109945] Escape analysis hates copy elision: different result with -O1 vs -O2

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109945 --- Comment #33 from Jonathan Wakely --- This is now https://cplusplus.github.io/CWG/issues/2868.html

[Bug c++/84414] miscompile due to assuming that object returned by value cannot alias its own member pointer values

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84414 --- Comment #8 from Jonathan Wakely --- This is now https://cplusplus.github.io/CWG/issues/2868.html

[Bug target/114194] New: ICE when using std::unique_ptr with xtheadvector

2024-03-01 Thread camel-cdr at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114194 Bug ID: 114194 Summary: ICE when using std::unique_ptr with xtheadvector Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/114193] New: missed early break vectorization of reduction

2024-03-01 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114193 Bug ID: 114193 Summary: missed early break vectorization of reduction Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tr

[Bug tree-optimization/114192] scalar code left around following early break vectorization of reduction

2024-03-01 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114192 Tamar Christina changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/114192] New: scalar code left around following early break vectorization of reduction

2024-03-01 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114192 Bug ID: 114192 Summary: scalar code left around following early break vectorization of reduction Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: norma

[Bug c++/110347] [OpenMP] private/firstprivate of a C++ member variable mishandled

2024-03-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110347 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/113436] [OpenMP] 'allocate' clause has no effect for (first)private on 'target' directives

2024-03-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113436 --- Comment #2 from Tobias Burnus --- As mentioned in comment 0, PR110347's testcase (r14-9257-g4f82d5a95a244d) contains '#if 0' code which has to be enabled once this bug is fixed. Please remember to take care of: * libgomp/testsuite/libgomp.c

[Bug c++/92687] decltype of a structured binding to a tuple component is a reference type inside a template function

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92687 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:867cbadb912ab75d0eaf919a3f992595e508482b commit r14-9258-g867cbadb912ab75d0eaf919a3f992595e508482b Author: Jakub Jelinek Date: Fr

  1   2   >