[Bug tree-optimization/109639] [14 regression] Internal compiler error: tree check: expected integer_cst, have addr_expr in to_wide, at tree.h:6283 since r14-249-g3c9372dfee0bb8

2023-04-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109639 Sam James changed: What|Removed |Added Summary|[14 regression] Internal|[14 regression] Internal

[Bug tree-optimization/109639] [14 regression] Internal compiler error: tree check: expected integer_cst, have addr_expr in to_wide, at tree.h:6283

2023-04-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109639 --- Comment #6 from Sam James --- Created attachment 54933 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54933=edit sam-reduced-clean.i

[Bug tree-optimization/109639] [14 regression] Internal compiler error: tree check: expected integer_cst, have addr_expr in to_wide, at tree.h:6283

2023-04-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109639 --- Comment #5 from Sam James --- Created attachment 54932 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54932=edit sam-reduced.i

[Bug tree-optimization/109639] [14 regression] Internal compiler error: tree check: expected integer_cst, have addr_expr in to_wide, at tree.h:6283

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109639 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection, |

[Bug tree-optimization/109639] [14 regression] Internal compiler error: tree check: expected integer_cst, have addr_expr in to_wide, at tree.h:6283

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109639 --- Comment #4 from Andrew Pinski --- Created attachment 54931 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54931=edit One version of the reduced testcase I am not a fan of this reduced testcase so I am trying again.

[Bug tree-optimization/109639] [14 regression] Internal compiler error: tree check: expected integer_cst, have addr_expr in to_wide, at tree.h:6283

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109639 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/109639] [14 regression] Internal compiler error: tree check: expected integer_cst, have addr_expr in to_wide, at tree.h:6283

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109639 Andrew Pinski changed: What|Removed |Added Host|aarch64-unknown-linux-gnu | Keywords|

[Bug tree-optimization/109639] [14 regression] Internal compiler error: tree check: expected integer_cst, have addr_expr in to_wide, at tree.h:6283

2023-04-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109639 --- Comment #2 from Sam James --- (In reply to Sam James from comment #1) > (In reply to Sam James from comment #0) > > gcc (Gentoo 14.0.0. p, commit 7546d8be5a8ae93e81535644c2578807db276ab6) > > 14.0.0 2023042

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 Andrew Pinski changed: What|Removed |Added Attachment #54821|0 |1 is obsolete|

[Bug c/109412] [13/14 Regression] ICE in fold_convert_loc, at fold-const.cc:2627 since r13-2205-g14cfa01755a66a

2023-04-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109412 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org

[Bug c++/61445] [4.10 Regression][C++11] ice in instantiate_decl at cp/pt.c:19770

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61445 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:95d4c0d2e6318aef88ba0bc607dfc1ec6b7a612f commit r14-283-g95d4c0d2e6318aef88ba0bc607dfc1ec6b7a612f Author: Jason Merrill Date: Thu

[Bug fortran/109641] New: Gfortran fails to overload intrinsic operator (*) if operands are complex. It works with real ones.

2023-04-26 Thread adelson.oliveira at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109641 Bug ID: 109641 Summary: Gfortran fails to overload intrinsic operator (*) if operands are complex. It works with real ones. Product: gcc Version: og10 (devel/omp/gcc-10)

[Bug target/109610] [14 regression] gcc.target/powerpc/dform-3.c fails after r14-172-g0368d169492017

2023-04-26 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109610 --- Comment #7 from Hongtao.liu --- (In reply to rsand...@gcc.gnu.org from comment #6) > Please don't do the peephole thing! This seems like a > target-independent problem. > > The costs for r117 look odd. Why is the cost of GENERAL_REGS so

[Bug tree-optimization/109639] [14 regression] Internal compiler error: tree check: expected integer_cst, have addr_expr in to_wide, at tree.h:6283

2023-04-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109639 --- Comment #1 from Sam James --- (In reply to Sam James from comment #0) > gcc (Gentoo 14.0.0. p, commit 7546d8be5a8ae93e81535644c2578807db276ab6) > 14.0.0 20230426 (experimental) This commit is wrong (recorded incorrectly). I'm ch

[Bug c++/109640] Spurious Wdangling-reference for argument to temporary lambda cast to rvalue reference

2023-04-26 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109640 --- Comment #2 from Ed Catmur --- Ah, so this is Bug 108165? That's a shame, we use (temporary) lambdas extensively so I think we'd have to disable the warning entirely.

[Bug c++/109640] Spurious Wdangling-reference for argument to temporary lambda cast to rvalue reference

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109640 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Andrew

[Bug c++/109640] New: Spurious Wdangling-reference for argument to temporary lambda cast to rvalue reference

2023-04-26 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109640 Bug ID: 109640 Summary: Spurious Wdangling-reference for argument to temporary lambda cast to rvalue reference Product: gcc Version: 13.1.0 Status: UNCONFIRMED

[Bug tree-optimization/109639] New: [14 regression] Internal compiler error: tree check: expected integer_cst, have addr_expr in to_wide, at tree.h:6283

2023-04-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
4.0.0./gcc/tree.h:3728 0x83cf9b tree_int_cst_elt_check(tree_node const*, int, char const*, int, char const*) /usr/src/debug/sys-devel/gcc-14.0.0./gcc-14.0.0./gcc/tree.h:6285 [...] ``` ``` gcc (Gentoo 14.0.0. p, commit 7546d8be5a8ae93e81535644c2578807db276ab6) 14.0.0 20230426 (experimenta

[Bug target/109636] [14 Regression] ICE: in paradoxical_subreg_p, at rtl.h:3205 with -O -mcpu=a64fx

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109636 --- Comment #3 from Andrew Pinski --- Oh simplify_gen_subreg should not be used I think. Rather gen_lowpart should be used instead. Especially when it comes to big endian.

[Bug target/109636] [14 Regression] ICE: in paradoxical_subreg_p, at rtl.h:3205 with -O -mcpu=a64fx

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

[Bug libstdc++/106376] [LWG3545] The implementation of std::pointer_traits seems wrong

2023-04-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106376 Jonathan Wakely changed: What|Removed |Added Resolution|--- |WORKSFORME

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

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109241 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d60cbbfaa9a3ad3bd1f613be95add939c16fc9a1 commit r14-278-gd60cbbfaa9a3ad3bd1f613be95add939c16fc9a1 Author: Jason Merrill Date:

[Bug c++/69836] compilation error with constexpr in template types with redeclared methods

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69836 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:1e27e7e0985e055b3d4ec92e93976b709fdbe425 commit r14-277-g1e27e7e0985e055b3d4ec92e93976b709fdbe425 Author: Jason Merrill Date: Wed

[Bug tree-optimization/109638] unsigned > 1 ? 0 : n is not optimized to n == 1

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109638 --- Comment #1 from Andrew Pinski --- This should do it, I think: (simplify (cond (lt @1 integer_onep@2) integer_zerop @1) (if (TYPE_UNSIGNED (type)) (convert (eq @1 @2

[Bug tree-optimization/109638] New: unsigned > 1 ? 0 : n is not optimized to n == 1

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109638 Bug ID: 109638 Summary: unsigned > 1 ? 0 : n is not optimized to n == 1 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimization Severity:

[Bug c++/109625] [14 regression] 'error: use of built-in trait ‘__type_pack_element’ in function signature; use library traits instead' when building folly

2023-04-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109625 Sam James changed: What|Removed |Added Resolution|--- |MOVED Status|UNCONFIRMED

[Bug tree-optimization/108697] constructing a path-range-query is expensive

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108697 --- Comment #7 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:0a38f677463ff8a4fb61b049263aa596ef6471a7 commit r14-275-g0a38f677463ff8a4fb61b049263aa596ef6471a7 Author: Andrew MacLeod Date:

[Bug tree-optimization/109417] [13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault since r13-6945

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109417 --- Comment #5 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:40c7f943e882e8c5eccf45fc28146559f446764d commit r14-271-g40c7f943e882e8c5eccf45fc28146559f446764d Author: Andrew MacLeod Date:

[Bug tree-optimization/109637] unnecessary range check in complete switch on bitfield

2023-04-26 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109637 --- Comment #5 from Andrew Macleod --- Perhaps switch conv just needs to look at it...

[Bug target/109636] [14 Regression] ICE: in paradoxical_subreg_p, at rtl.h:3205 with -O -mcpu=a64fx

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109636 Andrew Pinski changed: What|Removed |Added Known to work|13.0|

[Bug tree-optimization/109637] unnecessary range check in complete switch on bitfield

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109637 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Macleod from comment #3) > we know the range of _2 is [0, 3].. wonder why we don't know that about > _1... having a look I assume the range of _1 is [-INF, +INF] (aka [0, 3] aka

[Bug tree-optimization/109637] unnecessary range check in complete switch on bitfield

2023-04-26 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109637 --- Comment #3 from Andrew Macleod --- Just to add: 040.evrp: _2 : [irange] int [0, 3] NONZERO 0x3 _3 : [irange] int [0, 3] NONZERO 0x3 : _1 = s_5(D)->x; _2 = (int) _1; switch (_1) [INV], case 1: [INV], case 2: [INV], case 3:

[Bug tree-optimization/109637] unnecessary range check in complete switch on bitfield

2023-04-26 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109637 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com ---

[Bug tree-optimization/109637] unnecessary range check in complete switch on bitfield

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

[Bug middle-end/109637] unnecessary range check in complete switch on bitfield

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109637 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug middle-end/109637] New: unnecessary range check in complete switch on bitfield

2023-04-26 Thread mattiase at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109637 Bug ID: 109637 Summary: unnecessary range check in complete switch on bitfield Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

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

2023-04-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 Xi Ruoyao changed: What|Removed |Added CC||bremende55 at gmail dot com --- Comment

[Bug c++/109633] segfault using cout after set with simple prog from cppreference.com

2023-04-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109633 Xi Ruoyao changed: What|Removed |Added Resolution|INVALID |DUPLICATE CC|

[Bug target/109636] New: [14 Regression] ICE: in paradoxical_subreg_p, at rtl.h:3205 with -O -mcpu=a64fx

2023-04-26 Thread zsojka at seznam dot cz via Gcc-bugs
n/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-268-20230426091040-ge02f68df385-checking-yes-rtl-df-extra-aarch64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20230426 (experimental) (GCC)

[Bug c++/109633] segfault using cout after set with simple prog from cppreference.com

2023-04-26 Thread bremende55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109633 --- Comment #4 from Jo --- good idea, thank you

[Bug c++/109633] segfault using cout after set with simple prog from cppreference.com

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109633 --- Comment #3 from Andrew Pinski --- Since I see this as going to be a FAQ soon, I submitted a patch to add a note to the begining of changes page for GCC 13: https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616806.html

[Bug target/104338] RISC-V: Subword atomics result in library calls

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338 --- Comment #15 from CVS Commits --- The master branch has been updated by Patrick O'Neill : https://gcc.gnu.org/g:f797260adaf52bee0ec0e16190bbefbe1bfc3692 commit r14-269-gf797260adaf52bee0ec0e16190bbefbe1bfc3692 Author: Patrick O'Neill

[Bug ipa/107769] [12 Regression] -flto with -Os/-O2/-O3 emitted code with gcc 12.x segfaults via mutated global in .rodata since r12-2887-ga6da2cddcf0e959d

2023-04-26 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107769 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ipa/109318] [12 Regression] csmith: -fipa-cp seems to cause trouble since r12-2523-g13586172d0b70c

2023-04-26 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109318 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ipa/107769] [12 Regression] -flto with -Os/-O2/-O3 emitted code with gcc 12.x segfaults via mutated global in .rodata since r12-2887-ga6da2cddcf0e959d

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107769 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:bea3885200c549419567ad3a43ac71642619ad1a commit r12-9476-gbea3885200c549419567ad3a43ac71642619ad1a Author: Martin Jambor

[Bug ipa/109318] [12 Regression] csmith: -fipa-cp seems to cause trouble since r12-2523-g13586172d0b70c

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109318 --- Comment #13 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:bea3885200c549419567ad3a43ac71642619ad1a commit r12-9476-gbea3885200c549419567ad3a43ac71642619ad1a Author: Martin Jambor

[Bug libgomp/109634] Linking Imagick for PHP compiles fine but gives segfault caused by libgomp on runtime

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109634 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc/2015-February/216464.html

[Bug analyzer/109635] New: -Wanalyzer-use-of-uninitialized-value false alarm involving adding 8 to index

2023-04-26 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109635 Bug ID: 109635 Summary: -Wanalyzer-use-of-uninitialized-value false alarm involving adding 8 to index Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug ada/108801] ICE, task’s secondary_stack_size from parent discriminant

2023-04-26 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108801 --- Comment #3 from simon at pushface dot org --- Fixed in GCC 13.1.0.

[Bug libgomp/109634] Linking Imagick for PHP compiles fine but gives segfault caused by libgomp on runtime

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109634 --- Comment #2 from Andrew Pinski --- Could be a glibc issue too.

[Bug target/109632] Inefficient codegen when complex numbers are emulated with structs

2023-04-26 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109632 --- Comment #3 from Tamar Christina --- note that even if we can't stop SLP, we should be able to generate as efficient code by being creative about the instruction selection, that's why I marked it as a target bug :)

[Bug libgomp/109634] Linking Imagick for PHP compiles fine but gives segfault caused by libgomp on runtime

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109634 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/Imagick/

[Bug libgomp/109634] New: Linking Imagick for PHP compiles fine but gives segfault caused by libgomp on runtime

2023-04-26 Thread gcc_bugzilla at murphyslantech dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109634 Bug ID: 109634 Summary: Linking Imagick for PHP compiles fine but gives segfault caused by libgomp on runtime Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/105788] ICE: trying to capture 'args#0' in instantiation of generic lambda

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

[Bug sanitizer/109533] Build failure with upcoming musl release, needs libsanitizer backport (sanitizer_platform_limits_posix.cpp:182:31: error: invalid application of 'sizeof' to incomplete type '__s

2023-04-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109533 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/109632] Inefficient codegen when complex numbers are emulated with structs

2023-04-26 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109632 --- Comment #2 from Tamar Christina --- (In reply to Richard Biener from comment #1) > Well, the usual unknown ABI boundary at function entry/exit. Yes but LLVM gets it right, so should be a solve able computer science problem. :) Note that

[Bug c++/109633] segfault using cout after set with simple prog from cppreference.com

2023-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109633 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/109633] segfault using cout after set with simple prog from cppreference.com

2023-04-26 Thread bremende55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109633 Jo changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/109533] Build failure with upcoming musl release, needs libsanitizer backport (sanitizer_platform_limits_posix.cpp:182:31: error: invalid application of 'sizeof' to incomplete type '__s

2023-04-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109533 --- Comment #1 from Sam James --- Pretty sure this is fixed by r14-263-gd53b3d94aaf211.

[Bug target/109610] [14 regression] gcc.target/powerpc/dform-3.c fails after r14-172-g0368d169492017

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

[Bug target/109632] Inefficient codegen when complex numbers are emulated with structs

2023-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109632 --- Comment #1 from Richard Biener --- Well, the usual unknown ABI boundary at function entry/exit.

[Bug c++/109633] segfault using cout after set with simple prog from cppreference.com

2023-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109633 --- Comment #1 from Richard Biener --- You have to use the GCC 13 runtime libraries - you likely run into a system with older libstdc++? Probably a duplicate of PR108969.

[Bug c++/109633] New: segfault using cout after set with simple prog from cppreference.com

2023-04-26 Thread bremende55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109633 Bug ID: 109633 Summary: segfault using cout after set with simple prog from cppreference.com Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/97553] [missed optimization] constexprness not noticed when UBsan enabled

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

[Bug ipa/109607] IPA replaces stmt with invalid gimple

2023-04-26 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109607 --- Comment #3 from Martin Jambor --- (In reply to Richard Biener from comment #0) > On cfghooks.cc we replace > > BIT_FIELD_REF <*this_8(D), 8, 56> > An alternative (perhaps for the release branches) would be to avoid SRA if the parameter

[Bug target/109632] New: Inefficient codegen when complex numbers are emulated with structs

2023-04-26 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109632 Bug ID: 109632 Summary: Inefficient codegen when complex numbers are emulated with structs Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug c++/88804] incorrect unused but set static variable in templated lambda

2023-04-26 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88804 fiesh at zefix dot tv changed: What|Removed |Added CC||fiesh at zefix dot tv ---

[Bug ipa/109607] IPA replaces stmt with invalid gimple

2023-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109607 --- Comment #2 from Richard Biener --- (In reply to Richard Biener from comment #1) > #0 ipa_param_body_adjustments::modify_expression (this=0x4b1f040, > expr_p=0x737222b8, convert=true) > at

[Bug target/109566] [12 Regression] powerpc: unrecognizable insn for -mcpu=e6500, -mcpu=power3, ..., -mcpu=power10

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

[Bug target/109566] [12 Regression] powerpc: unrecognizable insn for -mcpu=e6500, -mcpu=power3, ..., -mcpu=power10

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109566 --- Comment #20 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2e5e72488b108e5d75049179ef91a093e5fedc49 commit r12-9475-g2e5e72488b108e5d75049179ef91a093e5fedc49 Author: Jakub Jelinek

[Bug middle-end/109609] [12/13 Regression] tail call for function even when passing a ptr which references a local array still

2023-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109609 Richard Biener changed: What|Removed |Added Known to fail||12.2.0, 13.1.0 Known to work|

[Bug middle-end/109609] [12/13 Regression] tail call for function even when passing a ptr which references a local array still

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109609 --- Comment #19 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:2c7e89510fe41265b285e886d19f9895adf545e8 commit r12-9474-g2c7e89510fe41265b285e886d19f9895adf545e8 Author: Richard

[Bug rtl-optimization/109585] [10/11/12/13 regression] Carla/sord miscompiled with -O2 on ARM64 with flexible array member

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585 --- Comment #26 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ef6051b36241bf130bf76af0b775248635dc616e commit r12-9473-gef6051b36241bf130bf76af0b775248635dc616e Author: Richard

[Bug tree-optimization/109573] [11/12/13 regression] ICE in vectorizable_live_operation, at tree-vect-loop.cc:9060 with -march=ivybridge since r11-3025-g095d42feed09f8

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109573 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c7de861c609573b1f219fcdf6c683612c987621f commit r12-9472-gc7de861c609573b1f219fcdf6c683612c987621f Author: Richard

[Bug tree-optimization/109154] [13/14 regression] jump threading de-optimizes nested floating point comparisons

2023-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 --- Comment #58 from Jakub Jelinek --- As a different testcase showing what still needs to be done is e.g. void foo (int *p, int *q, int *r, int *s, int *t, int *u) { #pragma omp simd for (int i = 0; i < 1024; i++) { int vp =

[Bug middle-end/109631] Simple std::optional types returned on stack, not registers

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109631 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |middle-end Keywords|ABI

[Bug middle-end/101326] std::optional returns forced through stack

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101326 Andrew Pinski changed: What|Removed |Added CC||david at westcontrol dot com ---

[Bug libstdc++/109631] Simple std::optional types returned on stack, not registers

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

[Bug libstdc++/109631] Simple std::optional types returned on stack, not registers

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

[Bug tree-optimization/109154] [13/14 regression] jump threading de-optimizes nested floating point comparisons

2023-04-26 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org

[Bug middle-end/109609] [12/13 Regression] tail call for function even when passing a ptr which references a local array still

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109609 --- Comment #18 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:df49e4602882eabe0642699fb71a70f6e120e263 commit r13-7252-gdf49e4602882eabe0642699fb71a70f6e120e263 Author: Richard

[Bug rtl-optimization/109585] [10/11/12/13 regression] Carla/sord miscompiled with -O2 on ARM64 with flexible array member

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585 --- Comment #25 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:bb406a6aea336966681927a27f54ee89c4fd4ea1 commit r13-7251-gbb406a6aea336966681927a27f54ee89c4fd4ea1 Author: Richard

[Bug tree-optimization/109573] [11/12/13 regression] ICE in vectorizable_live_operation, at tree-vect-loop.cc:9060 with -march=ivybridge since r11-3025-g095d42feed09f8

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109573 --- Comment #7 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:263d1ed0484fc81d3f93e39cdd2f9eb0ce4d3e88 commit r13-7250-g263d1ed0484fc81d3f93e39cdd2f9eb0ce4d3e88 Author: Richard

[Bug tree-optimization/109626] forwprop introduces new signed multiplication UB

2023-04-26 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109626 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment

[Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last

2023-04-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90857 Jonathan Wakely changed: What|Removed |Added Target Milestone|13.2|14.0

[Bug c++/109278] a note without a warning

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109278 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4aeefba6cd657010a395dd187f9136cd152aac95 commit r13-7247-g4aeefba6cd657010a395dd187f9136cd152aac95 Author: Jakub Jelinek

[Bug c++/109625] [14 regression] 'error: use of built-in trait ‘__type_pack_element’ in function signature; use library traits instead' when building folly

2023-04-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109625 --- Comment #5 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #3) > Folly should not use internal functions which is not designed for other than > libstdc++. The function wasn't designed for libstdc++, Clang had it first.

[Bug c++/109625] [14 regression] 'error: use of built-in trait ‘__type_pack_element’ in function signature; use library traits instead' when building folly

2023-04-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109625 --- Comment #4 from Jonathan Wakely --- (In reply to Arsen Arsenović from comment #1) > do we want to match what clang does here? No, this is an intentional choice.

[Bug libgomp/107041] [13/14 Regression] C '-Wenum-int-mismatch' diagnostic for OpenACC 'acc_on_device'

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

[Bug libgomp/107041] [13/14 Regression] C '-Wenum-int-mismatch' diagnostic for OpenACC 'acc_on_device'

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107041 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f8646b8dcb18721e776c39117f62aee7ee571f21 commit r13-7246-gf8646b8dcb18721e776c39117f62aee7ee571f21 Author: Jakub Jelinek

[Bug rtl-optimization/106518] Exchange/swap aware register allocation (generate xchg in reload)

2023-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106518 --- Comment #3 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:1f0bfbb26e532cef7347a91439008114fd88173a commit r14-245-g1f0bfbb26e532cef7347a91439008114fd88173a Author: Roger Sayle Date: Wed

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

2023-04-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100157 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/105991] [12 Regression] rldicl+sldi+add generated instead of rldimi

2023-04-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105991 Roger Sayle changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/99637] bit_cast doesn't work with padding bits and it should

2023-04-26 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99637 m.cencora at gmail dot com changed: What|Removed |Added CC||m.cencora at gmail dot com

[Bug libstdc++/109631] New: Simple std::optional types returned on stack, not registers

2023-04-26 Thread david at westcontrol dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109631 Bug ID: 109631 Summary: Simple std::optional types returned on stack, not registers Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/109247] [13/14 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 Richard Biener changed: What|Removed |Added Target Milestone|13.0|13.2 --- Comment #10 from Richard

[Bug tree-optimization/109213] [13/14 Regression] -Os generates significantly more code since r13-723

2023-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109213 Richard Biener changed: What|Removed |Added Target Milestone|13.0|13.2 --- Comment #9 from Richard

[Bug fortran/109622] [13/14 regression][OpenACC] internal compiler error: in omp_group_base, at gimplify.cc:9412 if -fopenacc is set.

2023-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109622 Richard Biener changed: What|Removed |Added Target Milestone|13.0|13.2 --- Comment #8 from Richard

[Bug target/109087] csmith: end of year runtime bug since r13-4839-geef81eefcdc2a581

2023-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109087 Richard Biener changed: What|Removed |Added Target Milestone|13.0|13.2 --- Comment #19 from Richard

[Bug ada/109472] [13/14 regression] False unread/unassigned warning for variable in local package since r13-1626-ga8d17a88a52d2f

2023-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109472 Richard Biener changed: What|Removed |Added Target Milestone|13.0|13.2 --- Comment #3 from Richard

  1   2   3   >