[Bug tree-optimization/48052] loop not vectorized if index is "unsigned int"

2015-06-02 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48052 --- Comment #14 from amker at gcc dot gnu.org --- Author: amker Date: Tue Jun 2 10:19:18 2015 New Revision: 224020 URL: https://gcc.gnu.org/viewcvs?rev=224020&root=gcc&view=rev Log: PR tree-optimization/48052 * c

[Bug tree-optimization/62173] [5/6 Regression] 64bit Arch can't ivopt while 32bit Arch can

2015-06-01 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 --- Comment #39 from amker at gcc dot gnu.org --- Author: amker Date: Tue Jun 2 03:33:35 2015 New Revision: 224009 URL: https://gcc.gnu.org/viewcvs?rev=224009&root=gcc&view=rev Log: PR tree-optimization/52563

[Bug testsuite/52563] FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1

2015-06-01 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52563 --- Comment #9 from amker at gcc dot gnu.org --- Author: amker Date: Tue Jun 2 03:33:35 2015 New Revision: 224009 URL: https://gcc.gnu.org/viewcvs?rev=224009&root=gcc&view=rev Log: PR tree-optimization/52563

[Bug tree-optimization/65447] AArch64: iv-opt causes bad addressing

2015-05-19 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65447 --- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Wed May 20 05:15:56 2015 New Revision: 223433 URL: https://gcc.gnu.org/viewcvs?rev=223433&root=gcc&view=rev Log: PR tree-optimization/65447 * tree-

[Bug target/29256] [4.8/4.9/5/6 regression] loop performance regression

2015-05-19 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29256 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug testsuite/65767] Test pr65276 failed on arm-none-eabi

2015-05-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65767 --- Comment #8 from amker at gcc dot gnu.org --- Oh, missed messages. Will look into it.

[Bug tree-optimization/65447] AArch64: iv-opt causes bad addressing

2015-05-13 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65447 --- Comment #2 from amker at gcc dot gnu.org --- Patch for review at https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00641.html

[Bug tree-optimization/66003] missed cse opportunity in addr expressions because of tree pre/lim

2015-05-04 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66003 --- Comment #2 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > Hmm, I think IVOPTs should be able to undo this code motion? It can't. Address of all pointer dereferences except the first one are

[Bug tree-optimization/66003] New: missed cse opportunity in addr expressions because of tree pre/lim

2015-05-04 Thread amker at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amker at gcc dot gnu.org Target Milestone: --- Below simple case is reduced from spec, typedef struct { int x; int y; } coord; extern unsigned short **org; extern

[Bug target/65937] New: FAIL: gcc.target/arm/pr26702.c scan-assembler \\.size[\\t ]+static_foo, 4

2015-04-30 Thread amker at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: amker at gcc dot gnu.org Target Milestone: --- Newly introduced test case failed on arm-none-linux-gnueabi/arm-none-linux-gnueabihf arm-none-linux-gnueabi GCC was configured

[Bug target/64835] -fno-ipa-cp is inconsitently supported when attributes optimize or target are used

2015-04-29 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64835 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug testsuite/65767] Test pr65276 failed on arm-none-eabi

2015-04-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65767 --- Comment #4 from amker at gcc dot gnu.org --- Author: amker Date: Wed Apr 22 09:37:52 2015 New Revision: 222319 URL: https://gcc.gnu.org/viewcvs?rev=222319&root=gcc&view=rev Log: Backport from trunk r55 2015-04-21 B

[Bug testsuite/65767] Test pr65276 failed on arm-none-eabi

2015-04-20 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65767 --- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Tue Apr 21 02:23:18 2015 New Revision: 55 URL: https://gcc.gnu.org/viewcvs?rev=55&root=gcc&view=rev Log: PR testsuite/65767 * g++.dg/lto/pr65276_0.C

[Bug lto/65767] Test pr65276 failed on arm-none-eabi

2015-04-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65767 --- Comment #2 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > Same cause though. See my comment there, can you prepare and verify a patch? Yeah. Will do that.

[Bug lto/65767] New: Test pr65276 failed on arm-none-eabi

2015-04-14 Thread amker at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: amker at gcc dot gnu.org Hi, The test failed on arm-none-eabi with below error messages Executing on host: /arm-none-eabi/obj/gcc2/gcc/testsuite/g++8/../../xg++ -B/arm-none-eabi/obj/gcc2/gcc/testsuite/g++8/../../ cp_lto_pr65276_0.o

[Bug tree-optimization/42172] inefficient bit fields assignments

2015-04-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42172 --- Comment #10 from amker at gcc dot gnu.org --- The optimal code is generated on pre-armv7 processors. The difference starts from expand. On armv7-processors, zero_extract operator is generated, rather than logic operation. Seem combiner

[Bug tree-optimization/42172] inefficient bit fields assignments

2015-04-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42172 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug rtl-optimization/55190] [SH] ivopts causes loop setup bloat

2015-04-06 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55190 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug middle-end/34010] [4.8/4.9 Regression] ppc64 bad stdargs codegen for zero sized objects

2015-04-02 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34010 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug tree-optimization/65447] New: AArch64: iv-opt causes bad addressing

2015-03-17 Thread amker at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amker at gcc dot gnu.org Hi, For below case extracted from spec2006 (and even worse in real case), loops containing a significant number of memory accesses generate very inefficient code. This is due to iv-opt hitting a

[Bug tree-optimization/62173] [5/6 Regression] 64bit Arch can't ivopt while 32bit Arch can

2015-03-13 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 --- Comment #38 from amker at gcc dot gnu.org --- The first patch actually helping this case is at https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00836.html But the real problem lies in scev/ivopt about how type conversion and scev overflow are

[Bug tree-optimization/64705] Bad code generation of sieve on x86-64 because of too aggressive IV optimizations

2015-03-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64705 amker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug target/55701] Inline some instances of memset for ARM

2015-02-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55701 amker at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug tree-optimization/65068] New: Improve rewriting for address type induction variables in IVOPT

2015-02-15 Thread amker at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amker at gcc dot gnu.org For below example extern int listXsize[8]; void foo (int len, int list_offset) { int list; if (list_offset < 0) list_offset = 0; else

[Bug tree-optimization/64705] Bad code generation of sieve on x86-64 because of too aggressive IV optimizations

2015-02-12 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64705 --- Comment #6 from amker at gcc dot gnu.org --- Since it works on gcc 3.4, so I consider this as a regression and applied the patch. Should be fixed now. Hi Vlad, could you please help me verify that the original benchmark is fixed too

[Bug tree-optimization/64705] Bad code generation of sieve on x86-64 because of too aggressive IV optimizations

2015-02-12 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64705 --- Comment #5 from amker at gcc dot gnu.org --- Author: amker Date: Fri Feb 13 05:44:46 2015 New Revision: 220676 URL: https://gcc.gnu.org/viewcvs?rev=220676&root=gcc&view=rev Log: PR tree-optimization/64705 * tree-ssa-loop

[Bug tree-optimization/43378] IVOPTs messes up code

2015-02-09 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43378 amker at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC

[Bug tree-optimization/43378] IVOPTs messes up code

2015-02-09 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43378 --- Comment #1 from amker at gcc dot gnu.org --- Author: amker Date: Tue Feb 10 02:34:41 2015 New Revision: 220563 URL: https://gcc.gnu.org/viewcvs?rev=220563&root=gcc&view=rev Log: PR tree-optimization/43378 * gcc.dg/tree-ssa/p

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-09 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #33 from amker at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #31) > The test also fails on PowerPC, the 2 IVs are kept by ivopts. On targets like ARM, the biv(i) is eliminated with biv(p). PowerPC is different,

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #32 from amker at gcc dot gnu.org --- (In reply to dave.anglin from comment #30) > On 2015-02-08, at 9:09 AM, amker at gcc dot gnu.org wrote: > > > Ah, candidate 5 is considered cheaper according to the cost table. &g

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #29 from amker at gcc dot gnu.org --- (In reply to amker from comment #28) > On hppa 32, the two iv uses are: > use 0 > address > in statement *p_1 = 0; > > at position *p_1 > type int * > base

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #28 from amker at gcc dot gnu.org --- On hppa 32, the two iv uses are: use 0 address in statement *p_1 = 0; at position *p_1 type int * base p_7 step 4 base object (void *) p_7 related candidates use 1 compare in

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-05 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #20 from amker at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #19) > > The assembly is as below on sparc64: > > f1: > > .register %g2, #scratch > > sllx%o1, 2, %g1 > >

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-05 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #18 from amker at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #16) > > The cost of expression "p + ((sizetype)(99 - i_6(D)) + 1) * 4" computed > > using normal +/-/* operators on sparc64 is 18,

[Bug tree-optimization/62173] [5.0 regression] 64bit Arch can't ivopt while 32bit Arch can

2015-02-04 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 --- Comment #33 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #32) > "So I take the other way around by passing the IV's ssa_name into > scev_probably_wraps_p along call sequence > "idx_find_s

[Bug tree-optimization/64705] Bad code generation of sieve on x86-64 because of too aggressive IV optimizations

2015-02-04 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64705 --- Comment #4 from amker at gcc dot gnu.org --- I had a patch.

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-03 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #15 from amker at gcc dot gnu.org --- (In reply to amker from comment #14) > (In reply to Eric Botcazou from comment #12) > > I'm about to install a patch that changes the costs on SPARC 64-bit to: > > > &g

[Bug rtl-optimization/64916] [5.0 regression] ira.c update_equiv_regs patch causes gcc/testsuite/gcc.target/arm/pr43920-2.c regression

2015-02-03 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64916 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-03 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #14 from amker at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #12) > I'm about to install a patch that changes the costs on SPARC 64-bit to: > > Use 1: > cand costcompl. depends on &g

[Bug rtl-optimization/56590] Replace auto-inc-dec pass with generic address mode selection pass

2015-02-02 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56590 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug tree-optimization/62173] [5.0 regression] 64bit Arch can't ivopt while 32bit Arch can

2015-01-29 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 --- Comment #31 from amker at gcc dot gnu.org --- So cand_value_at (loop, cand, use->stmt, desc->niter, &bnd) with arguments as below: cand->iv->base: (unsigned long) ((char *) &A + (sizetype) i_6(

[Bug tree-optimization/62173] [5.0 regression] 64bit Arch can't ivopt while 32bit Arch can

2015-01-28 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 --- Comment #30 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #17) > I really wonder why IVOPTs calls convert_affine_scev with > !use_overflow_semantics. > > Note that for the original testcase 'i&#x

[Bug tree-optimization/62173] [5.0 regression] 64bit Arch can't ivopt while 32bit Arch can

2015-01-26 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 --- Comment #27 from amker at gcc dot gnu.org --- (In reply to Jiong Wang from comment #24) > (In reply to amker from comment #23) > > partially agree. > > at least for the single use case given by Seb, I think tree ivopt sho

[Bug tree-optimization/62173] [5.0 regression] 64bit Arch can't ivopt while 32bit Arch can

2015-01-26 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 --- Comment #26 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #17) > I really wonder why IVOPTs calls convert_affine_scev with > !use_overflow_semantics. I don't understand below code in convert_

[Bug tree-optimization/62173] [5.0 regression] 64bit Arch can't ivopt while 32bit Arch can

2015-01-26 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 --- Comment #25 from amker at gcc dot gnu.org --- (In reply to Jiong Wang from comment #24) > (In reply to amker from comment #23) > > partially agree. > > at least for the single use case given by Seb, I think tree ivopt sho

[Bug tree-optimization/62173] [5.0 regression] 64bit Arch can't ivopt while 32bit Arch can

2015-01-26 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 --- Comment #23 from amker at gcc dot gnu.org --- Now I am less convinced that it's a tree ivopt issue. Tree optimizer has no knowledge about stack frame information for local array variables. With the original test, on 32-bits targets,

[Bug tree-optimization/62173] [5.0 regression] 64bit Arch can't ivopt while 32bit Arch can

2015-01-26 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 --- Comment #20 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #18) > It's probably not correct to simply transfer range info from *idx to > iv->base. > Instead SCEV analysis needs to track the range o

[Bug tree-optimization/64705] Bad code generation of sieve on x86-64 because of too aggressive IV optimizations

2015-01-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64705 amker at gcc dot gnu.org changed: What|Removed |Added Target|x86_64-*-* |x86_64-*-*, aarch64

[Bug tree-optimization/64705] Bad code generation of sieve on x86-64 because of too aggressive IV optimizations

2015-01-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64705 --- Comment #2 from amker at gcc dot gnu.org --- Loop dump before IVOPT is like below: Loop 4, basic blocks 28/30; : count_54 = count_172 + 1; _55 = i_161 + i_161; prime_56 = _55 + 3; k_57 = prime_56 + i_161; if (size_26 >= k

[Bug tree-optimization/64705] Bad code generation of sieve on x86-64 because of too aggressive IV optimizations

2015-01-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64705 amker at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/64348] [5 Regression] Case scal-to-vec1.c failed on arm-linux-gnueabi with -fPIC

2015-01-13 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64348 --- Comment #4 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #3) > Fixed(?) Yes, thanks! I forgot to close it.

[Bug target/64348] [5 Regression] Case scal-to-vec1.c failed on arm-linux-gnueabi with -fPIC

2015-01-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64348 --- Comment #2 from amker at gcc dot gnu.org --- Author: amker Date: Fri Jan 9 06:19:32 2015 New Revision: 219375 URL: https://gcc.gnu.org/viewcvs?rev=219375&root=gcc&view=rev Log: 2015-01-09 Kito Cheng PR rtl-optimizati

[Bug middle-end/62178] [5.0 regression] [AArch64] Performance regression on matrix matrix multiply due to r211211

2014-12-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62178 amker at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug rtl-optimization/62151] [5 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2014-12-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62151 amker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug rtl-optimization/62151] [5 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2014-12-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62151 --- Comment #17 from amker at gcc dot gnu.org --- Author: amker Date: Mon Dec 22 10:25:10 2014 New Revision: 219008 URL: https://gcc.gnu.org/viewcvs?rev=219008&root=gcc&view=rev Log: PR rtl-optimization/62151 * combine.c (try

[Bug target/64348] [5 Regression] Case scal-to-vec1.c failed on arm-linux-gnueabi with -fPIC

2014-12-20 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64348 --- Comment #1 from amker at gcc dot gnu.org --- IRA made below decision: ;; a299(r989,l0) conflicts: a57(r1696,l0) a177(r130,l0) a221(r131,l0) a63(r1714,l0) a178(r822,l0) a224(r823,l0) a69(r1713,l0) a180(r815,l0) a227(r816,l0) a75(r1712,l0

[Bug target/64348] New: Case scal-to-vec1.c failed on arm-linux-gnueabi with -fPIC

2014-12-18 Thread amker at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: amker at gcc dot gnu.org Case scal-to-vec1.c failed because of ICE on arm-linux-gnueabi with -fPIC. The compilation command line is: ./arm-none-linux-gnueabi-gcc scal-to-vec1.c -fno

[Bug target/58623] lack of ldp/stp optimization

2014-12-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58623 --- Comment #7 from amker at gcc dot gnu.org --- Hi Evandro, There is specific PR for this issue. But as we know, fwprop often corrupts optimizations on address expression, for below example: add rb, r1, r2 ldr rx, [rb] add rb, rb, #4

[Bug middle-end/62178] [5.0 regression] [AArch64] Performance regression on matrix matrix multiply due to r211211

2014-12-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62178 --- Comment #7 from amker at gcc dot gnu.org --- Should be fixed.

[Bug middle-end/62178] [5.0 regression] [AArch64] Performance regression on matrix matrix multiply due to r211211

2014-12-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62178 --- Comment #6 from amker at gcc dot gnu.org --- Author: amker Date: Thu Dec 18 02:53:42 2014 New Revision: 218855 URL: https://gcc.gnu.org/viewcvs?rev=218855&root=gcc&view=rev Log: PR tree-optimization/62178 * tree-ssa-loop-

[Bug target/58623] lack of ldp/stp optimization

2014-12-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58623 amker at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug rtl-optimization/62151] [5 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2014-12-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62151 --- Comment #16 from amker at gcc dot gnu.org --- For calls of distribute_notes with from_insn != NULL, I kind of understand why it is vulnerable, at least when handling REG_DEAD notes. When we distribute REG_DEAD note of one register from

[Bug rtl-optimization/62151] [5 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2014-12-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62151 --- Comment #14 from amker at gcc dot gnu.org --- Working on a patch.

[Bug bootstrap/63821] ICE in verify_gimple during libgcc build starting with r217349

2014-11-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63821 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug bootstrap/63821] ICE in verify_gimple during libgcc build starting with r217349

2014-11-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63821 amker at gcc dot gnu.org changed: What|Removed |Added CC||joel at gcc dot gnu.org

[Bug tree-optimization/63817] ICE in verify_gimple_in_cfg tree-cfg.c:5039 (arm)

2014-11-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63817 amker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug tree-optimization/63817] ICE in verify_gimple_in_cfg tree-cfg.c:5039 (arm)

2014-11-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63817 amker at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug tree-optimization/63411] [4.9/5 regression] ivopt produces wrong struct offset

2014-09-30 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63411 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug tree-optimization/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2014-09-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug target/55701] Inline some instances of memset for ARM

2014-09-04 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55701 --- Comment #6 from amker at gcc dot gnu.org --- Author: amker Date: Fri Sep 5 03:45:57 2014 New Revision: 214937 URL: https://gcc.gnu.org/viewcvs?rev=214937&root=gcc&view=rev Log: PR target/55701 * config/arm/arm.md (setm

[Bug tree-optimization/61943] tree-ssa-loop-ivopts.c:4148 signed integer overflow

2014-09-03 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61943 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug middle-end/62289] [5 Regression] ICE (segfault) for gfortran.dg/graphite/pr42393.f90

2014-08-27 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62289 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug rtl-optimization/62265] [4.8/4.9/5 regression] FAIL: gcc.dg/20111227-2.c scan-rtl-dump ree "Elimination opportunities = 3 realized = 3"

2014-08-26 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62265 amker at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/62262] aarch64 gcc generates invalid assembler

2014-08-26 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62262 --- Comment #8 from amker at gcc dot gnu.org --- (In reply to Carrot from comment #5) > (In reply to amker from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > (insn 27 26 40 5 (set (reg:SI 73 [ D.2590 ]) >

[Bug target/62262] aarch64 gcc generates invalid assembler

2014-08-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62262 --- Comment #4 from amker at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #3) > (In reply to amker from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > (insn 27 26 40 5 (set (

[Bug target/62262] aarch64 gcc generates invalid assembler

2014-08-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62262 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug c++/61825] [5 regression] g++.dg/cpp0x/static_assert9.C FAILs

2014-08-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61825 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug tree-optimization/62220] missed optimization wrt module for loop variable

2014-08-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62220 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug lto/62032] FAIL: vsnprintf-chk.c execution, -O2 -flto -fno-use-linker-plugin -flto-partition=none

2014-08-19 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62032 amker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug rtl-optimization/62151] [5 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2014-08-19 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62151 --- Comment #9 from amker at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #8) > > I will try to test a patch, meanwhile, I am wondering if any combine expert > > has something to share. > > distribute_notes is ce

[Bug target/62178] [AArch64] Performance regression on matrix matrix multiply due to r211211

2014-08-18 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62178 --- Comment #2 from amker at gcc dot gnu.org --- Yes, the patch changes addressing modes choosing and further changes ivopts's decision. I shall take this one if you are ok. Thanks, bin

[Bug target/62173] [AArch64] Performance regression due to r213488

2014-08-18 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug rtl-optimization/62151] [5 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2014-08-16 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62151 --- Comment #7 from amker at gcc dot gnu.org --- It's a combine pass issue and it happens on x86 too. Dump before combine pass is fine as below. 30: r83:SI=0 71: flags:CC=cmp(r83:SI,0x1) REG_DEAD r83:SI 72: {r83:SI=-ltu(fla

[Bug rtl-optimization/62151] [5 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2014-08-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62151 --- Comment #6 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #5) > Note that probably also made a latent issue pop up. Indeed. After preliminary investigation, I think this case reveals two latent issues. The fi

[Bug lto/62032] FAIL: vsnprintf-chk.c execution, -O2 -flto -fno-use-linker-plugin -flto-partition=none

2014-08-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62032 amker at gcc dot gnu.org changed: What|Removed |Added Known to work|4.9.1 | Known to fail|4.10.0

[Bug rtl-optimization/62151] [5 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2014-08-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62151 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug lto/62032] FAIL: vsnprintf-chk.c execution, -O2 -flto -fno-use-linker-plugin -flto-partition=none

2014-08-14 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62032 --- Comment #6 from amker at gcc dot gnu.org --- Author: amker Date: Fri Aug 15 05:49:56 2014 New Revision: 214000 URL: https://gcc.gnu.org/viewcvs?rev=214000&root=gcc&view=rev Log: Backport from mainline 2014-08-08 Bin Cheng

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 --- Comment #12 from amker at gcc dot gnu.org --- Hi, I can reproduce the exact mis-scheduled instruction issue as in Jakub's comment with/without the ivopt patch (204497). Turns out gcc chooses candidate like {&K512, 128}_loop with

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug lto/62032] FAIL: vsnprintf-chk.c execution, -O2 -flto -fno-use-linker-plugin -flto-partition=none

2014-08-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62032 --- Comment #5 from amker at gcc dot gnu.org --- Author: amker Date: Fri Aug 8 10:21:12 2014 New Revision: 213755 URL: https://gcc.gnu.org/viewcvs?rev=213755&root=gcc&view=rev Log: PR lto/62032 * lto/lto-lang.c (lto_init): Sw

[Bug middle-end/61912] New: Missed (partial) dead store elimination for structures on GIMPLE

2014-07-25 Thread amker at gcc dot gnu.org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: amker at gcc dot gnu.org For simple case like below, typedef unsigned int wchar_t; struct printf_info { int prec; int width; wchar_t spec; unsigned int is_long_double

[Bug target/55701] Inline some instances of memset for ARM

2014-07-23 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55701 --- Comment #4 from amker at gcc dot gnu.org --- Author: amker Date: Wed Jul 23 16:02:15 2014 New Revision: 212948 URL: https://gcc.gnu.org/viewcvs?rev=212948&root=gcc&view=rev Log: Revert r212893: PR target/55701 * co

[Bug target/55701] Inline some instances of memset for ARM

2014-07-21 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55701 --- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Mon Jul 21 12:24:06 2014 New Revision: 212893 URL: https://gcc.gnu.org/viewcvs?rev=212893&root=gcc&view=rev Log: PR target/55701 * config/arm/arm.md (setm

[Bug middle-end/61748] imm-devirt-2.C failed on arm-linux

2014-07-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61748 --- Comment #1 from amker at gcc dot gnu.org --- Created attachment 33090 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33090&action=edit Dump file of einline pass

[Bug middle-end/61748] New: imm-devirt-2.C failed on arm-linux

2014-07-08 Thread amker at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: amker at gcc dot gnu.org Hi, The newly added test check fails on arm-none-linux-gnueabi/arm-none-linux-gnueabihf. Compiled with below command: $ g++ -O2 -S imm-devirt-2.C -o imm-devirt-2.S -fdump-tree-einline(-details) The gcc

[Bug target/61544] ICE due to thumb1_reorg function mishandles label type insn

2014-07-04 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61544 amker at gcc dot gnu.org changed: What|Removed |Added Target||arm CC

[Bug rtl-optimization/61712] thumb1_reorg crashes

2014-07-04 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712 --- Comment #15 from amker at gcc dot gnu.org --- I think this is fixed on trunk by: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=3df31d76aa8c14ff871fc15b931d277b8d68626a 2014-06-18 Terry Guo PR target/61544 * config/arm/arm.c

[Bug rtl-optimization/60947] [4.9/4.10 Regression] Unable to handle kernel paging request (linux kernel 2.6.28.9) with gcc 4.9 release

2014-06-26 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60947 amker at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug rtl-optimization/60947] [4.9/4.10 Regression] Unable to handle kernel paging request (linux kernel 2.6.28.9) with gcc 4.9 release

2014-06-26 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60947 --- Comment #17 from amker at gcc dot gnu.org --- (In reply to Mikael Pettersson from comment #16) > (In reply to amker from comment #15) > > Well, only thing suspicious that I can see, the memset function is a special > > impleme

[Bug rtl-optimization/60947] [4.9/4.10 Regression] Unable to handle kernel paging request (linux kernel 2.6.28.9) with gcc 4.9 release

2014-06-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60947 --- Comment #15 from amker at gcc dot gnu.org --- Well, only thing suspicious that I can see, the memset function is a special implementation and not from C standard library. Basically it doesn't need to follow the standard, which mean

<    3   4   5   6   7   8   9   >