[Bug fortran/59104] Wrong result with SIZE specification expression

2024-05-22 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 --- Comment #5 from Paul Thomas --- Created attachment 58275 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58275=edit "Fix" for this PR This patch causes regressions in dependent_decls_1.f90 and mapping_[1,2].f90. However, it

[Bug target/115010] m68k: invalid subl instruction generated

2024-05-22 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115010 --- Comment #16 from Thorsten Otto --- Yes, i'm just curious what that "latent bug" might be. It might not have to do directly with that __builtin_mul_overflow() at all, because when using -m68060, library calls to __mulsi3() are used to avoid

[Bug target/115010] m68k: invalid subl instruction generated

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115010 --- Comment #15 from Andrew Pinski --- (In reply to Thorsten Otto from comment #14) > A bisect between 10.0.0 and 11.4.0 for the 2nd testcase gave me this commit: > > commit 512c6ba04102295fccc62a173ee0086ca733c920 > From: Richard Biener >

[Bug rtl-optimization/115081] find thie PR will cause ICE: Modify cost calculation for dealingf with equivalaennces

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

[Bug c++/100611] coroutines: destructor called too many times for coroutine lambda stored object

2024-05-22 Thread vipcxj at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100611 --- Comment #10 from vipcxj at 126 dot com --- The gcc version in build-essential for ubuntu22 is 11.4. The latest gcc in ubuntu22 is 12.3. The latest gcc in ppa:ubuntu-toolchain-r/test is 13.1. To use gcc 13.2.1, we have to compile it from

[Bug target/111949] combine split points are not so good with targets that have (and (not x) y)

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

[Bug tree-optimization/115201] Recursion not optimized for structs arguments

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115201 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > /* The parameter should be a real operand, so that phi node >created for it at the start of the function has the meaning >

[Bug tree-optimization/115201] Recursion not optimized for structs arguments

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115201 Andrew Pinski changed: What|Removed |Added Keywords||FIXME See Also|

[Bug tree-optimization/115201] Recursive binary search with struct iterator is not handled by tail Recursion

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115201 --- Comment #6 from Andrew Pinski --- Created attachment 58274 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58274=edit Slightly more reduced Slightly more reduced, foo3 should produce the same as foo4. Basically Tailr does not handle

[Bug tree-optimization/115201] Recursive binary search with struct iterator is not handled by tail Recursion

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115201 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Severity|normal

[Bug ipa/115201] Recursive binary search is incorrectly inlined

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115201 --- Comment #4 from Andrew Pinski --- Created attachment 58273 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58273=edit Better (reduced testcase) The tail call happens in the foo2 case while not in foo1. This is due to struct returns

[Bug ipa/115201] Recursive binary search is incorrectly inlined

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115201 --- Comment #3 from Andrew Pinski --- Oh the issue is the iterator is a struct which confuses things ...

[Bug ipa/115201] Recursive binary search is incorrectly inlined

2024-05-22 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115201 --- Comment #2 from Jeremy R. --- Does recursive inlining here interfere with TCO, or is GCC just not able to TCO in this case? I can understand why some bounded recursive inlining may be desirable, however in this case it seems very not

[Bug ipa/115201] Recursive binary search is incorrectly inlined

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115201 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |ipa --- Comment #1 from Andrew Pinski

[Bug tree-optimization/115201] New: Recursive binary search is incorrectly inlined

2024-05-22 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115201 Bug ID: 115201 Summary: Recursive binary search is incorrectly inlined Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/115100] non-target specific const_scalar_int_operand predicate is not documented

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115100 --- Comment #1 from Andrew Pinski --- >This has been true since wide-int branch was merged in back in 2014. Actually older than that. I had missed understood the diff there. But still not documented.

[Bug rtl-optimization/115104] [15 Regression] RISC-V: GCC-14 can combine vsext+vadd -> vwadd but Trunk GCC (GCC 15) Failed

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115104 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-05-22 Keywords|

[Bug tree-optimization/115125] [-Wstringop-overflow=] with O2/O3 - false positive?

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115125 Andrew Pinski changed: What|Removed |Added Known to work||15.0 Keywords|

[Bug tree-optimization/115125] [-Wstringop-overflow=] with O2/O3 - false positive?

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115125 --- Comment #2 from Andrew Pinski --- (In reply to Nikolai Ivanenko from comment #1) > Forgot to mention that the the code commented out in main compiles without > warnings. That is just due to inlining differences. Afterwards if you rename

[Bug c++/115200] New: [modules] ICE in declare_module() with unclosed namespace scope before module perview

2024-05-22 Thread nickbegg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115200 Bug ID: 115200 Summary: [modules] ICE in declare_module() with unclosed namespace scope before module perview Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/115187] [14/15 Regression] ICE when deleting temporary array

2024-05-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187 Jason Merrill changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug libstdc++/108323] combine does not change the locale name

2024-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108323 --- Comment #4 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:947a9c801e818f412ad4c669a49297c3512b3a6e commit r15-781-g947a9c801e818f412ad4c669a49297c3512b3a6e Author: Jonathan Wakely Date:

[Bug libstdc++/114940] std::generator relies on an optional overload of operator delete

2024-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114940 --- Comment #9 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b2fdd508d7e63158e9d2a6dd04f901d02900def3 commit r15-780-gb2fdd508d7e63158e9d2a6dd04f901d02900def3 Author: Jonathan Wakely Date:

[Bug c++/114983] The -Wsizeof-array-div warning suppression using extra parenthesis (which is suggested by in the warning itself) doesn't work inside templated code

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

[Bug c++/114983] The -Wsizeof-array-div warning suppression using extra parenthesis (which is suggested by in the warning itself) doesn't work inside templated code

2024-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114983 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c27d6c7fd03f95483d372eae2c96912ceee98a5e commit r14-10235-gc27d6c7fd03f95483d372eae2c96912ceee98a5e Author: Marek Polacek

[Bug c++/115198] Class template argument deduction fails for copy ctor when used with an alias template if the aliased class template has explicitly defaulted copy ctor

2024-05-22 Thread s.murthy at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115198 --- Comment #4 from Sean Murthy --- (In reply to Andrew Pinski from comment #2) > Confirmed. Thank you for confirming the issue.

[Bug c++/115198] Class template argument deduction fails for copy ctor when used with an alias template if the aliased class template has explicitly defaulted copy ctor

2024-05-22 Thread s.murthy at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115198 --- Comment #3 from Sean Murthy --- For everyone's convenience, attaching here the compiler's error message. The notes the compiler attached to the error indicate the issue might be with a possibly erroneous/superfluous deduction guide the

[Bug c++/115198] Class template argument deduction fails for copy ctor when used with an alias template if the aliased class template has explicitly defaulted copy ctor

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115198 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Last reconfirmed|

[Bug c++/115159] internal compiler error: in nothrow_spec_p, at cp/except.cc:1206 when using modules and QCoreApplication

2024-05-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115159 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Known to fail|

[Bug tree-optimization/115199] [15 regression] gettext (libtextstyle) testsuite miscompiled since r15-579

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

[Bug c++/115159] internal compiler error: in nothrow_spec_p, at cp/except.cc:1206 when using modules and QCoreApplication

2024-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115159 --- Comment #4 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:3c98d06a9016a0fa3a806879bd168f13b8a606f8 commit r15-779-g3c98d06a9016a0fa3a806879bd168f13b8a606f8 Author: Patrick Palka Date:

[Bug tree-optimization/115199] [15 regression] gettext (libtextstyle) testsuite miscompiled

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

[Bug tree-optimization/115199] [15 regression] gettext (libtextstyle) testsuite miscompiled

2024-05-22 Thread kacper.slominski72 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115199 --- Comment #3 from Kacper Słomiński --- For the version in the bug report the first bad diff is: --- foo-good-foo.c.044t.dse12024-05-22 23:22:35.962903496 +0200 +++ foo-bad-foo.c.044t.dse1 2024-05-22 23:22:23.869476999 +0200 @@ -11,7

[Bug tree-optimization/115199] [15 regression] gettext (libtextstyle) testsuite miscompiled

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115199 --- Comment #2 from Sam James --- >From an earlier version: """ [22:12] sam_: first difference that matters is between foo-{good,bad}-foo.c.122t.dse2 [22:12] _9 = __builtin_malloc (4); [22:12] - _10 = __builtin_memcpy (_9, "foo", 4);

[Bug tree-optimization/115199] [15 regression] gettext (libtextstyle) testsuite miscompiled

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115199 Sam James changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Sam James

[Bug tree-optimization/115199] New: [15 regression] gettext (libtextstyle) testsuite miscompiled

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115199 Bug ID: 115199 Summary: [15 regression] gettext (libtextstyle) testsuite miscompiled Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/115198] Class template argument deduction fails for copy ctor when used with an alias template if the aliased class template has explicitly defaulted copy ctor

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115198 Andrew Pinski changed: What|Removed |Added URL|https://sigcpp.godbolt.org/ | |z/jjGT8hK8d

[Bug c++/115198] New: Class template argument deduction fails for copy ctor when used with an alias template if the aliased class template has explicitly defaulted copy ctor

2024-05-22 Thread s.murthy at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115198 Bug ID: 115198 Summary: Class template argument deduction fails for copy ctor when used with an alias template if the aliased class template has explicitly defaulted copy ctor

[Bug tree-optimization/115197] New: ICE on valid code at -O{1,2} with "-fno-tree-scev-cprop -ftree-pre -ftree-loop-distribute-patterns" on x86_64-linux-gnu: Segmentation fault

2024-05-22 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
: zlib gcc version 15.0.0 20240522 (experimental) (GCC) [521] % [521] % gcctk -O1 -fno-tree-scev-cprop -ftree-pre -ftree-loop-distribute-patterns small.c during GIMPLE pass: ldist small.c: In function ‘main’: small.c:2:5: internal compiler error: tree check: expected tree that contains ‘de

[Bug other/115189] libiberty introduces UNC paths waking up binutils bug

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115189 Andrew Pinski changed: What|Removed |Added Host||*-*-mingw --- Comment #1 from Andrew

[Bug c++/115187] [14/15 Regression] ICE when deleting temporary array

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187 Andrew Pinski changed: What|Removed |Added Keywords|accepts-invalid,|

[Bug c++/115187] [14/15 Regression] ICE when deleting temporary array

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187 --- Comment #3 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > clang complains: > > t.ii:3:7: error: cannot delete expression of type 'T' (aka 'int[2]') > 3 | delete T{}; > | ^ ~~~ But that

[Bug tree-optimization/115191] [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/115191] [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

2024-05-22 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191 --- Comment #7 from Aldy Hernandez --- Created attachment 58272 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58272=edit patch in testing

[Bug tree-optimization/115191] [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

2024-05-22 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191 --- Comment #6 from Aldy Hernandez --- (In reply to Andrew Pinski from comment #4) > Confirmed. > > /* After the optimization PHI result can have value > which it couldn't have previously. */ >

[Bug tree-optimization/115191] [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

2024-05-22 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org

[Bug tree-optimization/115191] [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

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

[Bug c++/115196] Bad error message when using library functions from versions before they were introduced

2024-05-22 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115196 --- Comment #5 from Halalaluyafail3 --- (In reply to Jonathan Wakely from comment #4) > (In reply to Halalaluyafail3 from comment #0) > > This note doesn't seem to be very helpful, it mentions adding an extra > > '#include' when one is already

[Bug c++/57025] Solaris g++ defines __STDC_VERSION__=199901L

2024-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57025 --- Comment #13 from Jonathan Wakely --- (In reply to Alan Coopersmith from comment #11) > While Solaris 11.3 support has been dropped from gcc now, Jonathan Perkins > from pkgsrc found that just removing the definition of __STDC_VERSION__ >

[Bug c++/115196] Bad error message when using library functions from versions before they were introduced

2024-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115196 --- Comment #4 from Jonathan Wakely --- (In reply to Halalaluyafail3 from comment #0) > This note doesn't seem to be very helpful, it mentions adding an extra > '#include' when one is already present. A better error message here > would be to

[Bug target/95958] [meta-bug] Inefficient arm_neon.h code for AArch64

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95958 Bug 95958 depends on bug 102171, which changed state. Bug 102171 Summary: vget_low_*/vget_high_* intrinsics should become BIT_FIELD_REF during gimple https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102171 What|Removed

[Bug target/102171] vget_low_*/vget_high_* intrinsics should become BIT_FIELD_REF during gimple

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

[Bug target/102171] vget_low_*/vget_high_* intrinsics should become BIT_FIELD_REF during gimple

2024-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102171 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:1d1ef1c22752b3e250ee769ae6d79f537471a57f commit r15-778-g1d1ef1c22752b3e250ee769ae6d79f537471a57f Author: Pengxuan Zheng Date:

[Bug c++/115196] Bad error message when using library functions from versions before they were introduced

2024-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115196 --- Comment #3 from Jonathan Wakely --- You seem to imply it's a general problem, but I think it's specific to sd::to_address, and that's already fixed.

[Bug c++/115196] Bad error message when using library functions from versions before they were introduced

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115196 --- Comment #2 from Sam James --- See r14-10227-g5b96d547ce71b8.

[Bug c++/115196] Bad error message when using library functions from versions before they were introduced

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

[Bug c++/107800] confusing message with to_address in C++17

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107800 Andrew Pinski changed: What|Removed |Added CC||luigighiron at gmail dot com ---

[Bug c++/115196] New: Bad error message when using library functions from versions before they were introduced

2024-05-22 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115196 Bug ID: 115196 Summary: Bad error message when using library functions from versions before they were introduced Product: gcc Version: 14.1.0 Status: UNCONFIRMED

[Bug c++/115195] [12 Regression] Segfault when instantiating template

2024-05-22 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115195 --- Comment #4 from Patrick O'Neill --- Thanks Andrew

[Bug c++/115195] [12 Regression] Segfault when instantiating template

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115195 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109241#c5 is a reduced version of comment #0 here.

[Bug c++/109241] [12/13/14 Regression] ICE Segmentation fault for statement expression with a local type inside inside a generic lambda inside a generic lambda since r13-6722-gb323f52ccf966800

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109241 Andrew Pinski changed: What|Removed |Added CC||patrick at rivosinc dot com ---

[Bug c++/115195] [12 Regression] Segfault when instantiating template

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

[Bug c++/115195] [12 Regression] Segfault when instantiating template

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115195 --- Comment #1 from Andrew Pinski --- I think this is a dup of bug 114303.

[Bug c++/115195] New: [12 Regression] Segfault when instantiating template

2024-05-22 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115195 Bug ID: 115195 Summary: [12 Regression] Segfault when instantiating template Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/115138] [15 Regression] Bootstrap compare-debug fail after r15-580-gf3e5f4c58591f5

2024-05-22 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115138 --- Comment #21 from Iain Buclaw --- Now doing a fair comparison: Command: g++-11 -std=c++11 \ -fno-PIE -c -O3 -g -fno-checking -DIN_GCC -fno-exceptions \ -fno-rtti -fasynchronous-unwind-tables \ -W -Wall -Wno-narrowing

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

2024-05-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114827 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug rtl-optimization/115038] [14/15 regression] internal error in seh_cfa_offset with -O2 -fno-omit-frame-pointer

2024-05-22 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115038 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/115038] [14/15 regression] internal error in seh_cfa_offset with -O2 -fno-omit-frame-pointer

2024-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115038 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:2f0e0862406a17bb8bf4ad948ae22916bae092a0 commit r14-10233-g2f0e0862406a17bb8bf4ad948ae22916bae092a0 Author: Eric

[Bug fortran/110415] (Re)allocation on assignment to allocatable polymorphic variable from allocatable polymorphic function result

2024-05-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110415 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |13.4 --- Comment #8 from

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

2024-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114827 --- Comment #15 from GCC Commits --- The releases/gcc-13 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f0b88ec4ae829798cb533618f781ca467bab6b9b commit r13-8794-gf0b88ec4ae829798cb533618f781ca467bab6b9b Author: Harald Anlauf

[Bug fortran/110415] (Re)allocation on assignment to allocatable polymorphic variable from allocatable polymorphic function result

2024-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110415 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:2ebf3af1f84d54fbda172eff105a8842c685d11d commit r13-8793-g2ebf3af1f84d54fbda172eff105a8842c685d11d Author: Andrew Jenner

[Bug target/115188] [14/15 regression] invalid Thumb assembly for atomic store in loop on ARMv6

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

[Bug tree-optimization/115191] [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

2024-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target

[Bug tree-optimization/115138] [15 Regression] Bootstrap compare-debug fail after r15-580-gf3e5f4c58591f5

2024-05-22 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115138 --- Comment #20 from Iain Buclaw --- Stepping through both the stage1-gcc/gdc and stage2-gcc/gdc compilers, there is an apparent divergence in behaviour at this point in gimplify.cc 6527│ /* Now that the LHS is gimplified, re-gimplify the

[Bug fortran/115193] using indices with character type within a select type causes ICE

2024-05-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115193 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug fortran/114874] [14/15 Regression] ICE with select type, type is (character(*)), and substring

2024-05-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114874 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||ryan.mulhall at noaa dot gov

[Bug tree-optimization/115138] [15 Regression] Bootstrap compare-debug fail after r15-580-gf3e5f4c58591f5

2024-05-22 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115138 --- Comment #19 from Iain Buclaw --- (In reply to Iain Buclaw from comment #18) > Reduction of opover.d > ``` > bool __setArrayAllocLength(size_t newLength) > { > import core.checkedint; > bool overflow; > addu(newLength, >

[Bug c++/115194] New: [modules] "reference to is ambiguous" when multiple paths to same symbol exist through module

2024-05-22 Thread nickbegg at gmail dot com via Gcc-bugs
"clean.hpp" export module modA; export namespace NS1 { using ::NS1::Thing; namespace NS2 { } } /// main.cpp: #if 0 #include "clean.hpp" #else import modA; #endif using NS1::Thing; using namespace NS1::NS2; Thing thing; /// Tested with gcc

[Bug c++/115192] [11/12/13/14/15 regression] -O3 miscompilation on x86-64 (loops with vectors and scalars) since r11-6380

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115192 Sam James changed: What|Removed |Added Summary|[14/15 regression] -O3 |[11/12/13/14/15 regression]

[Bug fortran/115193] using indices with character type within a select type causes ICE

2024-05-22 Thread ryan.mulhall at noaa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115193 --- Comment #1 from Ryan Mulhall --- Error output: test2.F90:18:43: 18 | print *, 'String is "', bar(1:strlen), '"' ! fails here | 1 internal compiler error: Segmentation fault

[Bug fortran/115193] New: using indices with character type within a select type causes ICE

2024-05-22 Thread ryan.mulhall at noaa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115193 Bug ID: 115193 Summary: using indices with character type within a select type causes ICE Product: gcc Version: 14.1.0 Status: UNCONFIRMED Keywords:

[Bug fortran/106035] F2018 allows an IMPORT statement within the BLOCK construct.

2024-05-22 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 --- Comment #7 from kargls at comcast dot net --- Bummer. Seems I lost my WIP on this bug. 'import, none' would be handy for block host association in contained subprograms in my current development.

[Bug c++/115192] [14/15 regression] -O3 miscompilation on x86-64 (loops with vectors and scalars) since r14-2117

2024-05-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115192 Jakub Jelinek changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org ---

[Bug tree-optimization/115138] [15 Regression] Bootstrap compare-debug fail after r15-580-gf3e5f4c58591f5

2024-05-22 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115138 --- Comment #18 from Iain Buclaw --- Reduction of opover.d ``` bool __setArrayAllocLength(size_t newLength) { import core.checkedint; bool overflow; addu(newLength, addu(0, 0, overflow), overflow); return

[Bug fortran/115107] f951: internal compiler error: Segmentation fault 0xcf878f crash_signal toplev.cc:314

2024-05-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115107 --- Comment #14 from anlauf at gcc dot gnu.org --- (In reply to Natalie Perlin from comment #9) > All rebuilt, gnu/14.1.0 with openmpi/4.1.6, revised configuration of the > software stack (spack-stack). Still the same error with >

[Bug c++/115190] -fmodule-mapper does not accept CRLF files

2024-05-22 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115190 Peter Damianov changed: What|Removed |Added CC||peter0x44 at disroot dot org ---

[Bug c++/115192] [14/15 regression] -O3 miscompilation on x86-64 (loops with vectors and scalars) since r14-2117

2024-05-22 Thread jukka.suomela at aalto dot fi via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115192 --- Comment #4 from Jukka Suomela --- Created attachment 58271 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58271=edit Another example, miscompiles with GCC 11 (-O3 -march=skylake) Here is a minor variant of the theme. This variant

[Bug c++/115190] -fmodule-mapper does not accept CRLF files

2024-05-22 Thread bugzilla.gcc at me dot benboeckel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115190 --- Comment #1 from Ben Boeckel --- My analysis points to the change needing to happen in 1module_resolver::read_tuple_file` in `c++tools/resolver.cc`.

[Bug rtl-optimization/115038] [14/15 regression] internal error in seh_cfa_offset with -O2 -fno-omit-frame-pointer

2024-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115038 --- Comment #10 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:f14ef5cfd4c1ba1d34afda9174935e40d3c0a3ce commit r15-776-gf14ef5cfd4c1ba1d34afda9174935e40d3c0a3ce Author: Eric Botcazou Date:

[Bug rtl-optimization/115038] [14/15 regression] internal error in seh_cfa_offset with -O2 -fno-omit-frame-pointer

2024-05-22 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115038 --- Comment #9 from Eric Botcazou --- > Eric, do you want to handle the final bootstrap+regression test? Or do you > want me to take it from here? I can do it right now.

[Bug tree-optimization/115138] [15 Regression] Bootstrap compare-debug fail after r15-580-gf3e5f4c58591f5

2024-05-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115138 --- Comment #17 from Iain Sandoe --- however, the opover.o mismatch is a symptom - rather than the cause. If all the objects for the D FE are built by D, then that would tend to point to miscompilation of something in common code (that is

[Bug c++/107500] [12 Regression] Useless atexit entry for ~constant_init in eh_globals.cc

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

[Bug tree-optimization/115138] [15 Regression] Bootstrap compare-debug fail after r15-580-gf3e5f4c58591f5

2024-05-22 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115138 --- Comment #16 from Iain Buclaw --- (In reply to Richard Biener from comment #15) > Note the opover.d compile doesn't even use -O3, so this is all extremely > odd. It would somehow point at a miscompile of the stage2 compiler by > the stage1

[Bug c++/115192] [14/15 regression] -O3 miscompilation on x86-64 (loops with vectors and scalars) since r14-2117

2024-05-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115192 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/115192] [14/15 regression] -O3 miscompilation on x86-64 (loops with vectors and scalars)

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115192 --- Comment #2 from Sam James --- Created attachment 58270 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58270=edit bisect-me.cxx I'll bisect with attached.

[Bug fortran/115107] f951: internal compiler error: Segmentation fault 0xcf878f crash_signal toplev.cc:314

2024-05-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115107 --- Comment #13 from Jakub Jelinek --- So provide fixes upstream and hope they apply them soon.

[Bug c++/57025] Solaris g++ defines __STDC_VERSION__=199901L

2024-05-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57025 --- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from Alan Coopersmith --- > While Solaris 11.3 support has been dropped from gcc now, Jonathan Perkins > from pkgsrc found that just removing the definition of

[Bug fortran/115107] f951: internal compiler error: Segmentation fault 0xcf878f crash_signal toplev.cc:314

2024-05-22 Thread natalie.perlin at noaa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115107 --- Comment #12 from Natalie Perlin --- Jakub Jelinek - thanks for your note. At this point we may not do anything during the build, as these packages are retrieved from official spack repository. And yes, they may often carry a lot of legacy

[Bug tree-optimization/115191] [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191 --- Comment #3 from Sam James --- ``` typedef void *SCM; void set_socket_io_ports(); void STk_socket_accept(SCM line_buffered) { if (!line_buffered) line_buffered = (SCM)3; set_socket_io_ports(line_buffered != 1); } ```

[Bug c++/57025] Solaris g++ defines __STDC_VERSION__=199901L

2024-05-22 Thread alan.coopersmith at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57025 Alan Coopersmith changed: What|Removed |Added CC||alan.coopersmith at oracle dot com

  1   2   >