[Bug c++/111028] Incorrect optimization with -o1,-o2

2023-08-15 Thread zhaiqiming at baidu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111028 --- Comment #5 from zhaiqiming at baidu dot com --- (In reply to Patrick Palka from comment #4) thanks for your plan. Because my project need -o2 optimization, i use "#pragma GCC optimize("-O0")" to temporarily solve the problem with this

[Bug libfortran/111022] ES0.0E0 format gave ES0.dE0 output with d too high.

2023-08-15 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111022 --- Comment #4 from Jerry DeLisle --- The relative text in the standard is: 13.7.2.1 General rules --- snip --- (6) On output, with I, B, O, Z, D, E, EN, ES, EX, F, and G editing, the specified value of the field width w may be zero. In such

[Bug c++/111034] New: Precompiled headers still non-deterministic

2023-08-15 Thread skunk at iskunk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111034 Bug ID: 111034 Summary: Precompiled headers still non-deterministic Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libfortran/111022] ES0.0E0 format gave ES0.dE0 output with d too high.

2023-08-15 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111022 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug c++/109021] accept size parameter in extern C

2023-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109021 --- Comment #5 from Andrew Pinski --- (In reply to Martin Uecker from comment #4) > Sorry, how can an enhancement request that addresses a real C/C++ > compatibility problem be marked "resolved invalid" ? Because GCC does like these days to

[Bug libfortran/111022] ES0.0E0 format gave ES0.dE0 output with d too high.

2023-08-15 Thread john.harper at vuw dot ac.nz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111022 --- Comment #2 from john.harper at vuw dot ac.nz --- Further information on this bug: it affects all four real kinds with all three of E0.0E0, ES0.0E0 and EN0.0E0 formats. My 15-line test program for that is attached. I hope it helps. On

[Bug tree-optimization/111032] using small types inside loops sometimes confuses the vectorizer

2023-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111032 --- Comment #1 from Andrew Pinski --- One way of fixing this is to optimize the following for the scalar side: ``` _15 = _4 != 0; _16 = (short unsigned int) _15; _17 = _16 << 3; _6 = (int) _17; ``` into: ``` _t = (int) _15; _6 = _t

[Bug c++/111033] New: libcody build does not use AR_FLAGS

2023-08-15 Thread skunk at iskunk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111033 Bug ID: 111033 Summary: libcody build does not use AR_FLAGS Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/111032] New: using small types inside loops sometimes confuses the vectorizer

2023-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111032 Bug ID: 111032 Summary: using small types inside loops sometimes confuses the vectorizer Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/111015] [11/12/13/14 Regression] __int128 bitfields optimized incorrectly to the 64 bit operations

2023-08-15 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111015 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com ---

[Bug tree-optimization/106238] [12/13/14 regression] Inline optimization causes dangling pointer warning on "include/c++/12.1.0/bits/stl_tree.h"

2023-08-15 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 --- Comment #10 from Romain Geissler --- Hi, It seems the reproducers from comment #1 and #5 don't happen anymore with gcc 13 or trunk. So it seems fixed. Cheers, Romain

[Bug tree-optimization/111006] [SVE] Extra neg for storing to short from int comparison

2023-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111006 --- Comment #3 from Andrew Pinski --- Created attachment 55740 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55740=edit The patch which fixes the SVE part It took me longer to come up with this due to failures which I didn't know about

[Bug fortran/87326] [F18] Support the NEW_INDEX= specifier in the FORM TEAM statement

2023-08-15 Thread weeks at iastate dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87326 --- Comment #9 from Nathan Weeks --- (In reply to anlauf from comment #8) > (In reply to Nathan Weeks from comment #7) > > (In reply to anlauf from comment #6) > > > (In reply to Nathan Weeks from comment #5) > > > > (In reply to Brad Richardson

[Bug libstdc++/110801] std::format code runs slower than equivalent {fmt} code

2023-08-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110801 --- Comment #1 from Jonathan Wakely --- Created attachment 55739 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55739=edit Add special case for format("{}", integer) With this patch std::format is much closer to fmt::format: Benchmark

[Bug target/109815] AIX: Combining -static-libstdc++ and -pthread causes a TLS-related link error

2023-08-15 Thread John.Parke at alebra dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109815 --- Comment #4 from John Parke --- Thanks for taking a look at this. My AIX system is 7.1 TL 04 SP 05 (2017/20). We just dropped support for 6, but still have customers on 7.1. I'll have to see about updating this system to see if that

[Bug analyzer/109570] detect fclose on unopened or NULL files

2023-08-15 Thread glebfm at altlinux dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109570 Gleb Fotengauer-Malinovskiy changed: What|Removed |Added CC||glebfm at altlinux dot

[Bug fortran/78054] gfortran.dg/pr70673.f90 FAILs at -O0

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

[Bug libfortran/111022] ES0.0E0 format gave ES0.dE0 output with d too high.

2023-08-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111022 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-08-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 --- Comment #41 from anlauf at gcc dot gnu.org --- (In reply to Mikael Morin from comment #40) > Harald, I have just closed the followup PR110419. > I think this PR can be closed as well, or is there something left to be done? It is pretty much

[Bug target/106671] aarch64: BTI instruction are not inserted for cross-section direct calls

2023-08-15 Thread broonie at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 --- Comment #13 from Mark Brown --- The kernel hasn't got any problem with BTI as far as I am aware - when built with clang we run the kernel with BTI enabled since clang does just insert a BTI C at the start of every function, and GCC works

[Bug target/111029] bpf: GCC generates invalid instructions wN = (s8) rM

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111029 --- Comment #1 from CVS Commits --- The master branch has been updated by David Faust : https://gcc.gnu.org/g:489e1adf7792985b21195c740da7370f96b19640 commit r14-3227-g489e1adf7792985b21195c740da7370f96b19640 Author: David Faust Date: Tue

[Bug c++/99232] Exported variable in module gives error: 'lambda' was not declared in this scope

2023-08-15 Thread yagreg7 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99232 Gregory Dushkin changed: What|Removed |Added CC||yagreg7 at gmail dot com --- Comment

[Bug libstdc++/110860] std::format("{:f}",2e304) invokes undefined behaviour

2023-08-15 Thread gcc at pauldreik dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110860 --- Comment #19 from Paul Dreik --- Thanks Jonathan! I am happy to count myself as a gcc contributor now :-D Never mind the tiny git mistake, that will be forgotten once gcc 14 is out!

[Bug middle-end/111009] [12/13/14 regression] -fno-strict-overflow erroneously elides null pointer checks and causes SIGSEGV on perf from linux-6.4.10

2023-08-15 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111009 --- Comment #4 from Andrew Macleod --- (In reply to Richard Biener from comment #3) > bool > operator_addr_expr::fold_range (irange , tree type, > const irange , > const irange , >

[Bug c++/105644] ICE in a fold expression with a requires expression: in iterative_hash_template_arg, at cp/pt.cc:1805

2023-08-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105644 Patrick Palka changed: What|Removed |Added Keywords|needs-reduction | --- Comment #3 from Patrick Palka

[Bug c++/111031] ICE: internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1747

2023-08-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111031 Patrick Palka changed: What|Removed |Added Last reconfirmed||2023-08-15 Ever confirmed|0

[Bug target/109279] RISC-V: complex constants synthesized should be improved

2023-08-15 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #17 from Vineet Gupta --- (In reply to Vineet Gupta from comment #16) > > Which is what this produces: > > ``` > > long long f(void) > > { > > unsigned t = 16843009; > > long long t1 = t; > > long long t2 = ((unsigned long

[Bug target/110748] RISC-V: optimize store of DF 0.0

2023-08-15 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110748 --- Comment #16 from Vineet Gupta --- (In reply to Vineet Gupta from comment #15) > On the branch devel/vineetg/optim-double-const-m0 I have double -0.0 working. > > znd: > li a5,-1 > sllia5,a5,63 > sd

[Bug tree-optimization/110628] [14 regression] gcc.dg/tree-ssa/update-threading.c fails after r14-2383-g768f00e3e84123

2023-08-15 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110628 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

[Bug c++/111019] [12/13/14 Regression] Optimizer incorrectly assumes variable is not changed while change happens through another pointer

2023-08-15 Thread boskidialer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111019 --- Comment #4 from Sławomir Fraś --- Not sure if that hints at the possible cause, when i extracted `this` variable out of the loop to something like this (https://godbolt.org/z/8ebb5E1qG): Target* first = this; while (first->next)

[Bug c++/111031] New: ICE: internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1747

2023-08-15 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111031 Bug ID: 111031 Summary: ICE: internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1747 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c/111025] attribute((malloc)) and posix_memalign() (and other functions that return newly allocated object address into an output parameter)

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

[Bug ipa/103227] [12 Regression] 58% exchange2 regression with -Ofast -march=native on zen3 since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

2023-08-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103227 Bug 103227 depends on bug 92497, which changed state. Bug 92497 Summary: Aggregate IPA-CP and inlining do not play well together, transformation is lost https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92497 What|Removed

[Bug ipa/92497] Aggregate IPA-CP and inlining do not play well together, transformation is lost

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

[Bug ipa/68930] Aggregate replacements not applied to inline function bodies.

2023-08-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68930 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/92497] Aggregate IPA-CP and inlining do not play well together, transformation is lost

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92497 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:d073e2d75d9ed492de9a8dc6970e5b69fae20e5a commit r14-3226-gd073e2d75d9ed492de9a8dc6970e5b69fae20e5a Author: Martin Jambor Date:

[Bug ipa/68930] Aggregate replacements not applied to inline function bodies.

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68930 --- Comment #10 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:d073e2d75d9ed492de9a8dc6970e5b69fae20e5a commit r14-3226-gd073e2d75d9ed492de9a8dc6970e5b69fae20e5a Author: Martin Jambor Date:

[Bug target/111023] missing extendv4siv4hi (and friends)

2023-08-15 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111023 --- Comment #1 from Uroš Bizjak --- (In reply to Richard Biener from comment #0) > We could vectorize gcc.dg/vect/pr65947-7.c if we implement the > extendv4siv4hi pattern (sign-extend V4HI to V4SI). We can already do > vec_unpacks_lo via > >

[Bug fortran/110677] UBSAN error: load of value 1818451807, which is not a valid value for type 'expr_t' when compiling pr49213.f90

2023-08-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110677 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2023-08-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 110677, which changed state. Bug 110677 Summary: UBSAN error: load of value 1818451807, which is not a valid value for type 'expr_t' when compiling pr49213.f90 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110677

[Bug d/110959] gdc: internal compiler error: in layout_aggregate_type in recursive templated class

2023-08-15 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110959 ibuclaw at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug d/110959] gdc: internal compiler error: in layout_aggregate_type in recursive templated class

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110959 --- Comment #2 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:4acce4c4e53ae93ab8e7dad2ca9099e45559a541 commit r14-3225-g4acce4c4e53ae93ab8e7dad2ca9099e45559a541 Author: Iain Buclaw Date: Tue

[Bug fortran/110677] UBSAN error: load of value 1818451807, which is not a valid value for type 'expr_t' when compiling pr49213.f90

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110677 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:84e122c34834d9dea189c10fe0bf60c4d1a99fae commit r14-3224-g84e122c34834d9dea189c10fe0bf60c4d1a99fae Author: Martin Jambor Date:

[Bug d/110959] gdc: internal compiler error: in layout_aggregate_type in recursive templated class

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110959 --- Comment #1 from CVS Commits --- The releases/gcc-12 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:3cf5a511e253876279462b1de08cfd8f5f804242 commit r12-9817-g3cf5a511e253876279462b1de08cfd8f5f804242 Author: Iain Buclaw

[Bug c++/111028] Incorrect optimization with -o1,-o2

2023-08-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111028 --- Comment #4 from Patrick Palka --- Or simply just: diff --git a/111028.C b/111028.C index ed4106e..85f1c2a 100644 --- a/111028.C +++ b/111028.C @@ -15,7 +15,7 @@ class list_t public: list_t() { _head.next =

[Bug c++/111028] Incorrect optimization with -o1,-o2

2023-08-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111028 --- Comment #3 from Patrick Palka --- Converting _node_offset from a pointer into an integer offset seems to fix the testcase: diff --git a/111028.C b/111028.C index ed4106e..ef2b1be 100644 --- a/111028.C +++ b/111028.C @@ -15,7 +15,7 @@ class

[Bug c++/111028] Incorrect optimization with -o1,-o2

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

[Bug target/111020] RFE: RISC-V: ability to cherry-pick additional instructions

2023-08-15 Thread amylaar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111020 Jorn Wolfgang Rennecke changed: What|Removed |Added CC||amylaar at gcc dot gnu.org

[Bug target/109815] AIX: Combining -static-libstdc++ and -pthread causes a TLS-related link error

2023-08-15 Thread cameron.heide at betasystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109815 --- Comment #3 from C. Heide --- I finally got access to an AIX 7.2 system and the problem does not occur there with GCC 12.3, so it seems to be something specific to DWARF only being partially supported in AIX 7.1. The installation

[Bug tree-optimization/111030] New: tree-object-size: incorrect sub-object size for VLA

2023-08-15 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111030 Bug ID: 111030 Summary: tree-object-size: incorrect sub-object size for VLA Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/110989] RISC-V vector ICE due to invalid tree code in GIMPLE vect pass

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110989 --- Comment #5 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:0618adfa80fcd2fd7ae03b30553c60a6b1abf573 commit r14-3222-g0618adfa80fcd2fd7ae03b30553c60a6b1abf573 Author: Juzhe-Zhong Date: Sat Aug

[Bug c/111025] attribute((malloc)) and posix_memalign() (and other functions that return newly allocated object address into an output parameter)

2023-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111025 --- Comment #2 from Richard Biener --- Note GCC already handles this internally (posix_memalign, that is) as if a malloc attribute was possible and present.

[Bug c/111025] attribute((malloc)) and posix_memalign() (and other functions that return newly allocated object address into an output parameter)

2023-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111025 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/111028] Incorrect optimization with -o1,-o2

2023-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111028 Richard Biener changed: What|Removed |Added Keywords||wrong-code Known to work|

[Bug target/111029] New: bpf: GCC generates invalid instructions wN = (s8) rM

2023-08-15 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111029 Bug ID: 111029 Summary: bpf: GCC generates invalid instructions wN = (s8) rM Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug other/111027] Install error "tmp-header-vars: Permission denied", build on NFS, improvement possible

2023-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111027 Richard Biener changed: What|Removed |Added Keywords||build --- Comment #1 from Richard

[Bug c++/111019] [12/13/14 Regression] Optimizer incorrectly assumes variable is not changed while change happens through another pointer

2023-08-15 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111019 --- Comment #3 from rguenther at suse dot de --- On Tue, 15 Aug 2023, ppalka at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111019 > > Patrick Palka changed: > >What|Removed

[Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean and `make profile-bootstrap` ICEs during build during lsplit pass

2023-08-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110923 Jan Hubicka changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/110940] [14 Regression] ICE at -O3 on x86_64-linux-gnu: in apply_scale, at profile-count.h:1180

2023-08-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110940 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/106604] Fully-specified deduction guide in anonymous namespace warns as-if a function? Unsuppressably?

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

[Bug c++/109021] accept size parameter in extern C

2023-08-15 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109021 --- Comment #4 from Martin Uecker --- Sorry, how can an enhancement request that addresses a real C/C++ compatibility problem be marked "resolved invalid" ?

[Bug tree-optimization/110971] [14 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in operator/, at sreal.cc:261

2023-08-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110971 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2023-08-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 110988, which changed state. Bug 110988 Summary: [14 regression] ICE when building 523.xalancbmk_r with pgo and lto https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110988 What|Removed

[Bug tree-optimization/110988] [14 regression] ICE when building 523.xalancbmk_r with pgo and lto

2023-08-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110988 Jan Hubicka changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/111019] [12/13/14 Regression] Optimizer incorrectly assumes variable is not changed while change happens through another pointer

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

[Bug target/109068] bpf: "error: too many function arguments for eBPF" for always_inline function

2023-08-15 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109068 Jose E. Marchesi changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/111028] New: Incorrect optimization with -o1,-o2

2023-08-15 Thread zhaiqiming at baidu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111028 Bug ID: 111028 Summary: Incorrect optimization with -o1,-o2 Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/111026] Incorrect optimization with -o1,-o2

2023-08-15 Thread zhaiqiming at baidu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111026 zhaiqiming at baidu dot com changed: What|Removed |Added Resolution|--- |INVALID

[Bug c++/111026] Incorrect optimization with -o1,-o2

2023-08-15 Thread zhaiqiming at baidu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111026 --- Comment #3 from zhaiqiming at baidu dot com --- [head file] #include #include #include #include

[Bug c++/111026] Incorrect optimization with -o1,-o2

2023-08-15 Thread zhaiqiming at baidu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111026 --- Comment #2 from zhaiqiming at baidu dot com --- (In reply to zhaiqiming from comment #1) > == > > [summary] > > When I upgraded from gcc82 to gcc12, I found that linked_list_t::del > execution did not meet expectations. > Looking at

[Bug c++/111026] Incorrect optimization with -o2,-o

2023-08-15 Thread zhaiqiming at baidu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111026 --- Comment #1 from zhaiqiming at baidu dot com --- == [summary] When I upgraded from gcc82 to gcc12, I found that linked_list_t::del execution did not meet expectations. Looking at .s , i noticed that the assembly statements

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #17 from Hans-Peter Nilsson --- (In reply to Richard Biener from comment #12) > I think a "too broad" dependence isn't bad. The cris specific solution also > looks manageable, though I wonder what's special about x-protos.h,

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #16 from CVS Commits --- The master branch has been updated by Hans-Peter Nilsson : https://gcc.gnu.org/g:eef192b181b8777d708671e2541896e7e31293aa commit r14-3218-geef192b181b8777d708671e2541896e7e31293aa Author: Hans-Peter

[Bug other/111027] New: Install error "tmp-header-vars: Permission denied", build on NFS, improvement possible

2023-08-15 Thread etienne_lorrain at yahoo dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111027 Bug ID: 111027 Summary: Install error "tmp-header-vars: Permission denied", build on NFS, improvement possible Product: gcc Version: 13.2.0 Status: UNCONFIRMED

[Bug c++/111026] Incorrect optimization with -o2,-o

2023-08-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111026 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/111026] New: Incorrect optimization with -o2,-o

2023-08-15 Thread zhaiqiming at baidu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111026 Bug ID: 111026 Summary: Incorrect optimization with -o2,-o Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/106671] aarch64: BTI instruction are not inserted for cross-section direct calls

2023-08-15 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 --- Comment #12 from nsz at gcc dot gnu.org --- (In reply to Jiangning Liu from comment #11) > Hi Wilco, > > > "it means we will need a linker optimization to remove those redundant BTIs > > (eg. by changing them into NOPs)" > > It will be

[Bug c/111025] New: attribute((malloc)) and posix_memalign() (and other functions that return newly allocated object address into an output parameter)

2023-08-15 Thread yann at droneaud dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111025 Bug ID: 111025 Summary: attribute((malloc)) and posix_memalign() (and other functions that return newly allocated object address into an output parameter) Product: gcc

[Bug tree-optimization/110963] [14 Regression] Dead Code Elimination Regression since r14-2946-g46c8c225455

2023-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110963 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/110963] [14 Regression] Dead Code Elimination Regression since r14-2946-g46c8c225455

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110963 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4d6132e59327e809a4d4e39fb9465dbd43775b7c commit r14-3217-g4d6132e59327e809a4d4e39fb9465dbd43775b7c Author: Richard Biener Date:

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-08-15 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 --- Comment #40 from Mikael Morin --- Harald, I have just closed the followup PR110419. I think this PR can be closed as well, or is there something left to be done?

[Bug testsuite/110419] [14 regression] new test case gfortran.dg/value_9.f90 in r14-2050-gd130ae8499e0c6 fails

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

[Bug tree-optimization/110991] [14 Regression] Dead Code Elimination Regression at -O2 since r14-1135-gc53f51005de

2023-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110991 Richard Biener changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/110991] [14 Regression] Dead Code Elimination Regression at -O2 since r14-1135-gc53f51005de

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110991 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:bcdbedb3e6083ad01d844ed97cf19645c1ef6568 commit r14-3216-gbcdbedb3e6083ad01d844ed97cf19645c1ef6568 Author: Richard Biener Date:

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 Richard Biener changed: What|Removed |Added Keywords||build Target Milestone|---

[Bug c++/111019] [12/13/14 Regression] Optimizer incorrectly assumes variable is not changed while change happens through another pointer

2023-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111019 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.4 Ever confirmed|0

[Bug libgomp/111024] New: libgomp: FAILs with oldish libnuma/libmemkind

2023-08-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111024 Bug ID: 111024 Summary: libgomp: FAILs with oldish libnuma/libmemkind Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: openmp Severity: normal

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #15 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:ecb95399f43873e1f34119ac260bbea2ef358e53 commit r14-3215-gecb95399f43873e1f34119ac260bbea2ef358e53 Author: Kewen Lin Date: Tue Aug

[Bug target/111023] New: missing extendv4siv4hi (and friends)

2023-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111023 Bug ID: 111023 Summary: missing extendv4siv4hi (and friends) Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #14 from Kewen Lin --- (In reply to Kewen Lin from comment #13) > (In reply to Richard Biener from comment #12) > > I think a "too broad" dependence isn't bad. The cris specific solution also > > looks manageable, though I wonder

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #13 from Kewen Lin --- (In reply to Richard Biener from comment #12) > I think a "too broad" dependence isn't bad. The cris specific solution also > looks manageable, though I wonder what's special about x-protos.h, knowing > very

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #12 from Richard Biener --- I think a "too broad" dependence isn't bad. The cris specific solution also looks manageable, though I wonder what's special about x-protos.h, knowing very little of that area.