[Bug preprocessor/69792] spurious warning for UDL declaration with parenthesized literal-operator-id

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

[Bug c++/103760] Invalid expression inside lambda inside compound requirement causes an error instead of concept satisfaction failure

2021-12-19 Thread jacek.olczyk98 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103760 --- Comment #4 from Jacek Olczyk --- (In reply to Patrick Palka from comment #2) > GCC's behavior appears to be correct here (though perhaps less useful than > Clang's). According to wg21.link/temp.deduct.general#9 a lambda expression > isn't p

[Bug c/70270] Spurious line directive with -g

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70270 Andrew Pinski changed: What|Removed |Added Component|preprocessor|c --- Comment #2 from Andrew Pinski ---

[Bug preprocessor/77723] Add a diagnostic note for macro functions which take one argument but have more than one

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

[Bug c/78008] Forbid or document #pragma pack(0)

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78008 Andrew Pinski changed: What|Removed |Added Component|preprocessor|c Last reconfirmed|

[Bug preprocessor/78287] #line directive with value more than 2147483640 prints out the value twice

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78287 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Last reconfirmed|

[Bug preprocessor/29999] preprocessor documentation is missing from gcc.info

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

[Bug preprocessor/79465] infinite #include cycle is not detected

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79465 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug preprocessor/81746] a blackslash at the end of a file is not removed by the preprocessor

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81746 --- Comment #1 from Andrew Pinski --- I found only MSVC treats \ at the EOF as the same as there a new line afterwards and ignores the \. ICC, GCC, and clang all handle it the same way.

[Bug preprocessor/87351] misleading error message: missing binary operator before token "("

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87351 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew P

[Bug preprocessor/89542] Error reported on incorrect line number when using GCC to compile .S files using #include

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

[Bug c/103768] New: array-bounds warning for `memcpy((void*)0x1234, p, n)`, where n is greater than 8

2021-12-19 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103768 Bug ID: 103768 Summary: array-bounds warning for `memcpy((void*)0x1234, p, n)`, where n is greater than 8 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Seve

[Bug c/103768] array-bounds warning for `memcpy((void*)0x1234, p, n)`, where n is greater than 8

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

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 Andrew Pinski changed: What|Removed |Added CC||pmenzel+gcc at molgen dot mpg.de --- Co

[Bug preprocessor/89738] Warn for unused macro arguments

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

[Bug preprocessor/90477] can negative line numbers be avoided

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90477 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-05-15 00:00:00 |2021-12-19 --- Comment #5 from Andrew Pi

[Bug c++/91932] #pragma does not silence floating constant overflow warnings

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91932 Andrew Pinski changed: What|Removed |Added Component|preprocessor|c++ --- Comment #2 from Andrew Pinski -

[Bug c++/91932] #pragma does not silence floating constant overflow warnings

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

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 Andrew Pinski changed: What|Removed |Added CC||lh_mouse at 126 dot com --- Comment #45

[Bug c++/91780] Discrepancy between gcc 7.4, through 9.2, compared to clang.

2021-12-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91780 --- Comment #11 from Jonathan Wakely --- Can't you just change your constructor to this? zip(Containers&&... containers) : containers_(std::forward(containers)...) { } The problematic deduction seems to only happen because of the odd const

[Bug libstdc++/103755] {has,use}_facet() and iostream constructor performance

2021-12-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103755 --- Comment #7 from Jonathan Wakely --- (In reply to Dmitry Prokoptsev from comment #6) > That would also work, I suppose (it even outperforms my original approach by > a tiny bit -- 33 ns for v2 vs 36 for my original implementation). > > There

[Bug c++/91780] Discrepancy between gcc 7.4, through 9.2, compared to clang.

2021-12-19 Thread mikael.p.persson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91780 --- Comment #12 from Mikael Persson --- Looking at it now, not sure why i didnt. On Sun, 19 Dec 2021, 14:00 redi at gcc dot gnu.org, < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91780 > > --- Comment #11 fro

[Bug testsuite/55509] gcc.dg/torture/matrix-6.c failures with -fsanitize=address

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

[Bug sanitizer/66401] g++.dg/ubsan/vla-1.C FAILs with PIE

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66401 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail --- Comment #4 from Andre

[Bug middle-end/81322] -fsanitize=address ICE in prepare_function_start with the RTL front-end and constructors

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81322 Andrew Pinski changed: What|Removed |Added Component|sanitizer |middle-end Keywords|

[Bug sanitizer/81619] pairs of mmap/munmap do not reset asan's user-poisoning flags, leading to invalid error reports

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

[Bug sanitizer/81579] sanitizer_platform_limits_linux.cc:37:15: error: conflicting declaration ‘typedef __gid_t __kernel_gid_t’

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

[Bug sanitizer/82984] Execuable compiled with ASAN crashes with very limited information on Linux

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

[Bug sanitizer/83388] reference statement index not found error with -fsanitize=null

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

[Bug sanitizer/83780] False positive alignment error with -fsanitize=undefined with virtual base

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

[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

2021-12-19 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug sanitizer/85230] asan: false positives in kernel on allocas

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

[Bug sanitizer/60892] GCC (libsanitizer) fails to build with Linux 2.6.21 headers.

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

[Bug sanitizer/86755] [ASAN] Libasan failed to be build for arm with -mthumb and -fno-omit-frame-pointer

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86755 --- Comment #4 from Andrew Pinski --- (In reply to Denis Khalikov from comment #3) > The fix was accepted to llvm https://reviews.llvm.org/D50180. I hope the > patch will be applied soon. The fix was approved but never was applied upstream and t

[Bug sanitizer/87840] LSAN not always printing the leaks when -fsanitize=address is absent

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 --- Comment #11 from Andrew Pinski --- > -static-liblsan Makes the difference for me I wonder if the issue is the constructor for lsan is not being included.

[Bug sanitizer/87454] Maybe implement -fsanitize=implicit-integer-truncation

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87454 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug sanitizer/88479] sanitizer should provide an option to detect conversion to signed integer that overflows

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88479 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/103769] New: ICE in hashtab_chk_error alias template and pack expansion

2021-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103769 Bug ID: 103769 Summary: ICE in hashtab_chk_error alias template and pack expansion Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pr

[Bug sanitizer/92678] UB sanitizer and pointer to member functions with multiple inheritance and pointer to member function

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92678 Andrew Pinski changed: What|Removed |Added Blocks||101603 Summary|UB sanitizer a

[Bug c++/103769] [11/12 Regression] checking ICE in hashtab_chk_error with alias template and pack expansion after r11-7931

2021-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103769 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org Known to

[Bug sanitizer/92928] When address and UB sanitizer are combined, sanitizing boost serialization code crashes

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

[Bug sanitizer/89868] -fsanitize=address inhibits core dumps

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

[Bug sanitizer/89215] UBSAN leaks memory

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

[Bug sanitizer/80578] -fsanitize=undefined report yields memory leak

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80578 Andrew Pinski changed: What|Removed |Added CC||mail at milianw dot de --- Comment #3 fr

[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

2021-12-19 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766 Jan Hubicka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org

[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

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

[Bug sanitizer/101744] [12 regression] hwasan new failures since r12-2424

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101744 --- Comment #8 from Andrew Pinski --- I think this is fixed.

[Bug c++/103714] [11/12 Regression] name lookup in requires-clause finds wrong thing

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103714 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:30c286aa9377850c64aa35f5845a59d321a44be0 commit r12-6063-g30c286aa9377850c64aa35f5845a59d321a44be0 Author: Patrick Palka Date: S

[Bug c/103770] New: ICE related to VLA

2021-12-19 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103770 Bug ID: 103770 Summary: ICE related to VLA Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unass

[Bug c++/103714] [11/12 Regression] name lookup in requires-clause finds wrong thing

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103714 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:75d95f5f0151247c39f0beb01376485806d0fd47 commit r11-9401-g75d95f5f0151247c39f0beb01376485806d0fd47 Author: Patrick Palka

[Bug c++/103714] [11/12 Regression] name lookup in requires-clause finds wrong thing

2021-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103714 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/12944] [meta-bug] C++ name-lookup problems

2021-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12944 Bug 12944 depends on bug 103714, which changed state. Bug 103714 Summary: [11/12 Regression] name lookup in requires-clause finds wrong thing https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103714 What|Removed |Ad

[Bug c++/94376] When nested inside a lambda body, [=] captures by const value instead of by value

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94376 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:89cf57ea35d1e0a0b818997c737ac70b7310d9d9 commit r12-6065-g89cf57ea35d1e0a0b818997c737ac70b7310d9d9 Author: Patrick Palka Date: Su

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2021-12-19 Thread manu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 --- Comment #46 from Manuel López-Ibáñez --- (In reply to Lewis Hyatt from comment #44) > I hope this looks workable, happy to adjust the patch as needed. If you don't get much attention to the patch, it may be worth pinging it. But before that,

[Bug fortran/103412] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size since r10-2083-g8dc63166e0b85954

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103412 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4f9ad140c6c2ca51b591f44f7579cc3b81356291 commit r11-9402-g4f9ad140c6c2ca51b591f44f7579cc3b81356291 Author: Harald Anlauf

[Bug target/103762] [12 Regression] glibc master branch is miscompiled by r12-897

2021-12-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103762 H.J. Lu changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug fortran/103412] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size since r10-2083-g8dc63166e0b85954

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103412 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7ba46cc7867e0f7fc4b28f70f407067cfdd78112 commit r10-10349-g7ba46cc7867e0f7fc4b28f70f407067cfdd78112 Author: Harald Anlauf

[Bug fortran/103412] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size since r10-2083-g8dc63166e0b85954

2021-12-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103412 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

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

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103634 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:05640d5ca8a20929f30eef41baee3e4a8d85c898 commit r11-9403-g05640d5ca8a20929f30eef41baee3e4a8d85c898 Author: Harald Anlauf

[Bug fortran/103505] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 --- Comment #13 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e301a0a8a0f6287ff04e74893265e40dff256301 commit r10-10350-ge301a0a8a0f6287ff04e74893265e40dff256301 Author: Harald Anlauf

[Bug fortran/103588] ICE: Simplification error in gfc_ref_dimen_size, at fortran/array.c:2407

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103588 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:650ac4b25121e48a64a021b0d21738ea08be3511 commit r10-10351-g650ac4b25121e48a64a021b0d21738ea08be3511 Author: Harald Anlauf

[Bug fortran/103588] ICE: Simplification error in gfc_ref_dimen_size, at fortran/array.c:2407

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103588 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c38611aabf4022323b7c44d0dcb3f6b076836de0 commit r9-9878-gc38611aabf4022323b7c44d0dcb3f6b076836de0 Author: Harald Anlauf Da

[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

2021-12-19 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766 --- Comment #6 from Jan Hubicka --- This is yet another stupid early exit in the propagation code (next stage1 i guess I will want to go through them and make it more systematic - those originate from quite early versions of modref when it was e

[Bug fortran/103588] ICE: Simplification error in gfc_ref_dimen_size, at fortran/array.c:2407

2021-12-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103588 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |9.5 Resolution|---

[Bug fortran/103505] [9 Regression] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to work||12.0 Summary|ICE

[Bug demangler/99188] cxxfilt may exist a uaf

2021-12-19 Thread pmayorov at cloudlinux dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99188 Pavel Mayorov changed: What|Removed |Added CC||pmayorov at cloudlinux dot com --- Comme

[Bug middle-end/103770] [11 Regression] ICE related to VLA

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103770 Andrew Pinski changed: What|Removed |Added Summary|ICE related to VLA |[11 Regression] ICE related

[Bug fortran/103418] random_number() does not accept pointer, intent(in) array argument

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418 --- Comment #14 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:57b51b8bae4c2ecec3281929f57e4a6a0e6f9ea0 commit r11-9404-g57b51b8bae4c2ecec3281929f57e4a6a0e6f9ea0 Author: Harald Anlauf

[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

2021-12-19 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766 --- Comment #7 from Iain Sandoe --- (In reply to Jan Hubicka from comment #6) > I would welcome a testuite friendly version of the fortran testcase Both Andrew and I failed to make a C reproducer - what about just taking the -fdump-tree-gimple

[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

2021-12-19 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766 --- Comment #8 from hubicka at kam dot mff.cuni.cz --- > > I would welcome a testuite friendly version of the fortran testcase > > Both Andrew and I failed to make a C reproducer - what about just taking the > -fdump-tree-gimple, as input would

[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766 --- Comment #9 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:fcbf94a5be9e0c1ecad92da773a6632b86b7f70a commit r12-6067-gfcbf94a5be9e0c1ecad92da773a6632b86b7f70a Author: Jan Hubicka Date: Sun D

[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

2021-12-19 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766 --- Comment #11 from Andrew Pinski --- (In reply to Iain Sandoe from comment #7) > (In reply to Jan Hubicka from comment #6) > > > I would welcome a testuite friendly version of the fortran testcase > > Both Andrew and I failed to make a C rep

[Bug preprocessor/90477] can negative line numbers be avoided

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

[Bug preprocessor/84864] Issues with large line numbers >= 2^31

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84864 Andrew Pinski changed: What|Removed |Added CC||jg at jguk dot org --- Comment #7 from A

[Bug preprocessor/84864] Issues with large line numbers >= 2^31

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84864 --- Comment #8 from Andrew Pinski --- >From my notes of the duplicated bug: clang does not use negative line numbers: :2147483648:9: warning: A1 [-W#pragma-messages] But MSVC does: (-2147483648): warning C4081: expected '('; found 'string' IC

[Bug ipa/103669] [12 Regression] wrong code with -O --param=modref-max-depth=1 since r12-4976-g4898e958a92d45db

2021-12-19 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103669 --- Comment #2 from Jan Hubicka --- Created attachment 52030 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52030&action=edit Patch in testing The problem here is a mixup with do_dataflow flag which prevents the name from being analyzed.

[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

2021-12-19 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766 --- Comment #12 from hubicka at kam dot mff.cuni.cz --- > Even trying to find a Fortran testsuite friendly version is hard because the > issue can only happen with print, I tried even doing internal write to a > string > it is passing without an

[Bug libstdc++/103629] Possible miscompilation visible using pthread + exception

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 --- Comment #18 from Andrew Pinski --- Could Visibility not being applied correctly to lambdas but does that matter?

[Bug libstdc++/103629] [11/12 Regression] Possible miscompilation visible using pthread + exception

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 Andrew Pinski changed: What|Removed |Added Summary|Possible miscompilation |[11/12 Regression] Possible

[Bug middle-end/69690] -pg -fomit-frame-pointer fails with error even if -pg does not depend on frame pointers

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69690 --- Comment #2 from Andrew Pinski --- The handling of the incompatible of pg and fomit-frame-pointer should be moved to opts.c out of the spec really.

[Bug tree-optimization/103194] [12 Regression] ice in optimize_atomic_bit_test_and with __sync_fetch_and_and since r12-5102-gfb161782545224f5

2021-12-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103194 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/36748] scev const-prop pass adds bad line numbers

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36748 Andrew Pinski changed: What|Removed |Added Known to fail||4.7.1 --- Comment #4 from Andrew Pinski

[Bug target/42444] "-march=i386 -march=native -mfpmath=sse" problem

2021-12-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42444 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug driver/69471] "-march=native" unintentionally breaks further -march/-mtune flags

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

[Bug tree-optimization/100801] [9/10/11/12 Regression] Aggressive loop optimizations cause incorrect warning

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100801 Andrew Pinski changed: What|Removed |Added Summary|Aggressive loop |[9/10/11/12 Regression]

[Bug tree-optimization/86345] Likely false warning with -Wstringop-overflow and memset

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86345 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #3 from Andr

[Bug testsuite/86016] New tests for r260978 report excess errors

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

[Bug middle-end/86437] runtime segfault on Fortran code with large array and -Ofast

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86437 --- Comment #4 from Andrew Pinski --- I tried "-Ofast -fmax-stack-var-size=2096" and I get: _38 = __builtin_malloc (848); Without the max-stack-var-size option, I get: real(kind=8) A.22[106]; Even with " -fmax-stack-var-size=2096

[Bug middle-end/86437] runtime segfault on Fortran code with large array and -Ofast

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

[Bug lto/86442] Wrong error: global register variable follows a function definition when using LTO

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

[Bug lto/68384] LTO error for global register variables in PHP 7 compiling on powerpc64le

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68384 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #1

[Bug target/98468] [9 regression] test case gcc.target/powerpc/rlwimi-2.c fails starting with r9-3594

2021-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98468 --- Comment #5 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:19dcecd963295b02b96c8cac57933657dbe3234a commit r12-6071-g19dcecd963295b02b96c8cac57933657dbe3234a Author: liuhongt Date: Wed Dec 1

[Bug c++/86488] malloc attribute when pointer is returned as part of a struct

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86488 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/86267] detect conversions between bitmasks and vector masks

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86267 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2018-06-2

[Bug target/103750] [i386] GCC schedules KMOV instructions that destroys performance in loop

2021-12-19 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103750 --- Comment #10 from Hongtao.liu --- (In reply to Uroš Bizjak from comment #9) > (In reply to Thiago Macieira from comment #0) > > Testcase: > ... > > The assembly for this produces: > > > > vmovdqu16 (%rdi), %ymm1 > > vmo

[Bug tree-optimization/86710] 3 missing logarithm optimizations

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86710 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/98648] Failure to optimize out no-op vector operation using andnot

2021-12-19 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98648 --- Comment #6 from Hongtao.liu --- Fixed by r12-6071-g19dcecd963295b02b96c8cac57933657dbe3234a

[Bug target/98468] [9 regression] test case gcc.target/powerpc/rlwimi-2.c fails starting with r9-3594

2021-12-19 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98468 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #6 f

[Bug target/101017] ICE: Segmentation fault, convert_memory_address_addr_space_1 with vector_size(32) and target_clone arch=core-avx2/default

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101017 Andrew Pinski changed: What|Removed |Added Known to fail||6.1.0, 7.1.0, 8.1.0, 9.1.0 Last recon

  1   2   >