[Bug target/114955] marco DATA_ALIGNMENT may conflict with pragma pack

2024-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114955 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug target/114955] marco DATA_ALIGNMENT may conflict with pragma pack

2024-05-05 Thread hanwei62 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114955 --- Comment #3 from hanwei (K) --- Yeap, press return too soon. Code like: #include #pragma pack(1) char a_global[2] = {0,0}; int g_int[3] = {1, 2, 4}; char b_global[2] = {0, 0}; struct A { char c; long long a; int i; }; #prag

[Bug c++/103909] coroutines: co_yield of aggregate-initialized temporaries leads to segmentation faults.

2024-05-05 Thread accelerator0099 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103909 accelerator0099 at gmail dot com changed: What|Removed |Added CC||accelerator0099 at gma

[Bug c++/104384] coroutines: Heap corruption when initializing struct with co_await

2024-05-05 Thread accelerator0099 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104384 accelerator0099 at gmail dot com changed: What|Removed |Added CC||accelerator0099 at gma

[Bug c++/107288] coroutines: Double-free of temporaries created in statement following co_await

2024-05-05 Thread accelerator0099 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107288 accelerator0099 at gmail dot com changed: What|Removed |Added CC||accelerator0099 at gma

[Bug fortran/114922] fsyntax-only need the modules

2024-05-05 Thread axel.ehrich--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114922 --- Comment #5 from Axel Ehrich --- Thank you for the explanation. This resolves the issue.

[Bug middle-end/113179] [11/12/13/14/15 Regression] MIPS: INS is used for long long, before SLL

2024-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113179 --- Comment #7 from Andrew Pinski --- (In reply to YunQiang Su from comment #6) > With some test on some CPUs, in fact, the lacking of `sll` won't make > troubles to us. > It seems that most of MIPS64 CPUs can process it well as expected. When

[Bug middle-end/113179] [11/12/13/14/15 Regression] MIPS: INS is used for long long, before SLL

2024-05-05 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113179 --- Comment #6 from YunQiang Su --- With some test on some CPUs, in fact, the lacking of `sll` won't make troubles to us. It seems that most of MIPS64 CPUs can process it well as expected.

[Bug middle-end/113179] [11/12/13/14/15 Regression] MIPS: INS is used for long long, before SLL

2024-05-05 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113179 YunQiang Su changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/113179] [11/12/13/14/15 Regression] MIPS: INS is used for long long, before SLL

2024-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113179 --- Comment #4 from GCC Commits --- The master branch has been updated by YunQiang Su : https://gcc.gnu.org/g:7d5d2b879ae7636ca118fb4f3a08b22705cdeacb commit r15-171-g7d5d2b879ae7636ca118fb4f3a08b22705cdeacb Author: YunQiang Su Date: Mon Ap

[Bug target/114955] marco DATA_ALIGNMENT may conflict with pragma pack

2024-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114955 --- Comment #2 from Andrew Pinski --- Also DATA_ALIGNMENT (and LOCAL_ALIGNMENT) does not conflict with `pragma pack`. The documentation says https://gcc.gnu.org/onlinedocs/gcc/Structure-Layout-Pragmas.html : ``` that change the maximum alignmen

[Bug target/114943] X86 AVX2: inefficient code generated to convert SIMD Vectors

2024-05-05 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114943 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug c/114957] New: pragma pack is not in the concept index for the manual

2024-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114957 Bug ID: 114957 Summary: pragma pack is not in the concept index for the manual Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: documentation Severity: normal

[Bug target/114955] marco DATA_ALIGNMENT may conflict with pragma pack

2024-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114955 Andrew Pinski changed: What|Removed |Added Component|c |target Status|UNCONFIRMED

[Bug sanitizer/114956] New: Segmentation fault with -fsanitize=address -fsanitize=null -O2 when attribute no_sanitize_address is enabled

2024-05-05 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114956 Bug ID: 114956 Summary: Segmentation fault with -fsanitize=address -fsanitize=null -O2 when attribute no_sanitize_address is enabled Product: gcc Version: 15.0

[Bug c/114955] New: marco DATA_ALIGNMENT may conflict with pragma pack

2024-05-05 Thread hanwei62 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114955 Bug ID: 114955 Summary: marco DATA_ALIGNMENT may conflict with pragma pack Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/93008] Need a way to make inlining heuristics ignore whether a function is inline

2024-05-05 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93008 --- Comment #15 from Luke Dalessandro --- (In reply to Jonathan Wakely from comment #5) > > IMO the ideal solution is for GCC to stop using whether a function is inline > as an optimisation hint. Then we wouldn't need some extra GCC-specific wa

[Bug c++/93008] Need a way to make inlining heuristics ignore whether a function is inline

2024-05-05 Thread elrodc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93008 --- Comment #14 from Chris Elrod --- To me, an "inline" function is one that the compiler inlines. It just happens that the `inline` keyword also means both comdat semantics, and possibly hiding the symbol to make it internal (-fvisibility-inline

[Bug c++/93008] Need a way to make inlining heuristics ignore whether a function is inline

2024-05-05 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93008 --- Comment #13 from Eric Gallager --- (In reply to Jonathan Wakely from comment #12) > There's nothing fake about them, they are definitely inline functions as far > as the language rules. But in some cases we don't want the compiler to use > th

[Bug c++/71482] Add -Wglobal-constructors warning option

2024-05-05 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71482 --- Comment #9 from Eric Gallager --- (In reply to Jonathan Wakely from comment #8) > (In reply to Eric Gallager from comment #6) > > Another reason this warning might be wanted: name mangling and demangling of > > global constructors has been bu

[Bug c++/114954] New: [modules] ICE in write_class_def with templated union type

2024-05-05 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114954 Bug ID: 114954 Summary: [modules] ICE in write_class_def with templated union type Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/114843] aarch64: epilogue in _Unwind_RaiseException corrupts return value due to __builtin_eh_return

2024-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114843 --- Comment #20 from Andrew Pinski --- New patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2024-May/650757.html It was simplier than I had expected too.

[Bug testsuite/114953] New: libstdc++'s 30_threads/semaphore/try_acquire_posix.cc can sometimes fail (while running under qemu)

2024-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114953 Bug ID: 114953 Summary: libstdc++'s 30_threads/semaphore/try_acquire_posix.cc can sometimes fail (while running under qemu) Product: gcc Version: 15.0 Status: UNCONFIRME

[Bug tree-optimization/114952] False positive -Wmaybe-uninitialized starting at -O3 in libbpf

2024-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114952 --- Comment #1 from Andrew Pinski --- Most likely GCC does not know errno is non-zero after the call to elf_open and checking `fd < 0`. Adding: if (ret == 0) __builtin_unreachable(); After the assignment of `ret = -errono;` fixes the warning.

[Bug c/114952] New: False positive -Wmaybe-uninitialized starting at -O3 in libbpf

2024-05-05 Thread kacper.slominski72 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114952 Bug ID: 114952 Summary: False positive -Wmaybe-uninitialized starting at -O3 in libbpf Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug other/114951] Incorrect documentation link emitted for warning options ending in =

2024-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114951 Andrew Pinski changed: What|Removed |Added Known to work||14.0 --- Comment #1 from Andrew Pinski

[Bug other/114951] New: Incorrect documentation link emitted for warning options ending in =

2024-05-05 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114951 Bug ID: 114951 Summary: Incorrect documentation link emitted for warning options ending in = Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/114942] [14/15 Regression] ICE on valid code at -O1 with "-fno-tree-sra -fno-guess-branch-probability": in extract_constrain_insn, at recog.cc:2713

2024-05-05 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114942 Uroš Bizjak changed: What|Removed |Added Keywords||ra --- Comment #3 from Uroš Bizjak --- R

[Bug fortran/114827] Valgrind reports errors with class(*) assignment

2024-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114827 --- Comment #12 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:21e7aa5f3ea44ca2fef8deb8788edffc04901b5c commit r15-168-g21e7aa5f3ea44ca2fef8deb8788edffc04901b5c Author: Harald Anlauf Date: M

[Bug tree-optimization/114948] [14/15 Regression] ICE on valid code at -O3 with "-fno-tree-ccp -fno-tree-ch" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2024-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114948 Andrew Pinski changed: What|Removed |Added Summary|ICE on valid code at -O3|[14/15 Regression] ICE on

[Bug c++/114950] New: [modules] ICE in binding_cmp when merging friend functions in partitions

2024-05-05 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114950 Bug ID: 114950 Summary: [modules] ICE in binding_cmp when merging friend functions in partitions Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-o

[Bug gcov-profile/114949] New: Missing function return count in JSON format

2024-05-05 Thread michael.foerderer at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114949 Bug ID: 114949 Summary: Missing function return count in JSON format Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gco

[Bug tree-optimization/114948] New: ICE on valid code at -O3 with "-fno-tree-ccp -fno-tree-ch" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2024-05-05 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
LTO compression algorithms: zlib gcc version 15.0.0 20240505 (experimental) (GCC) [523] % [523] % gcctk -O3 -fno-tree-ccp -fno-tree-ch small.c during GIMPLE pass: cunroll small.c: In function ‘main’: small.c:2:5: internal compiler error: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

[Bug libgcc/114907] __trunchfbf2 should be renamed to __extendhfbf2

2024-05-05 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114907 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #