[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

Re: [PATCH 06/18] rs6000: Builtin expansion, part 1

2021-10-30 Thread Segher Boessenkool
Hi! On Wed, Sep 01, 2021 at 11:13:42AM -0500, Bill Schmidt wrote: > Differences between the old and new support in this patch include: > - Make use of the new builtin data structures, directly looking up >a function's information rather than searching for the function >multiple times;

[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++/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

[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 #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 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 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 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 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 ---

[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 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/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 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

[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

[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/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|--- |11.0 --- Comment #6 from Andrew Pinski

gcc-11-20211030 is now available

2021-10-30 Thread GCC Administrator via Gcc
Snapshot gcc-11-20211030 is now available on https://gcc.gnu.org/pub/gcc/snapshots/11-20211030/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 11 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[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 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 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 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|

Re: [Patch] OpenMP: Add strictly nested API call check [PR102972]

2021-10-30 Thread Tobias Burnus
On 29.10.21 18:47, Jakub Jelinek wrote: Or we can keep 3 sections and say that the first one is for the calls on the library side without suffixes and second is for those with no and _ suffixes, but that in DECL_NAME those don't make a difference. That's what I have now done. + &&

[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:

[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

[PATCH] libsanitizer: Disable libbacktrace on sanitizer_platform_limits_freebsd.cpp

2021-10-30 Thread H.J. Lu via Gcc-patches
sanitizer_platform_limits_freebsd.cpp must include from the OS, not include/md5.h in GCC source tree which is included by libbacktrace support. Disable libbacktrace on sanitizer_platform_limits_freebsd.cpp to avoid include/md5.h to restore bootstrap on FreeBSD. PR bootstrap/102675

[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

[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=edit Save-temps output

[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

[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

[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++/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 =

[committed] wwwdocs: gcc-4.7: Tweak AVR-Lib reference

2021-10-30 Thread Gerald Pfeifer
nongnu.org has a permanent redirect (return code 301) to www.nongnu.org; make that change on our end. --- htdocs/gcc-4.7/changes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/gcc-4.7/changes.html b/htdocs/gcc-4.7/changes.html index dae1735d..21294cc3 100644 ---

[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=edit gglx.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 #2 from Dave Love --- Created attachment 51708 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51708=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 #1 from Dave Love --- Created attachment 51707 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51707=edit gglx.f90

[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

Re: [PATCH] Add a simulate_record_decl lang hook

2021-10-30 Thread Richard Sandiford via Gcc-patches
Jason Merrill writes: > On 10/18/21 16:35, Richard Sandiford wrote: >> Jason Merrill writes: >>> On 9/24/21 13:53, Richard Sandiford wrote: + if (type == error_mark_node) +return lhd_simulate_record_decl (loc, name, fields); >>> >>> Why fall back to the language-independent

Re: [PATCH,FORTRAN 01/29] gdbinit: break on gfc_internal_error

2021-10-30 Thread Bernhard Reutner-Fischer via Gcc-patches
On 30 October 2021 00:13:06 CEST, Jerry D wrote: >Looks OK. Thanks! I guess I need an OK from some global maintainer, too? The breakpoint is ignored by automatically answering the question with n if the symbol is not found when loading .gdbinit for e.g. cc1. thanks, > >Cheers > >On 10/29/21

[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

Re: [PATCH] Fortran: Remove documentation for SHORT and LONG intrinics

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as r12-4808 after checking "make dvi". Thanks for the patch! Harald Am 30.10.21 um 01:16 schrieb Manfred Schwarb via Gcc-patches: Am 29.10.21 um 21:52 schrieb Harald Anlauf via Fortran: Hi Manfred, Am 29.10.21 um 16:13 schrieb Manfred Schwarb via Gcc-patches: Hi, on 2019-07-23,

[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

Re: [PATCH] Fortran: adjust error message for SHORT and LONG intrinsics

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as r12-4807. Thanks for the patch! Harald Am 30.10.21 um 01:15 schrieb Manfred Schwarb via Gcc-patches: Am 29.10.21 um 21:51 schrieb Harald Anlauf via Fortran: Hi Manfred, Am 29.10.21 um 16:12 schrieb Manfred Schwarb via Fortran: Hi, on 2019-07-23, support for SHORT and LONG

[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 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 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/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

Re: [PATCH] Fortran: Correct documentation for REAL intrinsic

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as r12-4806. Thanks for the patch! Harald Am 30.10.21 um 01:17 schrieb Manfred Schwarb via Fortran: Am 29.10.21 um 21:56 schrieb Harald Anlauf via Fortran: Hi Manfred, Am 29.10.21 um 16:18 schrieb Manfred Schwarb via Gcc-patches: Hi, documentation for REAL intrinsic is slightly

[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,

Re: [PATCH] Fortran: adjust column sizes in intrinsic.texi

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as r12-4805. Thanks for the patch! Harald Am 30.10.21 um 01:14 schrieb Manfred Schwarb via Fortran: Am 29.10.21 um 21:44 schrieb Harald Anlauf via Fortran: Hi Manfred, Am 29.10.21 um 16:05 schrieb Manfred Schwarb via Fortran: Hi, in intrinsic.texi, a lot of tables wrap lines

[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

[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 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 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:

Re: [PATCH] Fortran: recognize Gerhard Steinmetz

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as simple and obvious as r12-4803. Harald Am 30.10.21 um 01:18 schrieb Manfred Schwarb via Fortran: Am 29.10.21 um 21:58 schrieb Harald Anlauf via Fortran: Hi Manfred, Am 29.10.21 um 16:33 schrieb Manfred Schwarb via Fortran: Hi, there were really a lot of test cases provided by

Re: [PATCH] PR fortran/99853 - ICE: Cannot convert 'LOGICAL(4)' to 'INTEGER(8)' (etc.)

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as simple and obvious after discussion in PR. Harald Am 28.10.21 um 23:03 schrieb Harald Anlauf via Fortran: Dear Fortranners, the original fix by Steve was lingering in the PR. We did ICE in situations where in a SELECT CASE a kind conversion was deemed necessary, but it did

[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 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 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 = _9; for (; us_6 <= 6;)

[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 = _9; for (; us_6 <= 6;) if

[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 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

[PATCH] IBM Z: Fix address of operands will never be NULL warnings

2021-10-30 Thread Stefan Schulze Frielinghaus via Gcc-patches
Since a recent enhancement of -Waddress a couple of warnings are emitted and turned into errors during bootstrap: gcc/config/s390/s390.md:12087:25: error: the address of 'operands' will never be NULL [-Werror=address] 12087 | "TARGET_HTM && operands != NULL build/gencondmd.c:59:12: note:

[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 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

[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

Re: libgfortran.so SONAME and powerpc64le-linux ABI changes (2nd patch)

2021-10-30 Thread Thomas Koenig via Gcc
Hi Jakub, On Sat, Oct 30, 2021 at 11:30:29AM +0200, Thomas Koenig wrote: - Have a compiler switch which selects between IEEE_QP and IBM_QP. This was a suggestion by Steve Lionel formerly of DEC and Intel, and they did that when they had a few floating point formats on the Alpha to

Re: [PATCH] x86_64: Expand ashrv1ti (and PR target/102986)

2021-10-30 Thread Jakub Jelinek via Gcc-patches
On Sat, Oct 30, 2021 at 11:16:41AM +0100, Roger Sayle wrote: > 2021-10-30 Roger Sayle > > gcc/ChangeLog > PR target/102986 > * config/i386/i386-expand.c (ix86_expand_v1ti_to_ti, > ix86_expand_ti_to_v1ti): New helper functions. > (ix86_expand_v1ti_shift): Check if the

[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

[PATCH] x86_64: Expand ashrv1ti (and PR target/102986)

2021-10-30 Thread Roger Sayle
This patch was originally intended to implement 128-bit arithmetic right shifts by constants of vector registers (V1TImode), but while working on it I discovered the (my) recent ICE on valid regression now known as PR target/102986. As diagnosed by Jakub, expanders for shifts are not allowed to

Re: libgfortran.so SONAME and powerpc64le-linux ABI changes (2nd patch)

2021-10-30 Thread Jakub Jelinek via Gcc
On Sat, Oct 30, 2021 at 11:30:29AM +0200, Thomas Koenig wrote: > - Have a compiler switch which selects between IEEE_QP and IBM_QP. > This was a suggestion by Steve Lionel formerly of DEC and Intel, > and they did that when they had a few floating point formats on > the Alpha to choose from.

Re: [PATCH] hardened conditionals

2021-10-30 Thread Alexandre Oliva via Gcc-patches
FYI, I'm putting in this follow-up tweak to the GNAT manual. Implied compares in Ada Harded Conditionals documentation From: Alexandre Oliva Improve the wording on optimizations that prevent compare hardening, so as to also cover cases in which explicit compares get combined into operations

Re: libgfortran.so SONAME and powerpc64le-linux ABI changes (2nd patch)

2021-10-30 Thread Thomas Koenig via Gcc
Hi Michael, It adds target hooks so the back end can overwrite the kind number for types. I made the IBM long double type use KIND=15 instead of KIND=16, and Float128 uses KIND=16 as we've discussed. The tests for long double are still failing, so I suspect we will need some way of

[committed] openmp: Diagnose threadprivate OpenMP loop iterators

2021-10-30 Thread Jakub Jelinek via Gcc-patches
Hi! We weren't diagnosing the The loop iteration variable may not appear in a threadprivate directive. restriction which used to be in 5.0 just among the Worksharing-Loop restrictions but in 5.1 it is among Canonical Loop Nest Form restrictions. This patch diagnoses those.

[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 tree-optimization/102943] [12 Regression] VRP threader compile-time hog with 521.wrf_r

2021-10-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #6 from Aldy Hernandez --- Can this be re-checked now that the forward threader has been dropped post-VRP? BTW, please CC me on any compile-time hogs related to the threader, especially if it's not SPEC related, as I've yet to hunt