[Bug c++/89585] GCC 8.3: asm volatile no longer accepted at file scope

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585 Andrew Pinski changed: What|Removed |Added Known to fail||7.4.0, 8.3.0 Target Milestone|---

[Bug c++/107732] [13 Regreession] ICE in lower_bound, at value-range.h:350

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107732 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug analyzer/107711] [13 Regression] ICE with "-fanalyzer -Wunused-macros" since r13-4073-gd8aba860b34203

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug libstdc++/107712] std::format does not work for clang

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107712 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/68097] We should track ranges for floating-point values too

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68097 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/106649] [C++23] P2448 - Relaxing some constexpr restrictions

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106649 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug fortran/107444] ICE on character, value, optional dummy argument

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107444 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/107624] [c++23] Wrong code with static operator ()

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107624 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/107676] Nonsensical docs for -mrelax-cmpxchg-loop

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/107645] internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx unspec) in symbolic_operand_1, at config/m68k/predicates.md:144

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107645 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/107206] Bogus -Wuninitialized in std::optional

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107206 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.3 Known to work|

[Bug c++/107492] Unhelpful -Wignored-qualifiers warning in template specialization

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107492 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c/107305] ICE: 'verify_gimple' failed

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107305 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c/100525] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100525 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug analyzer/106140] RFE: analyzer could complain about misuses of socket APIs

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106140 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug analyzer/106302] RFE: provide a way for -fanalyzer to use target flags

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106302 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug fortran/100972] Missing error with "implicit none (external)"

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100972 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug analyzer/106235] RFE: -fanalyzer could complain about tainted data triggering assertion failure

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106235 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/107618] Incorrect diagnostics when using -Og, builtin_expect(), and function attribute "warning" or "error"

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107618 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/89430] A missing ifcvt optimization to generate csel

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0

[Bug analyzer/99671] RFE: analyzer could complain about ptr derefs that occur before the ptr is checked

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99671 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/107599] [13 regression] c-c++-common/diagnostic-format-json-4.c fails after r13-3853-g9c3bc557995463

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107599 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/107363] Wrong caret location for "redundant move in return statement" and nvo

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107363 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/107584] internal compiler error: in finish_member_declaration, at cp/semantics.c:3023

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107584 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c/53562] Add -Werror= support for -D_FORTIFY_SOURCE / __builtin___memcpy_chk

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

[Bug tree-optimization/24021] VRP does not work with floating points

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug middle-end/107389] Always propagate __builtin_assume_aligned

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107389 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/106644] [C++23] P2468R2 - The Equality Operator You Are Looking For

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106644 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/107550] incorrect templated lambda mangling

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107550 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Keywords|

[Bug c++/102614] [C++23] P2314R4 - Character sets and encodings

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102614 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0

[Bug libgomp/32193] libgomp does not honor --disable-werror

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32193 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/107342] Optimization opportunity where integer '/' corresponds to '>>'

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107342 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/106721] Error: invalid character '<' in mnemonic since r13-2122-g86c0d98620ee3a

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106721 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.3 Known to fail|

[Bug libgomp/106045] Incorrect testcase in libgomp.c/target-31.c at -O0

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106045 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.4 Known to work|

[Bug tree-optimization/99966] Bounds check not eliminated by assert

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99966 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Keywords|

[Bug tree-optimization/93917] VRP forgets range of value read from memory

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93917 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug analyzer/107486] [13 Regression] ICE when pipe's argument is not a pointer type

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107486 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug middle-end/106449] ICE in #pragma omp parallel for simd since r6-4544-ge01d41e553aae245

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106449 Andrew Pinski changed: What|Removed |Added Known to fail||12.1.0 Known to work|

[Bug target/107510] gcc/config/gcn/gcn.cc:4930:9: style: Same expression on both sides of '||'. [duplicateExpression]

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107510 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/107121] DEFERRED_INIT misspelled in error message

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107121 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.3 Known to work|

[Bug libgomp/106643] [gfortran + OpenACC] Allocate in module causes refcount error

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106643 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105364 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/96688] Failure to optimize shift-right/add+bitwise not of constant to avoid bitwise not

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96688 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/89653] Missing vectorization of loop containing std::min/std::max and temporary

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89653 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0

[Bug testsuite/107903] New: new test case gcc.dg/analyzer/file-CWE-1341-example.c in r13-4218-g9ada45967b4cf5 has excess errors

2022-11-28 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107903 Bug ID: 107903 Summary: new test case gcc.dg/analyzer/file-CWE-1341-example.c in r13-4218-g9ada45967b4cf5 has excess errors Product: gcc Version: 13.0 Status:

[Bug c++/68180] [ICE] at cp/constexpr.c:2768 in initializing __vector in a loop

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

[Bug tree-optimization/64410] gcc 25% slower than clang 3.5 for adding complex numbers

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

[Bug tree-optimization/88676] missed opportunity in integer conditional

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88676 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0

[Bug fortran/107819] ICE in gfc_check_argument_var_dependency, at fortran/dependency.cc:978

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107819 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug driver/26016] using -S on a .S file does not work properly

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26016 Andrew Pinski changed: What|Removed |Added CC||pskocik at gmail dot com --- Comment #3

[Bug driver/88131] `gcc -S pp_assembly.S - o OutputFile.s` writes to STDOUT instead of `OutputFile.s`

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

[Bug target/70718] multilib_defaults on nios2 refers to -EL

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70718 Andrew Pinski changed: What|Removed |Added Keywords||internal-improvement --- Comment #3

[Bug target/70718] multilib_defaults on nios2 refers to -EL

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

[PATCH] RISC-V: Fix up some wording in the mcpu/mtune comment

2022-11-28 Thread Palmer Dabbelt
gcc/ChangeLog: * config/riscv/riscv.cc (riscv_option_override): Fix comment wording. --- Just stumbled on this one looking at the output of that sed script. The script itself was fine, the original comment was to blame. --- gcc/config/riscv/riscv.cc | 2 +- 1 file changed, 1

Code generation: How to define file-scope static variables?

2022-11-28 Thread Robert Dubner
I am part of a team working on a COBOL front end for GCC. By reverse engineering other front ends, I learned, some months ago, how to create a function_decl GENERIC node that is the root of a GENERIC tree describing an entire function. By calling the routine cgraph_node::finalize_function()

[Bug fortran/107819] ICE in gfc_check_argument_var_dependency, at fortran/dependency.cc:978

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

[PATCH] c++: TYPENAME_TYPE lookup ignoring non-types [PR107773]

2022-11-28 Thread Patrick Palka via Gcc-patches
[temp.res.general]/3 says, in a note, "the usual qualified name lookup ([basic.lookup.qual]) applies even in the presence of typename". Thus when resolving a TYPENAME_TYPE, it seems we shouldn't be looking past non-type members. This patch fixes this by passing want_type=false instead of =true

[Bug libstdc++/107902] New: std::sort isn't usable on 16-bit targets

2022-11-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107902 Bug ID: 107902 Summary: std::sort isn't usable on 16-bit targets Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug libstdc++/107901] std::format isn't usable on 16-bit targets

2022-11-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107901 --- Comment #2 from Jonathan Wakely --- Or simply: --- a/libstdc++-v3/include/std/format +++ b/libstdc++-v3/include/std/format @@ -3034,6 +3034,7 @@ namespace __format return std::forward<_Visitor>(__vis)(_M_val._M_ll);

[Bug libstdc++/107901] std::format isn't usable on 16-bit targets

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

[Bug libstdc++/107901] New: std::format isn't usable on 16-bit targets

2022-11-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107901 Bug ID: 107901 Summary: std::format isn't usable on 16-bit targets Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug c++/107773] Class members do not hide inherited types inside requires

2022-11-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107773 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/107899] ICE in resolve_deallocate_expr, at fortran/resolve.cc:7576

2022-11-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107899 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/107900] Select type with intrinsic type inside associate causes ICE / Segmenation fault

2022-11-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107900 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1

Re: [committed] Fix up duplicated duplicated words in comments

2022-11-28 Thread Andrew Pinski via Gcc-patches
On Mon, Mar 7, 2022 at 6:06 AM Jakub Jelinek via Gcc-patches wrote: > > Hi! > > Like in r10-7215-g700d4cb08c88aec37c13e21e63dd61fd698baabc 2 years ago, > I've run > grep -v 'long long\|optab optab\|template template\|double double' > *.{[chS],cc} */*.{[chS],cc} *.def config/*/* 2>/dev/null |

[Bug c++/101733] simple-requirement prefixed with typename interpreted as type-requirement

2022-11-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101733 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2b0ae7fb91f64fb005abf7d7903fd4c0764bb45c commit r13-4380-g2b0ae7fb91f64fb005abf7d7903fd4c0764bb45c Author: Jason Merrill Date:

[pushed] c++: simple-requirement starting with 'typename' [PR101733]

2022-11-28 Thread Jason Merrill via Gcc-patches
Tested x86_64-pc-linux-gnu, applying to trunk. -- 8< -- Usually a requirement starting with 'typename' is a type-requirement, but it might be a simple-requirement such as a functional cast to a typename-type. PR c++/101733 gcc/cp/ChangeLog: * parser.cc (cp_parser_requirement):

[pushed] c++: be more strict about 'concept bool'

2022-11-28 Thread Jason Merrill via Gcc-patches
Tested x86_64-pc-linux-gnu, applying to trunk. -- 8< -- Some clang folks mailed me asking about being less permissive about 'concept bool', so let's bump it up from pedwarn to permerror. gcc/cp/ChangeLog: * parser.cc (cp_parser_decl_specifier_seq): Change 'concept bool'

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2022-11-28 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #27 from Peter Cordes --- (In reply to Alexander Monakov from comment #26) > Sure, the right course of action seems to be to simply document that atomic > types and built-ins are meant to be used on "common" (writeback) memory

Re: [PATCH] coroutines: Fix promotion of class members in co_await statements [PR99576]

2022-11-28 Thread Iain Sandoe
Hi Adrian, Again thanks for working on this and getting it into a suitable state for posting. It’s a good idea to CC relevant maintainer(s) on patches [see MAINTAINERS] and I’d welcome cc on any coroutines ones (it’s easy to miss a patch otherwise). > On 28 Nov 2022, at 11:55, Adrian Perl via

Re: [PATCH][_GLIBCXX_INLINE_VERSION] Adapt to_chars/from_chars symbols

2022-11-28 Thread François Dumont via Gcc-patches
On 28/11/22 19:35, Jonathan Wakely wrote: On Mon, 28 Nov 2022 at 06:07, François Dumont via Libstdc++ mailto:libstdc%2b...@gcc.gnu.org>> wrote: This patch is fixing those tests: 20_util/to_chars/float128_c++23.cc std/format/formatter/requirements.cc

[Bug fortran/107900] New: Select type with intrinsic type inside associate causes ICE / Segmenation fault

2022-11-28 Thread kaiserkarl31 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107900 Bug ID: 107900 Summary: Select type with intrinsic type inside associate causes ICE / Segmenation fault Product: gcc Version: 12.2.1 Status: UNCONFIRMED

[Bug rtl-optimization/107772] function prologue generated even though it's only needed in an unlikely path

2022-11-28 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107772 --- Comment #5 from Avi Kivity --- It indeed generates better code. However, it requires that I duplicate the function body, which can be hard at times (consider f == std::transform and "if (*b != 0) { *b = g(*b); }" as a lambda input.

[PATCH] c++: explicit specialization and trailing requirements [PR107864]

2022-11-28 Thread Patrick Palka via Gcc-patches
Here we're crashing when using an explicit specialization of a function template with trailing requirements ultimately because decls_match (called indirectly from register_specialization) returns false since the template has trailing requirements whereas the specialization doesn't. In

[COMMITTED] Fix comment for (A / (1 << B)) -> (A >> B).

2022-11-28 Thread apinski--- via Gcc-patches
From: Andrew Pinski There was a small typo where Also was done twice. The second also should have been handled. This fixes that. Committed as obvious after a build. gcc/ChangeLog: * match.pd ((A / (1 << B)) -> (A >> B).): Fix comment. --- gcc/match.pd | 2 +- 1 file changed,

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2022-11-28 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #26 from Alexander Monakov --- Sure, the right course of action seems to be to simply document that atomic types and built-ins are meant to be used on "common" (writeback) memory, and no guarantees can be given otherwise, because it

[Bug middle-end/105119] the division in x / (1 << y) is optimized away when x has unsigned type, but not when it's signed

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

[Bug fortran/107874] merge not using all its arguments

2022-11-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107874 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[PATCH] Fortran: intrinsic MERGE shall use all its arguments [PR107874]

2022-11-28 Thread Harald Anlauf via Gcc-patches
Dear all, as reported, the Fortran standard requires all actual argument expressions to be evaluated (e.g. F2018:15.5.3). There were two cases for intrinsic MERGE where we failed to do so: - non-constant mask; Steve provided the patch - constant scalar mask; we need to be careful to simplify

[Bug middle-end/105119] the division in x / (1 << y) is optimized away when x has unsigned type, but not when it's signed

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

[Bug middle-end/105137] Missed optimization 64-bit adds and shifts

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105137 Andrew Pinski changed: What|Removed |Added Target||x86_64-linux-gnu Ever confirmed|0

[Bug analyzer/107882] [13 Regression] ICE in get_last_bit_offset, at analyzer/store.h:255 since 13-2582-g0ea5e3f4542832b8

2022-11-28 Thread tlange at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107882 --- Comment #2 from Tim Lange --- Created attachment 53979 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53979=edit patch for pr107882 I think the assertion here uncovered a bug. Currently, if the OTHER parameter of

Re: [PATCH RESEND] riscv: improve the cost model for loading a 64bit constant in rv32.

2022-11-28 Thread Jeff Law via Gcc-patches
On 11/10/22 07:37, Lin Sinan via Gcc-patches wrote: The motivation of this patch is to correct the wrong estimation of the number of instructions needed for loading a 64bit constant in rv32 in the current cost model(riscv_interger_cost). According to the current implementation, if a

Re: [PATCH v2] RISC-V: Avoid redundant sign-extension for SImode SGE, SGEU, SLE, SLEU

2022-11-28 Thread Maciej W. Rozycki
On Mon, 28 Nov 2022, Jeff Law wrote: > > Given the false negatives how about getting a bit stricter and also > > checking there's nothing following the XORI instruction, like here? > > > > It might be an overkill to have a check both for the sequence and for the > > absence of ANDI or SEXT.W

Re: 回复:[PING] [PATCH RESEND] riscv: improve the cost model for loading a 64bit constant in rv32.

2022-11-28 Thread Palmer Dabbelt
On Mon, 28 Nov 2022 11:15:01 PST (-0800), gcc-patches@gcc.gnu.org wrote: > > > On 11/24/22 00:43, Sinan wrote: >>> The motivation of this patch is to correct the wrong estimation  >>>of  the number of instructions needed for loading a 64bit constant  in  rv32 

Re: 回复:[PING] [PATCH RESEND] riscv: improve the cost model for loading a 64bit constant in rv32.

2022-11-28 Thread Jeff Law via Gcc-patches
On 11/24/22 00:43, Sinan wrote:  The motivation of this patch is to correct the wrong estimation of  the number of instructions needed for loading a 64bit constant in  rv32 in the current cost model(riscv_interger_cost). According to  the current implementation, if a constant requires more 

[Bug c++/99576] [coroutines] destructor of a temporary called too early within co_await expression

2022-11-28 Thread adrian.perl at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99576 --- Comment #12 from Adrian Perl --- I have sent the patch and tests to gcc-patc...@gcc.gnu.org Thanks for the guidance

[Bug tree-optimization/107879] [13 Regression] ffmpeg-4 test suite fails on FPU arithmetics

2022-11-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107879 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2022-11-28 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #25 from Peter Cordes --- (In reply to Alexander Monakov from comment #24) > > I think it's possible to get UC/WC mappings via a graphics/compute API (e.g. > OpenGL, Vulkan, OpenCL, CUDA) on any OS if you get a mapping to device >

[Bug c++/105127] Search Path not working on Cygwin

2022-11-28 Thread samuel.d.darwin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105127 --- Comment #2 from Sam Darwin --- yes, reported: https://cygwin.com/pipermail/cygwin/2022-January/250693.html I don't know where the bug originates, in gcc or cygwin. If an expert in gcc could submit a fix to cygwin or vice versa.

[Bug fortran/107819] ICE in gfc_check_argument_var_dependency, at fortran/dependency.cc:978

2022-11-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107819 --- Comment #14 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:07b9bcc1d1484f8f1c850ff14db678fb6b1e4d36 commit r13-4375-g07b9bcc1d1484f8f1c850ff14db678fb6b1e4d36 Author: Harald Anlauf Date:

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2022-11-28 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #24 from Alexander Monakov --- (In reply to Peter Cordes from comment #23) > But at least on Linux, I don't think there's a way for user-space to even > ask for a page of WT or WP memory (or UC or WC). Only WB memory is easily >

Re: Ping [PATCH] Change the behavior of predicate check failure on cbranchcc4 operand0 in prepare_cmp_insn

2022-11-28 Thread Richard Biener via Gcc-patches
On Mon, Nov 28, 2022 at 6:58 PM Segher Boessenkool wrote: > > On Mon, Nov 28, 2022 at 09:42:05AM +0100, Richard Biener wrote: > > Since the function seems to be allowed to fail the patch looks > > reasonable - still I wonder > > what the "fallback" for a MODE_CC style compare-and-branch is?

Re: [PATCH] RISC-V: Note that __builtin_riscv_pause() implies Xgnuzihintpausestate

2022-11-28 Thread Palmer Dabbelt
On Fri, 18 Nov 2022 09:01:08 PST (-0800), Palmer Dabbelt wrote: On Thu, 17 Nov 2022 22:59:08 PST (-0800), Kito Cheng wrote: Wait, what's Xgnuzihintpausestate??? I just made it up, it's defined right next to the name like those profile extensions are. I figured that's the most RISC-V way to

Re: [PATCH][_GLIBCXX_INLINE_VERSION] Adapt to_chars/from_chars symbols

2022-11-28 Thread François Dumont via Gcc-patches
I forgot to add the patch but as you already made another feedback I'll clean my patch first. On 28/11/22 19:43, François Dumont wrote: On 28/11/22 11:21, Jonathan Wakely wrote: On Mon, 28 Nov 2022 at 10:10, Jonathan Wakely wrote: On Mon, 28 Nov 2022 at 06:07, François Dumont via

Re: [PATCH][_GLIBCXX_INLINE_VERSION] Adapt to_chars/from_chars symbols

2022-11-28 Thread François Dumont via Gcc-patches
On 28/11/22 11:21, Jonathan Wakely wrote: On Mon, 28 Nov 2022 at 10:10, Jonathan Wakely wrote: On Mon, 28 Nov 2022 at 06:07, François Dumont via Libstdc++ mailto:libstdc%2b...@gcc.gnu.org>> wrote: This patch is fixing those tests:

[Bug tree-optimization/107896] [13 Regression] ICE in supportable_widening_operation, at tree-vect-stmts.cc:12199 breaking arm bootstrap

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

[Bug tree-optimization/107896] [13 Regression] ICE in supportable_widening_operation, at tree-vect-stmts.cc:12199 breaking arm bootstrap

2022-11-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107896 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:2200b7054638bbf157192a4dca23886dd420becb commit r13-4374-g2200b7054638bbf157192a4dca23886dd420becb Author: Richard Biener Date:

[PATCH] tree-optimization/107896 - allow v2si to dimode unpacks

2022-11-28 Thread Richard Biener via Gcc-patches
The following avoids ICEing for V2SI -> DImode vec_unpacks_lo. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. PR tree-optimization/107896 * tree-vect-stmts.cc (supportable_widening_operation): Handle non-vector mode intermediate mode. ---

<    1   2   3   4   >