[Bug rtl-optimization/65932] [5 Regression] Linux-3.10.75 on arm926ej-s does not boot due to wrong code generation

2016-02-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65932 --- Comment #30 from ktkachov at gcc dot gnu.org --- Fixed for GCC 6. I've asked for a backport to GCC 5 and if approved I'll do it after it had a bit of time to bake on trunk.

[Bug target/69613] [6 Regression] wrong code with -O and simple 128bit arithmetics and vectors @ aarch64

2016-02-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69613 --- Comment #5 from ktkachov at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #4) > Yeah, > (insn 12 11 13 (set (reg:DI 85) > (lshiftrt:DI (subreg:DI (reg/v:OI 79 [ v32u128_1 ]) 0) > (const_int 1 [0x1

[Bug target/69671] [6 Regression] FAIL: gcc.target/i386/avx512vl-vpmovqb-1.c scan-assembler-times vpmovqb[ \\t]+[^{\n]*%ymm[0-9]+[^\n]*%xmm[0-9]+{%k[1-7]}{z}(?

2016-02-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69671 ktkachov at gcc dot gnu.org changed: What|Removed |Added Keywords||missed-optimization

[Bug target/69671] [6 Regression] FAIL: gcc.target/i386/avx512vl-vpmovqb-1.c scan-assembler-times vpmovqb[ \\t]+[^{\n]*%ymm[0-9]+[^\n]*%xmm[0-9]+{%k[1-7]}{z}(?

2016-02-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69671 --- Comment #2 from ktkachov at gcc dot gnu.org --- Looking at the RTL dumps before the patch in cse1 we had: (insn 27 26 28 2 (set (reg:V16QI 138) (const_vector:V16QI [ (const_int 0 [0]) (const_int 0 [0

[Bug target/69671] [6 Regression] FAIL: gcc.target/i386/avx512vl-vpmovqb-1.c scan-assembler-times vpmovqb[ \\t]+[^{\n]*%ymm[0-9]+[^\n]*%xmm[0-9]+{%k[1-7]}{z}(?

2016-02-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69671 --- Comment #3 from ktkachov at gcc dot gnu.org --- CC'ing Kirill for AVX512 opinion

[Bug target/69671] [6 Regression] FAIL: gcc.target/i386/avx512vl-vpmovqb-1.c scan-assembler-times vpmovqb[ \\t]+[^{\n]*%ymm[0-9]+[^\n]*%xmm[0-9]+{%k[1-7]}{z}(?

2016-02-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69671 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||hjl.tools at gmail dot com

[Bug rtl-optimization/69676] [6 Regression] Many AVX512 test failures

2016-02-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69676 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/69619] [6 Regression] compilation doesn't terminate during CCMP expansion

2016-02-05 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69619 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/69675] [6 Regression] [graphite] ICE: verify_ssa failed (definition in block 42 does not dominate use in block 34)

2016-02-05 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69675 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/69614] [6 Regression] wrong code with -Os -fno-expensive-optimizations -fschedule-insns -mtpcs-leaf-frame -fira-algorithm=priority @ armv7a

2016-02-05 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 --- Comment #5 from ktkachov at gcc dot gnu.org --- I suspected as such. I'll try to dig deeper next week

[Bug tree-optimization/68715] [6 Regression] ice: in harmful_stmt_in_region, at graphite-scop-detection.c:1043

2016-02-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68715 --- Comment #5 from ktkachov at gcc dot gnu.org --- Another testcase: int a, b, c, d, f, g; int e[1], h[1]; void fn2 (); void fn3 (); void fn1 () { fn2 (); b = 0; for (; b < 10; b++) ; } void fn2 () { if (a) {

[Bug target/69614] [6 Regression] wrong code with -Os -fno-expensive-optimizations -fschedule-insns -mtpcs-leaf-frame -fira-algorithm=priority @ armv7a

2016-02-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 --- Comment #6 from ktkachov at gcc dot gnu.org --- -mtpcs-frame or -mapcs seem to help exposing some other issue that I'm having trouble tracking down. -mtpcs-frame or -mapcs affect the behaviour of TARGET_CONDITIONAL_REGISTER_USAGE on ar

[Bug target/69614] [6 Regression] wrong code with -Os -fno-expensive-optimizations -fschedule-insns -mtpcs-leaf-frame -fira-algorithm=priority @ armv7a

2016-02-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 --- Comment #7 from ktkachov at gcc dot gnu.org --- Hmmm, digging through the reload and post-reload split dumps I noticed this curiosity in arm.md: (define_split [(set (match_operand:DI 0 "s_register_operand" "")

[Bug tree-optimization/69728] New: [6 Regression] internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1175

2016-02-09 Thread ktkachov at gcc dot gnu.org
Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: spop at gcc dot gnu.org Target Milestone: --- The

[Bug target/69614] [6 Regression] wrong code with -Os -fno-expensive-optimizations -fschedule-insns -mtpcs-leaf-frame -fira-algorithm=priority @ armv7a

2016-02-09 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 --- Comment #9 from ktkachov at gcc dot gnu.org --- You're right. Any change in the flags or to the code that appears to makes the failure go away just happens to reduce register pressure. In the failing case the reload dump shows that LRA

[Bug target/69614] [6 Regression] wrong code with -Os -fno-expensive-optimizations -fschedule-insns -mtpcs-leaf-frame -fira-algorithm=priority @ armv7a

2016-02-09 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 --- Comment #10 from ktkachov at gcc dot gnu.org --- Created attachment 37642 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37642&action=edit Reload pass dump

[Bug target/69614] [6 Regression] wrong code with -Os -fno-expensive-optimizations -fschedule-insns -mtpcs-leaf-frame -fira-algorithm=priority @ armv7a

2016-02-09 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||vmakarov at redhat dot com

[Bug tree-optimization/69735] New: [6 Regression] internal compiler error: in harmful_loop_in_region, at graphite-scop-detection.c:1045

2016-02-09 Thread ktkachov at gcc dot gnu.org
Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: spop at gcc dot gnu.org Target

[Bug target/63206] Gcc 4.9.1 Generated code needlessly stacks r3

2016-02-09 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63206 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug rtl-optimization/69764] [5/6 Regression] ICE on x86_64-linux-gnu at -O0 (in decompose, at rtl.h:2107)

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

[Bug target/69614] [6 Regression] wrong code with -Os -fno-expensive-optimizations -fschedule-insns -mtpcs-leaf-frame -fira-algorithm=priority @ armv7a

2016-02-12 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 --- Comment #12 from ktkachov at gcc dot gnu.org --- Note that this has gone latent on trunk with r233267

[Bug target/69671] [6 Regression] FAIL: gcc.target/i386/avx512vl-vpmovqb-1.c scan-assembler-times vpmovqb[ \\t]+[^{\n]*%ymm[0-9]+[^\n]*%xmm[0-9]+{%k[1-7]}{z}(?

2016-02-12 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69671 --- Comment #16 from ktkachov at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #15) > Yeah, my preference is to back out the cse.c one-liner for GCC 6. IMO the cse.c patch is the correct fix for the code quality regression seen

[Bug tree-optimization/69822] New: [6 Regression] internal compiler error: in get_rename, at graphite-isl-ast-to-gimple.c:1202

2016-02-15 Thread ktkachov at gcc dot gnu.org
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: spop at gcc dot gnu.org Target Milestone: --- Target: aarch64 The following testcase

[Bug tree-optimization/69822] [6 Regression] internal compiler error: in get_rename, at graphite-isl-ast-to-gimple.c:1202

2016-02-15 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69822 ktkachov at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Known to work

[Bug tree-optimization/69823] New: internal compiler error: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:445

2016-02-15 Thread ktkachov at gcc dot gnu.org
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: spop at gcc dot gnu.org Target Milestone: --- Target: aarch64 The following testcase ICEs for

[Bug target/69671] [6 Regression] FAIL: gcc.target/i386/avx512vl-vpmovqb-1.c scan-assembler-times vpmovqb[ \\t]+[^{\n]*%ymm[0-9]+[^\n]*%xmm[0-9]+{%k[1-7]}{z}(?

2016-02-15 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69671 --- Comment #18 from ktkachov at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #17) > (In reply to ktkachov from comment #16) > > (In reply to Jakub Jelinek from comment #15) > > > Yeah, my preference is to back

[Bug rtl-optimization/65932] [5 Regression] Linux-3.10.75 on arm926ej-s does not boot due to wrong code generation

2016-02-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65932 --- Comment #31 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Feb 16 15:11:26 2016 New Revision: 233454 URL: https://gcc.gnu.org/viewcvs?rev=233454&root=gcc&view=rev Log: [ARM] PR target/65932: stop changing signe

[Bug target/67714] [6 Regression] signed char is zero-extended instead of sign-extended

2016-02-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67714 --- Comment #19 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Feb 16 15:11:26 2016 New Revision: 233454 URL: https://gcc.gnu.org/viewcvs?rev=233454&root=gcc&view=rev Log: [ARM] PR target/65932: stop changing signe

[Bug rtl-optimization/65932] [5 Regression] Linux-3.10.75 on arm926ej-s does not boot due to wrong code generation

2016-02-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65932 --- Comment #32 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Feb 16 15:13:05 2016 New Revision: 233455 URL: https://gcc.gnu.org/viewcvs?rev=233455&root=gcc&view=rev Log: [ARM] Adjust tests after fix for PR 65932

[Bug rtl-optimization/65932] [5 Regression] Linux-3.10.75 on arm926ej-s does not boot due to wrong code generation

2016-02-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65932 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/69353] [6 Regression] [graphite] ICE: verify_gimple failed (error: non-trivial conversion at assignment) w/ -O2 (-O3) -floop-nest-optimize

2016-02-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69353 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/69161] [6 Regression] ICE in simplify_const_unary_operation, at simplify-rtx.c:1633

2016-02-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69161 --- Comment #23 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed Feb 17 13:39:30 2016 New Revision: 233495 URL: https://gcc.gnu.org/viewcvs?rev=233495&root=gcc&view=rev Log: [ARM] PR target/69161: Don't ignore mode

[Bug target/69161] [6 Regression] ICE in simplify_const_unary_operation, at simplify-rtx.c:1633

2016-02-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69161 --- Comment #24 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed Feb 17 13:42:35 2016 New Revision: 233496 URL: https://gcc.gnu.org/viewcvs?rev=233496&root=gcc&view=rev Log: [AArch64] PR target/69161: Don't use spec

[Bug target/69161] [6 Regression] ICE in simplify_const_unary_operation, at simplify-rtx.c:1633

2016-02-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69161 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/69854] [6 regression] ICE: tree check: expected class 'constant', have 'binary' (plus_expr) in generic_simplify_65, at generic-match.c:3110

2016-02-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69854 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug target/69857] gcc/config/arm/arm.c:15949: return in strange place ?

2016-02-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69857 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target||arm Status

[Bug target/69857] gcc/config/arm/arm.c:15949: return in strange place ?

2016-02-18 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69857 ktkachov at gcc dot gnu.org changed: What|Removed |Added Keywords||missed-optimization

[Bug target/69857] gcc/config/arm/arm.c:15949: return in strange place ?

2016-02-18 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69857 --- Comment #5 from ktkachov at gcc dot gnu.org --- We'd need a testcase that shows a regression resulting from this code not being run i.e. code that became worse after r197530 (or wrong code or an ICE) and is fixed by removing that &q

[Bug target/69857] gcc/config/arm/arm.c:15949: return in strange place ?

2016-02-18 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69857 --- Comment #7 from ktkachov at gcc dot gnu.org --- Yes, that's an approach that can be taken. Once such a case is found, you could also try using a reducer program like creduce to create a small testcase appropriate for the testsuite. Rem

[Bug target/69875] [4.9/5/6 Regression] Wrong barrier placement for 64-bit atomic loads on arm

2016-02-19 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69875 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug target/69875] New: [4.9/5/6 Regression] Wrong barrier placement for 64-bit atomic loads on arm

2016-02-19 Thread ktkachov at gcc dot gnu.org
: wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- Target: arm* Consider the code: #include atomic_ullong foo; int glob; int main

[Bug target/69886] ICE: in process_insert_insn, at gcse.c:1976 with --param=gcse-unrestricted-cost=0 @ aarch64

2016-02-22 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69886 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/69886] ICE: in process_insert_insn, at gcse.c:1976 with --param=gcse-unrestricted-cost=0 @ aarch64

2016-02-22 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69886 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/69903] Function template specialization with CRTP-class causes compiler segfault

2016-02-22 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69903 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug c++/69903] Function template specialization with CRTP-class causes compiler segfault

2016-02-22 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69903 --- Comment #2 from ktkachov at gcc dot gnu.org --- More complete stack trace: ice.c:7:23: internal compiler error: in add_stmt, at cp/semantics.c:385 volatile int x = i; ^ 0x772687 add_stmt(tree_node*) $TOP

[Bug rtl-optimization/69904] New: [6 Regression] shrink-wrapping creates weird atomic compare exchange loop on arm

2016-02-22 Thread ktkachov at gcc dot gnu.org
: missed-optimization Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: segher at gcc dot gnu.org Target Milestone: --- Target: arm

[Bug rtl-optimization/69904] [6 Regression] shrink-wrapping creates weird atomic compare exchange loop on arm

2016-02-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69904 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ramana.radhakrishnan at arm

[Bug middle-end/69915] [6 Regression] ICE: SIGSEGV with -O -ftracer with broken backtrace

2016-02-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69915 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target|x86_64-pc-linux-gnu,|x86_64-pc-linux-gnu

[Bug rtl-optimization/69904] [6 Regression] shrink-wrapping creates weird atomic compare exchange loop on arm

2016-02-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69904 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/69875] [4.9/5/6 Regression] Wrong barrier placement for 64-bit atomic loads on arm

2016-02-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69875 --- Comment #2 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed Feb 24 11:00:28 2016 New Revision: 233658 URL: https://gcc.gnu.org/viewcvs?rev=233658&root=gcc&view=rev Log: [ARM] PR target/69875 Fix atomic_loaddi e

[Bug target/69875] [4.9/5 Regression] Wrong barrier placement for 64-bit atomic loads on arm

2016-02-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69875 ktkachov at gcc dot gnu.org changed: What|Removed |Added Summary|[4.9/5/6 Regression] Wrong |[4.9/5 Regression] Wrong

[Bug rtl-optimization/69886] ICE: in process_insert_insn, at gcse.c:1976 with --param=gcse-unrestricted-cost=0 @ aarch64

2016-02-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69886 --- Comment #3 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed Feb 24 13:00:10 2016 New Revision: 233662 URL: https://gcc.gnu.org/viewcvs?rev=233662&root=gcc&view=rev Log: [gcse] PR rtl-optimization/69886: Check target

[Bug rtl-optimization/69941] New: bogus zero_extend transformation in postreload on aarch64

2016-02-24 Thread ktkachov at gcc dot gnu.org
Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: rth at gcc dot gnu.org Target Milestone: --- Target: aarch64 Consider the code: #include

[Bug tree-optimization/69943] expressions with multiple associative operators don't always create instruction-level parallelism

2016-02-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69943 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug tree-optimization/69943] expressions with multiple associative operators don't always create instruction-level parallelism

2016-02-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69943 --- Comment #2 from ktkachov at gcc dot gnu.org --- On second thought, reassociating signed addition is not legal in general because we might introduce signed overflow where one didn't exist before. Changing your integer example to use uns

[Bug target/69613] [6 Regression] wrong code with -O and simple 128bit arithmetics and vectors @ aarch64

2016-02-26 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69613 --- Comment #6 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Feb 26 15:59:45 2016 New Revision: 233744 URL: https://gcc.gnu.org/viewcvs?rev=233744&root=gcc&view=rev Log: [AArch64] PR target/69613: Ret

[Bug target/69613] [6 Regression] wrong code with -O and simple 128bit arithmetics and vectors @ aarch64

2016-02-26 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69613 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/69245] [6 Regression] ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf

2016-02-26 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245 --- Comment #16 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Feb 26 16:02:21 2016 New Revision: 233745 URL: https://gcc.gnu.org/viewcvs?rev=233745&root=gcc&view=rev Log: [AArch64] Set TREE_TARGET_GL

[Bug target/70004] [6 Regression] FAIL: gcc.target/aarch64/scalar_shift_1.c scan-assembler-times neg\\td[0-9]+, d[0-9]+ 4

2016-02-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70004 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug middle-end/69983] [6 Regression] FAIL: gcc.dg/graphite/scop-sor.c scan-tree-dump-times graphite "number of SCoPs: 1" 1

2016-02-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69983 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug target/70004] [6 Regression] FAIL: gcc.target/aarch64/scalar_shift_1.c scan-assembler-times neg\\td[0-9]+, d[0-9]+ 4

2016-02-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70004 --- Comment #2 from ktkachov at gcc dot gnu.org --- The function that changes is: test_corners_sisd_si (Int32x1 b) { force_simd_si (b); b = b >> 31; force_simd_si (b); b = b >> 0; b += b >> 33; /* { dg-warning

[Bug target/70016] [6 Regression] pr52429.c fails since r233745

2016-02-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70016 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/70016] [6 Regression] pr52429.c fails since r233745

2016-02-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70016 --- Comment #2 from ktkachov at gcc dot gnu.org --- this_target_ira_int->x_init_cost is NULL when it's used, causing the ICE. I would have expected target_reinit to have properly initialised it when called through save_target_globals_defa

[Bug libfortran/69788] FAIL: gfortran.dg/derived_constructor_comps_6.f90 -O0 execution test

2016-02-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69788 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target|hppa2.0w-hp-hpux11.11 |hppa2.0w-hp-hpux11.11

[Bug target/70002] [6 Regression] gcc.dg/torture/pr52429.c -O2 -flto -fno-use-linker-plugin -flto-partition=none ICEs

2016-02-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70002 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug target/70002] [6 Regression] gcc.dg/torture/pr52429.c -O2 -flto -fno-use-linker-plugin -flto-partition=none ICEs

2016-03-01 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70002 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/70004] [6 Regression] FAIL: gcc.target/aarch64/scalar_shift_1.c scan-assembler-times neg\\td[0-9]+, d[0-9]+ 4

2016-03-01 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70004 --- Comment #3 from ktkachov at gcc dot gnu.org --- https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00038.html

[Bug target/69614] [6 Regression] wrong code with -Os -fno-expensive-optimizations -fschedule-insns -mtpcs-leaf-frame -fira-algorithm=priority @ armv7a

2016-03-01 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 --- Comment #14 from ktkachov at gcc dot gnu.org --- I'm not currently looking into this as I'm rather stumped by regalloc

[Bug lto/70044] New: [5/6 Regression] -flto turns on -fomit-frame-pointer

2016-03-02 Thread ktkachov at gcc dot gnu.org
Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: hubicka at gcc dot gnu.org Target Milestone: --- Target: aarch64 After r218767 (an LTO ICE fix from what I can tell) gcc started assuming -fomit-frame-pointer

[Bug tree-optimization/70045] New: [6 Regression] ICE error: mismatching comparison operand types

2016-03-02 Thread ktkachov at gcc dot gnu.org
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- The testcase: int a, b, d, e, f; int c[9]; void fn1 () { e = 1; for (; e >= 0

[Bug target/70048] [6 Regression][AArch64] Inefficient local array addressing

2016-03-02 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target||aarch64 Status

[Bug target/70048] [6 Regression][AArch64] Inefficient local array addressing

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

[Bug middle-end/70050] [6 Regression] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have vector_type in generic_simplify_162, at generic-mat

2016-03-02 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70050 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug rtl-optimization/69904] [6 Regression] shrink-wrapping creates weird atomic compare exchange loop on arm

2016-03-03 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69904 --- Comment #6 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #5) > I'll propose a patch to disallow copying of load-exclusive insns https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00211.html

[Bug lto/70044] [5/6 Regression] -flto turns on -fomit-frame-pointer

2016-03-03 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70044 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug target/70044] [5/6 Regression] -flto turns on -fomit-frame-pointer

2016-03-03 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70044 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug rtl-optimization/69904] [6 Regression] shrink-wrapping creates weird atomic compare exchange loop on arm

2016-03-03 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69904 --- Comment #7 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Mar 3 17:25:43 2016 New Revision: 233941 URL: https://gcc.gnu.org/viewcvs?rev=233941&root=gcc&view=rev Log: [ARM] PR rtl-optimization/69904: Disallow

[Bug rtl-optimization/69904] [6 Regression] shrink-wrapping creates weird atomic compare exchange loop on arm

2016-03-03 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69904 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/69941] bogus zero_extend transformation in postreload on aarch64

2016-03-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69941 --- Comment #3 from ktkachov at gcc dot gnu.org --- Sorry, here's the standalone testcase using __builtin_abort: int a = 0; int b = 0; int c = 0; int e = 0; int f = 0; int *g = &e; int fn1() { return b ? a : b; } int main() { in

[Bug testsuite/70004] [6 Regression] FAIL: gcc.target/aarch64/scalar_shift_1.c scan-assembler-times neg\\td[0-9]+, d[0-9]+ 4

2016-03-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70004 --- Comment #4 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Mar 4 11:09:11 2016 New Revision: 233964 URL: https://gcc.gnu.org/viewcvs?rev=233964&root=gcc&view=rev Log: [AArch64][testsuite] PR target/70004: Remove che

[Bug testsuite/70004] [6 Regression] FAIL: gcc.target/aarch64/scalar_shift_1.c scan-assembler-times neg\\td[0-9]+, d[0-9]+ 4

2016-03-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70004 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/70087] Different (worse?) code generated for "if (a || (b || c))" vs "if (a || b || c)"

2016-03-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70087 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug target/70119] New: AArch64 should take advantage of implicit truncation of variable shift amount without defining SHIFT_COUNT_TRUNCATED

2016-03-07 Thread ktkachov at gcc dot gnu.org
: 6.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- Target

[Bug target/70119] AArch64 should take advantage of implicit truncation of variable shift amount without defining SHIFT_COUNT_TRUNCATED

2016-03-07 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70119 --- Comment #3 from ktkachov at gcc dot gnu.org --- Right, I see we have the same issue on aarch64 as on x86. So what would be the accepted solution here? I've been playing with a patch to simplify-rtx to move the subreg inside the AN

[Bug target/70120] [aarch64] -mno-pc-relative-literal-loads -g causes Assembler messages: Error: unaligned opcodes detected in executable segment

2016-03-07 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70120 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/70120] [6 Regression][aarch64] -freorder-functions -g causes Assembler messages: Error: unaligned opcodes detected in executable segment

2016-03-07 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70120 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to work||4.9.4, 5.3.1

[Bug target/70133] AArch64 -mtune=native generates improperly formatted -march parameters

2016-03-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70133 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug driver/70132] ARM -mcpu=native can cause a double free abort.

2016-03-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70132 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||andrewm.roberts at sky dot

[Bug c/70136] -march=native causes SIGABRT due to double close of FILE on certain ARM systems (BCM2834, armv8 cortex-a53)

2016-03-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70136 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug driver/70132] ARM -mcpu=native can cause a double free abort.

2016-03-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70132 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug tree-optimization/70137] New: internal compiler error: in add_phi_arg_for_new_expr, at graphite-isl-ast-to-gimple.c:2331

2016-03-08 Thread ktkachov at gcc dot gnu.org
Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: spop at gcc dot gnu.org Target Milestone: --- The following

[Bug target/70133] AArch64 -mtune=native generates improperly formatted -march parameters

2016-03-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70133 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed

[Bug target/70044] [5 Regression] -flto turns on -fomit-frame-pointer

2016-03-10 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70044 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug inline-asm/70184] New: Exlpicit register variables overwritten by conversion libcall

2016-03-11 Thread ktkachov at gcc dot gnu.org
Severity: normal Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- Target: arm Consider the testcase: void foo(unsigned a, float b) { unsigned c = (unsigned

[Bug inline-asm/70184] Explicit register variables holding function arguments overwritten by conversion libcall

2016-03-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70184 --- Comment #1 from ktkachov at gcc dot gnu.org --- Things are bad already at expand time: 2: r111:SI=r0:SI 3: r112:SF=r1:SF 4: NOTE_INSN_FUNCTION_BEG 7: r0:SI=r111:SI 8: r0:SF=r112:SF 9: r0:SI=call [`__aeabi_f2uiz']

[Bug inline-asm/70184] Explicit register variables holding function arguments overwritten by conversion libcall

2016-03-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70184 --- Comment #3 from ktkachov at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #2) > Does -fno-ter fix the issue? > How does the tree level look? You mean -fno-tree-ter? That gives: foo: @ args = 0, pretend = 0, fra

[Bug target/70119] AArch64 should take advantage of implicit truncation of variable shift amount without defining SHIFT_COUNT_TRUNCATED

2016-03-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70119 --- Comment #5 from ktkachov at gcc dot gnu.org --- Created attachment 37941 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37941&action=edit Example patch In the interests of getting a concrete proposal out and hammering out a co

[Bug target/69245] [6 Regression] ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf

2016-03-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245 --- Comment #17 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Mar 11 15:27:24 2016 New Revision: 234141 URL: https://gcc.gnu.org/viewcvs?rev=234141&root=gcc&view=rev Log: [AArch64] PR target/700

[Bug target/70002] [6 Regression] gcc.dg/torture/pr52429.c -O2 -flto -fno-use-linker-plugin -flto-partition=none ICEs

2016-03-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70002 --- Comment #7 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Mar 11 15:27:24 2016 New Revision: 234141 URL: https://gcc.gnu.org/viewcvs?rev=234141&root=gcc&view=rev Log: [AArch64] PR target/700

[Bug target/70002] [6 Regression] gcc.dg/torture/pr52429.c -O2 -flto -fno-use-linker-plugin -flto-partition=none ICEs

2016-03-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70002 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

<    1   2   3   4   5   6   7   8   9   10   >