[Bug libstdc++/67791] [10 Regression] Crash using std::thread and iostream with dynamic loading of a shared library

2023-08-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67791 --- Comment #17 from Jonathan Wakely --- GCC 9 hasn't changed, so it must be something in your Ubuntu environment or your code. I don't think the RTLD_xxx approach was ever robust, the libpthread.so library needs to be loaded before the first __

[Bug fortran/109684] compiling failure: complaining about a final subroutine of a type being not PURE (while it is indeed PURE)

2023-08-07 Thread neil.n.carlson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109684 --- Comment #9 from Neil Carlson --- Bug is still present in 13.2.0.

[Bug ipa/105990] Dead code elimination failed at -O3

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105990 --- Comment #4 from Andrew Pinski --- (In reply to Hongtao.liu from comment #1) > foo() also can be eliminated. This one is similar to PR 105832 really. ``` _2 = (int) a.2_1; _3 = 2 >> _2; if (_3 == 2) goto ; [34.00%] else goto

[Bug libstdc++/110862] format out of bounds read on format string "{0:{0}"

2023-08-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110862 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5d87f71bb462ccb78dd3d9d810ea08d96869cb4b commit r14-3066-g5d87f71bb462ccb78dd3d9d810ea08d96869cb4b Author: Jonathan Wakely Date:

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

2023-08-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110860 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:bb3ceeb6520c13fc5ca08af7d43fbd3f975e72b0 commit r14-3069-gbb3ceeb6520c13fc5ca08af7d43fbd3f975e72b0 Author: Jonathan Wakely Date:

[Bug libstdc++/110917] std::format_to(int*, ...) fails to compile because of _S_make_span

2023-08-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110917 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c5ea5aecac323e9094e4dc967f54090cb244bc6a commit r14-3068-gc5ea5aecac323e9094e4dc967f54090cb244bc6a Author: Jonathan Wakely Date:

[Bug c++/110938] New: miscompile if implicit special member is deleted in a subtle way

2023-08-07 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110938 Bug ID: 110938 Summary: miscompile if implicit special member is deleted in a subtle way Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/110938] miscompile if implicit special member is deleted and mutable

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110938 Andrew Pinski changed: What|Removed |Added Summary|miscompile if implicit |miscompile if implicit

[Bug c++/110938] [11/12/13/14 Regression] miscompile if implicit special member is deleted and mutable

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110938 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.5 Summary|miscompile if i

[Bug c++/110938] [11/12/13/14 Regression] miscompile if implicit special member is deleted and mutable

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110938 --- Comment #2 from Andrew Pinski --- Note 4.8.5 (and before), seems to have the wrong ABI for non-mutable case too.

[Bug fortran/109684] compiling failure: complaining about a final subroutine of a type being not PURE (while it is indeed PURE)

2023-08-07 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109684 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/109684] compiling failure: complaining about a final subroutine of a type being not PURE (while it is indeed PURE)

2023-08-07 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109684 --- Comment #11 from Steve Kargl --- On Mon, Aug 07, 2023 at 10:04:54PM +, kargl at gcc dot gnu.org wrote: > > Note final->attr.pure = 0 seems to contradict C1595 while constructing > the wrapper. I'm not too familiar with this portion of

[Bug c/108310] Some warnings that -Wtraditional-conversion causes to be emitted aren't actually controlled by it

2023-08-07 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108310 --- Comment #5 from Eric Gallager --- (In reply to Jonathan Wakely from comment #4) > void f(float); > > void g() > { > f(1.0); > } > > conv.c: In function ‘g’: > conv.c:5:5: warning: passing argument 1 of ‘f’ as ‘float’ rather than > ‘doubl

[Bug fortran/109684] compiling failure: complaining about a final subroutine of a type being not PURE (while it is indeed PURE)

2023-08-07 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109684 --- Comment #12 from Steve Kargl --- On Mon, Aug 07, 2023 at 10:04:54PM +, kargl at gcc dot gnu.org wrote: > > diff --git a/gcc/fortran/resolve.cc b/gcc/fortran/resolve.cc > index 3cd470ddcca..b0bb8bc1471 100644 > --- a/gcc/fortran/resolve.

[Bug c++/108179] [11/12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-08-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 --- Comment #12 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2c6e76ff039782401f705cacda60c11f8dfac3b1 commit r13-7692-g2c6e76ff039782401f705cacda60c11f8dfac3b1 Author: Patrick Palka

[Bug c++/110566] [13 Regression] ICE when instantiating function template with template template parameter with 2 or more auto parameters with a dependent member template, ICE in tsubst, at cp/pt.cc:1

2023-08-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110566 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2c6e76ff039782401f705cacda60c11f8dfac3b1 commit r13-7692-g2c6e76ff039782401f705cacda60c11f8dfac3b1 Author: Patrick Palka

[Bug c++/110197] [13 Regression] Empty constexpr object constructor erronously claims out of range access

2023-08-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110197 --- Comment #9 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:61d24d3f40638326b4a24baadeb25a88610d76d8 commit r13-7693-g61d24d3f40638326b4a24baadeb25a88610d76d8 Author: Patrick Palka

[Bug c++/109761] [11/12 Regression] Nested class destructor's noexcept specification incorrectly considered as too loose compared to the outer class

2023-08-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109761 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:ddf411e67cc15a80d635b512b812107985b361d4 commit r12-9804-gddf411e67cc15a80d635b512b812107985b361d4 Author: Patrick Palka

[Bug modula2/110779] SysClock can not read the clock

2023-08-07 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110779 --- Comment #8 from Gaius Mulley --- Created attachment 55703 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55703&action=edit Proposed fix (addendum) Here is a patch which tests for all the functions and structs in wrapclock.cc.

[Bug middle-end/100798] a?~t:t and (-(!!a))^t don't produce the same assembly code

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100798 --- Comment #3 from Andrew Pinski --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2023-August/626580.html

[Bug tree-optimization/14483] More aggressive compare insn elimination

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14483 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|tree-optimization CC|

[Bug target/99908] SIMD: negating logical + if_else has a suboptimal codegen.

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99908 --- Comment #9 from Andrew Pinski --- Created attachment 55704 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55704&action=edit testcase

[Bug target/99908] SIMD: negating logical + if_else has a suboptimal codegen.

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99908 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/43529] G++ doesn't optimize away empty loop when index is a double

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43529 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/110912] False assumption that constructors cannot alias any of their parameters

2023-08-07 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110912 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #1 from Jian

[Bug bootstrap/110939] New: 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64

2023-08-07 Thread panchenghui at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110939 Bug ID: 110939 Summary: 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pri

[Bug rtl-optimization/110939] [14 Regression] 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110939 Andrew Pinski changed: What|Removed |Added Keywords||build, ice-on-valid-code Sum

[Bug c++/110927] GCC fails to parse dependent type in concept through partial specialization

2023-08-07 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110927 waffl3x changed: What|Removed |Added CC||waffl3x at protonmail dot com --- Comment #2

[Bug c++/109181] requires expression type requirement rejects valid type when it is a nested member template

2023-08-07 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109181 --- Comment #6 from waffl3x --- PR 110927 presents a similar use case that originally lead me to this bug, I also posted the workarounds that I had since discovered there. If anyone coming across this bug is looking for a solution you can find t

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

2023-08-07 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110940 Bug ID: 110940 Summary: ICE at -O3 on x86_64-linux-gnu: in apply_scale, at profile-count.h:1180 Product: gcc Version: unknown Status: UNCONFIRMED Severity: nor

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

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110940 Andrew Pinski changed: What|Removed |Added Summary|ICE at -O3 on |[14 Regression] ICE at -O3

[Bug middle-end/95014] gcc fails to merge two identical returns

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95014 --- Comment #3 from Andrew Pinski --- Note cross jumping on the RTL level is what is able to combine both basic blocks.

[Bug tree-optimization/82188] Missed optimization opportunity for constant folding

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82188 Andrew Pinski changed: What|Removed |Added Known to work||13.1.0 Target Milestone|---

[Bug middle-end/110869] [14 regression] ICE in decompose, at rtl.h:2297

2023-08-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110869 --- Comment #19 from CVS Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:f3a8dde08b420dbe9cacbc1a1febaaf77357f4d4 commit r14-3074-gf3a8dde08b420dbe9cacbc1a1febaaf77357f4d4 Author: Stefan Sc

<    1   2