[Bug tree-optimization/107046] [13 Regression] Recent FP range work causing inf-2 to be miscompiled on rx-elf

2022-09-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107046 --- Comment #1 from Aldy Hernandez --- The target seems to set flag_finite_math_only. We are much more aggressive at folding comparisons involving infinities with this flag. config/rx/rx.cc: /* Alert the user if they are changing the op

[Bug rtl-optimization/107047] New: load introduced of struct fields after assigning it to a local variable

2022-09-27 Thread absoler at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107047 Bug ID: 107047 Summary: load introduced of struct fields after assigning it to a local variable Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: norm

[Bug c/107048] New: GCC lacks -fsanitize=kcfi

2022-09-27 Thread peterz at infradead dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107048 Bug ID: 107048 Summary: GCC lacks -fsanitize=kcfi Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug libstdc++/107049] New: error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator

2022-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 Bug ID: 107049 Summary: error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc =

[Bug libstdc++/107049] error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; __s

2022-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 --- Comment #1 from Martin Liška --- Created attachment 53632 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53632&action=edit Unreduced test-case

[Bug libstdc++/107049] error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; __s

2022-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/107024] ICE in finish_expr_stmt, at cp/semantics.cc:872

2022-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107024 Martin Liška changed: What|Removed |Added Keywords|needs-reduction | CC|

[Bug libstdc++/107049] error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; __s

2022-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 Jonathan Wakely changed: What|Removed |Added CC|jwakely.gcc at gmail dot com |mpolacek at gcc dot gnu.org

[Bug libstdc++/107049] error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; __s

2022-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > template > using If_sv = enable_if_t::value>; It works if this is changed to: template using If_sv = enable_if_t<__is_convertible(const T&, str

[Bug ipa/107044] ICE in dump_possible_polymorphic_call_targets, at ipa-devirt.cc:3456 since r12-6325-gad64a821970ef554

2022-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107044 Martin Liška changed: What|Removed |Added Summary|internal compiler error: in |ICE in |dump_possible_

[Bug ipa/107044] ICE in dump_possible_polymorphic_call_targets, at ipa-devirt.cc:3456 since r12-6325-gad64a821970ef554

2022-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107044 --- Comment #2 from Martin Liška --- Reduced test-case: cat pr107044.C class Token; struct { void addElement(Token *); } * fTokens; class RangeToken; struct Token { virtual void addRange(); virtual void mergeRanges(const Token *); }; inli

[Bug libstdc++/107049] error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; __s

2022-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 --- Comment #4 from Jonathan Wakely --- Further reduced: template struct bool_constant { static constexpr bool value = B; }; template struct is_convertible : public bool_constant<__is_convertible(From, To)> { }; class Private { operator int

[Bug c++/107049] error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; __sv_type

2022-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 Jonathan Wakely changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #5 from Jonathan Wake

[Bug libgomp/107041] [13 Regression] C '-Wenum-int-mismatch' diagnostic for OpenACC 'acc_on_device'

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

[Bug rtl-optimization/107050] New: duplicate load of return value when facing multiple branches

2022-09-27 Thread absoler at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107050 Bug ID: 107050 Summary: duplicate load of return value when facing multiple branches Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/107046] [13 Regression] Recent FP range work causing inf-2 to be miscompiled on rx-elf

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

[Bug tree-optimization/107046] [13 Regression] Recent FP range work causing inf-2 to be miscompiled on rx-elf

2022-09-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107046 --- Comment #3 from Richard Biener --- Ah, probably the void test(double f, double i) { ... if (i != __builtin_inf()) abort (); int main() { test (34.0, __builtin_inf()); ... test is "miscompiled", similar to what we see in povray. W

[Bug middle-end/107047] load introduced of struct fields after assigning it to a local variable

2022-09-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107047 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgcc/107026] [13 Regression] gcc_assert (in_shutdown || ob); build failure for i586-msdosdjgpp target

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

[Bug rtl-optimization/107050] duplicate load of return value when facing multiple branches

2022-09-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107050 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug testsuite/107046] [13 Regression] Recent FP range work causing inf-2 to be miscompiled on rx-elf

2022-09-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107046 --- Comment #4 from Aldy Hernandez --- (In reply to Richard Biener from comment #3) > Ah, probably the > > void test(double f, double i) > { > ... > if (i != __builtin_inf()) > abort (); > > int main() > { > test (34.0, __builtin_inf()

[Bug tree-optimization/107043] range information not used in popcount

2022-09-27 Thread drepper.fsp+rhbz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107043 --- Comment #2 from Ulrich Drepper --- My original example and Andrew's g0 are handled by Aldy's patches 2022-09-26 Aldy Hernandez PR tree-optimization/107009 * range-op.cc (operator_bitwise_and::op1_range): Optimize 0 = x &

[Bug c++/107049] error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; __sv_type

2022-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 Jonathan Wakely changed: What|Removed |Added Keywords||patch Target Milestone|---

[Bug target/107032] ARM: libgcc2.c:2174:1: error: r7 cannot be used in 'asm' here

2022-09-27 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107032 Richard Earnshaw changed: What|Removed |Added Last reconfirmed||2022-09-27 Status|UNCONF

[Bug c++/106651] [C++23] P1169 - static operator()

2022-09-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106651 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:614e5696d730a65998ff5b0373f905795a758dd6 commit r13-2897-g614e5696d730a65998ff5b0373f905795a758dd6 Author: Jonathan Wakely Date:

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

2022-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 106651, which changed state. Bug 106651 Summary: [C++23] P1169 - static operator() https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106651 What|Removed |Added ---

[Bug c++/106651] [C++23] P1169 - static operator()

2022-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106651 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/107029] [13 Regression] ice during GIMPLE pass: reassoc

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

[Bug rtl-optimization/107051] New: redundant loads when copying a union

2022-09-27 Thread absoler at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107051 Bug ID: 107051 Summary: redundant loads when copying a union Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optim

[Bug target/107032] ARM: libgcc2.c:2174:1: error: r7 cannot be used in 'asm' here

2022-09-27 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107032 --- Comment #7 from Christophe Lyon --- Indeed, but I am surprised it seems to compile for cortex-m4?

[Bug target/107032] ARM: libgcc2.c:2174:1: error: r7 cannot be used in 'asm' here

2022-09-27 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107032 --- Comment #8 from Richard Earnshaw --- Perhaps something is changing the decision on the use of the frame pointer.

[Bug c++/107049] error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; __sv_type

2022-09-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3f7eea4411e4b2d8a500d9272b2ed72f73bdd008 commit r13-2898-g3f7eea4411e4b2d8a500d9272b2ed72f73bdd008 Author: Jonathan Wakely Date:

[Bug c++/107049] error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; __sv_type

2022-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/107051] redundant loads when copying a union

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

[Bug tree-optimization/106322] [12 Regression] tree-vectorize: Wrong code at O2 level (-fno-tree-vectorize is working) since r12-2404-ga1d27560770818c5

2022-09-27 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 Mathieu Malaterre changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/106322] [12 Regression] tree-vectorize: Wrong code at O2 level (-fno-tree-vectorize is working) since r12-2404-ga1d27560770818c5

2022-09-27 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #52 from Mathieu Malaterre --- For comparison, gcc-snapshot taken from trunk is working as expected: * https://packages.qa.debian.org/g/gcc-snapshot/news/20220920T113715Z.html % /usr/lib/gcc-snapshot/bin/cc -v -O2 -mtune=generic -m

[Bug c++/107049] error: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; __sv_type

2022-09-27 Thread ville.voutilainen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107049 Ville Voutilainen changed: What|Removed |Added CC||ville.voutilainen at gmail dot com

[Bug tree-optimization/107043] range information not used in popcount

2022-09-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107043 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment #

[Bug tree-optimization/107052] New: Range of __builtin_popcount can be improved with nonzerobits

2022-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107052 Bug ID: 107052 Summary: Range of __builtin_popcount can be improved with nonzerobits Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimizati

[Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits

2022-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107052 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement CC|

[Bug tree-optimization/107043] range information not used in popcount

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

[Bug tree-optimization/107053] New: ones bits is not tracked and popcount is not tracked

2022-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107053 Bug ID: 107053 Summary: ones bits is not tracked and popcount is not tracked Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhan

[Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits

2022-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107052 --- Comment #1 from Andrew Pinski --- Note this testcase is optimized by clang/llvm.

[Bug tree-optimization/107053] ones bits is not tracked and popcount is not tracked

2022-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107053 --- Comment #1 from Andrew Pinski --- This testcase is not optimized by clang/llvm.

[Bug rtl-optimization/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-09-27 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #57 from Mathieu Malaterre --- (In reply to Richard Earnshaw from comment #55) > (In reply to Mathieu Malaterre from comment #53) > > > > > gcc-12 seems to be generating wrong-code for a different unit-test: > > I've just pushed m

[Bug tree-optimization/107053] ones bits is not tracked and popcount is not tracked

2022-09-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107053 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits

2022-09-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107052 Aldy Hernandez changed: What|Removed |Added Last reconfirmed||2022-09-27 CC|

[Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits

2022-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107052 --- Comment #3 from Andrew Pinski --- (In reply to Aldy Hernandez from comment #2) > Don't you mean the only values for popcount are 0-2? I mean, there are only > two bits that could be 1 with a mask of 0x300. Or am I missing something? Yes,

[Bug tree-optimization/107053] ones bits is not tracked and popcount is not tracked

2022-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107053 --- Comment #2 from Andrew Pinski --- Note the correct testcase is: void link_failure(); void f(int a) { a |= 0x300; int b = __builtin_popcount(a); if (b < 2) link_failure(); } --- CUT --- the range of b should be 2..31 (as

[Bug libstdc++/64535] Emergency buffer for exception allocation too small

2022-09-27 Thread dumoulin.thibaut at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64535 Thibaut M. changed: What|Removed |Added CC||dumoulin.thibaut at gmail dot com --- Comm

[Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits

2022-09-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107052 --- Comment #4 from Aldy Hernandez --- (In reply to Andrew Pinski from comment #3) > (In reply to Aldy Hernandez from comment #2) > > Don't you mean the only values for popcount are 0-2? I mean, there are only > > two bits that could be 1 with

[Bug rtl-optimization/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-09-27 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 Richard Earnshaw changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/64535] Emergency buffer for exception allocation too small

2022-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64535 --- Comment #28 from Jonathan Wakely --- (In reply to Thibaut M. from comment #27) > A patch could be a least to avoid this `malloc` with some `#define` options? That discussion belongs in PR 68606.

[Bug fortran/107054] New: [10/11/12/13 Regression] ICE in gfc_simplify_unpack, at fortran/simplify.cc:8461

2022-09-27 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107054 Bug ID: 107054 Summary: [10/11/12/13 Regression] ICE in gfc_simplify_unpack, at fortran/simplify.cc:8461 Product: gcc Version: 13.0 Status: UNCONFIRMED Severit

[Bug fortran/107054] [10/11/12/13 Regression] ICE in gfc_simplify_unpack, at fortran/simplify.cc:8461

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

[Bug c/107055] New: [13 Regression] ICE in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:8415

2022-09-27 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107055 Bug ID: 107055 Summary: [13 Regression] ICE in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:8415 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits

2022-09-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107052 --- Comment #5 from Aldy Hernandez --- Created attachment 53633 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53633&action=edit patch in testing This might do it.

[Bug c++/107056] New: [11/12/13 Regression] ICE: unexpected expression '(unsigned int)((const char*)"")' of kind implicit_conv_expr

2022-09-27 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107056 Bug ID: 107056 Summary: [11/12/13 Regression] ICE: unexpected expression '(unsigned int)((const char*)"")' of kind implicit_conv_expr Product: gcc Version: 13.0

[Bug c/107057] New: [10/11/12/13 Regression] ICE in extract_constrain_insn, at recog.cc:2692

2022-09-27 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107057 Bug ID: 107057 Summary: [10/11/12/13 Regression] ICE in extract_constrain_insn, at recog.cc:2692 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: norma

[Bug c++/107058] New: [11/12/13 Regression] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038

2022-09-27 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107058 Bug ID: 107058 Summary: [11/12/13 Regression] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/107057] [10/11/12/13 Regression] ICE in extract_constrain_insn, at recog.cc:2692

2022-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107057 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5

[Bug debug/107058] [11/12/13 Regression] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038

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

[Bug tree-optimization/107055] [13 Regression] ICE in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:8415

2022-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107055 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Target Milestone|--

[Bug c++/107056] [11/12/13 Regression] ICE: unexpected expression '(unsigned int)((const char*)"")' of kind implicit_conv_expr

2022-09-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107056 Marek Polacek changed: What|Removed |Added Target Milestone|--- |11.4 Status|UNCONFIRMED

[Bug ipa/107058] [11/12/13 Regression] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038

2022-09-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107058 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-09-27 Ever confirmed|0

[Bug bootstrap/107059] New: [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 Bug ID: 107059 Summary: [13 regression] bootstrap failure after r13-2887-gb04208895fed34 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #1 from Jakub Jelinek --- This should be fixed by r13-2896-gb939a5cc4143908ddda4b85a848c313136ff6e0c

[Bug ipa/107058] [11/12/13 Regression] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038 since r11-5003-gd50310408f54e380

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

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #3 from Jakub Jelinek --- With fixincludes enabled? If yes, has bits/floatn.h and bits/floatn-common.h been fixincluded? The #c0 case is clearly a Debian-like setup that should have been fixed with r13-2896

[Bug fortran/107054] [10/11/12/13 Regression] ICE in gfc_simplify_unpack, at fortran/simplify.cc:8461

2022-09-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107054 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug target/106902] [11/12/13 Regression] Program compiled with -O3 -mfma produces different result

2022-09-27 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 --- Comment #15 from Alexander Monakov --- (In reply to Richard Biener from comment #14) > I can't > seem to reproduce any vectorization for your smaller example though. My small C samples omit some detail as they were meant to illustrate what

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #4 from seurer at gcc dot gnu.org --- It still fails for me (r13-2903-ge73d9fcafbd07b). It looks like fixincludes ran: make . . . Fixing directory /usr/include into /home/seurer/gcc/git/build/gcc-test/gcc/include-fixed Applying io_

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #5 from Jakub Jelinek --- Does it include the Applying glibc_cxx_floatn_1 to bits/floatn.h Applying glibc_cxx_floatn_2 to bits/floatn.h Applying glibc_cxx_floatn_3 to bits/floatn.h Fixed: bits/floatn.h Applying gli

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #6 from seurer at gcc dot gnu.org --- Oops, I cut too much from my previous comment: Applying glibc_cxx_floatn_1 to powerpc64le-linux-gnu/bits/floatn-common.h Applying glibc_cxx_floatn_2 to powerpc64le-linux-gnu/bits/floa

[Bug fortran/107054] [10/11/12/13 Regression] ICE in gfc_simplify_unpack, at fortran/simplify.cc:8461

2022-09-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107054 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #7 from Jakub Jelinek --- So, do the fixincluded headers still contain any problematic typedefs or do you get the errors in the system versions thereof rather than the fixincluded ones?

[Bug analyzer/107060] New: -fanalyzer unbearably slow when compiling GNU Emacs

2022-09-27 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107060 Bug ID: 107060 Summary: -fanalyzer unbearably slow when compiling GNU Emacs Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #8 from seurer at gcc dot gnu.org --- The errors are all still as shown above in the same files.

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #9 from Jakub Jelinek --- Do you use some env vars to override the include paths (on IRC somebody mentioned CPATH)? Would be nice to rerun the failing command line in verbose mode where it would print the include path sequence.

[Bug target/107061] New: ENCODEKEY128 clobbers xmm4-xmm6

2022-09-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107061 Bug ID: 107061 Summary: ENCODEKEY128 clobbers xmm4-xmm6 Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243

2022-09-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 --- Comment #7 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #6) > Yes, that would work! I was thinking of something more complex > such as looking at the types of the operand(s), but simplification > probably handles

[Bug fortran/107054] [10/11/12/13 Regression] ICE in gfc_simplify_unpack, at fortran/simplify.cc:8461

2022-09-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107054 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:78bc6497fc61bbdacfb416ee0246a775360d9af6 commit r13-2904-g78bc6497fc61bbdacfb416ee0246a775360d9af6 Author: Harald Anlauf Date: T

[Bug rtl-optimization/107050] duplicate load of return value when facing multiple branches

2022-09-27 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107050 --- Comment #2 from Segher Boessenkool --- Splitting blocks in shrink-wrap will cause degraded performance compared to the status quo, on average. If I understand what will be split how, that is? It certainly can be good to move more code, muc

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
--with-ar=/home/seurer/binutils/install/bin/ar Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20220927 (experimental) [remotes/origin/HEAD r13-2903-ge73d9fcafb] (GCC) COLLECT_GCC_OPTIONS='-shared-libgcc' '-B' '/home/seurer/gcc/git/build/g

[Bug testsuite/107046] [13 Regression] Recent FP range work causing inf-2 to be miscompiled on rx-elf

2022-09-27 Thread jeffreyalaw at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107046 --- Comment #5 from Jeffrey A. Law --- First, let's not focus too much on that specific test. There's others: Tests that now fail, but worked before (20 tests): rx-sim: gcc.c-torture/execute/ieee/hugeval.c execution, -O1 rx-sim: gcc.c-tortu

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #11 from Jakub Jelinek --- > #include "..." search starts here: > #include <...> search starts here: > /home/seurer/gcc/git/gcc-test/libstdc++-v3/../libgcc > /home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc

[Bug analyzer/107060] -fanalyzer unbearably slow when compiling GNU Emacs

2022-09-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107060 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug fortran/107062] New: [13 regression] gfortran.dg/ieee/fma_1.f90 fails after r13-2577-g7c4c65d11469d2

2022-09-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107062 Bug ID: 107062 Summary: [13 regression] gfortran.dg/ieee/fma_1.f90 fails after r13-2577-g7c4c65d11469d2 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity

[Bug analyzer/107060] -fanalyzer unbearably slow when compiling GNU Emacs

2022-09-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107060 --- Comment #2 from David Malcolm --- Confirmed: the test case on a release build of trunk on my development box: -O2 without -fanalyzer takes ~18 seconds -O2 with -fanalyzer takes ~10 minutes == ~600 seconds

[Bug analyzer/107060] -fanalyzer unbearably slow when compiling GNU Emacs

2022-09-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107060 --- Comment #3 from David Malcolm --- perf shows that 64% of the time is taken by this ctor: shortest_paths::shortest_paths

[Bug rtl-optimization/107063] New: [X86_64 codegen] Using inc eax instead of inc dword ptr

2022-09-27 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107063 Bug ID: 107063 Summary: [X86_64 codegen] Using inc eax instead of inc dword ptr Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/106882] passing X as 'this' argument discards qualifiers

2022-09-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106882 --- Comment #1 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:772d532e0ba1e4b22c2b7d576e14b34ee929c093 commit r13-2905-g772d532e0ba1e4b22c2b7d576e14b34ee929c093 Author: Marek Polacek Date: We

[Bug c++/101165] [C++23] P2266R1 - Simpler implicit move

2022-09-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:772d532e0ba1e4b22c2b7d576e14b34ee929c093 commit r13-2905-g772d532e0ba1e4b22c2b7d576e14b34ee929c093 Author: Marek Polacek Date: We

[Bug rtl-optimization/107063] [X86_64 codegen] Using inc eax instead of inc dword ptr

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

[Bug rtl-optimization/50677] volatile forces load into register

2022-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50677 Andrew Pinski changed: What|Removed |Added CC||hiraditya at msn dot com --- Comment #8

[Bug c++/106882] passing X as 'this' argument discards qualifiers

2022-09-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106882 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/101165] [C++23] P2266R1 - Simpler implicit move

2022-09-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165 Bug 101165 depends on bug 106882, which changed state. Bug 106882 Summary: passing X as 'this' argument discards qualifiers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106882 What|Removed |Added --

[Bug c++/101165] [C++23] P2266R1 - Simpler implicit move

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

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

2022-09-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 101165, which changed state. Bug 101165 Summary: [C++23] P2266R1 - Simpler implicit move https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165 What|Removed |Added -

  1   2   >