[Bug tree-optimization/102981] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-10-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102981 Aldy Hernandez changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/102986] [12 Regression] ICE: in expand_shift_1, at expmed.c:2671 with a negative shift of a vector

2021-10-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102986 --- Comment #5 from Roger Sayle --- Patch proposed: https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582931.html

[Bug rtl-optimization/102842] [10/11/12 Regression] ICE in cselib_record_set at -O2 or greater

2021-10-30 Thread herrtimson at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102842 tt_1 changed: What|Removed |Added Summary|[10 Regression] ICE in |[10/11/12 Regression] ICE |cse

[Bug c++/15795] No way to teach operator new anything about alignment requirements

2021-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15795 --- Comment #45 from Jonathan Wakely --- C++17 added support for dynamic allocation of over-aligned types, and requires std::allocator to use it. User-defined allocators are not required to support over-aligned types. Before C++17 it was impleme

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

2021-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102994 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rodgertq at gcc dot gnu.org

[Bug target/102953] Improvements to CET-IBT and ENDBR generation

2021-10-30 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953 --- Comment #22 from H.J. Lu --- (In reply to Andrew Cooper from comment #21) > Another possibly-bug, but possibly mis-expectations on my behalf. > > I've found some code in the depths of Xen which is causing a failure on > final link due to a

[Bug c/103003] New: ice in set_relation, at value-relation.cc:592

2021-10-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103003 Bug ID: 103003 Summary: ice in set_relation, at value-relation.cc:592 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/103003] ice in set_relation, at value-relation.cc:592

2021-10-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103003 --- Comment #1 from David Binderman --- Reduced C code seems to be #include int8_t c_4, uli_5; uint16_t us_6; func_1() { int uli_9 = 0; uint64_t ptr_11 = uli_9 |= uli_5 != 0; uint16_t ptr_16ptr_11 = &uli_9; for (; us_6 <= 6;) if (

[Bug c/103003] ice in set_relation, at value-relation.cc:592

2021-10-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103003 --- Comment #2 from David Binderman --- I am not sure why the #include is in there. Further reduced code is typedef char int8_t; int8_t c_4, uli_5; unsigned short us_6; func_1() { int uli_9; short ptr_16ptr_11 = &uli_9; for (; us_6 <= 6;

[Bug c/103003] ice in set_relation, at value-relation.cc:592

2021-10-30 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103003 Andrew Macleod changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amacleod at redhat dot com

[Bug fortran/99853] ICE: Cannot convert 'LOGICAL(4)' to 'INTEGER(8)' (etc.)

2021-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99853 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d18e4cc416b832fa98ca8af13b09cf7fe904ba8f commit r12-4802-gd18e4cc416b832fa98ca8af13b09cf7fe904ba8f Author: Steve Kargl Date: Sat

[Bug libgcc/103004] New: [12 regression] breaks lots on powerpc BE

2021-10-30 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103004 Bug ID: 103004 Summary: [12 regression] breaks lots on powerpc BE Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc

[Bug tree-optimization/103003] [12 regression] ice in set_relation, at value-relation.cc:592

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

[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)

2021-10-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 Eric Botcazou changed: What|Removed |Added Status|WAITING |NEW --- Comment #8 from Eric Botcazou

[Bug libstdc++/103005] New: experimental simd sin and cos with big arguments returns values bigger than 1

2021-10-30 Thread andreas_roever at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103005 Bug ID: 103005 Summary: experimental simd sin and cos with big arguments returns values bigger than 1 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity

[Bug tree-optimization/102981] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-10-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102981 Aldy Hernandez changed: What|Removed |Added CC||law at gcc dot gnu.org,

[Bug tree-optimization/103006] New: wrong code at -O2 (only) on x86_64-linux-gnu

2021-10-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20211030 (experimental) [master r12-4804-g75c9fa318e3] (GCC) [857] % [857] % gcctk -O1 small.c; ./a.out 0 [858] % gcctk -O2 small.c [859] % ./a.out 0 Aborted [860] % [860] % cat small.c int printf(const char *, ...); int a, *b

[Bug middle-end/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-10-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #1 from Aldy Hernandez --- Is this still an issue with the new jump threader?

[Bug tree-optimization/102895] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-10-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102895 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/102981] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-10-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102981 --- Comment #3 from Aldy Hernandez --- *** Bug 102895 has been marked as a duplicate of this bug. ***

[Bug c++/103007] New: ice in vect_normalize_conj_loc, at tree-vect-slp-patterns.c:722

2021-10-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103007 Bug ID: 103007 Summary: ice in vect_normalize_conj_loc, at tree-vect-slp-patterns.c:722 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/99853] ICE: Cannot convert 'LOGICAL(4)' to 'INTEGER(8)' (etc.)

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

[Bug target/103008] New: poor inlined builtin_fmod on x86_64

2021-10-30 Thread fx at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103008 Bug ID: 103008 Summary: poor inlined builtin_fmod on x86_64 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Pri

[Bug target/103008] poor inlined builtin_fmod on x86_64

2021-10-30 Thread fx at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103008 --- Comment #1 from Dave Love --- Created attachment 51707 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51707&action=edit gglx.f90

[Bug target/103008] poor inlined builtin_fmod on x86_64

2021-10-30 Thread fx at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103008 --- Comment #2 from Dave Love --- Created attachment 51708 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51708&action=edit ggl.s extract

[Bug target/103008] poor inlined builtin_fmod on x86_64

2021-10-30 Thread fx at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103008 --- Comment #3 from Dave Love --- Created attachment 51709 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51709&action=edit gglx.s extract

[Bug c++/103007] ice in vect_normalize_conj_loc, at tree-vect-slp-patterns.c:722

2021-10-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103007 --- Comment #1 from David Binderman --- Reduced C++ code seems to be: template class MushMeshVector { public: MushMeshVector(float, float, float, float); float Z() { float __trans_tmp_3; int inIndex = 2; __trans_tmp_3 = m_value

[Bug target/103008] poor inlined builtin_fmod on x86_64

2021-10-30 Thread fx at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103008 --- Comment #4 from Dave Love --- On further consideration, perhaps this is just a Fortran issue. I thought -ffast-math should turn off all the relevant checks to allow reducing mod to the arithmetic expression, but it probably doesn't. Also,

[Bug c/103009] New: Weakness in stack-protector with no-pie active on ARM.

2021-10-30 Thread sylw.bar at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103009 Bug ID: 103009 Summary: Weakness in stack-protector with no-pie active on ARM. Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug target/103008] poor inlined builtin_fmod on x86_64

2021-10-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103008 --- Comment #5 from anlauf at gcc dot gnu.org --- There's a mixture of single and double precision in the testcase variants. I haven't checked thoroughly enough if both variants are really equivalent. Do you see the issue if you have only single

[Bug c/103009] Weakness in stack-protector with no-pie active on ARM.

2021-10-30 Thread sylw.bar at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103009 --- Comment #1 from Sylwester Baranski --- Created attachment 51711 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51711&action=edit Save-temps output

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-30 Thread gerald at pfeifer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 Gerald Pfeifer changed: What|Removed |Added Status|WAITING |NEW --- Comment #14 from Gerald Pfeife

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-30 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 H.J. Lu changed: What|Removed |Added Keywords||patch --- Comment #15 from H.J. Lu --- A pat

[Bug middle-end/102972] [OpenMP] Strictly-nested diagnostic missing

2021-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102972 --- Comment #2 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:948d461954f2642ca187f86c19d297ba7a86320f commit r12-4809-g948d461954f2642ca187f86c19d297ba7a86320f Author: Tobias Burnus Date: S

[Bug tree-optimization/103006] [9/10/11/12 Regression] wrong code at -O2 (only) on x86_64-linux-gnu

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

[Bug middle-end/103006] [9/10/11/12 Regression] wrong code at -O1 or -O2 on x86_64-linux-gnu

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

[Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL

2021-10-30 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102837 --- Comment #5 from Iain Buclaw --- Testing this patch. --- a/libphobos/libdruntime/gcc/deh.d +++ b/libphobos/libdruntime/gcc/deh.d @@ -207,7 +207,7 @@ struct ExceptionHeader */ static void free(ExceptionHeader* eh) @nogc { -

[Bug rtl-optimization/103006] [9/10/11/12 Regression] wrong code at -O1 or -O2 on x86_64-linux-gnu

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103006 Andrew Pinski changed: What|Removed |Added Component|middle-end |rtl-optimization Keywords|

[Bug target/96892] [ARM]Wrong __stack_chk_guard for comparison

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96892 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 --- Comment #6 from Andrew Pinski

[Bug target/96892] [ARM]Wrong __stack_chk_guard for comparison

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96892 Andrew Pinski changed: What|Removed |Added Target Milestone|11.0|10.4 Keywords|

[Bug target/96892] [ARM]Wrong __stack_chk_guard for comparison

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96892 Andrew Pinski changed: What|Removed |Added Target Milestone|10.4|10.3 --- Comment #8 from Andrew Pinski

[Bug target/103009] [9 only] Weakness in stack-protector with no-pie active on ARM.

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

[Bug target/96892] [ARM]Wrong __stack_chk_guard for comparison

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96892 Andrew Pinski changed: What|Removed |Added CC||sylw.bar at gmail dot com --- Comment #9

[Bug tree-optimization/103007] [12 Regression] ice in vect_normalize_conj_loc, at tree-vect-slp-patterns.c:722

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

[Bug tree-optimization/103007] [12 Regression] ice in vect_normalize_conj_loc, at tree-vect-slp-patterns.c:722

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

[Bug tree-optimization/102988] ICE with -fharden-conditional-branches and C++ and pass by reference return value

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

[Bug libfortran/102992] fortran: redirecting standard out to a file does not work on macOS 12.0

2021-10-30 Thread townsend at astro dot wisc.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992 Rich Townsend changed: What|Removed |Added CC||townsend at astro dot wisc.edu --- Comm

[Bug target/103010] New: Extra move to x0 for non-POD returns

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103010 Bug ID: 103010 Summary: Extra move to x0 for non-POD returns Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug target/103010] Extra move to x0 for non-POD returns

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103010 --- Comment #1 from Andrew Pinski --- Note clang produces: b _Z2llv Which is exactly what I would have expected.

[Bug libgcc/103004] [12 regression] breaks lots on powerpc BE

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103004 Andrew Pinski changed: What|Removed |Added Keywords||build Target Milestone|---

[Bug c++/102995] Template friend class declaration of same class with different template parameters fails to allow private methods access

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102995 --- Comment #1 from Andrew Pinski --- Are you sure this is valid? Both ICC and MSVC reject it for the same reason as GCC. Can a friend of First be made a friend of First via the friend, I don't think so?

[Bug c++/102995] Template friend class declaration of same class with different template parameters fails to allow private methods access

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102995 --- Comment #2 from Andrew Pinski --- This works correctly on all compilers to do what you want it to do: template class First { public: First() = default; private: int GetId() const { return 1; } template friend

[Bug c++/102995] Template friend class declaration of same class with different template parameters fails to allow private methods access

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102995 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > I suspect the original testcase is invalid code and clang is incorrect in > accepting it. You can limit the friendship to only the operator== that have the same

[Bug c++/96441] ICE in tree check: expected integer_cst, have cond_expr in get_len, at tree.h:5954

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96441 Andrew Pinski changed: What|Removed |Added Severity|normal |trivial

[Bug c++/102975] Local alias diagnosed as unused when used in failing constraint

2021-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102975 --- Comment #1 from Andrew Pinski --- Hmm, this is interesting: template concept Never = false; template concept C = Never; void f() { struct X { // using type = int; }; static_assert(not C); } is able to compile. I don't know enough a

[Bug libbacktrace/103011] New: fatal error: process.h: No such file or directory when canadian compile x86_64-w64-mingw32

2021-10-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103011 Bug ID: 103011 Summary: fatal error: process.h: No such file or directory when canadian compile x86_64-w64-mingw32 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug libbacktrace/103011] fatal error: process.h: No such file or directory when canadian compile x86_64-w64-mingw32

2021-10-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103011 cqwrteur changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #1 from