[Bug tree-optimization/104279] ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104279 --- Comment #1 from Zhendong Su --- >From Compiler Explorer: https://godbolt.org/z/465M9Kvx1

[Bug tree-optimization/104280] wrong code at -O1 and above

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 --- Comment #1 from Zhendong Su --- It might be related to PR 104279. Compiler Explorer: https://godbolt.org/z/szrGT9E7T

[Bug tree-optimization/104280] New: wrong code at -O1 and above

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
algorithms: zlib gcc version 12.0.1 20220129 (experimental) [master r12-6930-gf6f2d6cfec1] (GCC) [549] % [549] % gcctk -O0 small.c; ./a.out [550] % [550] % gcctk -O1 small.c [551] % ./a.out Aborted [552] % [552] % cat small.c int a(unsigned b, int c) { return b / c; } int main() { if (a(1, 2) != 0

[Bug c++/104278] New: ICE constexpr class non-type template parameter

2022-01-29 Thread pubby.8 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104278 Bug ID: 104278 Summary: ICE constexpr class non-type template parameter Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/104279] [12 Regregression] ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104279 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Version|unknown

[Bug tree-optimization/104280] [12 Regression] wrong code at -O1 and above

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 Andrew Pinski changed: What|Removed |Added Version|unknown |12.0 Target Milestone|---

[Bug c++/104278] ICE with class non-type template parameter with a value depdenent constexpr call

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104278 Andrew Pinski changed: What|Removed |Added Summary|ICE constexpr class |ICE with class non-type

[Bug tree-optimization/104280] [12 Regression] wrong code at -O1 and above

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 --- Comment #3 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #2) > To me this looks like a bug in gimple-fold.cc. > The r12-6924-gc2b610e7c6c89fd4 simplifies > _5 = 1 / c.0_4; > into > _5 = c.0_4 == 1; No this is not valid

[Bug tree-optimization/104280] [12 Regression] wrong code at -O1 and above

2022-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 --- Comment #5 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #3) > (In reply to Jakub Jelinek from comment #2) > > To me this looks like a bug in gimple-fold.cc. > > The r12-6924-gc2b610e7c6c89fd4 simplifies > > _5 = 1 / c.0_4;

[Bug tree-optimization/104280] [12 Regression] wrong code at -O1 and above

2022-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 --- Comment #6 from Jakub Jelinek --- Actually you're right, we in fact enforce this: /* The resulting type of a comparison may be an effective boolean type. */ if (INTEGRAL_TYPE_P (type) && (TREE_CODE (type) == BOOLEAN_TYPE

[Bug c++/88417] partial specialization of static template variable inside class template gives wrong result

2022-01-29 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88417 Fedor Chelnokov changed: What|Removed |Added CC||fchelnokov at gmail dot com ---

[Bug fortran/97024] Overriding finalization on polymorphic types triggers ICE error in generate_finalization_wrapper

2022-01-29 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97024 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/104280] [12 Regression] wrong code at -O1 and above

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

[Bug c++/104282] New: Copy elision when initializing a base-class subobject with aggregate initialization

2022-01-29 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104282 Bug ID: 104282 Summary: Copy elision when initializing a base-class subobject with aggregate initialization Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/104280] [12 Regression] wrong code at -O1 and above

2022-01-29 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #8

[Bug c++/103929] False warning: no return statement in function returning non-void with lambda in template argument for non-class type as default template argument

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103929 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/104278] ICE constexpr class non-type template parameter

2022-01-29 Thread pubby.8 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104278 --- Comment #1 from Pubby8 --- Oops I forgot to include the template instantiation: // --- int main(int argc, char const** argv) { qux::run(); } // ---

[Bug tree-optimization/104281] New: wrong code at -O3

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220129 (experimental) [master r12-6930-gf6f2d6cfec1] (GCC) [538] % [538] % gcctk -O2 small.c; ./a.out [539] % [539] % gcctk -O3 small.c [540] % timeout -s 9 5 ./a.out Killed [541] % [541] % cat

[Bug lto/104237] [11 Regression] Emitted binary code changes when -g is enabled at -O1 -flto and optimize attribute since r11-3126-ga8f9b4c54cc35062

2022-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237 --- Comment #10 from Jakub Jelinek --- Because -fcompare-debug tells the driver to compile the TU twice, once without and once with -gtoggle, and compare the result. So, if there is a difference in the generated IL e.g. for -flto

[Bug tree-optimization/104279] [12 Regregression] ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104279 --- Comment #2 from Andrew Pinski --- I think this one and the other two are all caused by r12-6924.

[Bug tree-optimization/104281] [12 Regression] wrong code at -O3

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104281 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Version|unknown

[Bug tree-optimization/104280] [12 Regression] wrong code at -O1 and above

2022-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Last reconfirmed|

[Bug c++/99902] Deduced return type of lambda in default template argument takes return type from variable template

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99902 Andrew Pinski changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/54367] [meta-bug] lambda expressions

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 103929, which changed state. Bug 103929 Summary: False warning: no return statement in function returning non-void with lambda in template argument for non-class type as default template argument

[Bug tree-optimization/104280] [12 Regression] wrong code at -O1 and above

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 --- Comment #4 from Andrew Pinski --- (eq @1 { build_one_cst (type); }) Should be: (convert (eq:boolean_type_node @1 { build_one_cst (type); })) The other part of the match pattern needs a similar fix too.

[Bug tree-optimization/104279] New: ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220129 (experimental) [master r12-6930-gf6f2d6cfec1] (GCC) [552] % [552] % gcctk -O0 small.c; ./a.out [553] % [553] % gcctk -O1 small.c small.c: In function ‘main’: small.c:6:1: error: bogus

[Bug tree-optimization/104281] wrong code at -O3

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104281 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/ovnrnEGj6

[Bug c++/104282] Copy elision when initializing a base-class subobject with aggregate initialization

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104282 --- Comment #1 from Andrew Pinski --- Gcc 12 defaults to c++17. I have not looked but I suspect that is the difference.

[Bug c++/104284] [9/10/11/12 Regression] ICE: unexpected expression '' of kind implicit_conv_expr

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104284 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking Target Milestone|---

[Bug tree-optimization/104286] gimple-match should cause an ICE for comparisons which are not of "boolean" types

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

[Bug middle-end/104286] New: gimple-match should cause an ICE for comparisons which are not of "boolean" types

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104286 Bug ID: 104286 Summary: gimple-match should cause an ICE for comparisons which are not of "boolean" types Product: gcc Version: 12.0 Status: UNCONFIRMED

Re: [Bug regression/103997] [12 Regression] gcc.target/i386/pr88531-??.c scan-assembler-times FAILs

2022-01-29 Thread Andrew Pinski via Gcc-bugs
On Sat, Jan 29, 2022 at 2:40 PM write2mark1--- via Gcc-bugs wrote: > > Why does gcc use CVS and not git GCC has used git for ~2 years now and before that it was using svn for ~14 years; before that used cvs for ~8 years and then used rcs (though the overlap between rcs and cvs is real). GCC's

[Bug c++/104282] Copy elision when initializing a base-class subobject with aggregate initialization

2022-01-29 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104282 --- Comment #3 from Fedor Chelnokov --- Both Clang and GCC do not change their output either with `-std=c++20` or with `-std=c++17` options. And both reject the program with -std=c++14`.

[Bug c++/104266] Temporaries with protected destructor are erroneously permitted

2022-01-29 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104266 --- Comment #4 from Fedor Chelnokov --- In your last example, I think Clang is right, because `Y` is not an aggregate in C++11 due to the presence of default member initializer. And it becomes an aggregate only in C++14.

[Bug c++/104282] Copy elision when initializing a base-class subobject with aggregate initialization

2022-01-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104282 --- Comment #4 from Jonathan Wakely --- I think there's any existing bug about this, and it's an open issue in the ABI

Re: [Bug regression/103997] [12 Regression] gcc.target/i386/pr88531-??.c scan-assembler-times FAILs

2022-01-29 Thread write2mark1--- via Gcc-bugs
Why does gcc use CVS and not git On Tue, Jan 25, 2022 at 5:27 PM admin at levyhsu dot com via Gcc-bugs < gcc-bugs@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103997 > > --- Comment #14 from Levy Hsu --- > Hi Avieira and Richard > > I checked the data for the last half

[Bug c++/104282] Copy elision when initializing a base-class subobject with aggregate initialization

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104282 --- Comment #6 from Andrew Pinski --- http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2403

[Bug c++/104282] Copy elision when initializing a base-class subobject with aggregate initialization

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104282 --- Comment #2 from Andrew Pinski --- That is c++17 requires Copy elision here while c++14 does not.

[Bug c++/104282] Copy elision when initializing a base-class subobject with aggregate initialization

2022-01-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104282 --- Comment #5 from Jonathan Wakely --- Related to https://github.com/itanium-cxx-abi/cxx-abi/issues/107

[Bug c++/104284] New: [9/10/11/12 Regression] ICE: unexpected expression '' of kind implicit_conv_expr

2022-01-29 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104284 Bug ID: 104284 Summary: [9/10/11/12 Regression] ICE: unexpected expression '' of kind implicit_conv_expr Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug target/104283] New: nvptx-none needs more user friendly architecture handling

2022-01-29 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104283 Bug ID: 104283 Summary: nvptx-none needs more user friendly architecture handling Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/83079] ICE in gfc_widechar_to_char, at fortran/scanner.c:198

2022-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83079 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:aa87c979d34bdea62586de79e8645fbddfa065b8 commit r10-10427-gaa87c979d34bdea62586de79e8645fbddfa065b8 Author: Harald Anlauf

[Bug fortran/104127] [9/10/11/12 Regression] ICE in get_array_charlen, at fortran/trans-array.c:7244

2022-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104127 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:6da0c19bdcf992bd18c32335342fc3511683f314 commit r10-10426-g6da0c19bdcf992bd18c32335342fc3511683f314 Author: Harald Anlauf

[Bug target/100623] [10/11/12 Regression] wrong code with -Os -fno-dce -fno-defer-pop -fno-forward-propagate -flive-range-shrinkage -fno-rerun-cse-after-loop -mno-push-args since r10-7515-g2c0fa3ecf70

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100623 Andrew Pinski changed: What|Removed |Added Known to fail||11.2.0 Keywords|

[Bug tree-optimization/104279] [12 Regregression] ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed

2022-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104279 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a1544878966020d1f7a640b35d1f7a5f0e055624 commit r12-6931-ga1544878966020d1f7a640b35d1f7a5f0e055624 Author: Jakub Jelinek Date:

[Bug tree-optimization/104280] [12 Regression] wrong code at -O1 and above

2022-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a1544878966020d1f7a640b35d1f7a5f0e055624 commit r12-6931-ga1544878966020d1f7a640b35d1f7a5f0e055624 Author: Jakub Jelinek Date:

[Bug fortran/104127] [9 Regression] ICE in get_array_charlen, at fortran/trans-array.c:7244

2022-01-29 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104127 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/104281] [12 Regression] wrong code at -O3

2022-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104281 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a1544878966020d1f7a640b35d1f7a5f0e055624 commit r12-6931-ga1544878966020d1f7a640b35d1f7a5f0e055624 Author: Jakub Jelinek Date:

[Bug tree-optimization/104280] [12 Regression] wrong code at -O1 and above

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

[Bug tree-optimization/95424] Failure to optimize division with numerator of 1

2022-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95424 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3d41939c8799a51b1cd7f4610c06771bf6d52f15 commit r12-6932-g3d41939c8799a51b1cd7f4610c06771bf6d52f15 Author: Jakub Jelinek Date:

[Bug c++/104284] [9/10/11/12 Regression] ICE: unexpected expression '' of kind implicit_conv_expr

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

[Bug rtl-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #10 from

[Bug tree-optimization/104279] [12 Regregression] ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed

2022-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104279 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug tree-optimization/104281] [12 Regression] wrong code at -O3

2022-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104281 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug fortran/101135] Load of null pointer when passing absent assumed-shape array argument for an optional dummy argument

2022-01-29 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101135 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug fortran/104127] [9 Regression] ICE in get_array_charlen, at fortran/trans-array.c:7244

2022-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104127 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bb05ddea976a7a8b3f02175050a5d53356ccab9d commit r9-9932-gbb05ddea976a7a8b3f02175050a5d53356ccab9d Author: Harald Anlauf

[Bug c++/104285] New: openmp offload linker issue

2022-01-29 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104285 Bug ID: 104285 Summary: openmp offload linker issue Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/104215] bogus -Wuse-after-free=3 due to forwprop moving a pointer test after realloc

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

[Bug target/100623] [10/11/12 Regression] wrong code with -Os -fno-dce -fno-defer-pop -fno-forward-propagate -flive-range-shrinkage -fno-rerun-cse-after-loop -mno-push-args since r10-7515-g2c0fa3ecf70

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100623 --- Comment #3 from Andrew Pinski --- There seems to be some IR difference on the gimple level which might be making this latent. In GCC 11.2.0 we have (bn_add_words) : _2 = n_3 & -4; ... if (_2 != 0) While on the trunk we have: _14 =

[Bug rtl-optimization/95123] [10/11/12 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param loop-invariant-max-bbs-in-loop=3 --param max-jump-thr

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95123 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection

[Bug fortran/83079] ICE in gfc_widechar_to_char, at fortran/scanner.c:198

2022-01-29 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83079 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target

[Bug fortran/104127] [9 Regression] ICE in get_array_charlen, at fortran/trans-array.c:7244

2022-01-29 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104127 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|[9/10/11/12 Regression] ICE |[9 Regression] ICE in

[Bug target/100623] [10/11/12 Regression] wrong code with -Os -fno-dce -fno-defer-pop -fno-forward-propagate -flive-range-shrinkage -fno-rerun-cse-after-loop -mno-push-args since r10-7515-g2c0fa3ecf70

2022-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100623 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > There seems to be some IR difference on the gimple level which might be > making this latent. But that is not where the problem is located really as far as I