[Bug c++/64961] nested template implementation crossing namespace fails with access error

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

[Bug c++/67012] decltype(auto) with trailing return type

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67012 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0

[Bug c++/51501] [DR 1433] decltype over-agressive SFINAE

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51501 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |NEW Known to fail|

[Bug c++/60625] attributes on template member function definition inside class definition not supported

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60625 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-10 Ever confirmed|0

[Bug c++/48518] Inconsistent instantiation behavior depending on operator overloading

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48518 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID See Also|

[Bug c++/42355] Segmentation fault

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42355 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2010-01-04 19:39:44 |2021-12-9 Known to fail|

[Bug c++/31164] Problem with GCC 4.1 and Boost signals

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

[Bug target/99932] OpenACC/nvptx offloading execution regressions starting with CUDA 11.2-era Nvidia Driver 460.27.04

2021-12-09 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99932 --- Comment #7 from Tom de Vries --- (In reply to Tom de Vries from comment #6) > (In reply to Tom de Vries from comment #5) > > FIled https://developer.nvidia.com/nvidia_bug/3299227 > > Nvidia reported it will be fixed in the next major cuda re

[Bug c++/87656] Useful flags to enable with -Wall or -Wextra

2021-12-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #10 from Eric Gallager --- (In reply to Segher Boessenkool from comment #9) > (In reply to Eric Gallager from comment #8) > > Any reason not to put -Wnested-externs in -Wall or -Wextra? > > It warns for any "extern" declaration in ot

[Bug d/103529] [12 regression] d21 SIGBUS on SPARC

2021-12-09 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103529 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/103529] [12 regression] d21 SIGBUS on SPARC

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103529 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:9c7d5e8846edb28e5421211ee8eaad93e234de2c commit r12-5887-g9c7d5e8846edb28e5421211ee8eaad93e234de2c Author: Iain Buclaw Date: Fri D

[Bug d/103528] [12 regression] d21 doesn't build on Solaris

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #4 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:9c7d5e8846edb28e5421211ee8eaad93e234de2c commit r12-5887-g9c7d5e8846edb28e5421211ee8eaad93e234de2c Author: Iain Buclaw Date: Fri D

[Bug middle-end/100786] [9/10/11/12 Regression] ICE: in fold_convert_loc with alias attribute and different types and different sizes

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100786 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code Status|

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Summary|error: unable t

[Bug libgcc/103510] _Unwind_GetGR crashed for uninitialized registers

2021-12-09 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103510 --- Comment #5 from ashimida --- (In reply to Andrew Pinski from comment #3) > The only registers which are saved are the callee saved register IIRC. So > you need to know the ABI. Hi Andrew, Is it reasonable to save all registers (include cal

[Bug libstdc++/102994] std::atomic::wait is not marked const

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102994 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Thomas Rodgers : https://gcc.gnu.org/g:aca7d4e8790bff32ee749936bb0224d873c46052 commit r11-9371-gaca7d4e8790bff32ee749936bb0224d873c46052 Author: Thomas Rodgers

[Bug libstdc++/102994] std::atomic::wait is not marked const

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102994 --- Comment #1 from CVS Commits --- The master branch has been updated by Thomas Rodgers : https://gcc.gnu.org/g:38c60e5075f89265a560eab166d43247624a7535 commit r12-5886-g38c60e5075f89265a560eab166d43247624a7535 Author: Thomas Rodgers Date:

[Bug c/103640] asm goto w/ outputs numbering with tied outputs differs from clang

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103640 --- Comment #3 from Andrew Pinski --- (In reply to Nick Desaulniers from comment #0) > While we can change this in clang (https://reviews.llvm.org/D115471), I do > think it would be more ergonomic for developers if the order of operands for > th

[Bug target/103623] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain_insn_cached, at

2021-12-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #1 fro

[Bug c/103640] asm goto w/ outputs numbering with tied outputs differs from clang

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103640 --- Comment #2 from Andrew Pinski --- Since the feature of out inline-asm with gotos was added in GCC 11, the manual has always been clear for released versions of GCC with the support for it.

[Bug inline-asm/98096] Inconsistent operand numbering for asm goto with in-out operands

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98096 Andrew Pinski changed: What|Removed |Added CC||ndesaulniers at google dot com --- Comme

[Bug c/103640] asm goto w/ outputs numbering with tied outputs differs from clang

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103640 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug objc/103639] [REGRESSION] GCC 11.2 (or even earlier) breaks switch case with break in fast enumeration loop

2021-12-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org,

[Bug c/103640] New: asm goto w/ outputs numbering with tied outputs differs from clang

2021-12-09 Thread ndesaulniers at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103640 Bug ID: 103640 Summary: asm goto w/ outputs numbering with tied outputs differs from clang Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/56670] Allocatable-length character var causes bogus warning with -Wuninitialized

2021-12-09 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56670 Vivek Rao changed: What|Removed |Added CC||vivekrao4 at yahoo dot com --- Comment #13 f

[Bug c++/67491] [meta-bug] concepts issues

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 71174, which changed state. Bug 71174 Summary: [concepts] Segmentation fault while processing concepts error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71174 What|Removed |Added --

[Bug c++/71174] [concepts] Segmentation fault while processing concepts error

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71174 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/71982] Wrong error and note range with macro

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71982 --- Comment #3 from Andrew Pinski --- Trunk gives: [apinski@xeond2 src]$ ~/upstream-gcc/bin/gcc t.cc t.cc: In instantiation of ‘bool operator==(const A&, const A&) [with T = const B]’: t.cc:25:30: required from here t.cc:1:34: error: no match f

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-09 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #4 from Mark Harmstone --- Thanks, but I mentioned just to illustrate that this isn't purely a hypothetical bug.

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #3 from Jonathan Wakely --- There's an explicit instantiation declaration at the end of the header, which means the entire thing is externally defined in libstdc++.so and the only code that gets instantiated in your own translation u

[Bug middle-end/103637] [12 Regression] missing warning writing past the end of one of multiple elements of the same array

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug ipa/103636] [12 Regression] Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--

[Bug libstdc++/103638] [11/12 Regression] #include gives errors for --disable-threads builds

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103638 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3

[Bug libstdc++/103382] condition_variable::wait() is not cancellable because it is marked noexcept

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103382 --- Comment #6 from Jonathan Wakely --- The incorrect noexcept is fixed for GCC 12, but isn't suitable to backport. For the branches we should consider disabling cancellation as suggested in https://gcc.gnu.org/pipermail/gcc-patches/2021-Decemb

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85813 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug libstdc++/59769] please add ios_base::__noreplace

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59769 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Status|NEW

[Bug libstdc++/92300] Useless allocator call in std::map, when insert does not perform any insertion.

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92300 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug libstdc++/103630] [9/10/11 Regression] std::make_exception_ptr(t) is ill-formed

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103630 Jonathan Wakely changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11 Regression]

[Bug libstdc++/64135] Allocator base classes should use reserved names

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64135 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/68297] Faster std::make_exception

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68297 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a8e02a00a0fcac42657c8ef7921566e42db8ef49 commit r12-5880-ga8e02a00a0fcac42657c8ef7921566e42db8ef49 Author: Jonathan Wakely Date:

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85813 --- Comment #10 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a8e02a00a0fcac42657c8ef7921566e42db8ef49 commit r12-5880-ga8e02a00a0fcac42657c8ef7921566e42db8ef49 Author: Jonathan Wakely Date:

[Bug libstdc++/103630] [9/10/11/12 Regression] std::make_exception_ptr(t) is ill-formed

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103630 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a1ca039fc0fe934ef36c25d8284e6e116bcaffa7 commit r12-5879-ga1ca039fc0fe934ef36c25d8284e6e116bcaffa7 Author: Jonathan Wakely Date:

[Bug libstdc++/59769] please add ios_base::__noreplace

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59769 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a219139e986a4200a9105d7c1fa63735d2945994 commit r12-5878-ga219139e986a4200a9105d7c1fa63735d2945994 Author: Jonathan Wakely Date:

[Bug libstdc++/103382] condition_variable::wait() is not cancellable because it is marked noexcept

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103382 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:9e18a25331fa25c3907249fede65a02c6817b06e commit r12-5877-g9e18a25331fa25c3907249fede65a02c6817b06e Author: Jonathan Wakely Date:

[Bug libstdc++/92300] Useless allocator call in std::map, when insert does not perform any insertion.

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92300 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:db5fa0837e464b595a3d63766060bae1c9ac5ccc commit r12-5876-gdb5fa0837e464b595a3d63766060bae1c9ac5ccc Author: Jonathan Wakely Date:

[Bug middle-end/103483] context-sensitive ranges change triggers stringop-overread

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483 --- Comment #11 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f8463b0e3ec2438b4cfb8c9a468d59761db2c8a0 commit r12-5874-gf8463b0e3ec2438b4cfb8c9a468d59761db2c8a0 Author: Jonathan Wakely Date

[Bug tree-optimization/103332] [12 Regression] Spurious -Wstringop-overflow on string concatenation in libstdc++ tests

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103332 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f8463b0e3ec2438b4cfb8c9a468d59761db2c8a0 commit r12-5874-gf8463b0e3ec2438b4cfb8c9a468d59761db2c8a0 Author: Jonathan Wakely Date:

[Bug tree-optimization/102958] std::u8string suboptimal compared to std::string, triggers warnings

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102958 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f8463b0e3ec2438b4cfb8c9a468d59761db2c8a0 commit r12-5874-gf8463b0e3ec2438b4cfb8c9a468d59761db2c8a0 Author: Jonathan Wakely Date:

[Bug libstdc++/64135] Allocator base classes should use reserved names

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64135 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fe9571a35db53e5203326f854f73e432691d67f6 commit r12-5873-gfe9571a35db53e5203326f854f73e432691d67f6 Author: Jonathan Wakely Date:

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-09 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #2 from Mark Harmstone --- (In reply to Jonathan Wakely from comment #1) > (In reply to Mark Harmstone from comment #0) > > The practical problem this causes is that you can't #include on > > mingw with -mabi=sysv, > > I don't thin

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #1 from Jonathan Wakely --- (In reply to Mark Harmstone from comment #0) > The practical problem this causes is that you can't #include on > mingw with -mabi=sysv, I don't think that's going to work anyway, is it? I would expect t

[Bug fortran/103609] [11/12 Regression] ICE in gfc_sym_get_dummy_args, at fortran/symbol.c:5243 since r11-2578-g27eac9ee6137a6b5

2021-12-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103609 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|ASS

[Bug fortran/103609] [11/12 Regression] ICE in gfc_sym_get_dummy_args, at fortran/symbol.c:5243 since r11-2578-g27eac9ee6137a6b5

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103609 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:81ffb19017daf7197445ed0793e925674a3970d5 commit r11-9368-g81ffb19017daf7197445ed0793e925674a3970d5 Author: Harald Anlauf

[Bug c++/21678] Using inline disables warnings about missing return statements

2021-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21678 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #10

[Bug objc/103639] [REGRESSION] GCC 11.2 (or even earlier) breaks switch case with break in fast enumeration loop

2021-12-09 Thread js-gcc at webkeks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639 js-gcc at webkeks dot org changed: What|Removed |Added Keywords|wrong-code | --- Comment #4 from js-gcc

[Bug objc/103639] [REGRESSION] GCC 11.2 (or even earlier) breaks switch case with break in fast enumeration loop

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/103622] ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-09 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 --- Comment #5 from Bill Schmidt --- Expected behavior is: pr103622.c: In function 'get_float128_exponent': pr103622.c:4:3: error: invalid parameter combination for AltiVec intrinsic '__builtin_vec_scalar_extract_exp' 4 | return __builtin

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2021-12-09 Thread pthaugen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #21 from pthaugen at gcc dot gnu.org --- (In reply to Jan Hubicka from comment #20) > With g:r12-5872-gf157c5362b4844f7676cae2aba81a4cf75bd68d5 we should no > longer need -fno-inline-functions-called-once Yes, I see that now with an u

[Bug target/103622] ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-09 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org Ta

[Bug objc/103639] [REGRESSION] GCC 11.2 (or even earlier) breaks switch case with break in fast enumeration loop

2021-12-09 Thread js-gcc at webkeks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639 --- Comment #2 from js-gcc at webkeks dot org --- Oh, forgot to clarify in the example: Assume more than 1 object in the collection and someVar to be 0.

[Bug rtl-optimization/101995] [9/10/11/12 Regression] regression built-in memset missed-optimization arm -Os since r9-3594

2021-12-09 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 --- Comment #11 from Segher Boessenkool --- Yeah, that could be much more robust. OTOH this stuff is completely opportunistic in the first place: it handles only function return values, not any other hard registers (like local register vars).

[Bug objc/103639] [REGRESSION] GCC 11.2 (or even earlier) breaks switch case with break in fast enumeration loop

2021-12-09 Thread js-gcc at webkeks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639 js-gcc at webkeks dot org changed: What|Removed |Added CC||js-gcc at webkeks dot org --

[Bug objc/103639] New: [REGRESSION] GCC 11.2 (or even earlier) breaks switch case with break in fast enumeration loop

2021-12-09 Thread js-gcc at webkeks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639 Bug ID: 103639 Summary: [REGRESSION] GCC 11.2 (or even earlier) breaks switch case with break in fast enumeration loop Product: gcc Version: 11.2.1 Status: UNCONFIRMED

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above since r12-5531-g1b0acc4b800b589a

2021-12-09 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103513 Zhendong Su changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch --- Commen

[Bug libstdc++/103638] New: [11/12 Regression] #include gives errors for --disable-threads builds

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103638 Bug ID: 103638 Summary: [11/12 Regression] #include gives errors for --disable-threads builds Product: gcc Version: 11.2.1 Status: UNCONFIRMED Keywords: rejec

[Bug tree-optimization/102943] [12 Regression] Jump threader compile-time hog with 521.wrf_r

2021-12-09 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #31 from Jan Hubicka --- With g:r12-5872-gf157c5362b4844f7676cae2aba81a4cf75bd68d5 I limited inliner to not produce such a large function, so bumping up --param max-inline-functions-called-once-insns will be necessary to reproduce th

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2021-12-09 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #20 from Jan Hubicka --- With g:r12-5872-gf157c5362b4844f7676cae2aba81a4cf75bd68d5 we should no longer need -fno-inline-functions-called-once

[Bug libfortran/103634] Runtime crash with PACK on zero-sized arrays

2021-12-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103634 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug middle-end/103454] -finline-functions-called-once is both compile-time and runtime loss at average for spec2006, spec2017 and tramp3d

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103454 --- Comment #1 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:f157c5362b4844f7676cae2aba81a4cf75bd68d5 commit r12-5872-gf157c5362b4844f7676cae2aba81a4cf75bd68d5 Author: Jan Hubicka Date: Thu D

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2021-12-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 103215, which changed state. Bug 103215 Summary: [12 regression] gcc generates unexpected warnings on libx11-1.7.2: error: array subscript -2 is outside array bounds of since r12-3124-g820f0940d7ace130 https://gcc.gnu.or

[Bug tree-optimization/103215] [12 regression] gcc generates unexpected warnings on libx11-1.7.2: error: array subscript -2 is outside array bounds of since r12-3124-g820f0940d7ace130

2021-12-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103215 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2021-12-09 Thread pthaugen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #19 from pthaugen at gcc dot gnu.org --- I tried -fno-inline-functions-called-once and the patches on a Power9 system. Following are the run times and spill counts (grep -c Spilling exchange2.fppized.f90.298r.ira). Interesting that the

[Bug tree-optimization/103215] [12 regression] gcc generates unexpected warnings on libx11-1.7.2: error: array subscript -2 is outside array bounds of since r12-3124-g820f0940d7ace130

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103215 --- Comment #8 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:243a980437b5e7fca56587bf86667005bdf343a7 commit r12-5871-g243a980437b5e7fca56587bf86667005bdf343a7 Author: Martin Sebor Date: Thu

[Bug ipa/103636] Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-09 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 --- Comment #4 from Jan Hubicka --- aha, it was missunderstanding then :) I wanted you to simply move the hunk to can_early_inline_edge_p. There is no specific bit to check for einline being finished.

[Bug middle-end/103637] New: [12 Regression] missing warning writing past the end of one of multiple elements of the same array

2021-12-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637 Bug ID: 103637 Summary: [12 Regression] missing warning writing past the end of one of multiple elements of the same array Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug ipa/103636] Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-09 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ev

[Bug ipa/103636] Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-09 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 --- Comment #2 from Martin Liška --- (In reply to Jan Hubicka from comment #1) > I found the email here > http://patches-tcwg.linaro.org/patch/56399/ > I have suggested moving the check to einline only path but the v2 version of > patch did not

[Bug rtl-optimization/103465] Invalid note with -fno-reorder-blocks-and-partition

2021-12-09 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103465 Martin Liška changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned a

[Bug ipa/103636] Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-09 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 --- Comment #1 from Jan Hubicka --- I found the email here http://patches-tcwg.linaro.org/patch/56399/ I have suggested moving the check to einline only path but the v2 version of patch did not implemented it and later it got in with the additio

[Bug ipa/103636] New: Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-09 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 Bug ID: 103636 Summary: Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate Product: gcc Version: 12.0 Status: UNCONFIRMED Se

[Bug c++/19992] -fhosted/-ffreestanding for C++

2021-12-09 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19992 Joseph S. Myers changed: What|Removed |Added Known to fail||4.2.0 Target Milestone|---

[Bug c++/102396] [11/12 Regression] ICE when using concepts, in get, at cp/constraint.cc:2637 since r11-6245-g79f57d5cb070bb02

2021-12-09 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102396 --- Comment #4 from Giuseppe D'Angelo --- To elaborate on the last comment, this testcase does complain about the redefinition. #include #include template class S; template static inline std::true_type is_S_impl(con

[Bug c++/102396] [11/12 Regression] ICE when using concepts, in get, at cp/constraint.cc:2637 since r11-6245-g79f57d5cb070bb02

2021-12-09 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102396 --- Comment #3 from Giuseppe D'Angelo --- Hello Patrick, Thank you for the insights. I'm left wondering however if the CWG resolution would possibly ever allow the operator== to be defined as a hidden friend; the workaround you mentioned may le

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2021-12-09 Thread dcb314 at hotmail dot com via Gcc-bugs
dcb/gcc/working.2/./gcc/ -B/home/dcb/gcc/results.20211209/x86_64-pc-linux-gnu/bin/ -B/home/dcb/gcc/results.20211209/x86_64-pc-linux-gnu/lib/ -isystem /home/dcb/gcc/results.20211209/x86_64-pc-linux-gnu/include -isystem /home/dcb/gcc/results.20211209/x86_64-pc-linux-gnu/sys-include -fchecking=1 -g -O3

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2021-12-09 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #60 from David Binderman --- (In reply to Martin Liška from comment #59) > Most of the issues were fixed in GCC 12 stage1. > There are still corner cases, but the current situation should be much > better. Not for me, they aren't.

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85813 --- Comment #9 from Jonathan Wakely --- (In reply to Mathias Stearn from comment #3) > My assumption was that if E(...) throws and it can't be caught, it should be > treated as any other case when an -fno-exceptions TU calls a throwing > function

[Bug c++/102229] [11/12 Regression] 'decltype(auto)' cannot be cv-qualified

2021-12-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 --- Comment #9 from Marek Polacek --- This is supposed to be valid, so I'll try to come up with a fix soon.

[Bug testsuite/101751] asan_test.C fails with excess error with glibc-2.34

2021-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101751 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:9eeca99ccce4b56765920bd3c839abb77bbd4280 commit r12-5870-g9eeca99ccce4b56765920bd3c839abb77bbd4280 Author: Martin Sebor Date: Thu

[Bug libfortran/103634] Runtime crash with PACK on zero-sized arrays

2021-12-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103634 anlauf at gcc dot gnu.org changed: What|Removed |Added Component|fortran |libfortran Last reconfirme

[Bug c++/103635] New: size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-09 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 Bug ID: 103635 Summary: size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv Product: gcc Version: unknown Status: UNCONFIRMED Severity

[Bug fortran/103634] New: Runtime crash with PACK on zero-sized arrays

2021-12-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103634 Bug ID: 103634 Summary: Runtime crash with PACK on zero-sized arrays Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: for

[Bug other/103617] Debugging gcc: can't use 'pp' command for irange

2021-12-09 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103617 --- Comment #5 from Andrew Macleod --- Well, I don't know :-( It looks like the temporary variable PP uses deosn't work right for references? 263 r.set_undefined (); (gdb) n 266 if ((idx = tracer.header ("range_of_stmt ("))) (gdb)

[Bug c++/103401] [11/12 Regression] gcc accepts decltype(auto(0)) as the parameter of the function

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

[Bug c++/71527] wrong type mismatch while template argument deduction/substitution

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71527 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0

[Bug c++/71982] Wrong error and note range with macro

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71982 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW

[Bug c++/67829] Bogus "ambiguous template instantiation" error with partial specializations involving a template template parameter

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67829 Andrew Pinski changed: What|Removed |Added CC||pyer4 at free dot fr --- Comment #3 from

[Bug c++/77335] templates and ambiguous call to overloaded function

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77335 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/101397] [11 Regression] spurious warning writing to the result of stpcpy minus 1

2021-12-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101397 Bug 101397 depends on bug 103143, which changed state. Bug 103143 Summary: [12 Regression] ICE due to infinite recursion in pointer-query.cc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103143 What|Removed |Ad

[Bug middle-end/103143] [12 Regression] ICE due to infinite recursion in pointer-query.cc

2021-12-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103143 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

  1   2   3   >