[Bug fortran/109500] SIGABRT when calling a function that returns an unallocated value

2023-04-19 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 --- Comment #18 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #17) > (In reply to Steve Kargl from comment #16) > > First, note, 'allocated(f())' throws an error. > > Agree. > > > Now, with the original code, > > > >

[Bug tree-optimization/109563] accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict]

2023-04-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109563 --- Comment #2 from Frank Heckenbach --- Since I can't easily upgrade to trunk, I need to know if the warning is bogus in 12.2 and I can safely disable it, or do I need to worry about the generated code?

[Bug tree-optimization/105651] [12 Regression] bogus "may overlap" memcpy warning with std::string and operator+ at -O3

2023-04-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651 Andrew Pinski changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment

[Bug tree-optimization/84774] [meta-bug] bogus/missing -Wrestrict

2023-04-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84774 Bug 84774 depends on bug 109563, which changed state. Bug 109563 Summary: accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict]

[Bug tree-optimization/109563] accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict]

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

[Bug c++/109563] New: accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict]

2023-04-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109563 Bug ID: 109563 Summary: accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict]

[Bug testsuite/106879] [13/14 regression] new test case gcc.dg/vect/bb-slp-layout-19.c fails

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106879 --- Comment #6 from CVS Commits --- The master branch has been updated by Jiu Fu Guo : https://gcc.gnu.org/g:57e7229a29ca0e9929b61051e4f5857f0b41b6c7 commit r14-105-g57e7229a29ca0e9929b61051e4f5857f0b41b6c7 Author: Jiufu Guo Date: Tue Apr

[Bug target/109562] Failed to build native GCC 12.2.0 on RISC-V64 linux machine

2023-04-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109562 --- Comment #1 from Andrew Pinski --- >/usr/include/stdio.h:189:24: error: expected ‘,’ or ‘;’ before ‘__attr_dealloc’ Hmm, --disable-multilib is not working

[Bug target/109562] New: Failed to build native GCC 12.2.0 on RISC-V64 linux machine

2023-04-19 Thread winterjasmine1 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109562 Bug ID: 109562 Summary: Failed to build native GCC 12.2.0 on RISC-V64 linux machine Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/109561] New: -Wmaybe-uninitialized false positive false positive false positive false positive false positive

2023-04-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109561 Bug ID: 109561 Summary: -Wmaybe-uninitialized false positive false positive false positive false positive false positive Product: gcc Version: 12.2.0 Status:

[Bug c++/108993] Value initialization does not occur for derived class , for gcc versions > 5

2023-04-19 Thread panigstein at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108993 panigstein at hotmail dot com changed: What|Removed |Added CC||panigstein at hotmail

[Bug testsuite/109560] new test case g++.dg/ext/int128-8.C from r14-88-ged32ec26697cc7 fails

2023-04-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109560 Andrew Pinski changed: What|Removed |Added Component|other |testsuite --- Comment #1 from Andrew

[Bug other/109560] New: new test case g++.dg/ext/int128-8.C from r14-88-ged32ec26697cc7 fails

2023-04-19 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109560 Bug ID: 109560 Summary: new test case g++.dg/ext/int128-8.C from r14-88-ged32ec26697cc7 fails Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/109500] SIGABRT when calling a function that returns an unallocated value

2023-04-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 --- Comment #17 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #16) > First, note, 'allocated(f())' throws an error. Agree. > Now, with the original code, > > is_allocated(f()) > > The function reference is

[Bug middle-end/109559] [12/13/14 Regression] Unexpected -Wmaybe-uninitialized warning when inlining with system header

2023-04-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109559 --- Comment #2 from Marek Polacek --- Originally this happened when including boost headers, function_template.hpp in particular, where newer versions suppress a lot of warnings: commit b75386f628b46f1060a20b6e015931bac37b7da7

[Bug middle-end/109559] [12/13/14 Regression] Unexpected -Wmaybe-uninitialized warning when inlining with system header

2023-04-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109559 Marek Polacek changed: What|Removed |Added Summary|Unexpected |[12/13/14 Regression]

[Bug middle-end/109559] New: Unexpected -Wmaybe-uninitialized warning when inlining with system header

2023-04-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109559 Bug ID: 109559 Summary: Unexpected -Wmaybe-uninitialized warning when inlining with system header Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug fortran/109500] SIGABRT when calling a function that returns an unallocated value

2023-04-19 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 --- Comment #16 from Steve Kargl --- On Wed, Apr 19, 2023 at 07:15:50PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 > > --- Comment #15 from anlauf at gcc dot gnu.org --- > (In reply to Steve

[Bug c++/100157] Support `__type_pack_element` like Clang

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100157 --- Comment #12 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:58b7dbf865b146a4e65dbda9be6df78f212c03b6 commit r14-92-g58b7dbf865b146a4e65dbda9be6df78f212c03b6 Author: Patrick Palka Date:

[Bug c++/58538] Injected class-name treated as type-name instead of template-name when used as a template-argument for a template template-parameter

2023-04-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58538 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug fortran/109500] SIGABRT when calling a function that returns an unallocated value

2023-04-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 --- Comment #15 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #13) > Note 1 in Fortran 2023, Sec. 8.5.3, p. 100, is non-normative > text. I suppose one can claim that gfortran should throw an > error when a function

[Bug fortran/109500] SIGABRT when calling a function that returns an unallocated value

2023-04-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/109500] SIGABRT when calling a function that returns an unallocated value

2023-04-19 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 --- Comment #13 from Steve Kargl --- On Wed, Apr 19, 2023 at 05:25:20PM +, leandro.lupori at linaro dot org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 > > I'm trying to check with the issue reporter how extensive is his

[Bug middle-end/109557] __builtin_dynamic_object_size() does not work for simple testing case

2023-04-19 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109557 --- Comment #7 from qinzhao at gcc dot gnu.org --- Okay, thanks for the comment. I see why this should not work.

[Bug c++/109551] Show location where implicit instantiation first required

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

[Bug fortran/109500] SIGABRT when calling a function that returns an unallocated value

2023-04-19 Thread leandro.lupori at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 --- Comment #12 from Leandro Lupori --- (In reply to anlauf from comment #11) > Do you have anybody else supporting the view that the code in question > should work as an extension? > I know there is some usage of this extension, in code

[Bug c++/109556] [13/14 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

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

[Bug c++/109556] [13/14 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:90361bc6f4edb444e86380b6d1e08475fa74 commit r13-7227-g90361bc6f4edb444e86380b6d1e08475fa74 Author: Patrick Palka

[Bug c++/109556] [13/14 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556 --- Comment #7 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:5e284ebbc3082c5a8974d24e3a0977aa48f3cc60 commit r14-91-g5e284ebbc3082c5a8974d24e3a0977aa48f3cc60 Author: Patrick Palka Date:

[Bug middle-end/109557] __builtin_dynamic_object_size() does not work for simple testing case

2023-04-19 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109557 Siddhesh Poyarekar changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/108099] [12/13/14 Regression] ICE with type alias with `signed __int128_t`

2023-04-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108099 Jason Merrill changed: What|Removed |Added Known to work|13.0| Summary|[12 Regression]

[Bug middle-end/109557] __builtin_dynamic_object_size() does not work for simple testing case

2023-04-19 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109557 --- Comment #5 from Martin Uecker --- (In reply to Siddhesh Poyarekar from comment #4) > (In reply to Martin Uecker from comment #3) > > I general the pointer could point to the first object of an array that has > > more elements, or to an

[Bug c++/108099] [12 Regression] ICE with type alias with `signed __int128_t`

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108099 --- Comment #22 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7b30f13b904f137c77e5180357af7917a3b47af0 commit r12-9447-g7b30f13b904f137c77e5180357af7917a3b47af0 Author: Jason Merrill

[Bug middle-end/109557] __builtin_dynamic_object_size() does not work for simple testing case

2023-04-19 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109557 --- Comment #4 from Siddhesh Poyarekar --- (In reply to Martin Uecker from comment #3) > I general the pointer could point to the first object of an array that has > more elements, or to an object of a different type. How so? p in comment 0

[Bug fortran/100297] FAIL: gfortran.dg/allocatable_function_1.f90 gfortran.dg/reshape_8.f90

2023-04-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100297 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug testsuite/83904] gfortran.dg allocatable_function_1 failures

2023-04-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83904 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/109557] __builtin_dynamic_object_size() does not work for simple testing case

2023-04-19 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109557 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #3

[Bug target/107479] bpf: add __builtin_btf_type_id

2023-04-19 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107479 Jose E. Marchesi changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/100297] FAIL: gfortran.dg/allocatable_function_1.f90 gfortran.dg/reshape_8.f90

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100297 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:6fc8e25cb6b5d720bedd85194b0ad740d75082f4 commit r14-90-g6fc8e25cb6b5d720bedd85194b0ad740d75082f4 Author: Harald Anlauf Date:

[Bug testsuite/83904] gfortran.dg allocatable_function_1 failures

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83904 --- Comment #2 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:6fc8e25cb6b5d720bedd85194b0ad740d75082f4 commit r14-90-g6fc8e25cb6b5d720bedd85194b0ad740d75082f4 Author: Harald Anlauf Date: Tue

[Bug target/107480] bpf: add __builtin_preserve_type_info

2023-04-19 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107480 Jose E. Marchesi changed: What|Removed |Added Last reconfirmed||2023-04-19

[Bug middle-end/109557] __builtin_dynamic_object_size() does not work for simple testing case

2023-04-19 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109557 --- Comment #2 from Siddhesh Poyarekar --- (In reply to qinzhao from comment #0) > I am wondering for > p.3_1 = p; > _2 = __builtin_object_size (p.3_1, 0); > > why the size of p.3_1 cannot use the TYPE_SIZE of the pointee of p when its > size

[Bug target/107481] bpf: add __builtin_preserve_enum_value

2023-04-19 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107481 Jose E. Marchesi changed: What|Removed |Added CC||jemarch at gcc dot gnu.org Last

[Bug c++/109556] [13/14 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

2023-04-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556 --- Comment #6 from Jakub Jelinek --- Indeed, the reduction got stuck at around 1.4M size and didn't reduce further until I've killed it.

[Bug middle-end/109557] __builtin_dynamic_object_size() does not work for simple testing case

2023-04-19 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109557 --- Comment #1 from Siddhesh Poyarekar --- The __bdos call itself cannot succeed in main() because it cannot see the allocation in store(). One way it could succeed is if store() was inlined, but for some reason it doesn't, even if you make

[Bug target/107844] error: argument is not a field access for __builtin_preserve_field_info

2023-04-19 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107844 Jose E. Marchesi changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds

2023-04-19 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 --- Comment #40 from qinzhao at gcc dot gnu.org --- I had an initial patch to support the element_count attribute and use this attribute in builtin_dynamic_object_size(), for the following testing case: 1 #include 2 #include 3 #ifdef

[Bug target/109558] bpf: support BTF and DWARF tag annotations for BPF

2023-04-19 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109558 Jose E. Marchesi changed: What|Removed |Added Last reconfirmed||2023-04-19

[Bug target/109558] New: bpf: support BTF and DWARF tag annotations for BPF

2023-04-19 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109558 Bug ID: 109558 Summary: bpf: support BTF and DWARF tag annotations for BPF Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/109557] New: __builtin_dynamic_object_size() does not work for simple testing case

2023-04-19 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109557 Bug ID: 109557 Summary: __builtin_dynamic_object_size() does not work for simple testing case Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c/109553] Atomic operations vs const locations

2023-04-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109553 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug c/109553] Atomic operations vs const locations

2023-04-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109553 --- Comment #4 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #3) > Note I disagree with load_uint32_t having a warning. the pointer might be > have a const qualifier on it does not mean the location is const overall. And the doc

[Bug c++/109556] [13/14 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

2023-04-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556 Patrick Palka changed: What|Removed |Added Keywords|needs-bisection,| |needs-reduction

[Bug c++/109556] [13/14 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

2023-04-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-04-19

[Bug c/109553] Atomic operations vs const locations

2023-04-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109553 --- Comment #3 from Andrew Pinski --- Note I disagree with load_uint32_t having a warning. the pointer might be have a const qualifier on it does not mean the location is const overall.

[Bug middle-end/109555] memcmp with string literals cause branchy code maybe could use branchless?

2023-04-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109555 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/66588] combine should try transforming if_then_else of zero_extends into zero_extend of if_then_else

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66588 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:04a9209dc865dafe3c9615f5c868aa3fd89b96cf commit r14-89-g04a9209dc865dafe3c9615f5c868aa3fd89b96cf Author: Andrew Pinski Date: Thu

[Bug target/109549] [14 Regression] cmov6.c test fail after commit r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2023-04-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 --- Comment #6 from Jeffrey A. Law --- And just an FYI, the tester is flagging conditional move failures for mips64-* rx-elf and s390-linux-gnu. Most likely these are additional cases where the hook is indicating the transformation isn't

[Bug c++/108099] [12 Regression] ICE with type alias with `signed __int128_t`

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108099 --- Comment #21 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ed32ec26697cc77492d094b31a0d2eebc0535644 commit r14-88-ged32ec26697cc77492d094b31a0d2eebc0535644 Author: Jason Merrill Date:

[Bug c++/109554] Compiler generates incorrect code when the function declared with returned parameterm but no 'return' in its body

2023-04-19 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109554 Andreas Schwab changed: What|Removed |Added Resolution|WONTFIX |INVALID

[Bug rtl-optimization/78952] Combine does not convert 8-bit sign-extract to a zero-extract for QImode operations

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78952 --- Comment #9 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:0df6d181230f0480547ed08b4e4354db68242724 commit r14-85-g0df6d181230f0480547ed08b4e4354db68242724 Author: Uros Bizjak Date: Wed Apr

[Bug target/78904] zero-extracts are not effective

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78904 --- Comment #15 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:0df6d181230f0480547ed08b4e4354db68242724 commit r14-85-g0df6d181230f0480547ed08b4e4354db68242724 Author: Uros Bizjak Date: Wed

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 --- Comment #24 from Jakub Jelinek --- You're right. libstdc++.so.6 would then initialize just the old symver copy and not the new one, which could be used by newer shared libraries. So that leaves the asm (".globl _Zwhatever"); in the header

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-19 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 --- Comment #23 from Florian Weimer --- (In reply to Jakub Jelinek from comment #20) > So, when the @@GLIBCXX_3.4.31 alias is weak, at least the F36 linker puts > into the binary not just one but both symbols and so the aliasing isn't > broken.

[Bug target/106342] [12/13/14 Regression] internal compiler error: in extract_insn, at recog.cc:2791 since r12-4240-g2b8453c401b699

2023-04-19 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106342 --- Comment #10 from Ilya Leoshkevich --- This bug was fixed and backported to gcc-12: commit 06254d97b8fa3a5d1c8b6b4e091d851700801385 Author: Ilya Leoshkevich Date: Fri Jul 29 16:14:10 2022 +0200 PR106342 - IBM zSystems: Provide vsel

[Bug c++/109554] Compiler generates incorrect code when the function declared with returned parameterm but no 'return' in its body

2023-04-19 Thread xvladsoft at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109554 Khokholkov Vladimir changed: What|Removed |Added Resolution|INVALID |WONTFIX --- Comment #3 from

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 --- Comment #22 from Jakub Jelinek --- extern int cinalias __attribute__((__symver__ ("_ZSt4cin@GLIBCXX_3.4"))); void foo () { cinalias++; } doesn't work to refer to older symver, but extern int cinalias; asm (".symver cinalias,

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 --- Comment #21 from Sam James --- The commits got reverted in r14-76-ga6e4b81b12e57b and r14-77-gfac24d43e68838 after marxin reported a segfault with mold in #gcc and fweimer reported an issue with cmake at

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c++/109556] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

2023-04-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c/109553] Atomic operations vs const locations

2023-04-19 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109553 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #2 from

[Bug c++/109556] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

2023-04-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556 --- Comment #3 from Jakub Jelinek --- Reproduced, reducing now.

[Bug target/109549] [14 Regression] cmov6.c test fail after commit r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2023-04-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/109549] [14 Regression] cmov6.c test fail after commit r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2023-04-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 --- Comment #4 from Jeffrey A. Law --- x86's tuning does have some support for avoiding multiple cmovs in a single if-converted sequence. I'll double check if that's kicking in here.

[Bug c++/109556] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

2023-04-19 Thread fabian.sauter+bz_gcc at apsensing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556 --- Comment #2 from Fabian Sauter --- Created attachment 54884 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54884=edit Preprocessed Source Ah, it failed to upload with: "The file you are trying to attach is 2505 kilobytes (KB) in

[Bug c++/109556] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

2023-04-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/109556] New: internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927

2023-04-19 Thread fabian.sauter+bz_gcc at apsensing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556 Bug ID: 109556 Summary: internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1927 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug middle-end/109555] suboptimal code for comparing strings with string literals

2023-04-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109555 --- Comment #3 from Andrew Pinski --- (In reply to niXman from comment #2) > (In reply to Andrew Pinski from comment #1) > > Note branchless might be worse. > > really? > could you explain please? Yes cache misses. That is the second load

[Bug middle-end/109555] suboptimal code for comparing strings with string literals

2023-04-19 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109555 --- Comment #2 from niXman --- (In reply to Andrew Pinski from comment #1) > Note branchless might be worse. really? could you explain please? > Anyways there is a duplicate of this bug > already. I think I filed it. thank you!

[Bug middle-end/109555] suboptimal code for comparing strings with string literals

2023-04-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109555 --- Comment #1 from Andrew Pinski --- Note branchless might be worse. Anyways there is a duplicate of this bug already. I think I filed it.

[Bug middle-end/109555] New: suboptimal code for comparing strings with string literals

2023-04-19 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109555 Bug ID: 109555 Summary: suboptimal code for comparing strings with string literals Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/109548] Detect c_str() dangling problems

2023-04-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109548 --- Comment #3 from Jonathan Wakely --- (In reply to Richard Biener from comment #2) > Btw, is there an API to std::move the (possibly) allocated string out of > the std::string and make it available as C string pointer? No, ownership always

[Bug c/109553] Atomic operations vs const locations

2023-04-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109553 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #1

[Bug c++/109554] Compiler generates incorrect code when the function declared with returned parameterm but no 'return' in its body

2023-04-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109554 --- Comment #2 from Xi Ruoyao --- And it's clearly documented in https://gcc.gnu.org/gcc-8/changes.html: Flowing off the end of a non-void function is considered unreachable and may be subject to optimization on that basis. As a result of this

[Bug tree-optimization/44794] pre- and post-loops should not be unrolled.

2023-04-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44794 Richard Biener changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c/109554] Compiler generates incorrect code when the function declared with returned parameterm but no 'return' in its body

2023-04-19 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109554 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/44794] pre- and post-loops should not be unrolled.

2023-04-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44794 --- Comment #7 from Richard Biener --- Heuristic to not unroll loops with prefetches is missing. The aprefetch pass could set ->unroll to 1 in the loop structure.

[Bug tree-optimization/44794] pre- and post-loops should not be unrolled.

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44794 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a243ce2a52a6c62bc0d6be0b756a85dd9c1bceb7 commit r14-71-ga243ce2a52a6c62bc0d6be0b756a85dd9c1bceb7 Author: Richard Biener Date:

[Bug c/109554] New: Compiler generates incorrect code when the function declared with returned parameterm but no 'return' in its body

2023-04-19 Thread xvladsoft at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109554 Bug ID: 109554 Summary: Compiler generates incorrect code when the function declared with returned parameterm but no 'return' in its body Product: gcc Version:

[Bug c/109553] New: Atomic operations vs const locations

2023-04-19 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109553 Bug ID: 109553 Summary: Atomic operations vs const locations Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3

[Bug middle-end/109552] New: ICE with "cancel" directive in "taskloop" construct

2023-04-19 Thread frederik at gcc dot gnu.org via Gcc-bugs
--enable-languages=fortran,c,c++ --enable-checking=all --disable-multilib --disable-bootstrap" and the version is "gcc version 14.0.0 20230419 (experimental) (GCC)".

[Bug target/109465] LoongArch: The expansion of memcpy is slow and bloated for some sizes

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

[Bug target/109465] LoongArch: The expansion of memcpy is slow and bloated for some sizes

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109465 --- Comment #2 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:6d7e0bcfa49e4ddc84dabe520bba8a023bc52692 commit r14-70-g6d7e0bcfa49e4ddc84dabe520bba8a023bc52692 Author: Xi Ruoyao Date: Wed Apr 12

[Bug c++/109548] Detect c_str() dangling problems

2023-04-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109548 Richard Biener changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug fortran/100815] [10/11 Regression] Segfault assigning to scalar allocatable polymorphic LHS since r11-6253-gce8dcc9105cbd404

2023-04-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100815 Martin Liška changed: What|Removed |Added Summary|[10/11/12/13/14 Regression] |[10/11 Regression] Segfault

[Bug debug/109237] csmith: another timeout with -g -O3 this time since r12-156-g8d4c374c4419a875

2023-04-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109237 --- Comment #15 from Richard Biener --- Spread pretty evenly now. Everything >= 5% tree CFG cleanup : 5.25 ( 8%) 0.00 ( 0%) 5.27 ( 7%) 89k ( 0%) expand : 3.22 ( 5%) 0.18 ( 2%)

[Bug fortran/103366] [10/11/12/13/14 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

2023-04-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103366 Paul Thomas changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/109011] missed optimization in presence of __builtin_ctz

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109011 --- Comment #20 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ade0a1ee5c6707b950ba284adcfed0514866c12d commit r14-65-gade0a1ee5c6707b950ba284adcfed0514866c12d Author: Jakub Jelinek Date:

[Bug target/109040] [13 Regression] wrong code with v16hi compare & mask on riscv64 at -O2 since r13-4907-g2e886eef7f2b5a

2023-04-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109040 --- Comment #10 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:76f44fbfea1f11e53d4b7e83f0debd029c94a1b3 commit r14-64-g76f44fbfea1f11e53d4b7e83f0debd029c94a1b3 Author: Jakub Jelinek Date:

[Bug fortran/100815] [10/11/12/13/14 Regression] Segfault assigning to scalar allocatable polymorphic LHS since r11-6253-gce8dcc9105cbd404

2023-04-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100815 --- Comment #4 from Paul Thomas --- Hi Martin, This is fixed in 12-branch onwards. I have not been able to find the fix - could you find it, please? I tried comparing the diff in comment #2 with the current head but the differences in the

  1   2   >