[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #5 from Andrew Pinski --- Musttail can never be used for correctness. Also lto deals deals just fine with localizing a function. But again you are making hacks what for? Code which is specific to one application rather than making

[Bug tree-optimization/115130] [meta-bug] early break vectorization

2024-08-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115130 Bug 115130 depends on bug 115866, which changed state. Bug 115866 Summary: missed optimization vectorizing switch statements. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 What|Removed |Added

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-08-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 115866, which changed state. Bug 115866 Summary: missed optimization vectorizing switch statements. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 What|Removed |Added --

[Bug tree-optimization/115866] missed optimization vectorizing switch statements.

2024-08-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 ak at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/116497] static functions ABI should be improved for SSE caller saved registers

2024-08-26 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #4 from andi at firstfloor dot org --- The change of the subject is incorrect. The transformation has nothing to do with static function: consider LTO or someone might write an interpreter spread over multiple files. > always need to

[Bug ada/116498] gnat enters busy wait trying to compile for msp430-none-elf with -mlarge flag

2024-08-26 Thread alancf0 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116498 --- Comment #1 from Alan Fisher --- Correction to the above diagram: const unsigned char mode_wider[NUM_MACHINE_MODES] = { E_VOIDmode, /* VOID */ <--| E_VOIDmode, /* BLK */ | E_VOIDm

[Bug ada/116498] New: gnat enters busy wait trying to compile for msp430-none-elf with -mlarge flag

2024-08-26 Thread alancf0 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116498 Bug ID: 116498 Summary: gnat enters busy wait trying to compile for msp430-none-elf with -mlarge flag Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity

[Bug target/116497] static functions ABI should be improved for SSE caller saved registers

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #3 from Andrew Pinski --- >When writing threaded code interpreters by chaining functions with musttail >the normal ABI behavior of some caller saved registers can cause unnecessary >spills and fills compared to using indirect goto.

[Bug target/116497] static functions ABI should be improved for SSE caller saved registers

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug other/116462] [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails

2024-08-26 Thread edlinger at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462 Bernd Edlinger changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug other/116462] [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462 --- Comment #8 from GCC Commits --- The master branch has been updated by Bernd Edlinger : https://gcc.gnu.org/g:103127cd9398d140222c9da44715d447641bf791 commit r15-3209-g103127cd9398d140222c9da44715d447641bf791 Author: Bernd Edlinger Date:

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #2 from Andrew Pinski --- Sounds more like the attribute is not needed but gcc should figure out how to improve the abi for static functions instead, like what is done already for 32bit x86. I think even musttail is also a bogus way

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-26 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #1 from Andi Kleen --- Disable check for no_caller_saved_registers enforcing non FP. diff --git a/gcc/config/i386/i386-options.cc b/gcc/config/i386/i386-options.cc index f79257cc764..cec652cc9e6 100644 --- a/gcc/config/i386/i386-opt

[Bug fortran/113412] ATAN(Y,X) does not check arguments and generates wrong error message.

2024-08-26 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113412 --- Comment #11 from kargls at comcast dot net --- On 8/26/24 19:06, kargls at comcast dot net wrote: > atanpi.   I believe line > 4451 should be emitting the error message you're looking for. Ugh, it's worse than I originally thought.  The con

[Bug target/116497] New: Need no_caller_saved_registers with SSE support

2024-08-26 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 Bug ID: 116497 Summary: Need no_caller_saved_registers with SSE support Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 --- Comment #8 from Xi Ruoyao --- (In reply to Alexander Monakov from comment #6) > Is synthesizing the .metainfo section in the compiler not an option for some > reason? Sounds straightforward to implement on the RTL level (with the > caveats t

[Bug c++/116496] New: [modules] ICE in find_dependencies

2024-08-26 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116496 Bug ID: 116496 Summary: [modules] ICE in find_dependencies Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, needs-reduction Severity: normal

[Bug driver/111527] COLLECT_GCC_OPTIONS option hits single-variable limits too early

2024-08-26 Thread sunil.dora1988 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111527 Sunil Dora changed: What|Removed |Added CC||sunil.dora1988 at gmail dot com --- Commen

[Bug c/97986] [12/13/14/15 Regression] ICE in force_constant_size when applying va_arg to VLA type since r6-91-gf8e89441bc5518f4

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97986 Andrew Pinski changed: What|Removed |Added CC||hnarkaytis at gmail dot com --- Comment

[Bug c/116495] Crash on va_arg with variable size type

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

[Bug c/116495] New: Crash on va_arg with variable size type

2024-08-26 Thread hnarkaytis at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116495 Bug ID: 116495 Summary: Crash on va_arg with variable size type Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libstdc++/116494] New: std::string::replace uses memcpy incorrectly and warns about it

2024-08-26 Thread grisumbras at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116494 Bug ID: 116494 Summary: std::string::replace uses memcpy incorrectly and warns about it Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/113412] ATAN(Y,X) does not check arguments and generates wrong error message.

2024-08-26 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113412 --- Comment #10 from kargls at comcast dot net --- On 8/26/24 18:47, kargls at comcast dot net wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113412 > > --- Comment #9 from kargls at comcast dot net --- > On 8/26/24 12:04, anlauf at gcc do

[Bug fortran/113412] ATAN(Y,X) does not check arguments and generates wrong error message.

2024-08-26 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113412 --- Comment #9 from kargls at comcast dot net --- On 8/26/24 12:04, anlauf at gcc dot gnu.org wrote: > subroutine s2 >external :: atan >real :: r = 1. >print *, atan (-1.d0,r) > end > > subroutine s3 >real :: r = 1. >print *,

[Bug c++/99227] [meta-bug] [modules] Bugs relating to header-units of STL header files

2024-08-26 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99243, which changed state. Bug 99243 Summary: [modules] ICE in set_filename, at cp/module.cc:19143 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99243 What|Removed |Added ---

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

2024-08-26 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 99243, which changed state. Bug 99243 Summary: [modules] ICE in set_filename, at cp/module.cc:19143 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99243 What|Removed |Added -

[Bug c++/99243] [modules] ICE in set_filename, at cp/module.cc:19143

2024-08-26 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99243 Nathaniel Shead changed: What|Removed |Added Assignee|nathan at gcc dot gnu.org |nshead at gcc dot gnu.org

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

2024-08-26 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 110980, which changed state. Bug 110980 Summary: -flang-info-include-translate does not work with no argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110980 What|Removed |Added --

[Bug c++/110980] -flang-info-include-translate does not work with no argument

2024-08-26 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110980 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |15.0 CC|

[Bug c++/99243] [modules] ICE in set_filename, at cp/module.cc:19143

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99243 --- Comment #6 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:215ff991a8681f968823b913e1c79a32d339c097 commit r15-3207-g215ff991a8681f968823b913e1c79a32d339c097 Author: Nathaniel Shead Date:

[Bug c++/110980] -flang-info-include-translate does not work with no argument

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110980 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:98608342932e8951a4c8db3e9df79f9187424d53 commit r15-3206-g98608342932e8951a4c8db3e9df79f9187424d53 Author: Nathaniel Shead Date:

[Bug c++/85973] [[nodiscard]] on class shall emit a warning for unused anonymous variable

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85973 Andrew Pinski changed: What|Removed |Added CC||leonid.satanovsky at gmail dot com ---

[Bug c++/116441] [[nodiscard]] attribute ignored in some cases

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

[Bug target/116493] widening reduction add could be better

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116493 --- Comment #1 from Andrew Pinski --- Forgot to mention this is at -O2 (or -O3).

[Bug target/116493] New: widening reduction add could be better

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116493 Bug ID: 116493 Summary: widening reduction add could be better Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug rtl-optimization/115883] [15 Regression] late-combine exposing LRA problems

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115883 --- Comment #6 from GCC Commits --- The master branch has been updated by Hans-Peter Nilsson : https://gcc.gnu.org/g:5031df5d1f4954304c618efd2de029edc6b3699f commit r15-3204-g5031df5d1f4954304c618efd2de029edc6b3699f Author: Hans-Peter Nilsson

[Bug c++/113457] Nesting coroutine definitions (e.g. via a lambda or a template expansion) can ICE the compiler

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113457 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Arsen Arsenovic : https://gcc.gnu.org/g:5cca7517c5868b7b9aa13992145eb6082ac5d5b9 commit r15-3203-g5cca7517c5868b7b9aa13992145eb6082ac5d5b9 Author: Arsen ArsenoviÄ Date:

[Bug c++/115858] Incompatibility of coroutines and alloca()

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115858 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Arsen Arsenovic : https://gcc.gnu.org/g:c73d7f3c66c0b5865edd6880cd0d6be723cfbb8d commit r15-3202-gc73d7f3c66c0b5865edd6880cd0d6be723cfbb8d Author: Arsen ArsenoviÄ Date:

[Bug c++/116492] inherited constructors with concept in subclass overrides constructor in subclass

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116492 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Slightly reduced: In this example if you comment out: ``` requires true_c ``` GCC does the correct thing.

[Bug c++/116492] inherited constructors with concept in subclass overrides constructor in subclass

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116492 --- Comment #2 from Andrew Pinski --- >The same does not happen in clang, and in gcc with similar examples from other >classes I have tried. So it comes down to the concept on the constructor which is why you didn't run into similar examples f

[Bug c++/116492] inherited constructors with concept in subclass overrides constructor in subclass

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116492 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-08-26 Summary|inherited

[Bug target/55212] [SH] Switch to LRA

2024-08-26 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #202 from John Paul Adrian Glaubitz --- Adding "gcc/gimple-lower-bitint*" to "compare_exclusions" in configure.ac makes the build pass the bootstrap comparison and completely succeed with LRA enabled with the following patches applied

[Bug c++/116492] New: inherited constructors in subclass of std::expected can not be overridden

2024-08-26 Thread mail at johslarsen dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116492 Bug ID: 116492 Summary: inherited constructors in subclass of std::expected can not be overridden Product: gcc Version: unknown Status: UNCONFIRMED Severity: n

[Bug target/55212] [SH] Switch to LRA

2024-08-26 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #201 from John Paul Adrian Glaubitz --- Created attachment 59006 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59006&action=edit Diff for bootstrap comparison failure of gcc/gimple-lower-bitint.c (In reply to John Paul Adrian

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #7 from Andrew Pinski --- Or rather see https://cmake.org/cmake/help/latest/prop_tgt/CXX_EXTENSIONS.html#prop_tgt:CXX_EXTENSIONS . That is -std=c++17 vs -std=gnu++17. GCC defaults to gnu++17 in newer versions of GCC. So the bug is

[Bug fortran/116359] Nested contained procedures rejected

2024-08-26 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116359 Mikael Morin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #6 from Andrew Pinski --- (In reply to Sergey Markelov from comment #3) > This is not a duplicate. The macro is defined conditionally, this is not a > correct behavior. Yes and that is by design. -std=gnu++17 enables some non-standa

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #5 from Andrew Pinski --- Specifically https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84400#c2

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #4 from Andrew Pinski --- (In reply to Sergey Markelov from comment #3) > This is not a duplicate. The macro is defined conditionally, this is not a > correct behavior. Yes it is. Please read that one and pr84400 .

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread sergio_nsk at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #3 from Sergey Markelov --- This is not a duplicate. The macro is defined conditionally, this is not a correct behavior.

[Bug target/65128] remove "linux" and "unix" from preprocessor macros from cpp-5

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65128 Andrew Pinski changed: What|Removed |Added CC||mihaipop11 at gmail dot com --- Comment

[Bug c++/84400] “linux” string in path replaced with “1” when using “<>” angle brackets to include a header through a macro

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84400 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #5 from Andrew Pin

[Bug target/65128] remove "linux" and "unix" from preprocessor macros from cpp-5

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65128 Andrew Pinski changed: What|Removed |Added CC||sergio_nsk at yahoo dot de --- Comment #

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

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

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread sergio_nsk at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #1 from Sergey Markelov --- Expected: GCC should not define the undocumented/non standard macro `linux`.

[Bug c++/116491] New: GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread sergio_nsk at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 Bug ID: 116491 Summary: GCC defines macro linux if -std is not set, and does not define otherwise Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: no

[Bug fortran/116128] missed optimisation: fortran sum instrinsic performed in order

2024-08-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116128 --- Comment #6 from anlauf at gcc dot gnu.org --- Guided by the dump-tree for the inlining code, I played a little to see what kind of code the middle-end expects. To this end I used C code. The reference for the sum over a rank-1 array (given

[Bug c++/116490] New: Crash in explicitly instantiated Function Contracts

2024-08-26 Thread eric at efcs dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116490 Bug ID: 116490 Summary: Crash in explicitly instantiated Function Contracts Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug fortran/116359] Nested contained procedures rejected

2024-08-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116359 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2024-08-26 Statu

[Bug fortran/113412] ATAN(Y,X) does not check arguments and generates wrong error message.

2024-08-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113412 --- Comment #8 from anlauf at gcc dot gnu.org --- I looked at this one again, also at the fortran-dump. Consider: subroutine s1 intrinsic :: atan real :: r = 1. print *, atan (-1.d0,r) end subroutine s2 external :: atan real :: r = 1.

[Bug c/116489] Conflict between noinit and section __attribute__ makes object files (and static libraries) unnecessarily large

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116489 --- Comment #2 from Andrew Pinski --- >In any case, the behavior seems to be undocumented: Well considering the documentation says: place sections with the .noinit prefix you can assume they conflict :). Also "prefix" is almost always added w

[Bug c/116489] Conflict between noinit and section __attribute__ makes object files (and static libraries) unnecessarily large

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

[Bug target/114224] popcount RTL cost seems wrong with cssc

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114224 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Interesting: > ``` > int h1(unsigned a) > { > return __builtin_popcountg(a) == 1; > } > ``` > works. > > > Anyways I will be adding POPCOUNT's rtl cos

[Bug c/116489] New: Conflict between noinit and section __attribute__ makes object files (and static libraries) unnecessarily large

2024-08-26 Thread stefan.tauner at gmx dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116489 Bug ID: 116489 Summary: Conflict between noinit and section __attribute__ makes object files (and static libraries) unnecessarily large Product: gcc Version: 12.

[Bug rtl-optimization/116488] [15 Regression] wrong code at -O{s,2,3} with "-fno-forward-propagate" on x86_64-linux-gnu

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116488 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-08-26 Status|UNCONFIRM

[Bug rtl-optimization/116488] [15 Regression] wrong code at -O{s,2,3} with "-fno-forward-propagate" on x86_64-linux-gnu

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116488 Andrew Pinski changed: What|Removed |Added Version|unknown |15.0 Target Milestone|---

[Bug rtl-optimization/116488] New: wrong code at -O{s,2,3} with "-fno-forward-propagate" on x86_64-linux-gnu

2024-08-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
h: ../gcc-trunk/configure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240826 (experiment

[Bug target/115408] regression between gcc 13.3.0 and 14.1.0 using -mips16 and -minterlink-mips16

2024-08-26 Thread broly at mac dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115408 --- Comment #14 from gagan sidhu (broly) --- any update herE? pinski i saw you push a commit a month or two ago with respect to multilib darwin builds, but i couldn't find it in the github since i forgot where exactly it was. i want to try put

[Bug middle-end/116487] Miscompile with different optimization flags

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

[Bug c/116487] New: Miscompile with different optimization flags

2024-08-26 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
rc & 1) crc = crc >> 1 ^ k; else crc >>= 1; c[i] = crc; } b(); l(a, "", bx); m(d ^ 2, bx); } ``` It can also be found in https://godbolt.org/z/sscqo3GqP My gcc version is gcc version 15.0.0 20240826 (experimental) (GCC). I built this with

[Bug other/116462] [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails

2024-08-26 Thread edlinger at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462 Bernd Edlinger changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug c++/115716] [12/13/14/15 regression] internal compiler error: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst, at cp/pt.cc:16364

2024-08-26 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115716 Simon Martin changed: What|Removed |Added Target Milestone|12.5|15.0 Status|ASSIGNED

[Bug c++/115716] [12/13/14/15 regression] internal compiler error: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst, at cp/pt.cc:16364

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115716 --- Comment #5 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:26ee954476bef7328d2cf45928c3c9b84df77178 commit r15-3195-g26ee954476bef7328d2cf45928c3c9b84df77178 Author: Simon Martin Date: Sun

[Bug middle-end/116486] [15 Regression] wrong code with __builtin_stdc_first_leading_one() at -O2 -fno-tree-ccp

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116486 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/116486] [15 Regression] wrong code with __builtin_stdc_first_leading_one() at -O2 -fno-tree-ccp

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

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 --- Comment #7 from Andrew Pinski --- (In reply to Alexander Monakov from comment #6) > with the caveats that you'd only get that for future gcc releases I think this caveat is fine as if adding the other feature to asm goto you would also have

[Bug tree-optimization/116485] CFG cleanup should prune unreachable switch cases

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116485 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-08-26 Status|UNCONFIRM

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #22 from Andrew Pinski --- (In reply to Richard Biener from comment #20) > Unfortunately the following doesn't reproduce the issue. > > #include > #include > > void g(); > > void f(int nBands, double maxZErr) { > for (int i

[Bug target/116467] missed optimization: zero-extension duplicated on xtensa

2024-08-26 Thread rsaxvc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116467 --- Comment #2 from rsaxvc at gmail dot com --- I had wondered about that too but hadn't been able to find anything about it. User ccrause on esp32.com knew where it was though. From https://www.cadence.com/content/dam/cadence-www/global/en_US/do

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread edlinger at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #17 from Bernd Edlinger --- (In reply to r...@cebitec.uni-bielefeld.de from comment #12) > (thanks), but on Solaris/sparc there's > > FAIL: gcc.dg/debug/dwarf2/inline7.c scan-assembler DW_AT_ranges > > both with as and gas. Hmm,

[Bug target/116466] The standard instruction pattern of RISC-V addv has generated an unnecessary instruction.

2024-08-26 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116466 --- Comment #6 from Jeffrey A. Law --- Created attachment 59003 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59003&action=edit Hack from the RAU team Attached is the hack from the RAU team. It was initially used to help identify cases

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread edlinger at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 Bernd Edlinger changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #15 from Sam James --- (In reply to Bernd Edlinger from comment #14) > Hmm, I don't know why I can't change the status to fixed... > Feel free to close this ticket. Please change your email on BZ to match your @gcc.gnu.org email to

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #14 from Bernd Edlinger --- Hmm, I don't know why I can't change the status to fixed... Feel free to close this ticket.

[Bug target/116466] The standard instruction pattern of RISC-V addv has generated an unnecessary instruction.

2024-08-26 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116466 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #13 from GCC Commits --- The master branch has been updated by Bernd Edlinger : https://gcc.gnu.org/g:eb63f9580f0220e347034ef337dbc93d12931d6c commit r15-3193-geb63f9580f0220e347034ef337dbc93d12931d6c Author: Bernd Edlinger Date:

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-26 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 Alexander Monakov changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/116486] [15 Regression] wrong code with __builtin_stdc_first_leading_one() at -O2 -fno-tree-ccp

2024-08-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116486 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/116466] The standard instruction pattern of RISC-V addv has generated an unnecessary instruction.

2024-08-26 Thread leidian900 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116466 --- Comment #4 from cui xu --- (In reply to Jeffrey A. Law from comment #2) > Looking at this, I would fully expect that in an optimizing compilation that > the redundant extension would be eliminated. Are you seeing the redundant > sign exten

[Bug fortran/104845] Wrong array size for component of CLASS array element

2024-08-26 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104845 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #21 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0ceeb9926d69dbb382622a8eae9eef7ed8ac3e97 commit r15-3191-g0ceeb9926d69dbb382622a8eae9eef7ed8ac3e97 Author: Richard Biener Date:

[Bug c++/105483] [12/13/14/15 Regression] injected-class-name and constructors diagnostic since r8-1739-g3b5c768c40c78618

2024-08-26 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105483 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/116486] New: [15 Regression] wrong code with __builtin_stdc_first_leading_one() at -O2 -fno-tree-ccp

2024-08-26 Thread zsojka at seznam dot cz via Gcc-bugs
-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-3187-20240826023505-g53b86cac7e7-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 2

[Bug tree-optimization/116348] [15 regression] ICE when building gavl-1.4.0 with -O3 -march=znver4 since r15-2791-g2083389a18d366

2024-08-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116348 Xi Ruoyao changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/116348] [15 regression] ICE when building gavl-1.4.0 with -O3 -march=znver4 since r15-2791-g2083389a18d366

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116348 --- Comment #12 from GCC Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:d3e71b99194bff878d3bf3b35f9528a350d10df9 commit r15-3189-gd3e71b99194bff878d3bf3b35f9528a350d10df9 Author: Xi Ruoyao Date: Thu Aug

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 --- Comment #5 from Xi Ruoyao --- I.e. we want to refer the exact location of the jump instruction (not an instruction preparing for it) in the asm, and doing so is not possible with computed goto.

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 --- Comment #4 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #3) > > But for satisfying some tools analyzing the generated machine code > > Also this sounds like a limitation in the tool analyzing the generated code > and outside o

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #20 from Richard Biener --- Unfortunately the following doesn't reproduce the issue. #include #include void g(); void f(int nBands, double maxZErr) { for (int iBand = 0; iBand < nBands; iBand++) { g();

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from Bernd Edlinger --- > Created attachment 58991 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58991&action=edit > proposed patch > > I would appreciate wh

  1   2   >