[Bug tree-optimization/104582] [11/12 Regression] Unoptimal code for __negdi2 (and others) from libgcc2 due to unwanted vectorization

2022-02-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104582 --- Comment #19 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:61fc5e098e76c9809f35f449a70c9c8d74773d9d commit r12-7317-g61fc5e098e76c9809f35f449a70c9c8d74773d9d Author: Richard Biener Date:

[Bug target/103353] Indefinite recursion when compiling -mmma requiring testcase w/ -maltivec

2022-02-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103353 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Kewen Lin

[Bug bootstrap/104628] Error when bootstrapping CMake: Problem while running make

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104628 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520

2022-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134 --- Comment #32 from Richard Biener --- (In reply to Segher Boessenkool from comment #31) > A straightforward backport of that gives > > In file included from /home/segher/src/gcc/gcc/config/rs6000/rs6000.cc:28765: > ./gt-rs6000.h:143:6: error:

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #6 from Hongtao.liu --- (In reply to Hongtao.liu from comment #5) > (In reply to Hongtao.liu from comment #4) > > (In reply to Hongtao.liu from comment #3) > > > (In reply to Hongtao.liu from comment #2) > > > > in Gimple, there're

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #5 from Hongtao.liu --- (In reply to Hongtao.liu from comment #4) > (In reply to Hongtao.liu from comment #3) > > (In reply to Hongtao.liu from comment #2) > > > in Gimple, there're > > > > > > _1 = __builtin_memcmp_eq (a_5(D),

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #4 from Hongtao.liu --- (In reply to Hongtao.liu from comment #3) > (In reply to Hongtao.liu from comment #2) > > in Gimple, there're > > > > _1 = __builtin_memcmp_eq (a_5(D), [0], 32); > > _2 = _1 == 0; > > _6 = (int) _2; >

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #3 from Hongtao.liu --- (In reply to Hongtao.liu from comment #2) > in Gimple, there're > > _1 = __builtin_memcmp_eq (a_5(D), [0], 32); > _2 = _1 == 0; > _6 = (int) _2; > > > So it's related to codegen optimization with

[Bug fortran/104630] New: module subroutine not accessible from submodule

2022-02-21 Thread neil.n.carlson at gmail dot com via Gcc-bugs
from the link error: $ gfortran module.f90 submodule.f90 main.f90 /usr/bin/ld: /tmp/ccEycu6t.o: in function `__moda_MOD_foo': gfortran-20220221-submodule.f90:(.text+0x17): undefined reference to `__moda_MOD_bar' collect2: error: ld returned 1 exit status If the 3 program units are combined

[Bug c++/104629] Constexpr static functions and variables in templates, in the wrong order and under specific circumstances produces ICEs under some versions, compiles (but shouldn't) on others

2022-02-21 Thread ahajha at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104629 --- Comment #1 from Alex Trotta --- Created attachment 52487 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52487=edit compiler configuration

[Bug c++/104629] New: Constexpr static functions and variables in templates, in the wrong order and under specific circumstances produces ICEs under some versions, compiles (but shouldn't) on others

2022-02-21 Thread ahajha at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104629 Bug ID: 104629 Summary: Constexpr static functions and variables in templates, in the wrong order and under specific circumstances produces ICEs under some versions, compiles (but

[Bug bootstrap/104628] New: Error when bootstrapping CMake: Problem while running make

2022-02-21 Thread fsrahman at bu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104628 Bug ID: 104628 Summary: Error when bootstrapping CMake: Problem while running make Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/103069] cmpxchg isn't optimized

2022-02-21 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #14 from Thiago Macieira --- I'd restrict relaxations to loops emitted by the compiler. All other atomic operations shouldn't be modified at all, unless the user asks for it. That includes non-looping atomic operations (like LOCK

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #2 from Hongtao.liu --- in Gimple, there're _1 = __builtin_memcmp_eq (a_5(D), [0], 32); _2 = _1 == 0; _6 = (int) _2; So it's related to codegen optimization with vectorized codes for __builtin_memcmp_eq, guess we can start

[Bug fortran/104609] Add gfortran option to force single-precision constants to double-precision constants

2022-02-21 Thread dshi at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104609 --- Comment #2 from Deng Shi --- I know the option -freal-4-real-8, but this options affects both REAL variable and constant. While this request is to one option ONLY applied for REAL constant number like 1.0.

[Bug target/103069] cmpxchg isn't optimized

2022-02-21 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #13 from Hongyu Wang --- All above glibc cases are now both relaxed by an load/cmp to skip cmpxchg under -mrelax-cmpxchg-loop, but for > do > { > flags = THREAD_GETMEM (self, cancelhandling); > newval =

[Bug target/103069] cmpxchg isn't optimized

2022-02-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #12 from CVS Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:0435b978f95971e139882549f5a1765c50682216 commit r12-7316-g0435b978f95971e139882549f5a1765c50682216 Author: Hongyu Wang Date: Fri

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

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104623 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3

[Bug c++/104622] [12 Regression] ICE in compare_ics, at cp/call.cc:11419

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

[Bug c++/104618] [12 Regression] trunk 20220221 on x86_64-linux-gnu ICEs building sh.cc for sh4-linux-gnu (in build_call_a, at cp/call.cc:381)

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

[Bug c/104627] [12 Regression] New failure in deprecated.c

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104627 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Summary|New failure in

[Bug c/104627] New failure in deprecated.c

2022-02-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104627 --- Comment #2 from Segher Boessenkool --- It started somewhere in the last four days: -Compiler version: 12.0.1 20220217 (experimental) (GCC) +Compiler version: 12.0.1 20220221 (experimental) (GCC)

[Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520

2022-02-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134 --- Comment #31 from Segher Boessenkool --- A straightforward backport of that gives In file included from /home/segher/src/gcc/gcc/config/rs6000/rs6000.cc:28765: ./gt-rs6000.h:143:6: error: 'atomic_update_decl' was not declared in this scope

[Bug c++/104618] [12 Regression] trunk 20220221 on x86_64-linux-gnu ICEs building sh.cc for sh4-linux-gnu (in build_call_a, at cp/call.cc:381)

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104618 --- Comment #1 from Andrew Pinski --- This started between Feb 13 and today even. Reducing

[Bug fortran/104626] ICE in gfc_format_decoder, at fortran/error.cc:1071

2022-02-21 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104626 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug c/104627] New failure in deprecated.c

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104627 --- Comment #1 from Andrew Pinski --- I don't see any changes in the C front-end that would have caused this diagnostic difference even.

[Bug c/104627] New: New failure in deprecated.c

2022-02-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104627 Bug ID: 104627 Summary: New failure in deprecated.c Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/104608] [12 Regression] internal compiler error: in cp_parser_template_id, at cp/parser.cc:18367

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

[Bug fortran/104619] [10/11/12 Regression] ICE on list comprehension with default derived type constructor

2022-02-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104619 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |10.4 Status|NEW

[Bug c++/104608] internal compiler error: in cp_parser_template_id, at cp/parser.cc:18367

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104608 --- Comment #3 from Andrew Pinski --- Reducing ...

[Bug fortran/104626] New: ICE in gfc_format_decoder, at fortran/error.cc:1071

2022-02-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104626 Bug ID: 104626 Summary: ICE in gfc_format_decoder, at fortran/error.cc:1071 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/104625] ICE in fixup_array_ref, at fortran/resolve.cc:9275

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

[Bug fortran/104625] New: ICE in fixup_array_ref, at fortran/resolve.cc:9275

2022-02-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104625 Bug ID: 104625 Summary: ICE in fixup_array_ref, at fortran/resolve.cc:9275 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/104624] New: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213

2022-02-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624 Bug ID: 104624 Summary: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

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

2022-02-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104623 Bug ID: 104623 Summary: [11/12 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.cc:4107 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c++/104622] New: [12 Regression] ICE in compare_ics, at cp/call.cc:11419

2022-02-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104622 Bug ID: 104622 Summary: [12 Regression] ICE in compare_ics, at cp/call.cc:11419 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/104602] std::source_location::current uses cast from void*

2022-02-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104602 --- Comment #6 from Jonathan Wakely --- We can make that more readable: --- a/libstdc++-v3/include/std/source_location +++ b/libstdc++-v3/include/std/source_location @@ -43,12 +43,13 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { private:

[Bug c++/104618] [12 Regression] trunk 20220221 on x86_64-linux-gnu ICEs building sh.cc for sh4-linux-gnu (in build_call_a, at cp/call.cc:381)

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

[Bug libstdc++/104606] [10/11/12 Regression] comparison operator resolution with std::optional and -std=c++20

2022-02-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 --- Comment #8 from Jonathan Wakely --- See https://wg21.link/lwg3566 which is what the PR98842 fix does.

[Bug c++/104608] internal compiler error: in cp_parser_template_id, at cp/parser.cc:18367

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104608 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug c++/104608] internal compiler error: in cp_parser_template_id, at cp/parser.cc:18367

2022-02-21 Thread trpost at rocketmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104608 --- Comment #2 from Antonio Trande --- Created attachment 52485 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52485=edit Bug report Full bug report

[Bug fortran/104619] [10/11/12 Regression] ICE on list comprehension with default derived type constructor

2022-02-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104619 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug lto/104617] Bug in handling of 64k+ sections

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104617 --- Comment #2 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #1) > Untested fix: > 2022-02-21 Jakub Jelinek > > PR lto/104617 > * simple-object-elf.c (simple_object_elf_match): Fix up URL > in comment.

[Bug fortran/104621] New: [OpenMP] Issues with 'declare variant'

2022-02-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104621 Bug ID: 104621 Summary: [OpenMP] Issues with 'declare variant' Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: accepts-invalid, openmp Severity: normal

[Bug lto/104617] Bug in handling of 64k+ sections

2022-02-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104617 --- Comment #1 from Jakub Jelinek --- Untested fix: 2022-02-21 Jakub Jelinek PR lto/104617 * simple-object-elf.c (simple_object_elf_match): Fix up URL in comment. (simple_object_elf_copy_lto_debug_sections):

[Bug c++/104620] New: FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors)

2022-02-21 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104620 Bug ID: 104620 Summary: FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/104609] Add gfortran option to force single-precision constants to double-precision constants

2022-02-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104609 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2022-02-21 Ever

[Bug fortran/104619] New: ICE on list comprehension with default derived type constructor

2022-02-21 Thread gronki at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104619 Bug ID: 104619 Summary: ICE on list comprehension with default derived type constructor Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

Explicit template instantiation does not work when there are multiple partial template specialization using concepts

2022-02-21 Thread Денис Шкиря via Gcc-bugs
Hello, In the code below I am trying to explicitly instantiate two different partial specializations of a template struct with static function and I expect to see two global weak symbols (W) that correspond to different instantiations of that function in the object file. But for some reason I see

[Bug target/104618] New: [12 Regression] trunk 20220221 on x86_64-linux-gnu ICEs building sh.cc for sh4-linux-gnu

2022-02-21 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104618 Bug ID: 104618 Summary: [12 Regression] trunk 20220221 on x86_64-linux-gnu ICEs building sh.cc for sh4-linux-gnu Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug lto/104617] New: Bug in handling of 64k+ sections

2022-02-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104617 Bug ID: 104617 Summary: Bug in handling of 64k+ sections Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug c++/104616] New: -Wconversion diagnostic on operator `/` with short ints, only when -fsanitize=undefined is passed

2022-02-21 Thread oschonrock at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104616 Bug ID: 104616 Summary: -Wconversion diagnostic on operator `/` with short ints, only when -fsanitize=undefined is passed Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/104615] New: [Concepts] ICE in explicit instantiation when multiple candidates are valid (CWG2421)

2022-02-21 Thread roi.jacobson1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104615 Bug ID: 104615 Summary: [Concepts] ICE in explicit instantiation when multiple candidates are valid (CWG2421) Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug driver/104614] "Undocumented" option flag ignored with --help=target

2022-02-21 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104614 --- Comment #2 from Richard Earnshaw --- This case is also wrong: mhard-float Target RejectNegative Alias(mfloat-abi=, hard) Undocumented produces: -mhard-floatSame as -mfloat-abi=hard. Which, while not inaccurate, means

[Bug driver/104614] "Undocumented" option flag ignored with --help=target

2022-02-21 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104614 --- Comment #1 from Richard Earnshaw --- Note the manual says for 'Undocumented' @item Undocumented The option is deliberately missing documentation and should not be included in the @option{--help} output.

[Bug driver/104614] New: "Undocumented" option flag ignored with --help=target

2022-02-21 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104614 Bug ID: 104614 Summary: "Undocumented" option flag ignored with --help=target Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-21 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #11

[Bug target/100657] [GCN offloading] 'libgomp.c-c++-common/reduction-6.c' execution times out

2022-02-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100657 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug go/104290] [12 Regression] trunk 20220214 fails to build libgo on i686-gnu

2022-02-21 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104290 --- Comment #27 from Ian Lance Taylor --- Thanks for the explanation. Sounds like you should send the config/gnu.h patch to the x86 maintainers (and CC gcc-patches).

[Bug target/104613] New: ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1189

2022-02-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104613 Bug ID: 104613 Summary: ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1189 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug go/104290] [12 Regression] trunk 20220214 fails to build libgo on i686-gnu

2022-02-21 Thread svante.signell at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104290 --- Comment #26 from Svante Signell --- (In reply to Ian Lance Taylor from comment #25) > > Hopefully someone knows hot to modify Makefile.tpl/Makefile.def to generate > > the correct dependencies in Makefile.in. > > I suggest that you open a

[Bug target/104440] nvptx: FAIL: gcc.c-torture/execute/pr53465.c execution test

2022-02-21 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104440 Tom de Vries changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/104440] nvptx: FAIL: gcc.c-torture/execute/pr53465.c execution test

2022-02-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104440 --- Comment #12 from CVS Commits --- The master branch has been updated by Tom de Vries : https://gcc.gnu.org/g:02aedc6f269b5e3c1f354edcf5b84d27b0a15946 commit r12-7312-g02aedc6f269b5e3c1f354edcf5b84d27b0a15946 Author: Tom de Vries Date:

[Bug c++/104534] write-strings does not follow C++ standard

2022-02-21 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104534 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/104550] bogus warning from -Wuninitialized + -ftrivial-auto-var-init=pattern

2022-02-21 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104550 --- Comment #20 from Qing Zhao --- > On Feb 21, 2022, at 1:56 AM, rguenth at gcc dot gnu.org > wrote: >> >> my question is, is the "info" in __builtin_clear_padding() a REAL use >> of "info"? is it correct to report the uninitialized use

[Bug libstdc++/104602] std::source_location::current uses cast from void*

2022-02-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104602 --- Comment #5 from Jakub Jelinek --- No, with auto it doesn't work.

[Bug rtl-optimization/98179] gcc.dg/pr97954.c fails on (at least) BE powerpc

2022-02-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98179 Segher Boessenkool changed: What|Removed |Added Resolution|INVALID |WORKSFORME

[Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520

2022-02-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134 --- Comment #30 from Segher Boessenkool --- (In reply to Richard Biener from comment #28) > Huh, yes - I assumed that had been fixed. Segher? Can you please fix that > GTY bug? I'll look at it. It's over three years old, will need some

[Bug libstdc++/104602] std::source_location::current uses cast from void*

2022-02-21 Thread foom at fuhm dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104602 --- Comment #4 from James Y Knight --- Yea that should work. Or even just `auto`.

[Bug c++/54366] [meta-bug] decltype issues

2022-02-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54366 Bug 54366 depends on bug 85493, which changed state. Bug 85493 Summary: decltype can use deleted constructor and deleted template function in template function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85493 What|Removed

[Bug c++/85493] decltype can use deleted constructor and deleted template function in template function

2022-02-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85493 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/85493] decltype can use deleted constructor and deleted template function in template function

2022-02-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85493 --- Comment #5 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e74d764e172fa6afdbd194ce57decc80237631dc commit r12-7311-ge74d764e172fa6afdbd194ce57decc80237631dc Author: Patrick Palka Date:

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 --- Comment #7 from Richard Biener --- bool patterns are to distinguish flag uses from data uses since a vectorized flag true will be -1 while the unvectorized flag is 1 but of course any data uses have to be retained. What we are missing here

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 --- Comment #6 from Richard Biener --- The patch doesn't really work, it regresses some AVX512 stuff in i386.exp, notably FAIL: gcc.target/i386/avx512vl-vdivps-2.c (internal compiler error: in vect_get_ vec_defs_for_operand, at

[Bug tree-optimization/104530] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs. 11.2.0)

2022-02-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104530 --- Comment #3 from Jakub Jelinek --- What could be done in passes like evrp or vrp* but not in unrelated other passes that use the range infrastructure would be to set uids on stmts depending on presence of calls that might not always return

[Bug tree-optimization/104604] [12 Regression]wrong code with -O2 VRP Complex integer division issue since r12-3328

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

[Bug tree-optimization/104604] [12 Regression]wrong code with -O2 VRP Complex integer division issue since r12-3328

2022-02-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104604 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug target/104612] [12 Regression] ICE in mark_jump_label_1 since r12-3435

2022-02-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104612 --- Comment #1 from Jakub Jelinek --- Created attachment 52482 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52482=edit gcc12-pr104612.patch Untested fix.

[Bug c++/95999] [9/10/11/12 Regression] ICE in tree check: expected integer_cst, have var_decl in get_len, at tree.h:5951

2022-02-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95999 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/104611] memcmp/strcmp/strncmp can be optimized when the result is tested for [in]equality with 0 on aarch64

2022-02-21 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104611 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #1 from

[Bug target/104612] [12 Regression] ICE in mark_jump_label_1 since r12-3435

2022-02-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104612 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug target/104612] [12 Regression] ICE in mark_jump_label_1 since r12-3435

2022-02-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104612 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |12.0 Priority|P3

[Bug target/104612] New: [12 Regression] ICE in mark_jump_label_1 since r12-3435

2022-02-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104612 Bug ID: 104612 Summary: [12 Regression] ICE in mark_jump_label_1 since r12-3435 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/104498] Alias attribute being ignored by scheduler

2022-02-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104498 avieira at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/104611] New: memcmp/strcmp/strncmp can be optimized when the result is tested for [in]equality with 0 on aarch64

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104611 Bug ID: 104611 Summary: memcmp/strcmp/strncmp can be optimized when the result is tested for [in]equality with 0 on aarch64 Product: gcc Version: 12.0 Status:

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #1 from Andrew Pinski --- Note even without avx512f, LLVM does: movdqu (%rdi), %xmm0 movdqu 16(%rdi), %xmm1 pcmpeqb .LCPI0_0(%rip), %xmm1 pcmpeqb .LCPI0_1(%rip), %xmm0 pand%xmm1, %xmm0

[Bug target/104610] New: memcmp () == 0 can be optimized better for avx512f

2022-02-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 Bug ID: 104610 Summary: memcmp () == 0 can be optimized better for avx512f Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity:

[Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520

2022-02-21 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134 --- Comment #29 from Arseny Solokha --- Let me clarify: I cannot reproduce that ICE from comment 5 as well, but probably because of the same underlying reason that "fixed" the ICE from comment 0.

[Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520

2022-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|RESOLVED

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 --- Comment #5 from Richard Biener --- diff --git a/gcc/tree-vect-patterns.cc b/gcc/tree-vect-patterns.cc index 217bdfd7045..ff9a628321f 100644 --- a/gcc/tree-vect-patterns.cc +++ b/gcc/tree-vect-patterns.cc @@ -4450,18 +4450,16 @@

[Bug libstdc++/104606] [10/11/12 Regression] comparison operator resolution with std::optional and -std=c++20

2022-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/104498] Alias attribute being ignored by scheduler

2022-02-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104498 --- Comment #9 from CVS Commits --- The master branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:d34cdec56728ddbdfacabd9f80598b17d1c6ff54 commit r12-7310-gd34cdec56728ddbdfacabd9f80598b17d1c6ff54 Author: Andre Vieira

[Bug tree-optimization/104604] [12 Regression]wrong code with -O2 VRP Complex integer division issue

2022-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104604 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #2 from Richard Biener

[Bug tree-optimization/104601] [11/12 Regression] Invalid branch elimination at -O2

2022-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug testsuite/104599] [12 regression] gcc.dg/deprecated.c has excess errors after r12-7287-g1b71bc7c8b18bd

2022-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104599 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Last reconfirmed|

[Bug ipa/104597] LTO does not inline indirect call

2022-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104597 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-02-21 Ever confirmed|0

[Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520

2022-02-21 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134 --- Comment #27 from Arseny Solokha --- Does it make sense to commit the patch from comment 17 (or comment 18) nonetheless?

[Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520

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

[Bug c/104506] [12 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.cc:87 on invalid symbol redeclaration

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

[Bug c/104506] [12 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.cc:87 on invalid symbol redeclaration

2022-02-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104506 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:e01530ec1e33f7df9c2acd0489d6d1f766cb1921 commit r12-7309-ge01530ec1e33f7df9c2acd0489d6d1f766cb1921 Author: Andrew Pinski Date:

  1   2   >