[Bug target/103422] New: -march=bogus12323123423452345 -march=armv8-a is accepted

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103422 Bug ID: 103422 Summary: -march=bogus12323123423452345 -march=armv8-a is accepted Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug libgcc/103420] libatomic fails to compile on aarch64 linux with TFLAGS="-mcpu=octeontx2"

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

[Bug target/103421] -march=bogus12323123423452345 -march=skylake-avx512 is accepted as a command line option

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103421 --- Comment #1 from Andrew Pinski --- Only the last march is passed down to cc1 which does the verification of the option :).

[Bug target/103421] New: -march=bogus12323123423452345 -march=skylake-avx512 is accepted as a command line option

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103421 Bug ID: 103421 Summary: -march=bogus12323123423452345 -march=skylake-avx512 is accepted as a command line option Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/98940] Implement C++23 language features

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 102611, which changed state. Bug 102611 Summary: [C++23] P2128R6 - Multidimensional subscript operator https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102611 What|Removed |Added

[Bug c++/102611] [C++23] P2128R6 - Multidimensional subscript operator

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102611 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Assignee|unassigned at

[Bug c++/101180] [12 Regression] Rejected code since r12-299-ga0fdff3cf33f7284

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101180 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8e86218f05c1a866b43ae5af3e303f91fb6d7ff0 commit r12-5511-g8e86218f05c1a866b43ae5af3e303f91fb6d7ff0 Author: Jakub Jelinek Date:

[Bug middle-end/103393] [12 Regression] Generating 256bit register usage with -mprefer-avx128 -mprefer-vector-width=128

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103393 --- Comment #9 from Richard Biener --- In particular MOVE_RATIO only looks applicable if the target (or RTL expansion?) would split the bigger GIMPLE move into pieces honoring MOVE_MAX. Though technically even MOVE_MAX only guarantees: "The

[Bug c++/102611] [C++23] P2128R6 - Multidimensional subscript operator

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102611 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b38c9cf6d570f6c4c1109e00c8b81d82d0f24df3 commit r12-5510-gb38c9cf6d570f6c4c1109e00c8b81d82d0f24df3 Author: Jakub Jelinek Date:

[Bug libgcc/103420] libatomic fails to compile on aarch64 linux with TFLAGS="-mcpu=octeontx2"

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103420 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug libgcc/103420] New: libatomic fails to compile on aarch64 linux with TFLAGS="-mcpu=octeontx2"

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103420 Bug ID: 103420 Summary: libatomic fails to compile on aarch64 linux with TFLAGS="-mcpu=octeontx2" Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug middle-end/103393] [12 Regression] Generating 256bit register usage with -mprefer-avx128 -mprefer-vector-width=128

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103393 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Component|target

[Bug middle-end/103416] [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit])

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

[Bug fortran/103413] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103413 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.4

[Bug fortran/103412] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103412 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.4

[Bug target/103393] [12 Regression] Generating 256bit register usage with -mprefer-avx128 -mprefer-vector-width=128

2021-11-24 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103393 --- Comment #7 from rguenther at suse dot de --- On Thu, 25 Nov 2021, crazylht at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103393 > > --- Comment #6 from Hongtao.liu --- > (In reply to Hongtao.liu from comment #5)

[Bug tree-optimization/44011] missed optimization of min/max_expr or strict overflow warnings for intended code.

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

[Bug middle-end/103419] FAIL: gcc.target/i386/pr102566-10b.c with -mx32

2021-11-24 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103419 --- Comment #3 from Hongtao.liu --- (In reply to H.J. Lu from comment #2) > Created attachment 51871 [details] > A patch > > Hongtao, please take a look. Yes, i'll use type of second parameter which should be integer type.

[Bug middle-end/103419] FAIL: gcc.target/i386/pr102566-10b.c with -mx32

2021-11-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103419 --- Comment #2 from H.J. Lu --- Created attachment 51871 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51871=edit A patch Hongtao, please take a look.

[Bug middle-end/103419] FAIL: gcc.target/i386/pr102566-10b.c with -mx32

2021-11-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103419 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/47256] "--sysroot" option is not passed to COLLECT_GCC_OPTIONS

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47256 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0 --- Comment #6 from Andrew Pinski

[Bug middle-end/103419] New: FAIL: gcc.target/i386/pr102566-10b.c with -mx32

2021-11-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103419 Bug ID: 103419 Summary: FAIL: gcc.target/i386/pr102566-10b.c with -mx32 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/93453] PPC: rldimi not taken into account to avoid shift+or

2021-11-24 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93453 --- Comment #8 from HaoChen Gui --- I refined the patch and put all things in a helper - change_pseudo_and_mask. As you mentioned, it's still a band-aid. The perfect solution might be a better version of nonzero_bits. Thanks. diff --git

[Bug rtl-optimization/103404] ICE: SIGSEGV in insert_with_costs (cse.c:1569) with custom flags

2021-11-24 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103404 --- Comment #5 from Tamar Christina --- This is a somewhat latent bug in CSE where merge_equiv_classes assumes that all entries into the equivalence table are unique but CSE makes no attempt to enforce this constraint. So inserting the same

[Bug tree-optimization/103417] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-5489

2021-11-24 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103417 --- Comment #5 from Tamar Christina --- (In reply to Jakub Jelinek from comment #4) > Created attachment 51870 [details] > gcc12-pr103417.patch > > Untested fix. Handling GE in that simplification is clearly bogus, we > should just fold it to

[Bug c++/103401] [11/12 Regression] gcc accepts decltype(auto(0)) as the parameter of the function

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401 --- Comment #4 from Marek Polacek --- I think the patch might be just: --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -7508,6 +7508,8 @@ cp_parser_postfix_expression (cp_parser *parser, bool address_p, bool cast_p, looking at a

[Bug fortran/103414] [PDT] ICE in gfc_free_actual_arglist, at fortran/expr.c:547

2021-11-24 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103414 --- Comment #4 from kargl at gcc dot gnu.org --- This fixes/catches the type mismatch in the issue raised in comment #1. diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index 705d2326a29..0a864da015b 100644 ---

[Bug target/103393] [12 Regression] Generating 256bit register usage with -mprefer-avx128 -mprefer-vector-width=128

2021-11-24 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103393 --- Comment #6 from Hongtao.liu --- (In reply to Hongtao.liu from comment #5) > (In reply to Richard Biener from comment #3) > > (In reply to H.J. Lu from comment #2) > > > (In reply to Richard Biener from comment #1) > > > > It isn't the

[Bug tree-optimization/103409] 18% WRF compile-time regression with -O2 -flto between g:264f061997c0a534 and g:3e09331f6aeaf595

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103409 --- Comment #1 from Andrew Pinski --- The two main changes during that time period was jump threading and modref. modref seems might be more likely with wrf being fortran code and even using nested functions and such.

[Bug target/103393] [12 Regression] Generating 256bit register usage with -mprefer-avx128 -mprefer-vector-width=128

2021-11-24 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103393 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #5

[Bug fortran/103414] [PDT] ICE in gfc_free_actual_arglist, at fortran/expr.c:547

2021-11-24 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103414 --- Comment #3 from kargl at gcc dot gnu.org --- The patch in comment #2 does not address the issue in comment #1. The patch only address an invalid BOZ in a structure constructor. The issue in comment #1 is technical unrelated.

[Bug fortran/103414] [PDT] ICE in gfc_free_actual_arglist, at fortran/expr.c:547

2021-11-24 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103414 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug tree-optimization/103409] 18% WRF compile-time regression with -O2 -flto between g:1ae8edf5f73ca5c3 and g:1ae8edf5f73ca5c3

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

[Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris

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

[Bug middle-end/103386] -floop-nest-optimize -floop-interchange -fgraphite-identity miscompiles gcc

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103386 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Summary|stage1 with PGO

[Bug c++/103401] [11/12 Regression] gcc accepts decltype(auto(0)) as the parameter of the function

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401 --- Comment #3 from Marek Polacek --- This is trickier than it seemed. void f(decltype(auto(0))) { } is actually valid in C++23 (probably) since auto(x) is supported. So I think it's essentially like void f(int) { } The r11-1913 change is

[Bug c++/100687] [modules, concepts] imported concept gives different result

2021-11-24 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100687 Johel Ernesto Guerrero Peña changed: What|Removed |Added CC||johelegp at gmail dot com

[Bug preprocessor/103415] [12 Regression] ICE in cpp_interpret_string_1, at libcpp/charset.c:1739

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

[Bug testsuite/103244] [12 regression] c-c++-common/goacc/firstprivate-mappings-1.c fails in certain configurations since g:b7e20480630e3eeb9eed8b3941da3b3f0c22c969

2021-11-24 Thread fche2 at elastic dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103244 --- Comment #4 from test test --- (test, ignore)

[Bug fortran/103418] random_number() does not accept pointer, intent(in) array argument

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

[Bug target/102239] powerpc suboptimal boolean test of contiguous bits

2021-11-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102239 --- Comment #3 from Segher Boessenkool --- (In reply to luoxhu from comment #2) > (In reply to Segher Boessenkool from comment #1) > > Confirmed. > > > > So the relevant insn > > > > (parallel [(set (reg:CC 123) > >

[Bug fortran/103413] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

2021-11-24 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103413 --- Comment #2 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #1) > diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c > index 2bf21434a42..971c2fa1dd6 100644 > --- a/gcc/fortran/match.c > +++ b/gcc/fortran/match.c > @@

[Bug libstdc++/103387] powerpc64le: segmentation fault on std::cout with ieee128 long double variable

2021-11-24 Thread tuliom at ascii dot art.br via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103387 Tulio Magno Quites Machado Filho changed: What|Removed |Added CC||tuliom at ascii dot

[Bug middle-end/103406] [12 Regression] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 --- Comment #11 from joseph at codesourcery dot com --- The sign of a NaN result is never specified in C except for fabs, copysign, negation, unary + (and assignment to the same format in the case where that's copy rather than convertFormat).

[Bug libstdc++/103382] condition_variable::wait() is not cancellable because it is marked noexcept

2021-11-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103382 --- Comment #4 from Jonathan Wakely --- Yes, it's just a lot of work to implement correctly, and non-zero overhead to change the cancellation state.

[Bug fortran/103418] random_number() does not accept pointer, intent(in) array argument

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

[Bug fortran/103414] [PDT] ICE in gfc_free_actual_arglist, at fortran/expr.c:547

2021-11-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103414 G. Steinmetz changed: What|Removed |Added Summary|[PDT] [10/11/12 Regression] |[PDT] ICE in |ICE in

[Bug tree-optimization/103417] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-5489

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103417 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/103418] random_number() does not accept pointer, intent(in) array argument

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

[Bug fortran/103392] [9/10/11 Regression] ICE in simplify_bound, at fortran/simplify.c:4273

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103392 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:56b3036c531929e0dae1103b9f5d20c82643415f commit r11-9308-g56b3036c531929e0dae1103b9f5d20c82643415f Author: Harald Anlauf

[Bug other/102718] gtype-desc.c function redefinition error for gt_ggc_xxx (int_hash&)

2021-11-24 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102718 Thomas Schwinge changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill |

[Bug fortran/103411] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

2021-11-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103411 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/103417] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-5489

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103417 --- Comment #3 from Jakub Jelinek --- generic_simplify_GE_EXPR is called with BIT_FIELD_REF & 4294967040U and 0U arguments, and transforms that into BIT_FIELD_REF <= 255. That is wrong, (BIT_FIELD_REF & 4294967040U) >= 0U is always true

[Bug tree-optimization/103417] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-5489

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103417 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/103417] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103417 Andrew Pinski changed: What|Removed |Added Version|unknown |12.0 Summary|wrong code at

[Bug tree-optimization/103417] wrong code at -O1 and above on x86_64-linux-gnu

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103417 --- Comment #1 from Andrew Pinski --- It worked at r12-5485-ge1d4359264585

[Bug fortran/103418] New: random_number() does not accept pointer, intent(in) array argument

2021-11-24 Thread baradi09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418 Bug ID: 103418 Summary: random_number() does not accept pointer, intent(in) array argument Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/103411] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

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

[Bug tree-optimization/103417] New: wrong code at -O1 and above on x86_64-linux-gnu

2021-11-24 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
Supported LTO compression algorithms: zlib gcc version 12.0.0 20211124 (experimental) [master r12-5505-g5deacf6058d] (GCC) [558] % [558] % gcctk -O0 small.c; ./a.out [559] % [559] % gcctk -O1 small.c [560] % ./a.out Aborted [561] % [561] % cat small.c struct { int a : 8; int b : 24; } c = {0, 1

[Bug target/103393] [12 Regression] Generating 256bit register usage with -mprefer-avx128 -mprefer-vector-width=128

2021-11-24 Thread jschoen4 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103393 --- Comment #4 from John S --- I can Confirm from my side that it does appear to be the memmove inline expansion and not the auto vectorizer. It also occurs with builtin_memset/builtin_memcpy as well. For some context, this is an issue would

[Bug fortran/87851] [9/10/11/12 Regression] Wrong return type for len_trim

2021-11-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87851 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING --- Comment #18 from

[Bug fortran/87711] ICE in gfc_trans_transfer, at fortran/trans-io.c:2676

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87711 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:3e6b9910e8e23d690fa1026b2879d37745ddd740 commit r11-9307-g3e6b9910e8e23d690fa1026b2879d37745ddd740 Author: Harald Anlauf

[Bug fortran/87851] [9/10/11/12 Regression] Wrong return type for len_trim

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87851 --- Comment #17 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:3e6b9910e8e23d690fa1026b2879d37745ddd740 commit r11-9307-g3e6b9910e8e23d690fa1026b2879d37745ddd740 Author: Harald Anlauf

[Bug c/92479] missing warnings for unreachable codes with break (i.e. revive the subset of -Wunreachable-code that fits under clang's -Wunreachable-code-break)

2021-11-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92479 Eric Gallager changed: What|Removed |Added Status|SUSPENDED |NEW CC|

[Bug c++/87403] [Meta-bug] Issues that suggest a new warning

2021-11-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 98750, which changed state. Bug 98750 Summary: does not detect dead code [-Wunreachable-code-break] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98750 What|Removed |Added

[Bug c/92479] missing warnings for unreachable codes with break (i.e. revive the subset of -Wunreachable-code that fits under clang's -Wunreachable-code-break)

2021-11-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92479 Eric Gallager changed: What|Removed |Added CC||tiagomacarios at gmail dot com ---

[Bug c++/98750] does not detect dead code [-Wunreachable-code-break]

2021-11-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98750 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/103416] [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit])

2021-11-24 Thread cltang at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103416 --- Comment #1 from Chung-Lin Tang --- Can you see if adding this patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/583279.html fixes this problem? If so, then it should be another occurrence of PR90030

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 --- Comment #12 from Jakub Jelinek --- Note, sys/sdt.h is using the "nor" constraints for 11 years already.

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 --- Comment #11 from Jakub Jelinek --- Inline asm that only works with memory but in constraints says it accepts both immediate constant and memory is IMNSHO just broken, it is just fine if the compiler makes a different choice. If "nor" with

[Bug middle-end/103416] New: [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit])

2021-11-24 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103416 Bug ID: 103416 Summary: [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit]) Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

2021-11-24 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 --- Comment #10 from Richard Earnshaw --- It's been this way now for over 20 years. A single instruction cannot take a constant and a memory for the same operand, so this has been used in the backend to trigger the minipool generation: a

[Bug fortran/103413] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

2021-11-24 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103413 kargl at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-11-24

[Bug fortran/103412] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

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

[Bug preprocessor/103415] [12 Regression] ICE in cpp_interpret_string_1, at libcpp/charset.c:1739

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

[Bug c/103415] [12 Regression] ICE in cpp_interpret_string_1, at libcpp/charset.c:1739

2021-11-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103415 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from

[Bug c/103415] New: [12 Regression] ICE in cpp_interpret_string_1, at libcpp/charset.c:1739

2021-11-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103415 Bug ID: 103415 Summary: [12 Regression] ICE in cpp_interpret_string_1, at libcpp/charset.c:1739 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug fortran/103414] New: [10/11/12 Regression] ICE in gfc_free_actual_arglist, at fortran/expr.c:547

2021-11-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103414 Bug ID: 103414 Summary: [10/11/12 Regression] ICE in gfc_free_actual_arglist, at fortran/expr.c:547 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug fortran/103413] New: [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

2021-11-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103413 Bug ID: 103413 Summary: [10/11/12 Regression] ICE: Invalid expression in gfc_element_size Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/103412] New: [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

2021-11-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103412 Bug ID: 103412 Summary: [10/11/12 Regression] ICE: Invalid expression in gfc_element_size Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/103411] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

2021-11-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103411 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from

[Bug fortran/103411] New: ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

2021-11-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103411 Bug ID: 103411 Summary: ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/103410] ICE: in grokfndecl, at cp/decl.c:9903

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103410 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-11-24 CC|

[Bug c++/67491] [meta-bug] concepts issues

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 71843, which changed state. Bug 71843 Summary: [concepts] Diagnostics issued for constraint satisfaction failure fail to elucidate unsatisfied constraints https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71843

[Bug c++/71843] [concepts] Diagnostics issued for constraint satisfaction failure fail to elucidate unsatisfied constraints

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71843 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug middle-end/103386] stage1 with PGO produces bad offsets in rtl-reload on aarch64

2021-11-24 Thread mittorn at sibmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103386 --- Comment #2 from mittorn at sibmail dot com --- Removing -floop-nest-optimize -floop-interchange -fgraphite-identity fixes build, but removing only -fgraphite-identity not

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 Jakub Jelinek changed: What|Removed |Added CC||fche at redhat dot com --- Comment #9

[Bug c++/103410] New: ICE: in grokfndecl, at cp/decl.c:9903

2021-11-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103410 Bug ID: 103410 Summary: ICE: in grokfndecl, at cp/decl.c:9903 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/103409] New: 18% WRF compile-time regression with -O2 -flto between g:1ae8edf5f73ca5c3 and g:1ae8edf5f73ca5c3

2021-11-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103409 Bug ID: 103409 Summary: 18% WRF compile-time regression with -O2 -flto between g:1ae8edf5f73ca5c3 and g:1ae8edf5f73ca5c3 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

2021-11-24 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 --- Comment #8 from Richard Earnshaw --- OK, so the real problem in the test case is the constraint ("nor") is meaningless on Arm (because there is no instruction in the architecture that can accept both a constant and a memref) and this

[Bug other/79469] Feature request: provide `__builtin_assume` builtin function to allow more aggressive optimizations and to match clang

2021-11-24 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79469 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/103408] ICE when requires auto(x) in C++23

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

[Bug c++/103408] ICE when requires auto(x) in C++23

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103408 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/103408] New: ICE when requires auto(x) in C++23

2021-11-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103408 Bug ID: 103408 Summary: ICE when requires auto(x) in C++23 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug ipa/103405] [12 Regression] c67005c FAILs with -fipa-modref

2021-11-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103405 --- Comment #8 from Jan Hubicka --- Created attachment 51868 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51868=edit Patch in testing Good to know that there are no more known modref & Ada problems ;) I recently extended modref to

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

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

[Bug c++/103403] [11/12 Regression] auto return type with a trailing return type of decl(auto) uses rvalue reference type instead of reference type

2021-11-24 Thread enricomaria.dean6elis at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103403 --- Comment #4 from Enrico Maria De Angelis --- So there is a relation between this problem and PR 78209. At least a cause-effect relation.

[Bug c++/103379] ICE: tree check: expected class 'type', have 'declaration' (namespace_decl) in comptypes, at cp/typeck.c:1544

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103379 Marek Polacek changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code --- Comment #3 from

[Bug libstdc++/103382] condition_variable::wait() is not cancellable because it is marked noexcept

2021-11-24 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103382 --- Comment #3 from Ivan Sorokin --- > Huh, I thought it was noexcept. Then yes, we should remove it. Thank you very much! I'm looking forward for a fix. > There are still lots of other places where the stadnard does require > 'noexcept' and

[Bug c++/103379] ICE: tree check: expected class 'type', have 'declaration' (namespace_decl) in comptypes, at cp/typeck.c:1544

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

  1   2   3   >