[Bug target/105513] [9/10/11/12/13 Regression] Unnecessary SSE spill since r9-5748-g1d4b4f4979171ef0

2022-05-13 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105513 --- Comment #4 from Hongtao.liu --- For pattern supports 'm' alternative, mem_cost is frequency which is quite low compared to pp->costs (ira_register_move_cost[mode][rclass][hard_reg_class]) * frequency) For x86 backend even gpr->gpr cost is 2

[Bug tree-optimization/105585] [12/13 Regression] Spurious stringop-overflow warning with

2022-05-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105585 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.2 Keywords|

[Bug debug/105586] [11/12/13 Regression] -fcompare-debug failure (length) with -O2 -fno-if-conversion -mtune=power4 -fno-guess-branch-probability

2022-05-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105586 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.4

[Bug target/105587] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-210-gfcda0efccad41eba

2022-05-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105587 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/105589] [12/13 Regression] [ICE] templated type alias over std::array with bound type in template function fails

2022-05-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105589 Richard Biener changed: What|Removed |Added Summary|[ICE] templated type alias |[12/13 Regression] [ICE]

[Bug target/105587] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-210-gfcda0efccad41eba

2022-05-13 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105587 --- Comment #2 from Hongtao.liu --- Mine, I'm testing a patch.

[Bug libbacktrace/105590] New: GCC should give backtraces on Darwin when it ICEs

2022-05-13 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105590 Bug ID: 105590 Summary: GCC should give backtraces on Darwin when it ICEs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Comp

[Bug debug/105586] [11/12/13 Regression] -fcompare-debug failure (length) with -O2 -fno-if-conversion -mtune=power4 -fno-guess-branch-probability

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105586 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info

2022-05-13 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93318 luoxhu at gcc dot gnu.org changed: What|Removed |Added CC||luoxhu at gcc dot gnu.org ---

[Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info

2022-05-13 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93318 --- Comment #10 from luoxhu at gcc dot gnu.org --- And the Profile id of that node is streamed to many objects after lto partition: grep -- "19598949" ** db_server.ltrans0.000i.cgraph: Profile id: 19598949 db_server.ltrans0.000i.cgraph: Profil

[Bug libbacktrace/105590] GCC should give backtraces on Darwin when it ICEs

2022-05-13 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105590 --- Comment #1 from Iain Sandoe --- disclaimer: I have not looked at libbacktrace for some time - but the current behaviour matches my understanding of the situation. On Darwin, debug information is not stored in the main executable, but in a s

[Bug target/105463] [11/12/13 Regression] MVE: Wrong code, incorrect alignment assumption

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105463 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:6a116728e27c4da65d84483c0e75561a7479d4d5 commit r13-417-g6a116728e27c4da65d84483c0e75561a7479d4d5 Author: Richard Earnshaw Date

[Bug target/105463] [11/12 Regression] MVE: Wrong code, incorrect alignment assumption

2022-05-13 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105463 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassign

[Bug tree-optimization/105591] New: [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2

2022-05-13 Thread zsojka at seznam dot cz via Gcc-bugs
ecking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220513 (experimental) (GCC)

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2

2022-05-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Status|UNCONFIRMED

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2

2022-05-13 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #2

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 --- Comment #3 from Jakub Jelinek --- We certainly can't reject the __builtin_shuffle, it is valid. "The elements of the input vectors are numbered in memory ordering of VEC0 beginning at 0 and VEC1 beginning at N. The elements of MASK are cons

[Bug c++/41723] [9/10 Regression] Error when using a qualified name to declare a nested template instantiation as a friend of the containing template

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41723 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/65608] [meta-bug] friend issues

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 41723, which changed state. Bug 41723 Summary: [9/10 Regression] Error when using a qualified name to declare a nested template instantiation as a friend of the containing template https://gcc.gnu.org/bugzilla/show_bug.cg

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2 since r13-379

2022-05-13 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 --- Comment #4 from Zdenek Sojka --- (In reply to Richard Biener from comment #1) > Confirmed. The offset is very large negative, built by simplify_bitfield_ref > here: > > 2416 tem = build3 (BIT_FIELD_REF, TREE_TYPE (op), > 2417

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2 since r13-379

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 --- Comment #5 from Jakub Jelinek --- So, it is correct that the code uses TREE_INT_CST_LOW (at least as long as we only support power of 2 nelts vectors), but in all places it uses it it should mask it with nelts-1 or 2*nelts-1 depending on whe

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2 since r13-379

2022-05-13 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 --- Comment #6 from Hongtao.liu --- Maybe we should add an canonicalization in match.pd to make sure index is in range of 0 - 2*N, and the general code need't to do check idx % 2*N.

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2 since r13-379

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 --- Comment #7 from Jakub Jelinek --- (In reply to Hongtao.liu from comment #6) > Maybe we should add an canonicalization in match.pd to make sure index is in > range of 0 - 2*N, and the general code need't to do check idx % 2*N. That wouldn't

[Bug modula2/105411] gm2 testsuite should use TEST_ALWAYS_FLAGS

2022-05-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105411 Gaius Mulley changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2 since r13-379

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 --- Comment #8 from Jakub Jelinek --- And doing it in match.pd would only hide bugs in handling it properly.

[Bug tree-optimization/105585] [12/13 Regression] Spurious stringop-overflow warning with since r12-4725-g88b504b7a8c5affb

2022-05-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105585 Martin Liška changed: What|Removed |Added Summary|[12/13 Regression] Spurious |[12/13 Regression] Spurious

[Bug gcov-profile/105535] GCOV analysis on 16-bit target systems impossible

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105535 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Liska : https://gcc.gnu.org/g:5176d2755c6f4e348d1da00abfa4ab9f06a35ddd commit r12-8374-g5176d2755c6f4e348d1da00abfa4ab9f06a35ddd Author: Martin Liska Da

[Bug gcov-profile/105535] GCOV analysis on 16-bit target systems impossible

2022-05-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105535 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/102300] [11 Regression] Qualified name of same template in class template is rejected

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102300 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8d2f59c8e26960df81e054c7afd2ef63171bae05 commit r11-9991-g8d2f59c8e26960df81e054c7afd2ef63171bae05 Author: Jason Merrill

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2 since r13-379

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 --- Comment #9 from Jakub Jelinek --- Note, APIs like vec-perm-indices.h do the clamping already, it is just about code that doesn't use those APIs.

[Bug c++/102300] [11 Regression] Qualified name of same template in class template is rejected

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102300 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2 since r13-379

2022-05-13 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 --- Comment #10 from Hongtao.liu --- Understand code like builtin_shuffle may have out-range index which needs to be clamped, but why vec_perm_expr also needs to accept that.

[Bug c/105588] _Alignof (C) and alignof (C++) on dereference of `double *` disagree on 32-bit x86

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105588 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2 since r13-379

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 --- Comment #11 from Jakub Jelinek --- Because VEC_PERM_EXPR doesn't require the mask argument to be constant (and neither does __builtin_shuffle, unlike e.g. __builtin_shufflevector). If the mask argument remains non-constant until end of compi

[Bug tree-optimization/105591] [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2 since r13-379

2022-05-13 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591 --- Comment #12 from Hongtao.liu --- (In reply to Jakub Jelinek from comment #11) > Because VEC_PERM_EXPR doesn't require the mask argument to be constant (and > neither does __builtin_shuffle, unlike e.g. __builtin_shufflevector). > If the mask

[Bug sanitizer/105592] New: array out of bound not detected by ubsan

2022-05-13 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105592 Bug ID: 105592 Summary: array out of bound not detected by ubsan Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitiz

[Bug c++/105575] Segment when riscv64-g++ compile .cc

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105575 --- Comment #9 from Jason Merrill --- (In reply to Martin Liška from comment #8) > While GCC 12.1 rejects the code with: > > ../../buildtools/third_party/libc++/trunk/include/string:742:13: error: > anonymous struct with base classes > > Rejec

[Bug sanitizer/105592] array out of bound not detected by ubsan

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

[Bug c++/105575] Segment when riscv64-g++ compile .cc

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105575 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/102479] segfault when deducing class template arguments for tuple with libc++-14

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102479 Jason Merrill changed: What|Removed |Added CC||yahan at iscas dot ac.cn --- Comment #8

[Bug target/99555] [OpenMP/nvptx] Execution-time hang for simple nested OpenMP 'target'/'parallel'/'task' constructs

2022-05-13 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99555 --- Comment #14 from Thomas Schwinge --- Regarding my previous report that after commit r12-7332-g5ed77fb3ed1ee0289a0ec9499ef52b99b39421f1 "[libgomp, nvptx] Fix hang in gomp_team_barrier_wait_end"... (In reply to Thomas Schwinge from comment #13

[Bug c++/105589] [12/13 Regression] [ICE] templated type alias over std::array with bound type in template function fails

2022-05-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105589 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/102479] segfault when deducing class template arguments for tuple with libc++-14

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102479 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f705d0f2d03cc4d9f890832798b3352553f2262f commit r11-9992-gf705d0f2d03cc4d9f890832798b3352553f2262f Author: Patrick Palka

[Bug c++/102479] segfault when deducing class template arguments for tuple with libc++-14

2022-05-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102479 Patrick Palka changed: What|Removed |Added Target Milestone|12.0|11.4 CC|

[Bug c++/2082] g++ defines _GNU_SOURCE by default

2022-05-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2082 --- Comment #12 from Jonathan Wakely --- N.B. we might also want to consider whether G++ should stop defining __STDC__, which C says indicates a conforming C implementation, but C++ says is implementation-defined whether C++ compilers define it or

[Bug c/105588] _Alignof (C) and alignof (C++) on dereference of `double *` disagree on 32-bit x86

2022-05-13 Thread hstong at ca dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105588 --- Comment #4 from Hubert Tong --- (In reply to Jakub Jelinek from comment #3) > _Alignof(expression) works like __alignof__(expression) which works like > __alignof__(__typeof(expression)), while _Alignof(type_name) is mandated by > the standa

[Bug tree-optimization/104547] std::vector::resize(v.size() - n) produces poor code

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104547 --- Comment #9 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:cf2141a0c640fc9b1c497db3f4d5b270f4b8252a commit r13-438-gcf2141a0c640fc9b1c497db3f4d5b270f4b8252a Author: Andrew MacLeod Date:

[Bug tree-optimization/104547] std::vector::resize(v.size() - n) produces poor code

2022-05-13 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104547 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug other/105593] New: avx512 math function raises uninitialized variable warning

2022-05-13 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 Bug ID: 105593 Summary: avx512 math function raises uninitialized variable warning Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/105593] avx512 math function raises uninitialized variable warning

2022-05-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 Andrew Pinski changed: What|Removed |Added Component|other |target --- Comment #1 from Andrew Pinsk

[Bug target/105593] avx512 math function raises uninitialized variable warning

2022-05-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 Andrew Pinski changed: What|Removed |Added Target||X86_64 Last reconfirmed|

[Bug c++/100079] [9/10 Regression] Non-type template parameter, itself a nested template, rejected with internal error

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100079 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/96926] [9/10 Regression] Tuple element w/ member reference to incomplete template type rejected

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96926 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/103681] [9/10/11 Regression] Unusual behavior for tail padding with different c++ standards and NSDMI

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103681 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|9.5

[Bug c++/58616] [meta-bug] nsdmi

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 103681, which changed state. Bug 103681 Summary: [9/10/11 Regression] Unusual behavior for tail padding with different c++ standards and NSDMI https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103681 What|Remov

[Bug c++/91618] [9/10/11 Regression] template-id required to friend a function template, even for a qualified-id

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91618 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/104476] [11 Regression] using-decl shadowed by member function when in incomplete-class context

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104476 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|11.4

[Bug fortran/105594] New: -Wuse-without-only issued for any submodule

2022-05-13 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105594 Bug ID: 105594 Summary: -Wuse-without-only issued for any submodule Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fo

[Bug sanitizer/105592] array out of bound not detected by ubsan

2022-05-13 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105592 m.cencora at gmail dot com changed: What|Removed |Added CC||m.cencora at gmail dot com

[Bug c++/105595] New: Coroutines can trigger -Wsubobject-linkage

2022-05-13 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105595 Bug ID: 105595 Summary: Coroutines can trigger -Wsubobject-linkage Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug c++/65211] [9/10/11 Regression] Type alignment lost inside templated function

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e60f7127b3282e0201a1bba8ff550dc3c3fdbe61 commit r11-9993-ge60f7127b3282e0201a1bba8ff550dc3c3fdbe61 Author: Jason Merrill D

[Bug c++/101698] [9/10/11 Regression] Template type conversion operator from base class preferred over matching overload

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101698 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5c6577dcf1d413582775063c905d917e21bf0eba commit r11-9994-g5c6577dcf1d413582775063c905d917e21bf0eba Author: Jason Merrill

[Bug c++/101442] [9/10/11 Regression] Destructor not called for a temporary object, if it's bound to a ref member of an object subject to NRVO

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101442 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f9e356458d8f14b5a82f3244385ce814903fc02b commit r11-9995-gf9e356458d8f14b5a82f3244385ce814903fc02b Author: Jason Merrill

[Bug sanitizer/105592] array out of bound not detected by ubsan

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105592 --- Comment #3 from Jakub Jelinek --- Note, the -fsanitize=bounds instrumentation is done when taking the address, at that point the compiler doesn't know if it will be dereferenced or not, and especially with -O0 it won't at all. As #c2 says,

[Bug tree-optimization/105596] New: Loop counter widened to 128-bit unnecessarily

2022-05-13 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105596 Bug ID: 105596 Summary: Loop counter widened to 128-bit unnecessarily Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug debug/105586] [11/12/13 Regression] -fcompare-debug failure (length) with -O2 -fno-if-conversion -mtune=power4 -fno-guess-branch-probability

2022-05-13 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105586 --- Comment #2 from Segher Boessenkool --- We have +(debug_insn 11 10 81 2 (var_location:QI u8_1 (mem/c:QI (plus:DI (unspec:DI [ +(symbol_ref:DI ("*.LANCHOR0") [flags 0x182]) +(reg:DI 2 2) +

[Bug target/105593] avx512 math function raises uninitialized variable warning

2022-05-13 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 --- Comment #2 from Rogério de Souza Moraes --- Created attachment 52971 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52971&action=edit C code to trigger the uninitialized warning The C code attached reproduces the uninitialized warning

[Bug c/105597] New: ice in type, at value-range.h:223

2022-05-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 Bug ID: 105597 Summary: ice in type, at value-range.h:223 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug target/105593] avx512 math function raises uninitialized variable warning

2022-05-13 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 --- Comment #3 from Rogério de Souza Moraes --- The code attached in the previous comment triggers the "warning: '__Y' is used uninitialized [-Wuninitialized]". The command line to compile it is: /grid/common/test/gcc-v12.1.0d1rh74_lnx86/bin/g

[Bug c/105597] ice in type, at value-range.h:223

2022-05-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 --- Comment #1 from David Binderman --- The bug seems to have started recently, between git hash 5b2a24ebfc0b2b4c and 98e475a8f58ca3ba, a distance of 111 commits.

[Bug target/105576] x86: Support a machine constraint to get raw symbol name

2022-05-13 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105576 --- Comment #5 from Fangrui Song --- (In reply to Hongtao.liu from comment #4) > constraint "i" + "%p0"? > > asm (".pushsection .xxx,\"aw\"; .dc.a %p0; .popsection" :: "i"(addr)); // > supported on aarch64 and riscv > asm (".pushsection .xx

[Bug target/105162] [AArch64] outline-atomics drops dmb ish barrier on __sync builtins

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105162 --- Comment #9 from CVS Commits --- The master branch has been updated by Sebastian Pop : https://gcc.gnu.org/g:bc25483c055d62f94f8c289f80843dda3c4a6ff4 commit r13-446-gbc25483c055d62f94f8c289f80843dda3c4a6ff4 Author: Sebastian Pop Date: Mo

[Bug c++/86355] [9/10 Regression] Internal compiler error with pack expansion and fold expression

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86355 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:aa030fca4b7257656aa6bfe879d79a332b3c39ea commit r10-10733-gaa030fca4b7257656aa6bfe879d79a332b3c39ea Author: Jason Merrill

[Bug c++/91241] [9/10 Regression] internal compiler error: symtab_node::verify failed

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241 --- Comment #19 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a86e0cadefe5a2469bb9872bb5b93017ccb23935 commit r10-10734-ga86e0cadefe5a2469bb9872bb5b93017ccb23935 Author: Jason Merrill

[Bug c++/99066] [9/10 Regression] non-weak definition emitted for explicit instantiation declaration

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99066 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:20b503f1125c0b0a7f4b2bb1214d4a3cc6fd9f70 commit r10-10735-g20b503f1125c0b0a7f4b2bb1214d4a3cc6fd9f70 Author: Jason Merrill

[Bug c++/101442] [9/10 Regression] Destructor not called for a temporary object, if it's bound to a ref member of an object subject to NRVO

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101442 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:54d1992376d7880a88778dab20a7cfe8cde32bc3 commit r10-10736-g54d1992376d7880a88778dab20a7cfe8cde32bc3 Author: Jason Merrill

[Bug c++/101698] [9/10 Regression] Template type conversion operator from base class preferred over matching overload

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101698 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f06e1ff97cb383118afed4c87dfa104e7c4b141d commit r10-10737-gf06e1ff97cb383118afed4c87dfa104e7c4b141d Author: Jason Merrill

[Bug c++/65211] [9/10 Regression] Type alignment lost inside templated function

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4b0c04f6b1c96f9baa7620c152b28e723212f955 commit r10-10738-g4b0c04f6b1c96f9baa7620c152b28e723212f955 Author: Jason Merrill

[Bug c/105597] ice in type, at value-range.h:223

2022-05-13 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug fortran/105594] -Wuse-without-only issued for any submodule

2022-05-13 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105594 kargl at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIR

[Bug c/105597] ice in type, at value-range.h:223

2022-05-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 --- Comment #3 from David Binderman --- Reduced C code seems to be: typedef struct { int allocated; } vvec; int vvneeds_want, mgpssort; void vvinit(vvec *v, int minelems) { v->allocated = -minelems; } void vvneeds(vvec *v, int needed) { if

[Bug c/105597] ice in type, at value-range.h:223

2022-05-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-05-13 CC|

[Bug tree-optimization/69445] Fail to devirtualize call to base class function even though derived class type is 'final'

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69445 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:30a100abe48cebcdf3d685e856850d4192f05ad9 commit r9-10161-g30a100abe48cebcdf3d685e856850d4192f05ad9 Author: Jakub Jelinek Da

[Bug c++/67184] Missed optimization with C++11 final specifier

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67184 --- Comment #20 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:30a100abe48cebcdf3d685e856850d4192f05ad9 commit r9-10161-g30a100abe48cebcdf3d685e856850d4192f05ad9 Author: Jakub Jelinek D

[Bug c++/100032] [9/10 Regression] renaming alias template that also adds cv-qualifiers is deemed equivalent to underlying template

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100032 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:945c2afcb390dd040510ee7a2dc996ad204031c5 commit r9-10162-g945c2afcb390dd040510ee7a2dc996ad204031c5 Author: Jason Merrill D

[Bug c++/91933] [9 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:370440f9f9860b59686138cf5213601cf6dda812 commit r9-10163-g370440f9f9860b59686138cf5213601cf6dda812 Author: Jason Merrill D

[Bug c++/96673] [9 Regression] Friend class with templates and default constructor not recognized in C++14 or later

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96673 Jason Merrill changed: What|Removed |Added Summary|[9/10 Regression] Friend|[9 Regression] Friend class

[Bug c++/96311] [9 Regression] false positive for -Wunused-but-set-variable (const/constexpr identifier used in generic lambda)

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96311 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:aa3e2a211933efaeb6ecd0a69f196606b8a40b43 commit r9-10165-gaa3e2a211933efaeb6ecd0a69f196606b8a40b43 Author: Jason Merrill D

[Bug c++/95870] [9 Regression] ICE (segmentation fault) in most_general_template(), in gcc/cp/pt.c

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870 --- Comment #14 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:cf475f6e23581b1766e508dba81171de8f81b180 commit r9-10166-gcf475f6e23581b1766e508dba81171de8f81b180 Author: Jason Merrill D

[Bug c++/90664] [9 regression] noexcept confuses template argument deduction

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:45fb36bf93a7cc6506c2a12f9c4aa3981f4e6b44 commit r9-10167-g45fb36bf93a7cc6506c2a12f9c4aa3981f4e6b44 Author: Jason Merrill Da

[Bug c++/101717] [9 Regression] ICE capturing static member within stateless generic lambda

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101717 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7ce3d2ab2a1a144f94a3a9be716fb831cb76603b commit r9-10168-g7ce3d2ab2a1a144f94a3a9be716fb831cb76603b Author: Jason Merrill

[Bug c++/99901] [9 Regression] static const class var implemented with constexpr doesn't emit symbols in C++17 mode

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99901 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:623842bead8452c03f2b1c6817f2a86a1d2d4d12 commit r9-10169-g623842bead8452c03f2b1c6817f2a86a1d2d4d12 Author: Jason Merrill D

[Bug c++/59950] [9 Regression] Bogus diagnostic "taking address of temporary" taking address of trivial no-op assignment to temporary with empty class

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59950 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3daf541e8fe2dd0807a3dd49a9b8c065d7d46731 commit r9-10170-g3daf541e8fe2dd0807a3dd49a9b8c065d7d46731 Author: Jason Merrill D

[Bug c++/104646] [9 Regression] ICE in cx_check_missing_mem_inits, at cp/constexpr.cc:845

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104646 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7b4bd8dbd8d07e298528b0f033102ce8f693e739 commit r9-10171-g7b4bd8dbd8d07e298528b0f033102ce8f693e739 Author: Jason Merrill D

[Bug c++/98249] [9 Regression] Improper ADL on the `arg` in `new (arg) T`

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98249 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:86d50501e487597d8b97f40d1c87dfcd694a9441 commit r9-10172-g86d50501e487597d8b97f40d1c87dfcd694a9441 Author: Jason Merrill Da

[Bug c++/101442] [9 Regression] Destructor not called for a temporary object, if it's bound to a ref member of an object subject to NRVO

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101442 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:48b8d5e028abee8869de946bbd7d24d746655d88 commit r9-10173-g48b8d5e028abee8869de946bbd7d24d746655d88 Author: Jason Merrill D

[Bug c++/101698] [9 Regression] Template type conversion operator from base class preferred over matching overload

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101698 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:de0b78d1e75e9483b4550abc38b9199c96465dc5 commit r9-10174-gde0b78d1e75e9483b4550abc38b9199c96465dc5 Author: Jason Merrill D

[Bug c++/65211] [9 Regression] Type alignment lost inside templated function

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2a9658132c449e48e1c3532190c8ab72f4bbe788 commit r9-10175-g2a9658132c449e48e1c3532190c8ab72f4bbe788 Author: Jason Merrill D

[Bug c++/99643] [9 Regression] internal compiler error in build_over_call, involving array new and copy elision

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99643 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4231a43fd4ac6ccffd4d4b7cca70d45b2368cede commit r9-10176-g4231a43fd4ac6ccffd4d4b7cca70d45b2368cede Author: Jason Merrill Da

[Bug c++/91217] [9 Regression] Returning std::array from lambda results in an extra copy step on return

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91217 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:da999d938e516ff12b39a0aa7e8f6d97fbee60df commit r9-10177-gda999d938e516ff12b39a0aa7e8f6d97fbee60df Author: Jason Merrill D

  1   2   >