[Bug tree-optimization/94084] Optimizer produces suboptimal code related to loop-invariant

2020-03-06 Thread zhongyunde at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94084 --- Comment #2 from vfdff --- thanks very much, you are right. I try the case2 with global pointer and it get similar result with case1. extern int base; extern int *dest, *src; void foo (int n) { int i; // #pragma no_swp for (i=0; i

[Bug tree-optimization/94084] Optimizer produces suboptimal code related to loop-invariant

2020-03-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94084 --- Comment #3 from Andrew Pinski --- (In reply to vfdff from comment #2) > thanks very much, you are right. The same problem is here.

[Bug target/94059] [10 Regression] m68k: Bootstrap fails configuring libiberty with 'cannot compute sizeof (long long)'

2020-03-06 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94059 --- Comment #3 from John Paul Adrian Glaubitz --- (In reply to Jeffrey A. Law from comment #2) > Also note I bootstrap m68k regularly, last build was: > > 8e6d0dba166324f4b257329bd4b4ddc2b4522359 > > Without more relevant data, there's nothing

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-06 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #36 from John Paul Adrian Glaubitz --- The m68k bootstrap also recently got broken (PR/94059). Currently testing whether this is also a result of this change (r10-6919-gf3ce088645e5305d932380c7520809181b2d2eb9).

[Bug tree-optimization/93781] Optimizer produces suboptimal code related to -ftree-vrp

2020-03-06 Thread zhongyunde at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93781 --- Comment #2 from vfdff --- For more test, I find the following case2 can get the expect result, while the case1 can't. == [case1] == unsigned int foo (unsigned int arg) { unsigned int C03FE = 4; if

<    1   2