[Bug c/101266] ICE with -g: in loc_list_from_tree_1, at dwarf2out.c:19421

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101266 Richard Biener changed: What|Removed |Added Component|debug |c Ever confirmed|0

[Bug middle-end/101264] [12 Regression] ICE in vect_optimize_slp, at tree-vect-slp.c:3880

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101264 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/101262] [11/12 Regression] GCC11 OpenMP optimization causes sigsegv on aligned constant array in darktable

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101262 Richard Biener changed: What|Removed |Added Version|11.0|11.1.0 Target Milestone|---

[Bug tree-optimization/101260] Backport 27381e78925 to GCC 11

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101260 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug debug/98776] DW_AT_low_pc is inconsistent with function entry address, when enabling -fpatchable-function-entry

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98776 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org Key

[Bug debug/98776] DW_AT_low_pc is inconsistent with function entry address, when enabling -fpatchable-function-entry

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98776 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-06-30 Ever confirmed|0

[Bug debug/101266] New: ICE with -g: in loc_list_from_tree_1, at dwarf2out.c:19421

2021-06-29 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101266 Bug ID: 101266 Summary: ICE with -g: in loc_list_from_tree_1, at dwarf2out.c:19421 Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal

[Bug middle-end/101264] [12 Regression] ICE in vect_optimize_slp, at tree-vect-slp.c:3880

2021-06-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101264 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever confi

[Bug middle-end/101262] GCC11 OpenMP optimization causes sigsegv on aligned constant array in darktable

2021-06-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101262 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #5

[Bug middle-end/101261] clones for target_clones attribute cannot be created when compilling with -fno-semantic-interposition

2021-06-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101261 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug middle-end/101262] GCC11 OpenMP optimization causes sigsegv on aligned constant array in darktable

2021-06-29 Thread johnnybit at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101262 --- Comment #4 from Hubert Kowalski --- I tried to generate a reproducer based of off code that in linked reports is "guaranteed to crash" when compilled with GCC 11. My feel is that since it doesn't work in isolation there's more moving parts t

[Bug libstdc++/71367] std::time_get does not implement 'r' or 'p'

2021-06-29 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71367 --- Comment #7 from Xi Ruoyao --- Any progress on this (after two years? :)

[Bug other/91085] fixincludes breaks

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91085 --- Comment #18 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:6bf383c37e6131a8e247e8a0997d55d65c830b6d commit r12-1924-g6bf383c37e6131a8e247e8a0997d55d65c830b6d Author: Xi Ruoyao Date: Mon Jun 2

[Bug target/101248] [AVX512] The upper bits of FIXUPIMMS{S,D} should come from src1 not dest.

2021-06-29 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101248 Hongtao.liu changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/101248] [AVX512] The upper bits of FIXUPIMMS{S,D} should come from src1 not dest.

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101248 --- Comment #3 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:ed392e9db434898eccec81edd85323d21d555fe9 commit r12-1923-ged392e9db434898eccec81edd85323d21d555fe9 Author: liuhongt Date: Mon Jun

[Bug tree-optimization/101256] [12 Regression] Wrong code with -O3 since r12-1841-g9fe9c45ae33a2df7

2021-06-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101256 --- Comment #3 from Andrew Pinski --- Created attachment 51087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51087&action=edit Patch which I am testing

[Bug tree-optimization/101260] Backport 27381e78925 to GCC 11

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

[Bug middle-end/101262] GCC11 OpenMP optimization causes sigsegv on aligned constant array in darktable

2021-06-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101262 --- Comment #3 from Jakub Jelinek --- Can't reproduce with -O2 -fopenmp, neither with 10.3.1 20210422, nor current 11 branch, nor current trunk.

[Bug libstdc++/101258] std ::is_integral_v is undocumented

2021-06-29 Thread giecrilj at stegny dot 2a.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101258 --- Comment #4 from Christopher Yeleighton --- (In reply to Jonathan Wakely from comment #1) > It does exactly what the standard says it does. And it's self explanatory. What is self-explanatory in is_integral_v? It could be "is integral verbo

[Bug libstdc++/101258] std ::is_integral_v is undocumented

2021-06-29 Thread giecrilj at stegny dot 2a.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101258 --- Comment #3 from Christopher Yeleighton --- It should at least be present on the API page. The standard is not for developers.

[Bug tree-optimization/101256] [12 Regression] Wrong code with -O3 since r12-1841-g9fe9c45ae33a2df7

2021-06-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101256 --- Comment #2 from Andrew Pinski --- I have a fix but I don't have a testcase really. What is happening is value_replacement is happening but since the ssa_name that is being used for replace_phi_edge_with_variable is not newly defined, we are

[Bug c/101265] New: C2X [[maybe_unused]] ignored when placed after array declaration

2021-06-29 Thread gcc at alanwu dot email via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101265 Bug ID: 101265 Summary: C2X [[maybe_unused]] ignored when placed after array declaration Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/100823] Special member functions of common_iterator should be conditionally trivial

2021-06-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100823 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 Andrew Macleod changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 --- Comment #12 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:a96d8d67d0073a7031c0712bc3fb7759417b2125 commit r12-1916-ga96d8d67d0073a7031c0712bc3fb7759417b2125 Author: Andrew MacLeod Date:

[Bug middle-end/101262] GCC11 OpenMP optimization causes sigsegv on aligned constant array in darktable

2021-06-29 Thread johnnybit at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101262 --- Comment #2 from Hubert Kowalski --- I've tried producing a minimum reproducer in form of code below, however I run on gcc 10.3. And it depends on optimization type. According to user reports - it's enough to compile darktable using GCC 11 w

[Bug debug/101064] long compile time in var_tracking for Go package

2021-06-29 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101064 --- Comment #5 from Ian Lance Taylor --- I have attached a C test case that demonstrates the problem. The C case may be somewhat worse because I had to use ordinary variables, whereas the Go test case is used compiler-generated temporary variab

[Bug debug/101064] long compile time in var_tracking for Go package

2021-06-29 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101064 --- Comment #4 from Ian Lance Taylor --- Created attachment 51086 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51086&action=edit C test case

[Bug debug/101064] long compile time in var_tracking for Go package

2021-06-29 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101064 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #3 f

[Bug middle-end/101264] [12 Regression] ICE in vect_optimize_slp, at tree-vect-slp.c:3880

2021-06-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101264 Tobias Burnus changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Target Mil

[Bug middle-end/101264] New: ICE in vect_optimize_slp, at tree-vect-slp.c:3880

2021-06-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101264 Bug ID: 101264 Summary: ICE in vect_optimize_slp, at tree-vect-slp.c:3880 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 --- Comment #11 from Andrew Macleod --- (In reply to Jakub Jelinek from comment #10) > Comment on attachment 51084 [details] > another patch > > Except for some consistency (max is in comments lowercase, but MIN is > uppercase), it looks good t

[Bug debug/101064] long compile time in var_tracking for Go package

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101064 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:528ed794016472a209d6cfaa921307f30eee58da commit r11-8663-g528ed794016472a209d6cfaa921307f30eee58da Author: Ian Lance Ta

[Bug debug/101064] long compile time in var_tracking for Go package

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101064 --- Comment #1 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:8a8a7d332d5d01db5aea7336a36d9fd71a679fb1 commit r12-1913-g8a8a7d332d5d01db5aea7336a36d9fd71a679fb1 Author: Ian Lance Taylor Dat

[Bug middle-end/101262] GCC11 OpenMP optimization causes sigsegv on aligned constant array in darktable

2021-06-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101262 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |WAITING CC|

[Bug target/101200] Unneeded AND after shift

2021-06-29 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 --- Comment #7 from Jeffrey A. Law --- FWIW, it might be worth considering using a mode iterator for the shift count to allow multiple modes.

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 --- Comment #10 from Jakub Jelinek --- Comment on attachment 51084 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51084 another patch Except for some consistency (max is in comments lowercase, but MIN is uppercase), it looks good to me. S

[Bug libstdc++/101263] New: non-propagating-cache::emplace-deref missing constexpr

2021-06-29 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101263 Bug ID: 101263 Summary: non-propagating-cache::emplace-deref missing constexpr Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/101256] [12 Regression] Wrong code with -O3 since r12-1841-g9fe9c45ae33a2df7

2021-06-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101256 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug c/101262] New: GCC11 OpenMP optimization causes sigsegv on aligned constant array in darktable

2021-06-29 Thread johnnybit at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101262 Bug ID: 101262 Summary: GCC11 OpenMP optimization causes sigsegv on aligned constant array in darktable Product: gcc Version: 11.0 Status: UNCONFIRMED Severity

[Bug target/95046] Vectorize V2SFmode operations

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95046 --- Comment #14 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:c60d9160b4d966dbea5b1bbea4f817c64d0bee2d commit r12-1912-gc60d9160b4d966dbea5b1bbea4f817c64d0bee2d Author: Uros Bizjak Date: Tue J

[Bug middle-end/101261] clones for target_clones attribute cannot be created when compilling with -fno-semantic-interposition

2021-06-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101261 --- Comment #1 from Andrew Pinski --- if (node->definition && (node->alias || !tree_versionable_function_p (node->decl)))

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 Andrew Macleod changed: What|Removed |Added Attachment #51083|0 |1 is obsolete|

[Bug debug/98776] DW_AT_low_pc is inconsistent with function entry address, when enabling -fpatchable-function-entry

2021-06-29 Thread luis.machado at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98776 Luis Machado changed: What|Removed |Added CC||luis.machado at linaro dot org --- Commen

[Bug c/101261] New: clones for target_clones attribute cannot be created when compilling with -fno-semantic-interposition

2021-06-29 Thread johnnybit at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101261 Bug ID: 101261 Summary: clones for target_clones attribute cannot be created when compilling with -fno-semantic-interposition Product: gcc Version: unknown Status: UNCON

[Bug libstdc++/101258] std ::is_integral_v is undocumented

2021-06-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101258 Jonathan Wakely changed: What|Removed |Added Keywords||documentation --- Comment #2 from Jon

[Bug libstdc++/101258] std ::is_integral_v is undocumented

2021-06-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101258 --- Comment #1 from Jonathan Wakely --- It does exactly what the standard says it does. And it's self explanatory.

[Bug rtl-optimization/100328] IRA doesn't model matching constraint well

2021-06-29 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100328 --- Comment #7 from rsandifo at gcc dot gnu.org --- (In reply to Kewen Lin from comment #6) > Created attachment 51066 [details] > aarch64 XPASS failure list > > The patch v3 bootstrapped and regression-tested on x86_64-redhat-linux and > powe

[Bug target/65181] Support for alloca in nvptx

2021-06-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181 --- Comment #5 from Thomas Schwinge --- While reviewing other things, I found that "'alloca' is a preview feature in PTX ISA version 7.3", and "requires 'sm_52' or higher". That got published 2021-05, so it'll be a while until we can reliably us

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 --- Comment #8 from Andrew Macleod --- I just never added them... I guess we could fully flesh out the combinations and results. Note this is also the only non-relational operand that is even implemented so far.. Haven't gotten to any of the

[Bug c++/100975] [C++23] Allow pointer to array of auto

2021-06-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100975 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 --- Comment #7 from Jakub Jelinek --- BTW, rel of NE_EXPR, LE_EXPR or LT_EXPR never appear? I guess one can always swap the two operands and thus transform LE_EXPR into GE_EXPR and LT_EXPR into GT_EXPR, but for EQ_EXPR vs. NE_EXPR that doesn't

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 --- Comment #6 from Jakub Jelinek --- Well, from x > y signed -fwrapv you can assume x - y to be ~[0, 0] (from x >= y nothing). It is similar to unsigned, though in that case there are no negative values and so for x >= y x - y [0, max] is the a

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 Andrew Macleod changed: What|Removed |Added Attachment #51082|0 |1 is obsolete|

[Bug tree-optimization/101260] New: Backport 27381e78925 to GCC 11

2021-06-29 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101260 Bug ID: 101260 Summary: Backport 27381e78925 to GCC 11 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 --- Comment #4 from Jakub Jelinek --- Anyway, I think you just can't assume anything for the SIGNED && TYPE_OVERFLOW_WRAPS case, the result can be anything (VARYING) both for the GT_EXPR and GE_EXPR.

[Bug target/96306] gcn libgomp build broken after "libomp: Add omp_depend_kind to omp_lib.{f90,h}"

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96306 --- Comment #13 from CVS Commits --- The master branch has been updated by Julian Brown : https://gcc.gnu.org/g:c0f8c22a3e9f8cd45c1cb4be5f83afbebe3bfdc9 commit r12-1911-gc0f8c22a3e9f8cd45c1cb4be5f83afbebe3bfdc9 Author: Julian Brown Date: Fri

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 --- Comment #3 from Jakub Jelinek --- INT_MAX - INT_MIN with -fwrapv is -1, indeed, and generally if x > y then x - y < 0 iff x > y + INT_MAX. Say x = 1073741839 y = -1073741887 x > y && x - y (== -2147483570) < 0

[Bug c++/99909] The value of 'std::is_integral_v' is not usable in a constant expression

2021-06-29 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99909 --- Comment #2 from 康桓瑋 --- (In reply to Christopher Yeleighton from comment #1) > (In reply to 康桓瑋 from comment #0) > > template class> > > constexpr auto f() {} > > That means auto is void, doesn’t it? Yes, the second auto just means void.

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 --- Comment #2 from Andrew Macleod --- Created attachment 51082 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51082&action=edit patch I *think* this is correct. but wrapv and signed stuff sometimes confuses me :-) when -fwrapv is on,

[Bug modula2/101259] New: error: the file containing the definition module 'getopt' cannot be found

2021-06-29 Thread doko at debian dot org via Gcc-bugs
Severity: normal Priority: P3 Component: modula2 Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with trunk 20210629, and trunk 20210629 of the gm2 repo, configured as a normal bootstrap build: /packages/gc

[Bug other/67300] -foffload* undocumented

2021-06-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67300 Thomas Schwinge changed: What|Removed |Added Depends on|81886 | --- Comment #6 from Thomas Schwinge

[Bug libstdc++/101258] New: std ::is_integral_v is undocumented

2021-06-29 Thread giecrilj at stegny dot 2a.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101258 Bug ID: 101258 Summary: std ::is_integral_v is undocumented Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c++/99909] The value of 'std::is_integral_v' is not usable in a constant expression

2021-06-29 Thread giecrilj at stegny dot 2a.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99909 Christopher Yeleighton changed: What|Removed |Added CC||giecrilj at stegny dot 2a.pl --

[Bug other/67300] -foffload* undocumented

2021-06-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67300 --- Comment #5 from Tobias Burnus --- Done: -foffload= and new -foffload-options= are now documented. To do: Still undocumented: -foffload-abi=[lp64|ilp32]

[Bug other/67300] -foffload* undocumented

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67300 --- Comment #4 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:33c4e466243f2d0459d9a4d0cadc1b38a3741f3e commit r12-1871-g33c4e466243f2d0459d9a4d0cadc1b38a3741f3e Author: Tobias Burnus Date: Tu

[Bug fortran/90742] OpenACC/OpenMP target offloading: Fortran 'allocatable' scalars in 'firstprivate' clauses

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90742 --- Comment #4 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:489c5dcf7b063000a5e223535eb425cf9748720a commit r12-1870-g489c5dcf7b063000a5e223535eb425cf9748720a Author: Tobias Burnus Date: Tu

[Bug c++/100752] [11 Regression] error: cannot call member function ‘void S::f()’ without object

2021-06-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100752 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/100752] [11 Regression] error: cannot call member function ‘void S::f()’ without object

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100752 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:2cf8d3fc05737684a16fa080b0c0d24048da782b commit r11-8662-g2cf8d3fc05737684a16fa080b0c0d24048da782b Author: Marek Polacek

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 Richard Biener changed: What|Removed |Added Keywords||wrong-code Priority|P3

[Bug ipa/101257] [11/12 Regression] Maybe wrong code since IPA mod ref was introduced

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101257 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.2 Keywords|

[Bug tree-optimization/101256] [12 Regression] Wrong code with -O3 since r12-1841-g9fe9c45ae33a2df7

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101256 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug ipa/101257] New: [11/12 Regression] Maybe wrong code since IPA mod ref was introduced

2021-06-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101257 Bug ID: 101257 Summary: [11/12 Regression] Maybe wrong code since IPA mod ref was introduced Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/101256] [12 Regression] Wrong code with -O3 since r12-1841-g9fe9c45ae33a2df7

2021-06-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101256 Martin Liška changed: What|Removed |Added Known to work||11.1.0 Status|UNCONFIRMED

[Bug tree-optimization/101256] New: [12 Regression] Wrong code with -O3 since r12-1841-g9fe9c45ae33a2df7

2021-06-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101256 Bug ID: 101256 Summary: [12 Regression] Wrong code with -O3 since r12-1841-g9fe9c45ae33a2df7 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-cod

[Bug fortran/101255] New: FLUSH statement - error should be negative

2021-06-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101255 Bug ID: 101255 Summary: FLUSH statement - error should be negative Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priorit

[Bug rtl-optimization/101044] -ABS(A) produces two neg instructions

2021-06-29 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101044 --- Comment #3 from Uroš Bizjak --- The compound nabs insn also needs to be handled in the STV pass.

[Bug c++/101210] [9/10/11 regression] spurious "reference binding to misaligned address" ubsan error for integer comparison

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

[Bug rtl-optimization/101044] -ABS(A) produces two neg instructions

2021-06-29 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101044 Uroš Bizjak changed: What|Removed |Added Last reconfirmed||2021-06-29 Ever confirmed|0

[Bug tree-optimization/101254] [12 Regression] gcc head does not comply fully to -fwrapv since r12-1723

2021-06-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 Jakub Jelinek changed: What|Removed |Added Summary|gcc head does not comply|[12 Regression] gcc head

[Bug c++/101210] [9/10/11/12 regression] spurious "reference binding to misaligned address" ubsan error for integer comparison

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101210 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:53fd7544aff6d0a18869017cb9bb921a7f5dcd04 commit r12-1867-g53fd7544aff6d0a18869017cb9bb921a7f5dcd04 Author: Jakub Jelinek Date: T

[Bug c/101254] New: gcc head does not comply fully to -fwrapv

2021-06-29 Thread bugzilla.gnu at coelho dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 Bug ID: 101254 Summary: gcc head does not comply fully to -fwrapv Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug ada/100488] [12 Regression] trunk 20210508 fails to build ada on x86_64-linux-gnux32

2021-06-29 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100488 --- Comment #3 from Eric Botcazou --- Can you retry with current trunk? There have been several fixes.

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- cross toolchain fails to build

2021-06-29 Thread davem at devkitpro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #17 from Dave Murphy --- (In reply to Jonathan Wakely from comment #16) > I don't think the patch is sufficient, I think I had a complete one. Shall I leave this or submit the patch I made as a starting point for review?

[Bug middle-end/101253] New: Optimize i % C1 == C0 || i % C1*C2 == C0 to i % C1 == C0

2021-06-29 Thread antoshkka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101253 Bug ID: 101253 Summary: Optimize i % C1 == C0 || i % C1*C2 == C0 to i % C1 == C0 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug middle-end/101252] New: Optimize (b ? i % C0 : i % C1) into i & (b ? C0-1 : C1-1) for power of 2 C0 and C1

2021-06-29 Thread antoshkka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101252 Bug ID: 101252 Summary: Optimize (b ? i % C0 : i % C1) into i & (b ? C0-1 : C1-1) for power of 2 C0 and C1 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywo

[Bug middle-end/101251] New: Optimize i % (b ? C0 : C1) into i & (b ? C0-1 : C1-1) for power of 2 C0 and C1

2021-06-29 Thread antoshkka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101251 Bug ID: 101251 Summary: Optimize i % (b ? C0 : C1) into i & (b ? C0-1 : C1-1) for power of 2 C0 and C1 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug middle-end/101250] New: adjust_iv_update_pos update the iv statement unexpectedly cause memory address offset mismatch

2021-06-29 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101250 Bug ID: 101250 Summary: adjust_iv_update_pos update the iv statement unexpectedly cause memory address offset mismatch Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/101242] Segfault in SLP vectorizor after g:2ad71efb5de

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101242 Richard Biener changed: What|Removed |Added CC||suochenyao at 163 dot com --- Comment

[Bug tree-optimization/101249] ICE: Segmentation fault with "-O3 -fno-tree-ch -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse -fno-strict-aliasing -fwrapv"

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101249 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/101242] Segfault in SLP vectorizor after g:2ad71efb5de

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

[Bug tree-optimization/101242] Segfault in SLP vectorizor after g:2ad71efb5de

2021-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101242 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c01760bc548ba79bc9ac15168b27fe7aabcb19ae commit r12-1866-gc01760bc548ba79bc9ac15168b27fe7aabcb19ae Author: Richard Biener Date:

[Bug driver/101238] Driver won't find cc1/cc1plus on MinGW, CXXFLAGS need -D__USE_MINGW_ACCESS

2021-06-29 Thread tomas.kalibera at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101238 --- Comment #2 from Tomas Kalibera --- I started writing that email, but on the way I found that one should add -D__USE_MINGW_ACCESS also BOOT_CXXFLAGS, which I have neither done nor tested. The problem I debugged required only required adding t

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- cross toolchain fails to build

2021-06-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #16 from Jonathan Wakely --- I don't think the patch is sufficient, I think I had a complete one.

[Bug tree-optimization/101249] ICE: Segmentation fault with "-O3 -fno-tree-ch -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse -fno-strict-aliasing -fwrapv"

2021-06-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101249 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug c++/101247] ICE when using static constexpr bool defined in base-class in derived class constructor requires-clause

2021-06-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101247 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug tree-optimization/101249] New: ICE: Segmentation fault with "-O3 -fno-tree-ch -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse -fno-strict-aliasing -fwrapv"

2021-06-29 Thread suochenyao at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101249 Bug ID: 101249 Summary: ICE: Segmentation fault with "-O3 -fno-tree-ch -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse -fno-strict-aliasing -fwrapv" Product: gcc

[Bug tree-optimization/101242] Segfault in SLP vectorizor after g:2ad71efb5de

2021-06-29 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101242 --- Comment #6 from David Binderman --- (In reply to David Binderman from comment #4) > Created attachment 51078 [details] > gzipped C++ source code > > I also see this with -O3 with the attached C++ code. Poor example - too big to reduce easi

[Bug tree-optimization/101242] Segfault in SLP vectorizor after g:2ad71efb5de

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101242 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/101240] [missed optimization] Transitivity of less-than and less-or-equal

2021-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101240 --- Comment #2 from Richard Biener --- Note will require a VRP pass after PRE since only there we'll be able to CSE the a[2] load.

  1   2   >