[Bug objc/101616] Objective-C frontend should not emit vtable/fixup messages (at least, not by default)

2021-07-28 Thread mhjacobson at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101616 --- Comment #3 from Matt Jacobson --- Thanks -- I updated to 10.3.0 and looked into the changes. (Sorry for originally filing this against such an out-of-date compiler.) As it happens, I'm targeting the NeXT v2 runtime, but I'm *not* actually

[Bug target/99881] Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99881 --- Comment #10 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:7d11da87a1e3c7e0d274788ca43519513dae4bfe commit r12-2587-g7d11da87a1e3c7e0d274788ca43519513dae4bfe Author: liuhongt Date: Thu Jul

[Bug tree-optimization/101668] New: vectorizer doesn't categorize vector construct cost right.

2021-07-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101668 Bug ID: 101668 Summary: vectorizer doesn't categorize vector construct cost right. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/39821] 120% slowdown with vectorizer

2021-07-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39821 --- Comment #11 from Hongtao.liu --- Fixed in GCC12.

[Bug target/99881] Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX

2021-07-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99881 --- Comment #9 from Hongtao.liu --- (In reply to Jakub Jelinek from comment #8) > The testcase is buggy: > Executing on host: /home/jakub/src/gcc/obj19/gcc/xgcc > -B/home/jakub/src/gcc/obj19/gcc/ >

[Bug target/39821] 120% slowdown with vectorizer

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39821 --- Comment #10 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:231bcc77b953406b8381c7f55a3ec181da67d1e7 commit r12-2586-g231bcc77b953406b8381c7f55a3ec181da67d1e7 Author: liuhongt Date: Wed Jul

[Bug testsuite/69598] gcc.dg/tree-ssa/vrp47.c scan-tree-dump-times vrp1 "[xy][^ ]* !=" 0 fails for powerpc64-linux-gnu

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69598 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |testsuite Target Milestone|---

[Bug target/61837] missed loop invariant expression optimization

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61837 --- Comment #12 from CVS Commits --- The master branch has been updated by Jiu Fu Guo : https://gcc.gnu.org/g:aafa38b5bfed5e3eff258aa5354ed928f4986709 commit r12-2585-gaafa38b5bfed5e3eff258aa5354ed928f4986709 Author: Jiufu Guo Date: Thu Jul

[Bug ada/101667] New: GNAT bug detected in op1_range in range-op.cc during GIMPLE pass evrp

2021-07-28 Thread denkpadje at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101667 Bug ID: 101667 Summary: GNAT bug detected in op1_range in range-op.cc during GIMPLE pass evrp Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug objc/101666] Objective-C frontend crashes with `-fobjc-nilcheck`

2021-07-28 Thread mhjacobson at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101666 --- Comment #2 from Matt Jacobson --- (Oops, ignore the `[8*3]` part in the explanation.)

[Bug objc/101666] Objective-C frontend crashes with `-fobjc-nilcheck`

2021-07-28 Thread mhjacobson at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101666 --- Comment #1 from Matt Jacobson --- I'm not an expert on GCC ASTs, but would this change be correct here? I'm trying to simulate something like `struct whatever ftree[8 * 3] = {0};`. diff --git a/gcc/objc/objc-next-runtime-abi-02.c

[Bug objc/101666] New: Objective-C frontend crashes with `-fobjc-nilcheck`

2021-07-28 Thread mhjacobson at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101666 Bug ID: 101666 Summary: Objective-C frontend crashes with `-fobjc-nilcheck` Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/101627] List-directed read with trailing characters after quotes

2021-07-28 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101627 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug target/99881] Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX

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

[Bug middle-end/101665] New: -fno-delete-null-pointer checks ineffective for attribute nonnull parameters

2021-07-28 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101665 Bug ID: 101665 Summary: -fno-delete-null-pointer checks ineffective for attribute nonnull parameters Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug d/101664] New: d: Return the correct value for C++ constructor calls

2021-07-28 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101664 Bug ID: 101664 Summary: d: Return the correct value for C++ constructor calls Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/101494] [11 Regression] -Wmaybe-uninitialized false alarm with memrchr of size 0

2021-07-28 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101494 --- Comment #7 from Martin Sebor --- Fixed in GCC 12 by r12-2583. Will backport to GCC 11.

[Bug tree-optimization/101494] [11 Regression] -Wmaybe-uninitialized false alarm with memrchr of size 0

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101494 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:1121e495b70105deeb82295f8210e30f2080bc37 commit r12-2583-g1121e495b70105deeb82295f8210e30f2080bc37 Author: Martin Sebor Date:

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 --- Comment #6 from Andrew Pinski --- The final conversion should happen at the RTL level (or during expansion). simplify-rtx.c has this: /* If STORE_FLAG_VALUE is 1, (minus 1 (comparison foo bar)) can be done by reversing the

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > Hmm, thinking about expanding this further: Even further. int f1(int n) { if (n&~8) __builtin_unreachable(); return 63 - n; } CUT So the

[Bug tree-optimization/53979] ((a ^ b) | a) not optimized to (a | b)

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

[Bug middle-end/101601] [12 Regression] -Warray-bounds triggers error: arrays of functions are not meaningful

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

[Bug middle-end/101601] [12 Regression] -Warray-bounds triggers error: arrays of functions are not meaningful

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101601 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:b9cbf8c9e0bc72f59b643165247fae646560aadd commit r12-2582-gb9cbf8c9e0bc72f59b643165247fae646560aadd Author: Martin Sebor Date:

[Bug c++/99859] constexpr evaluation with member function is incorrect

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99859 --- Comment #21 from Andrew Pinski --- Looks to be fixed in GCC 11. It still fails for me with GCC 10.3 though.

[Bug c++/92431] ICE with spaceship in constexpr evaluation

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431 --- Comment #7 from Andrew Pinski --- Looks to be fixed for the GCC 10 release.

[Bug c++/101663] New: GCC crashes when assigning one single_view to another.

2021-07-28 Thread gcc at zoecarver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101663 Bug ID: 101663 Summary: GCC crashes when assigning one single_view to another. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/101662] New: FAIL: gcc.target/i386/pr91446.c

2021-07-28 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101662 Bug ID: 101662 Summary: FAIL: gcc.target/i386/pr91446.c Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/101610] CST - (x ^ (CST-1)) can be optimized to x + 1 if x < CST and CST is a power of 2

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

[Bug tree-optimization/98953] Failure to optimize two reads from adjacent addresses into one

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

[Bug tree-optimization/98955] Failure to optimize shift+compare to single shift

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

[Bug testsuite/101661] New: UNRESOLVED: gcc.dg/ipa/remref-6.c scan-ipa-dump inline "Removed a reference"

2021-07-28 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101661 Bug ID: 101661 Summary: UNRESOLVED: gcc.dg/ipa/remref-6.c scan-ipa-dump inline "Removed a reference" Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug testsuite/100168] Test gcc.dg/pr56727-2.c fails on power10 code generation

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100168 --- Comment #2 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:f471739e636734c2b4933cc4cb4ebad6cb2083ad commit r12-2580-gf471739e636734c2b4933cc4cb4ebad6cb2083ad Author: Michael Meissner

[Bug tree-optimization/98909] Failure to optimize odd loop pattern

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

[Bug tree-optimization/98966] Failure to optimize conditional or with 1 based on boolean condition to direct or

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

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 --- Comment #4 from Andrew Pinski --- Hmm, thinking about expanding this further: int f1(int n) { if (n&~63) __builtin_unreachable(); return 63 - n; } int f2(int n) { if (n&~63) __builtin_unreachable(); return 63 ^ n; } These

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

2021-07-28 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101660 Bug ID: 101660 Summary: FAIL: gfortran.dg/bind_c_array_params_3.f90 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/89847] Simplify subexpressions of % constant

2021-07-28 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89847 --- Comment #2 from Segher Boessenkool --- Interestingly, while this gives optimal code for power8 and power9, we still get an unnecessary mulli for power10. This is because multiplication by 31 is expanded to a multiplication on power10 (just

[Bug c++/101659] New: _GLIBCXX_DEBUG mode for std::optional ?

2021-07-28 Thread simon.marchi at polymtl dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101659 Bug ID: 101659 Summary: _GLIBCXX_DEBUG mode for std::optional ? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 Bug 85316 depends on bug 97967, which changed state. Bug 97967 Summary: Missed optimization opportunity for VRP https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97967 What|Removed |Added

[Bug tree-optimization/97967] Missed optimization opportunity for VRP

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

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Ever confirmed|0

[Bug fortran/93308] bind(c) subroutine changes lower bound of array argument in caller

2021-07-28 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93308 sandra at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/96457] PRE gets confused by punned load handling

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

[Bug libfortran/101317] Bind(C): improve error checking in CFI_* functions declared in ISO_Fortran_binding.h

2021-07-28 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101317 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug libfortran/101310] Bind(C): CFI_section seems confused by pointer arrays

2021-07-28 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101310 sandra at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

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

2021-07-28 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101305 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug tree-optimization/100858] Simple common code hoisting is not performed

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

[Bug tree-optimization/89847] Simplify subexpressions of % constant

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

[Bug fortran/101536] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7324

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101536 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:35c7067f7b31682e4d5da7ec83759ab1a17cead9 commit r11-8813-g35c7067f7b31682e4d5da7ec83759ab1a17cead9 Author: Harald Anlauf

[Bug fortran/101514] ICE: out of memory allocating 18446744073709551600 bytes

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101514 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:1645998adcba19d69634dad3baaf54a9c0a258ed commit r11-8812-g1645998adcba19d69634dad3baaf54a9c0a258ed Author: Harald Anlauf

[Bug fortran/101084] [10/11/12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1124

2021-07-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101084 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/101084] [10/11/12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1124

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101084 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7277ac60e0def3fe6bf76fee239701dbaf3d4e0e commit r10-10010-g7277ac60e0def3fe6bf76fee239701dbaf3d4e0e Author: Harald Anlauf

[Bug fortran/101084] [10/11/12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1124

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101084 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:0b506dcf9f9c41d94ccb6c2839884d029378ec0a commit r11-8811-g0b506dcf9f9c41d94ccb6c2839884d029378ec0a Author: Harald Anlauf

[Bug fortran/101658] New: Bogus message for declaration of polymorphic dummy argument

2021-07-28 Thread longb at cray dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101658 Bug ID: 101658 Summary: Bogus message for declaration of polymorphic dummy argument Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal

[Bug c/101645] warn about neg of unsigned type should be added to -Wsign-conversion

2021-07-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101645 --- Comment #5 from Jonathan Wakely --- (I wrote this before comment 4 was added ...) What would the precise semantics of the suggested warning be? What kind of expressions do you expect to warn, and which should not? How would I suppress the

[Bug c/99295] [9 Regression] documentation on __attribute__((malloc)) is wrong

2021-07-28 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99295 Martin Sebor changed: What|Removed |Added Known to fail|10.2.1 | Summary|[9/10 Regression]

[Bug c/99295] [9/10 Regression] documentation on __attribute__((malloc)) is wrong

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99295 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:9d9cebd9205c7e28bd4d76c39dd9a643018791af commit r10-10009-g9d9cebd9205c7e28bd4d76c39dd9a643018791af Author: Martin Sebor

[Bug c++/101539] [C++20] Implement builtins for layout-compatibility and pointer-interconvertibility traits

2021-07-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101539 --- Comment #6 from Jakub Jelinek --- I've tried my testcases with MSVC on godbolt that claims to implement it, and https://godbolt.org/z/3PnjM33vM for the first testcase shows it disagrees with my expectations on static_assert

[Bug c++/101480] [11/12 Regression] Miscompiled code involving operator new

2021-07-28 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101480 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug fortran/101564] ICE in resolve_allocate_deallocate, at fortran/resolve.c:8169

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101564 --- Comment #6 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7bf582e6cfcef922a087b1b2b42aa04ea9cb2d94 commit r12-2577-g7bf582e6cfcef922a087b1b2b42aa04ea9cb2d94 Author: Harald Anlauf Date:

[Bug libgcc/101489] Documentation gives wrong signatures for libgcc float128 routines

2021-07-28 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101489 --- Comment #2 from Harald van Dijk --- Ah, thanks for the pointer. Agreed that the signatures are correct based on that, but they are not exactly clear as they make it impossible to tell apart the xf and tf cases. Please consider this as an

[Bug middle-end/101624] [9/10/11 Regression] ICE: tree check: expected tree that contains 'decl with RTL' structure, have 'const_decl' in maybe_optimize_ubsan_ptr_ifn, at sanopt.c:495

2021-07-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101624 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11 Regression] ICE:

[Bug middle-end/101642] [12 Regression] ice in decompose, at wide-int.h:984

2021-07-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101642 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/101624] [9/10/11/12 Regression] ICE: tree check: expected tree that contains 'decl with RTL' structure, have 'const_decl' in maybe_optimize_ubsan_ptr_ifn, at sanopt.c:495

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101624 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:49e28c02a95a4bee981e69a80950309869580151 commit r12-2576-g49e28c02a95a4bee981e69a80950309869580151 Author: Jakub Jelinek Date:

[Bug middle-end/101642] [12 Regression] ice in decompose, at wide-int.h:984

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101642 --- Comment #12 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b4fc4df94f703e3b191f503ebe7186500e45d081 commit r12-2575-gb4fc4df94f703e3b191f503ebe7186500e45d081 Author: Jakub Jelinek Date:

[Bug fortran/100371] Fortran asynchronous I/O: ASAN (memory leak) + TASN (potential dead lock) warning with libgomp.fortran/async_io_*.f90

2021-07-28 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100371 Bug 100371 depends on bug 100352, which changed state. Bug 100352 Summary: [11/12 Regression] libgomp.fortran/async_io_1.f90 -O0 execution test https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352 What|Removed

[Bug libgomp/100352] [11/12 Regression] libgomp.fortran/async_io_1.f90 -O0 execution test

2021-07-28 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/84976] ICE: Segmentation fault (cp_build_modify_expr())

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

[Bug c++/61292] auto keyword to reference generates wrong alignment move (causing runtime segfault)

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61292 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-28

[Bug c++/92467] gcc miscompiles ternary expression with omitted first operand ?: involving C++ prvalues

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92467 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #4 from Andrew

[Bug c++/100570] g++ does not suppress bitfield conversion warning even isystem flag is set

2021-07-28 Thread fsmoke at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100570 --- Comment #2 from fsmoke --- minimal example to reproduce BUG: test.cpp: ``` #include int main() { QVariant var; return 0; } ``` Build line: g++ -c -x c++ test.cpp -I /usr/local/include/qt5 -I

[Bug c++/51317] [C++0x] [DR 587] Wrong value category of conditional expression where lvalue operands differ only in cv-qualification

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

[Bug c++/101539] [C++20] Implement builtins for layout-compatibility and pointer-interconvertibility traits

2021-07-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101539 --- Comment #5 from Jakub Jelinek --- Created attachment 51219 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51219=edit gcc12-pr101539-2.patch Untested patch for the __is_pointer_interconvertible_base_of trait and

[Bug c++/60565] Bogus not-in-scope error

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60565 Andrew Pinski changed: What|Removed |Added Known to work||8.0 Status|NEW

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

2021-07-28 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 Last reconfirmed||2021-07-28 Ever confirmed|0

[Bug tree-optimization/101615] [12 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-1872

2021-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101615 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/101615] [12 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-1872

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101615 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3c91efec15af4f922a9af495e178bbb66d2e9d1f commit r12-2573-g3c91efec15af4f922a9af495e178bbb66d2e9d1f Author: Richard Biener Date:

[Bug target/100865] Convert CONST_WIDE_INT to broadcast

2021-07-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100865 H.J. Lu changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug target/101456] Unnecessary vzeroupper when upper bits of YMM registers already zero

2021-07-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101456 H.J. Lu changed: What|Removed |Added Target Milestone|--- |12.0 Status|UNCONFIRMED

[Bug c++/92485] [9 only] g++ ICE unexpected expression '' of kind asm_expr

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92485 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Summary|g++ ICE

[Bug libgcc/101489] Documentation gives wrong signatures for libgcc float128 routines

2021-07-28 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101489 --- Comment #1 from joseph at codesourcery dot com --- See the "For illustrative purposes, ..." in which explains the conventions for how function prototypes are given in that part of the

[Bug c++/91095] internal compiler error: in tsubst_copy

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

[Bug c++/78217] Duplicate decls handling with auto

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

[Bug c++/78217] Duplicate decls handling with auto

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78217 --- Comment #3 from Andrew Pinski --- Confirmed.

[Bug c++/78217] Duplicate decls handling with auto

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78217 Andrew Pinski changed: What|Removed |Added CC||ppluzhnikov at google dot com ---

[Bug c++/60352] [C++11] Bogus "error: conflicting declaration 'auto i'"

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

[Bug d/101657] New: d: di header file created even if errors occur

2021-07-28 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101657 Bug ID: 101657 Summary: d: di header file created even if errors occur Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/101456] Unnecessary vzeroupper when upper bits of YMM registers already zero

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101456 --- Comment #6 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:9775e465c1fbfc32656de77c618c61acf5bd905d commit r12-2571-g9775e465c1fbfc32656de77c618c61acf5bd905d Author: H.J. Lu Date: Tue Jul 27

[Bug c++/85790] c++17 - Access control issue with template argument deduction

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85790 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #2 from

[Bug c++/90475] Diagnostic for designated initializer could be a lot better

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90475 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-05-14 00:00:00 |2021-7-28 --- Comment #1 from Andrew

[Bug tree-optimization/101615] [12 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-1872

2021-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101615 --- Comment #4 from Richard Biener --- I'm now testing the other half of the fix.

[Bug tree-optimization/101615] [12 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-1872

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101615 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:6bb6e2044ced33d08175361b8e39a9c5d4a868a6 commit r12-2570-g6bb6e2044ced33d08175361b8e39a9c5d4a868a6 Author: Richard Biener Date:

[Bug target/100208] amdgcn fails to build with llvm-mc from llvm12

2021-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100208 --- Comment #4 from CVS Commits --- The master branch has been updated by Andrew Stubbs : https://gcc.gnu.org/g:1af1943ef075673501765a13e425e47015cd commit r12-2569-g1af1943ef075673501765a13e425e47015cd Author: Andrew Stubbs Date:

[Bug d/101656] New: d: Don't escape quoted format strings in escape_d_format

2021-07-28 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101656 Bug ID: 101656 Summary: d: Don't escape quoted format strings in escape_d_format Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/99602] [11/12 regression] runtime error: pointer actual argument not associated

2021-07-28 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99602 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug d/101640] d: Wrong evaluation order of binary expressions

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

[Bug d/101619] d: Change in DotTemplateExp type semantics leading to regression

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

[Bug d/101490] ICE at convert_expr(tree_node*, Type*, Type*)

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

[Bug d/101441] __FUNCTION__ doesn't work in core.stdc.stdio functions without cast

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

  1   2   3   4   >