[Bug target/36722] ICE with inline asm in 64bit mode because of type size

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

[Bug target/48326] Target attribute leaks from function pointers

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

[Bug target/46187] Invalid instruction suffix generated by %z

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

[Bug target/59390] presence of __attribute__((target("fma"))) declaration breaks __builtin_fma

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

[Bug tree-optimization/101809] emulated gather capability doesn't support 32-bit target

2021-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101809 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Component|middle-end

[Bug target/63842] x86-64 large PIC model may load the GOT base into the wrong register

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

[Bug plugins/101810] libiberty/simple-object-xcoff.c segmentation fault

2021-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101810 --- Comment #2 from Richard Biener --- How about fixing the places instad? Making SYMESZ a size_t looks like a complete fix?

[Bug target/64215] -Os misses an opportunity to merge two ret instructions

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64215 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2014-12-08 00:00:00 |2021-8-9 Severity|minor

[Bug target/101819] [12 Regression] ICE in expand_expr_real_2, at expr.c:9552 since r12-2789-gf31da42e047e8018ca6ad9809273bc7efb6ffcaf

2021-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101819 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libfortran/101820] fatal error: ISO_Fortran_binding.h: No such file or directory

2021-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101820 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-08-09 Ever confirmed|0

[Bug libstdc++/101825] New: Atomic wait returns without the value having changed

2021-08-09 Thread tobias.schmidt at in dot tum.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101825 Bug ID: 101825 Summary: Atomic wait returns without the value having changed Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/101824] VOLATILE not honored

2021-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101824 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/101824] VOLATILE not honored

2021-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101824 --- Comment #2 from Richard Biener --- OK, so the underlying issue is that predcom uses the appropriate "GENERIC" way of assessing if something is volatile: static bool suitable_reference_p (struct data_reference *a, enum ref_step_type *ref_ste

[Bug tree-optimization/101809] emulated gather capability doesn't support 32-bit target

2021-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101809 --- Comment #3 from Richard Biener --- This is also the FAIL of FAIL: gcc.target/i386/vect-gather-1.c scan-tree-dump vect "loop vectorized" with -m32 testing. Note the intent was to have the testcase work independent on the presence of HW gat

[Bug c++/94162] ICE [neg] bad return type in defaulted <=>

2021-08-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162 --- Comment #12 from Jakub Jelinek --- At least the #c8 testcase got fixed with r12-619-gfc178519771db508c03611cff4a1466cf67fce1d but that hasn't been backported to 11.x. The ICE with int * return type is because POINTER_TYPE has NULL TYPE_LINKA

[Bug bootstrap/101776] [12 Regression] Boootstrap broken on s390x

2021-08-09 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101776 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/101826] New: GFORTRAN: Debug info missing DW_TAG_string_type for array of variable length string

2021-08-09 Thread abdul.b.ijaz at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101826 Bug ID: 101826 Summary: GFORTRAN: Debug info missing DW_TAG_string_type for array of variable length string Product: gcc Version: 11.1.0 Status: UNCONFIRMED Se

[Bug middle-end/101787] There's no document for cond_ashr/ashl/lshr which is introduce by r10-2540

2021-08-09 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101787 Hongtao.liu changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug c++/101811] Error not helpful for misplaced 'template'

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

[Bug c++/82334] improve list of candidates for a member definition that doesn't match declaration

2021-08-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82334 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2017-09-27 00:00:00 |2021-8-9 --- Comment #1 from Jonathan

[Bug c++/56090] Injected-class-name treated as constructor name

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

[Bug fortran/101827] New: Wrong stringop-overflow warning

2021-08-09 Thread jellby at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101827 Bug ID: 101827 Summary: Wrong stringop-overflow warning Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug c++/101828] New: The invocation of a virtual function for an object that is not usable in constant expression is accepeted by GCC

2021-08-09 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101828 Bug ID: 101828 Summary: The invocation of a virtual function for an object that is not usable in constant expression is accepeted by GCC Product: gcc Version: 12

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2021-08-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 --- Comment #6 from Jonathan Wakely --- Please send patches to the mailing list for review, they are likely to get ignored or forgotten in bugzilla. https://gcc.gnu.org/contribute.html#patches

[Bug libstdc++/101825] Atomic wait returns without the value having changed

2021-08-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101825 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug middle-end/101829] New: problems with inline + __attribute__ ((malloc (deallocator)))

2021-08-09 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101829 Bug ID: 101829 Summary: problems with inline + __attribute__ ((malloc (deallocator))) Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug libfortran/101305] Bind(C): Problems with incorrect kinds/sizes in ISO_Fortran_binding.h and CFI_establish

2021-08-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101305 --- Comment #8 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:527a1cf32c27a3fbeaf6be7596241570d864cc4c commit r12-2808-g527a1cf32c27a3fbeaf6be7596241570d864cc4c Author: Tobias Burnus Date: M

[Bug fortran/101660] [12 Regression] FAIL: gfortran.dg/bind_c_array_params_3.f90

2021-08-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101660 --- Comment #6 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:527a1cf32c27a3fbeaf6be7596241570d864cc4c commit r12-2808-g527a1cf32c27a3fbeaf6be7596241570d864cc4c Author: Tobias Burnus Date: M

[Bug libfortran/101820] fatal error: ISO_Fortran_binding.h: No such file or directory

2021-08-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101820 Uroš Bizjak changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug fortran/101660] [12 Regression] FAIL: gfortran.dg/bind_c_array_params_3.f90

2021-08-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101660 Uroš Bizjak changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #7 f

[Bug fortran/101660] [12 Regression] FAIL: gfortran.dg/bind_c_array_params_3.f90

2021-08-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101660 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/80355] Improve __builtin_shuffle on AVX512F

2021-08-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80355 --- Comment #2 from Jakub Jelinek --- Created attachment 51277 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51277&action=edit gcc12-pr80355-1.patch Untested fix. For 32-byte vectors/AVX512VL we don't need this, we already emit vperm2i12

[Bug target/101609] no right shift pattern for vector(2) long long on aarch64

2021-08-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101609 --- Comment #4 from CVS Commits --- The master branch has been updated by Tejas Belagod : https://gcc.gnu.org/g:e2e0b85c1e7cb53fd720df0d09278e3d485c733e commit r12-2817-ge2e0b85c1e7cb53fd720df0d09278e3d485c733e Author: Tejas Belagod Date: M

[Bug tree-optimization/101822] Codegen bug for popcount

2021-08-09 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822 --- Comment #3 from Jeremy R. --- Interestingly it's optimized correctly on -Os

[Bug target/101609] no right shift pattern for vector(2) long long on aarch64

2021-08-09 Thread belagod at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101609 Tejas Belagod changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/80355] Improve __builtin_shuffle on AVX512F

2021-08-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80355 --- Comment #3 from Jakub Jelinek --- Created attachment 51278 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51278&action=edit gcc12-pr80355-2.patch And this incremental patch makes it handle even similar V32HImode/V64QImode permutations

[Bug target/63842] x86-64 large PIC model may load the GOT base into the wrong register

2021-08-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63842 H.J. Lu changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #4 from H.J. Lu --- Dup

[Bug target/63833] REAL_PIC_OFFSET_TABLE_REGNUM is wrong for x86-64

2021-08-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63833 --- Comment #4 from H.J. Lu --- *** Bug 63842 has been marked as a duplicate of this bug. ***

[Bug middle-end/101829] problems with inline + __attribute__ ((malloc (deallocator)))

2021-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101829 Richard Biener changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug fortran/101827] Wrong stringop-overflow warning

2021-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101827 Richard Biener changed: What|Removed |Added Keywords||diagnostic CC|

[Bug fortran/101826] GFORTRAN: Debug info missing DW_TAG_string_type for array of variable length string

2021-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101826 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-08-09 Status|UNCONFIR

[Bug fortran/101826] GFORTRAN: Debug info missing DW_TAG_string_type for array of variable length string

2021-08-09 Thread abdul.b.ijaz at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101826 --- Comment #2 from Abdul Basit Ijaz --- I tried with GFortran 11.1.0 version so if you already see DW_TAG_string_type in trunk then it means it was already fixed. Do you happen to know any issue related to it then this issue can be duplicated t

[Bug fortran/101827] Wrong stringop-overflow warning

2021-08-09 Thread jellby at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101827 --- Comment #2 from Ignacio Fernández Galván --- What's a TU? I didn't succeed (but didn't try to hard) in creating a minimal test case. But this reproduces the problem: $ git clone -b ipo https://gitlab.com/Molcas/OpenMolcas.git $ cd OpenMolca

[Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da

2021-08-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101812 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:9d2d660aab2f332b1e3f69a2fb3419cf3cc33b47 commit r12-2821-g9d2d660aab2f332b1e3f69a2fb3419cf3cc33b47 Author: Uros Bizjak Date: Mon A

[Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da

2021-08-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101812 Uroš Bizjak changed: What|Removed |Added CC|uros at gcc dot gnu.org| Resolution|---

[Bug testsuite/101654] [12 regression] new test case UNRESOLVED problem in r12-2524

2021-08-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101654 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:d55d3f5b04e81b79f34ccf23f7e2c1e736ad3b0d commit r12-2823-gd55d3f5b04e81b79f34ccf23f7e2c1e736ad3b0d Author: Martin Jambor Date: M

[Bug testsuite/101654] [12 regression] new test case UNRESOLVED problem in r12-2524

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

[Bug tree-optimization/101830] New: Incorrect error messages beginning with r12-2591 (backward jump threader)

2021-08-09 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101830 Bug ID: 101830 Summary: Incorrect error messages beginning with r12-2591 (backward jump threader) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug tree-optimization/101830] Incorrect error messages beginning with r12-2591 (backward jump threader)

2021-08-09 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101830 Bill Schmidt changed: What|Removed |Added Known to fail||12.0 Target Milestone|---

[Bug middle-end/101829] problems with inline + __attribute__ ((malloc (deallocator)))

2021-08-09 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101829 --- Comment #2 from Jan Hubicka --- > It might be possible to inline such functions by creating a "stub" call either > after or before the inlined function body where the "stub" would just be there > to represent the attributes. > > Say, inline

[Bug c++/101831] New: Spurious maybe-uninitialized warning on std::array::size

2021-08-09 Thread m101010a at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831 Bug ID: 101831 Summary: Spurious maybe-uninitialized warning on std::array::size Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c/101832] New: __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof()

2021-08-09 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832 Bug ID: 101832 Summary: __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof() Product: gcc Version: unknown Status: UNCONFIRMED S

[Bug c/101832] __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof()

2021-08-09 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832 --- Comment #1 from Kees Cook --- This is even more visible when the size IS known (via malloc hinting, for example): https://godbolt.org/z/4v5rKbhaf

[Bug c/101832] __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof()

2021-08-09 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832 --- Comment #2 from Kees Cook --- Created attachment 51280 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51280&action=edit Same PoC, but with malloc to provide non-unlimited bounds

[Bug c/101832] __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof()

2021-08-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c/101832] __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof()

2021-08-09 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832 --- Comment #4 from Kees Cook --- It seems like this isn't about crossing field boundaries -- it's asking "how large is this particular member?" and bos can't know the answer because there is a flex-array. Why would __builtin_object_size(

[Bug tree-optimization/101830] Incorrect error messages beginning with r12-2591 (backward jump threader)

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101830 --- Comment #2 from Andrew Pinski --- It might be useful to get the preprocessed source.

[Bug c++/101828] The invocation of a virtual function for an object that is not usable in constant expression is accepted by GCC

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

[Bug c/101832] __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof()

2021-08-09 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832 --- Comment #5 from Kees Cook --- Perhaps the best question to ask is "given an arbitrary argument, how can code detect the remaining bytes of a member, including if the member contains a flexible array?" Because right now, this does not work:

[Bug c++/23257] Incorrect exception-handling behavior with references

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23257 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #7 from Andrew Pi

[Bug c++/47227] GCC ignores conversion function template specializatons if a derived class' conversion function converts to the same type

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47227 --- Comment #1 from Andrew Pinski --- GCC and clang agree on both testcases. While ICC and MSVC both agree but disagree with the other 2 compilers. That is: Compiler first second GCCaccepts rejects clang accepts reje

[Bug c++/101833] New: [9/10/11/12 Regression] ICE with -Wformat on a constructor with a virtual base

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101833 Bug ID: 101833 Summary: [9/10/11/12 Regression] ICE with -Wformat on a constructor with a virtual base Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug c++/101833] [9/10/11/12 Regression] ICE with -Wformat on a constructor with a virtual base

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101833 Andrew Pinski changed: What|Removed |Added Known to fail||9.1.0 Target Milestone|---

[Bug c++/47634] Incorrect checking of attribute format printf on constructor of derived class with virtual base

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

[Bug other/101834] New: make distclean forgets ./c++tools/

2021-08-09 Thread dilyan.palauzov at aegee dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101834 Bug ID: 101834 Summary: make distclean forgets ./c++tools/ Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug bootstrap/101834] make distclean forgets ./c++tools/

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101834 Andrew Pinski changed: What|Removed |Added Component|other |bootstrap --- Comment #1 from Andrew Pi

[Bug c++/54196] gcc doesn't find incompatible exception specification

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54196 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid Summary|gcc d

[Bug c++/54196] gcc doesn't find incompatible exception specification

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

[Bug c++/54196] gcc doesn't find incompatible exception specification

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

[Bug c++/12255] [C++98/11/14 only] exception-specification ignored on pointer to function

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12255 Andrew Pinski changed: What|Removed |Added CC||mib.bugzilla at gmail dot com --- Commen

[Bug c++/100003] internal compiler error: in merge_exception_specifiers

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

[Bug c++/84633] internal compiler error: in lvalue_kind, at cp/tree.c:206

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

[Bug fortran/101728] ICE in initialize_inlined_parameters, at tree-inline.c:3644

2021-08-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101728 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-08-09 Statu

[Bug c++/57566] [C++11] static temporaries bound recursively in reference constant expressions don't get initialized

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

[Bug c++/84633] internal compiler error: in lvalue_kind, at cp/tree.c:206

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

[Bug c++/59074] incorrect "call of overloaded .. is ambiguous" error when changing base class to virtual

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

[Bug c++/58052] Copy initialization using conversion operator does not find correct candidates for initialization of final result

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58052 --- Comment #4 from Andrew Pinski --- GCC and ICC both reject this while clang and MSVC accepts this.

[Bug c++/61163] Placement arguments shared between allocation and deallocation even when copies prohibited

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61163 --- Comment #1 from Andrew Pinski --- GCC, ICC and clang all produce the same (or similar) result: clang: A::A(int) 0 static void *B::operator new(decltype(sizeof (0)), A) 1 static void B::operator delete(void *, A) A::~A() GCC and ICC: A::A(in

[Bug tree-optimization/101830] [12 Regression] Incorrect error messages beginning with r12-2591 (backward jump threader)

2021-08-09 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101830 --- Comment #3 from Bill Schmidt --- Created attachment 51281 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51281&action=edit Preprocessed source Per request, preprocessed source. Compile with "g++ rs6000-gen-builtins.ii -c -O2 -Wall -W

[Bug fortran/77603] ICE: Segmentation fault (program f951)

2021-08-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77603 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Bug c++/63267] Static member of template class is not constructed before it's used.

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63267 --- Comment #2 from Andrew Pinski --- ICC and GCC produce the same result while clang produces: Output constructed do it a: 100 Note I noticed if I used std::cout, I get a crash with clang even.

[Bug c++/60372] [DR1880] incorrect destruction order for function parameter objects

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

[Bug c++/66615] Ambiguous conversion operators, explicit conversion operator and copy-initialization

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

[Bug c++/53846] [c++11] memory exhaustion on simple recursive function template that uses decltype

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53846 Andrew Pinski changed: What|Removed |Added Keywords||compile-time-hog --- Comment #5 from And

[Bug c++/60803] Trivial example of overloading in the presence of inheritance fails

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60803 Andrew Pinski changed: What|Removed |Added Known to work||11.1.0 Known to fail|

[Bug c++/47294] definition of function template can be explicitly-qualified with a namespace it isn't a member of

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

[Bug c++/21534] Declaration in wrong namespace not rejected

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21534 Andrew Pinski changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #3 f

[Bug tree-optimization/101741] [12 Regression] ICE in fold_stmt, at gimple-range-fold.cc:541 since r12-2517-g1ce0b26e6e1e6c34

2021-08-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101741 --- Comment #5 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:c86c95edd165d674614516cda0b1fcb6616c1096 commit r12-2826-gc86c95edd165d674614516cda0b1fcb6616c1096 Author: Andrew MacLeod Date:

[Bug tree-optimization/101741] [12 Regression] ICE in fold_stmt, at gimple-range-fold.cc:541 since r12-2517-g1ce0b26e6e1e6c34

2021-08-09 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101741 Andrew Macleod changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/101697] [11/12 regression] ICE compiling uClibc-ng for h8300-linux

2021-08-09 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101697 --- Comment #3 from Mikael Pettersson --- As far as I can tell the problem is introduced by reload. With a gcc-11.2.0 cross, getaddrinfo.i.290r.ira has (insn 161 159 163 31 (set (reg/f:SI 185) (reg/f:SI 7 sp)) "libc/inet/getaddrinfo.c"

[Bug c++/67402] outside definition of member class of an explicitly specialized member class

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

[Bug c++/67574] Misleading error message for method explicitly defaulted two times

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67574 --- Comment #1 from Andrew Pinski --- The location was fixed in GCC 10+: :7:1: error: definition of explicitly-defaulted 'X::X()' 7 | X::X() = default; | ^ :6:1: note: 'X::X()' explicitly defaulted here 6 | X::X() = default; |

[Bug c++/67772] wrong type_info emitted for cv-qualified pointer to member types

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

[Bug c++/67772] wrong type_info emitted for cv-qualified pointer to member types

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

[Bug c++/52099] Incorrectly applying conversion when catching pointer-to-members

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52099 Andrew Pinski changed: What|Removed |Added CC||richard-gccbugzilla@metafoo

[Bug c++/101603] [meta-bug] pointer to member functions issues

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 67772, which changed state. Bug 67772 Summary: wrong type_info emitted for cv-qualified pointer to member types https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67772 What|Removed |Added

[Bug tree-optimization/101755] [12 regression] gcc.target/arm/reg_equal_test.c fails on arm since r12-2637

2021-08-09 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101755 --- Comment #1 from Andrew Macleod --- What is that suppose to test? The range ecosystem has gotten smarter and we basically fold that function away to return 0 now. between EVRP, VRP and threading, you'd have to turn off a lot of optimization

[Bug c++/65350] [C++14] operator new[] should not be called if # of initializer elements exceeds # of elements

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65350 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #3 from Andrew Pi

[Bug tree-optimization/101755] [12 regression] gcc.target/arm/reg_equal_test.c fails on arm since r12-2637

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101755 --- Comment #2 from Andrew Pinski --- d = a | -2; b = (d == 0) ? c : (c % d); d can never be 0, VRP figures this out now. so we end up with: d = a | -2; b = 0xc7d24b5e % d; if (b != 0xc7d24b5e) abort(); and b cannot be 0xc7d24b5e because

[Bug c++/69712] Storing and reusing a method pointer as compile time value

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69712 Andrew Pinski changed: What|Removed |Added Blocks||101603 --- Comment #3 from Andrew Pinski

  1   2   >