[Bug target/104946] [12 regression] Suboptimal gimple foding for blendvpd under sse4.1

2022-03-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104946 Hongtao.liu changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug target/104946] New: [12 regression] Suboptimal gimple foding for blendvpd under sse4.1

2022-03-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104946 Bug ID: 104946 Summary: [12 regression] Suboptimal gimple foding for blendvpd under sse4.1 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/104941] ICE error: invalid (pointer) operands ‘minus_expr’ since r12-6482-g06bc1b0c539e3a60

2022-03-15 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104941 Siddhesh Poyarekar changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/104942] ICE in size_for_offset, at tree-object-size.cc:352 since r12-6482-g06bc1b0c539e3a60

2022-03-15 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104942 Siddhesh Poyarekar changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |siddhesh at gcc dot

[Bug libstdc++/104945] std::hash ignores the top 32 bits when size_t is 32 bit

2022-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104945 --- Comment #1 from Andrew Pinski --- Yes this is definitely an issue I think: // Explicit specializations for integer types. #define _Cxx_hashtable_define_trivial_hash(_Tp) \ template<>\

[Bug libstdc++/104945] New: std::hash ignores the top 32 bits when size_t is 32 bit

2022-03-15 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104945 Bug ID: 104945 Summary: std::hash ignores the top 32 bits when size_t is 32 bit Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104944] New: incorrect alignas(void) accepted (with warning if templated)

2022-03-15 Thread gccbugbjorn at fahller dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104944 Bug ID: 104944 Summary: incorrect alignas(void) accepted (with warning if templated) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2022-03-15 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 101895, which changed state. Bug 101895 Summary: [11/12 Regression] SLP Vectorizer change pushes VEC_PERM_EXPR into bad location spoiling further optimization opportunities

[Bug tree-optimization/101895] [11/12 Regression] SLP Vectorizer change pushes VEC_PERM_EXPR into bad location spoiling further optimization opportunities

2022-03-15 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101895 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/104943] New: Analyzer fails to purge state for local structs

2022-03-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104943 Bug ID: 104943 Summary: Analyzer fails to purge state for local structs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug analyzer/95000] -fanalyzer confused by switch on non-int type

2022-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 --- Comment #7 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:d1d95846e3c901faea6fe36a36e47b9169f5b133 commit r12-7659-gd1d95846e3c901faea6fe36a36e47b9169f5b133 Author: David Malcolm Date:

[Bug tree-optimization/104941] ICE error: invalid (pointer) operands ‘minus_expr’ since r12-6482-g06bc1b0c539e3a60

2022-03-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104941 --- Comment #1 from Martin Liška --- And a similar problem from openssl: $ cat bn_ctx.i int BN_CTX_startBN_STACK_push_newsize; void memcpy2(void *__dest, void *__src, int __len) { long __trans_tmp_1 = __builtin_dynamic_object_size(__dest,

[Bug tree-optimization/104942] ICE in size_for_offset, at tree-object-size.cc:352 since r12-6482-g06bc1b0c539e3a60

2022-03-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104942 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug tree-optimization/104942] New: ICE in size_for_offset, at tree-object-size.cc:352 since r12-6482-g06bc1b0c539e3a60

2022-03-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104942 Bug ID: 104942 Summary: ICE in size_for_offset, at tree-object-size.cc:352 since r12-6482-g06bc1b0c539e3a60 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/104941] ICE error: invalid (pointer) operands ‘minus_expr’ since r12-6482-g06bc1b0c539e3a60

2022-03-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104941 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-03-15

[Bug tree-optimization/104941] New: ICE error: invalid (pointer) operands ‘minus_expr’ since r12-6482-g06bc1b0c539e3a60

2022-03-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104941 Bug ID: 104941 Summary: ICE error: invalid (pointer) operands ‘minus_expr’ since r12-6482-g06bc1b0c539e3a60 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/104908] [11/12 Regression] incorrect Fortran out-of-bound runtime error.

2022-03-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104908 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|gfortran 11/trunk |[11/12 Regression]

[Bug sanitizer/104937] wrong code with _Complex division and -fsanitize=undefined

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104937 --- Comment #4 from Jakub Jelinek --- https://gcc.gnu.org/legacy-ml/gcc/2001-11/msg00790.html Regarding the debug info argument in there, this is being discussed for DWARF6.

[Bug sanitizer/104937] wrong code with _Complex division and -fsanitize=undefined

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104937 --- Comment #3 from Jakub Jelinek --- For _Complex unsigned foo (_Complex unsigned x, _Complex unsigned y) { return y / x; } int main () { _Complex int a = foo (6 + 43i, 6 + 43i); __builtin_printf ("%d %d\n", __real__ a, __imag__ a);

[Bug libfortran/104939] Reading a file with / in leads to corrupt data

2022-03-15 Thread robert.j.farmer37 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104939 Rob Farmer changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug analyzer/95000] -fanalyzer confused by switch on non-int type

2022-03-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 David Malcolm changed: What|Removed |Added Depends on||104940 --- Comment #6 from David

[Bug analyzer/104940] New: RFE: integrate analyzer with an SMT solver

2022-03-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104940 Bug ID: 104940 Summary: RFE: integrate analyzer with an SMT solver Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug sanitizer/104937] wrong code with _Complex division and -fsanitize=undefined

2022-03-15 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104937 --- Comment #2 from Zdenek Sojka --- There was PR104604 where _Complex unsigned division was fixed, but I didn't notice any other related wrong-code PR.

[Bug sanitizer/104937] wrong code with _Complex division and -fsanitize=undefined

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104937 Jakub Jelinek changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment

[Bug middle-end/103984] [12 regression] Possible maybe-uninitialized false positive on shaderc-2021.0 since r12-6329-g4f6bc28fc7dd86bd

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103984 --- Comment #15 from Jakub Jelinek --- Created attachment 52632 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52632=edit gcc12-pr103984.patch Full untested patch.

[Bug libfortran/104939] New: Reading a file with / in leads to corrupt data

2022-03-15 Thread robert.j.farmer37 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104939 Bug ID: 104939 Summary: Reading a file with / in leads to corrupt data Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug debug/104938] New: Possibly wrong location definition in DWARF with -ftree-cpp at -Og only

2022-03-15 Thread assaiante at diag dot uniroma1.it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104938 Bug ID: 104938 Summary: Possibly wrong location definition in DWARF with -ftree-cpp at -Og only Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/88398] vectorization failure for a small loop to do byte comparison

2022-03-15 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88398 --- Comment #49 from Wilco --- (In reply to d_vampile from comment #48) > (In reply to Jiu Fu Guo from comment #41) > > (In reply to Wilco from comment #40) > > > (In reply to Jiu Fu Guo from comment #39) > > > > I’m thinking to draft a patch

[Bug middle-end/103984] [12 regression] Possible maybe-uninitialized false positive on shaderc-2021.0 since r12-6329-g4f6bc28fc7dd86bd

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103984 --- Comment #14 from Jakub Jelinek --- Wonder about: --- gcc/gimplify.cc.jj 2022-03-04 15:14:53.197812540 +0100 +++ gcc/gimplify.cc 2022-03-15 17:44:45.110734179 +0100 @@ -6997,8 +6997,6 @@ gimplify_target_expr (tree *expr_p, gimp if

[Bug c++/79318] [DR 1726] conversion member function preceded with & is not marked as error

2022-03-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79318 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug sanitizer/104937] New: wrong code with _Complex division and -fsanitize=undefined

2022-03-15 Thread zsojka at seznam dot cz via Gcc-bugs
ing-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220315 (experimental) (GCC)

[Bug fortran/104927] Invalid array size specification accepted

2022-03-15 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104927 --- Comment #3 from Steve Kargl --- On Tue, Mar 15, 2022 at 04:10:41PM +, federico.perini at gmail dot com wrote: > --- Comment #2 from federico --- > Yeah I'm surprised but wrong. The "overriding" option of the rhs size > specification is

[Bug target/97106] [nvptx] Issues with weak aliases introduced by C++

2022-03-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97106 --- Comment #4 from Tom de Vries --- This: ... $ cat alias.c void __f () { __builtin_printf ("hello\n"); } void f () __attribute__ ((alias ("__f"))); int main (void) { f (); return 0; } ... works fine at -O0 and -O1: ... $ ./gcc.sh -O0

[Bug sanitizer/104934] -fsanitize=undefined codegen err

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104934 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/104934] -fsanitize=undefined codegen err

2022-03-15 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104934 --- Comment #2 from Dmitry G. Dyachenko --- (In reply to Jakub Jelinek from comment #1) > And the bug is? > The S class doesn't have the key method defined, so some other TU needs to > define it and thus provide the vtable and rtti for it. >

[Bug fortran/104927] Invalid array size specification accepted

2022-03-15 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104927 federico changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/104936] New: [nvptx] Handle weak decl/def distinction in common code

2022-03-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104936 Bug ID: 104936 Summary: [nvptx] Handle weak decl/def distinction in common code Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/103984] [12 regression] Possible maybe-uninitialized false positive on shaderc-2021.0 since r12-6329-g4f6bc28fc7dd86bd

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103984 --- Comment #13 from Jakub Jelinek --- What the gimplifier sees is: unit-size align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fffe8f0bd20 fields addressable used public external

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2022-03-15 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #21 from Avi Kivity --- Benno, many thanks for the fix. Please consider posting it to gcc-patches as that may speed up review and merging.

[Bug fortran/104927] Invalid array size specification accepted

2022-03-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104927 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug middle-end/103984] [12 regression] Possible maybe-uninitialized false positive on shaderc-2021.0 since r12-6329-g4f6bc28fc7dd86bd

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103984 --- Comment #12 from Jakub Jelinek --- In particular, in ehcleanup1 it is the sink_clobbers optimization added for PR51117. I think it would be strongly preferrable to fix this in the FE, because if we'd need to change sink_clobbers, I'd be

[Bug middle-end/103984] [12 regression] Possible maybe-uninitialized false positive on shaderc-2021.0 since r12-6329-g4f6bc28fc7dd86bd

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103984 --- Comment #11 from Jakub Jelinek --- And it is ehcleanup that sinks the clobber. Before ehcleanup1 we have: ;; basic block 16, loop depth 0, maybe hot ;;prev block 15, next block 17, flags: (NEW, REACHABLE, VISITED) ;;pred:

[Bug target/99744] __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics

2022-03-15 Thread poulhies at adacore dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744 --- Comment #18 from Marc Poulhiès --- Solved our regressions in pr99744-{1,2,4,5}.c, thanks!

[Bug target/99744] __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics

2022-03-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744 --- Comment #17 from H.J. Lu --- (In reply to Marc Poulhiès from comment #16) > Hi! > I'm seeing regressions in pr99744-{1,2,4,5}.c for an i586 target where > MMX/SSE are not enabled. Please try

[Bug c++/69623] Invalid deduction of non-trailing template parameter pack

2022-03-15 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69623 --- Comment #9 from jim x --- After reading [temp.deduct.call] p1 more carefully, I think you're right. Since the first function parameter pack does not participate in template argument deduction, the deduction will start to perform from the

[Bug middle-end/103984] [12 regression] Possible maybe-uninitialized false positive on shaderc-2021.0 since r12-6329-g4f6bc28fc7dd86bd

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103984 --- Comment #10 from Jakub Jelinek --- What the C++ FE emits looks just weird to me. In the gimple dump: [pr103984.C:35:1] D.31524.name = string_piece::str ([pr103984.C:35:1] ); [return slot optimization]

[Bug d/104911] [12 regression] Comparison failure in gcc/d/typesem.o etc.

2022-03-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104911 --- Comment #5 from Iain Buclaw --- (In reply to Rainer Orth from comment #4) > typesem.s indeed shows small codegen differences, while for semantic3.s > there are > both codegen differences per se as well as label renamings that may not >

[Bug target/104923] [11/12 Regression] MMA __builtin_mma_disassemble_acc test case ICEs in LRA

2022-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104923 --- Comment #2 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:b5baf569f77e1f172061642d4d8593e1ea737add commit r12-7657-gb5baf569f77e1f172061642d4d8593e1ea737add Author: Peter Bergner Date:

[Bug sanitizer/104934] -fsanitize=undefined codegen err

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104934 --- Comment #1 from Jakub Jelinek --- And the bug is? The S class doesn't have the key method defined, so some other TU needs to define it and thus provide the vtable and rtti for it. Without -fsanitize=vptr the typeinfo isn't needed on this

[Bug target/104768] [nvptx] Exploit Independent Thread Scheduling for sm_70+

2022-03-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104768 --- Comment #1 from Tom de Vries --- Hmm, reading about it a bit more, it's more about enabling algorithms that were not possible before, than about performance improvements. So, we should aim at having test-cases, both openacc and openmp that

[Bug target/104893] [nvptx] Handle Independent Thread Scheduling for sm_70+ with -msoft-stack

2022-03-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104893 --- Comment #1 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > The per-thread call stack is handled for .local memory by the CUDA driver. > > For the 'soft stack' that's not the case. Hmm, actually there's .local memory

[Bug tree-optimization/104931] wrong-code with number_of_iterations_lt_to_ne

2022-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104931 --- Comment #2 from Richard Biener --- But maybe the code relies on a positive 'delta' - after all the same issue must exist for integer typed IVs. Probably most interesting cases get folded early in the correct way if they do not iterate.

[Bug target/104666] [12 Regression] ICE in related_vector_mode, at stor-layout.c:537

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104666 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/104935] [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856

2022-03-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104935 --- Comment #2 from Martin Liška --- And the revision is also responsible for slower build time here of 481.wrf: https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=301.270.8

[Bug c++/103177] incorrect error message for ambiguous lookup with a static member function from a private base

2022-03-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103177 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/103177] incorrect error message for ambiguous lookup with a static member function from a private base

2022-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103177 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:ffe9c0a0d3564a6083ea6194eb3374a89c29c085 commit r12-7656-gffe9c0a0d3564a6083ea6194eb3374a89c29c085 Author: Patrick Palka Date:

[Bug target/91229] RISC-V ABI problem with zero-length bit-fields and float struct fields

2022-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91229 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:98afdc3e2bfccf0a1337013b54f2c5634ef40ee5 commit r12-7655-g98afdc3e2bfccf0a1337013b54f2c5634ef40ee5 Author: Jakub Jelinek Date:

[Bug tree-optimization/104935] [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856

2022-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104935 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 --- Comment #1 from Richard

[Bug rtl-optimization/104814] [10/11 Regression] ifcvt: Deleting live variable in IF-CASE-2

2022-03-15 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104814 --- Comment #7 from Stefan Schulze Frielinghaus --- Gave trunk a try and it worked fine for me. Thanks for the fix!

[Bug tree-optimization/104935] New: [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856

2022-03-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104935 Bug ID: 104935 Summary: [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug sanitizer/104934] New: -fsanitize=undefined codegen err

2022-03-15 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104934 Bug ID: 104934 Summary: -fsanitize=undefined codegen err Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug target/104933] New: [nvptx] muniform-simt optimization: determine inside/outside SIMT region at compile time

2022-03-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104933 Bug ID: 104933 Summary: [nvptx] muniform-simt optimization: determine inside/outside SIMT region at compile time Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug target/104482] ICE: Segmentation fault (in rs6000_builtin_type_compatible), or ICE: tree check: expected class 'type', have 'reference' (attr_addr_expr) in cp_type_quals, at cp/typeck.cc:10955

2022-03-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104482 --- Comment #2 from Kewen Lin --- One fix has been posted via https://gcc.gnu.org/pipermail/gcc-patches/2022-March/591768.html

[Bug d/104911] [12 regression] Comparison failure in gcc/d/typesem.o etc.

2022-03-15 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104911 --- Comment #4 from Rainer Orth --- Created attachment 52630 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52630=edit stage 2 and 3 objects and assembler output I've now compiled typesem.d and semantic3.d using the stage 1 and 2 gdc

[Bug target/104916] [nvptx] Handle Independent Thread Scheduling for sm_70+ with -muniform-simt

2022-03-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104916 --- Comment #3 from Tom de Vries --- Anyway, having reread the volta architecture whitepaper again, I think it's ok to use the solution I already found that does work (see PR104783): add a warp sync at simt exit. The tricky bit is that we rely

[Bug c++/69623] Invalid deduction of non-trailing template parameter pack

2022-03-15 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69623 --- Comment #8 from Ed Catmur --- (In reply to jim x from comment #7) > > auto f(auto..., auto a, auto...) { return a; } > > IIUC, this is just disallowed since all arguments would only match the first > function parameter pack.

[Bug target/99744] __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics

2022-03-15 Thread poulhies at adacore dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744 Marc Poulhiès changed: What|Removed |Added CC||poulhies at adacore dot com --- Comment

[Bug tree-optimization/104931] wrong-code with number_of_iterations_lt_to_ne

2022-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104931 --- Comment #1 from Richard Biener --- I think the issue is latent on trunk. The fix should be diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index b767056aeb0..21e25cabbd2 100644 --- a/gcc/tree-ssa-loop-niter.c +++

[Bug target/104932] New: [nvptx] Subreg validation error for V2SI

2022-03-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104932 Bug ID: 104932 Summary: [nvptx] Subreg validation error for V2SI Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/104931] wrong-code with number_of_iterations_lt_to_ne

2022-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104931 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-03-15 Known to fail|

[Bug tree-optimization/104931] New: wrong-code with number_of_iterations_lt_to_ne

2022-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104931 Bug ID: 104931 Summary: wrong-code with number_of_iterations_lt_to_ne Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/104781] [12 regression] SEGV in _Unwind_GetGR during i386 Ada bootstrap

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104781 --- Comment #15 from Jakub Jelinek --- r12-7654-gda24fce323eaf088 should fix that.

[Bug target/104916] [nvptx] Handle Independent Thread Scheduling for sm_70+ with -muniform-simt

2022-03-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104916 --- Comment #2 from Tom de Vries --- Created attachment 52629 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52629=edit Attempt, runs into driver internal error FTR, this is an attempt at a fix. It does the "predicate ld/st to only

[Bug target/104781] [12 regression] SEGV in _Unwind_GetGR during i386 Ada bootstrap

2022-03-15 Thread drepper.fsp+rhbz at gmail dot com via Gcc-bugs
--- Comment #14 from Ulrich Drepper --- My standard build now fails in stage 1 with this patch when compiling unwind-dw2.c for x86: .../gcc-builds/20220315/gcc/include/cetintrin.h: In function ‘_Unwind_RaiseException’: .../gcc-builds/20220315/gcc/include/cetintrin.h:47:1: error: inlining failed

[Bug target/104930] built-in function requires "-flax-vector-conversions" to get better warning

2022-03-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104930 --- Comment #2 from Kewen Lin --- It's regressed from r12-5752-gd08236359eb229, in the new bif infrastructure we don't use the type opaque_V4SI_type_node for prototype of overloaded built-in functions any more.

[Bug sanitizer/104929] UBSAN: false positive with sprintf

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104929 --- Comment #3 from Jakub Jelinek --- In this particular case the problem is that UBSAN adds the non-NULL tests, so the IL becomes if (!s) __ubsan_handle_nonnull_arg (...); sprintf(s, " "); if (!s) __ubsan_handle_nonnull_arg (...); return

[Bug target/104930] built-in function requires "-flax-vector-conversions" to get better warning

2022-03-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104930 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org ---

[Bug target/104930] New: built-in function requires "-flax-vector-conversions" to get better warning

2022-03-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104930 Bug ID: 104930 Summary: built-in function requires "-flax-vector-conversions" to get better warning Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug sanitizer/104929] UBSAN: false positive with sprintf

2022-03-15 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104929 --- Comment #2 from Andreas Schwab --- I think the point here is that s is not guaranteed to be non-NULL. You can add if (s == 0) __builtin_unreachable(); to suppress the warning.

[Bug sanitizer/104929] UBSAN: false positive with sprintf

2022-03-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104929 --- Comment #1 from Martin Liška --- It's a quite known limitation that usage of sanitizers tends to emit false positives of various warnings.

[Bug sanitizer/104929] New: UBSAN: false positive with sprintf

2022-03-15 Thread jengelh at inai dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104929 Bug ID: 104929 Summary: UBSAN: false positive with sprintf Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug target/104890] [12 Regression] fails to build the 32bit libgcc on x86_64-linux-gnu (--enable-cet --with-arch-32=i686)

2022-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104890 --- Comment #12 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:da24fce323eaf088239e0f900dd23f6b05d552c1 commit r12-7654-gda24fce323eaf088239e0f900dd23f6b05d552c1 Author: Jakub Jelinek Date:

[Bug tree-optimization/104917] No runtime alias test required for dependent reductions

2022-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104917 --- Comment #2 from Richard Biener --- (In reply to Jakub Jelinek from comment #1) > What if x = y + 1 or y = x + 1 ? We then do (y+1)[i] += a[i]; (y+1)[i+1] += a[i+1]; y[i] += a[i]; y[i+1] += a[i+1]; instead of (y+1)[i] += a[i];

[Bug libstdc++/104928] std::counting_semaphore on Linux can sleep forever

2022-03-15 Thread angelsl at in04 dot sg via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104928 --- Comment #1 from Tee Hao Wei --- Created attachment 52628 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52628=edit Preprocessed, gzipped reproducer

[Bug libstdc++/104928] New: std::counting_semaphore on Linux can sleep forever

2022-03-15 Thread angelsl at in04 dot sg via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104928 Bug ID: 104928 Summary: std::counting_semaphore on Linux can sleep forever Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/104917] No runtime alias test required for dependent reductions

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104917 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug tree-optimization/101895] [11/12 Regression] SLP Vectorizer change pushes VEC_PERM_EXPR into bad location spoiling further optimization opportunities

2022-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101895 --- Comment #6 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:49fb0af9bf8f16907980d383c2bbc85e185ec2e0 commit r12-7653-g49fb0af9bf8f16907980d383c2bbc85e185ec2e0 Author: Roger Sayle Date: Tue

[Bug target/104894] [11/12 Regression] ICE with -fno-plt -mcpu=power10 on PowerPC64 LE Linux

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104894 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/104847] [11/12 Regression] ICE in write_unqualified_name, at cp/mangle.cc:1406

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104847 --- Comment #3 from Jakub Jelinek --- Though the nontype-class-union1.C testcase doesn't have explicit designator syntax either.

[Bug c++/104847] [11/12 Regression] ICE in write_unqualified_name, at cp/mangle.cc:1406

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104847 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug fortran/104927] New: Invalid array size specification accepted

2022-03-15 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104927 Bug ID: 104927 Summary: Invalid array size specification accepted Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/104926] New: [nvptx] Use human-readable register names

2022-03-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104926 Bug ID: 104926 Summary: [nvptx] Use human-readable register names Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component:

[Bug rtl-optimization/104637] [9/10/11 Regression] ICE: maximum number of LRA assignment passes is achieved (30) with -Og -fno-forward-propagate -mavx since r9-5221-gd8fcab689435a29d

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

[Bug target/104925] New: [nvptx] Use "%" as register prefix

2022-03-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104925 Bug ID: 104925 Summary: [nvptx] Use "%" as register prefix Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: target

[Bug rtl-optimization/104814] [10/11 Regression] ifcvt: Deleting live variable in IF-CASE-2

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104814 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] |[10/11 Regression] ifcvt:

[Bug c++/104623] [11 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.cc:4107

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104623 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 Regression] ICE in |[11 Regression] ICE in

[Bug c++/104623] [11/12 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.cc:4107

2022-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104623 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:efd1582926f3278a5e57ebab7d87fc870f06ecea commit r12-7652-gefd1582926f3278a5e57ebab7d87fc870f06ecea Author: Jakub Jelinek Date:

[Bug rtl-optimization/104814] [10/11/12 Regression] ifcvt: Deleting live variable in IF-CASE-2

2022-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104814 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a2645cd8fb33b36d737b310e26f4c47401305c7b commit r12-7651-ga2645cd8fb33b36d737b310e26f4c47401305c7b Author: Jakub Jelinek Date:

[Bug target/104923] [11/12 Regression] MMA __builtin_mma_disassemble_acc test case ICEs in LRA

2022-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104923 Richard Biener changed: What|Removed |Added Target Milestone|12.0|11.3 Priority|P3

[Bug target/103743] PPC: Inefficient equality compare for large 64-bit constants having only 16-bit relevant bits in high part

2022-03-15 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103743 Jiu Fu Guo changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |guojiufu at gcc dot gnu.org ---

  1   2   >