[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2018-08-24 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 Joey Ye changed: What|Removed |Added CC||joey.ye at arm dot com --- Comment #36 from

[Bug rtl-optimization/64082] virtual register elimination doing bad for local array

2016-08-19 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64082 Joey Ye changed: What|Removed |Added CC||joey.ye at arm dot com --- Comment #1 from

[Bug tree-optimization/60172] [4.9/5 Regression] ARM performance regression from trunk@207239

2015-03-13 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #26 from Joey Ye --- Regression disappeared from 4.9 branch since Aug 2014, though the problem discussed here is not yet confirmed solved.

[Bug rtl-optimization/63718] [5 Regression] ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg

2014-12-02 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63718 Joey Ye changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/63718] [5 Regression] ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg

2014-11-19 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63718 --- Comment #14 from Joey Ye --- Em. Probably a more favorable solution is fix expand_epilogue to precisely elaborate the side effect?

[Bug rtl-optimization/63718] [5 Regression] ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg

2014-11-09 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63718 --- Comment #9 from Joey Ye --- > > Indeed, the patch is conservative, but that's not such a bad idea for a > correctness fix. We can always folllow up with a more optimal patch. Tom, are you going to submit this patch for review, or are you wor

[Bug tree-optimization/63747] [5 regression] icf mis-compares switch gimple

2014-11-05 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63747 --- Comment #4 from Joey Ye --- It actually fails on all targets.

[Bug tree-optimization/63747] [5 regression] icf mis-compares switch gimple

2014-11-05 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63747 --- Comment #3 from Joey Ye --- Created attachment 33906 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33906&action=edit /home/joeye01/patches/icf-switch-testcase-141105.patch Test case patch

[Bug tree-optimization/63747] [5 regression] icf mis-compares switch gimple

2014-11-05 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63747 --- Comment #2 from Joey Ye --- /* { dg-options "-O2" } */ /* { dg-do run } */ static int __attribute__((noinline)) foo(int i) { switch (i) { case 0: case 1: case 2: case 3: return 0; default: return 1; } }

[Bug tree-optimization/63747] New: [5 regression] icf mis-compares switch gimple

2014-11-05 Thread joey.ye at arm dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: joey.ye at arm dot com ARM -Os bootstrap breaks. Root cause lies in ipa-icf-gimple.c where compare_gimple_switch doesn't compare case numbers correctly. Will upload a reduced test case soon.

[Bug rtl-optimization/63718] [5 Regression] ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg

2014-11-03 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63718 --- Comment #8 from Joey Ye --- (In reply to vries from comment #5) > Created attachment 33874 [details] > tentative patch, adds missing clobbers This patch does recover thumb1 bootstrap - Joey

[Bug rtl-optimization/63718] [5 Regression] ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg

2014-11-03 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63718 --- Comment #6 from Joey Ye --- (In reply to vries from comment #5) > Could you try out the patch and see if it fixes things for you? > Tom, thanks for the quick action. Apparantly this patch should recover the bootstrap. I will test it and come

[Bug rtl-optimization/63718] ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg

2014-11-03 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63718 --- Comment #4 from Joey Ye --- Created attachment 33873 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33873&action=edit Preprocessed testcase Options to reproduce: -march=armv4t -mthumb -O2

[Bug rtl-optimization/63718] ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg

2014-11-03 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63718 --- Comment #3 from Joey Ye --- Created attachment 33872 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33872&action=edit Reduced rtl dump previous pass

[Bug rtl-optimization/63718] ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg

2014-11-03 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63718 --- Comment #2 from Joey Ye --- Created attachment 33871 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33871&action=edit Reduced rtl dump

[Bug rtl-optimization/63718] ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg

2014-11-03 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63718 --- Comment #1 from Joey Ye --- Challenging to reduce a small case, as inlining impacts optimization behavior. Trying to describe the problem as clear as possible. Problemetic generated code: mov r0, r10 mov r1, r3

[Bug rtl-optimization/63718] New: ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg

2014-11-02 Thread joey.ye at arm dot com
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: joey.ye at arm dot com architecture option: --with-arch=armv4t --with-mode=thumb BOOT_CFLAGS="-O2 -g" (Stage2) Error message: src/gcc/trunk/libgcc/libgcc2.c: I

[Bug plugins/59335] Plugin doesn't build on trunk

2014-09-04 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335 Joey Ye changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug plugins/59335] Plugin doesn't build on trunk

2014-08-24 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335 Joey Ye changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug libgcc/56846] _Unwind_Backtrace on ARM and noexcept

2014-08-21 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56846 --- Comment #5 from Joey Ye --- This issue was predicted back to when _Unwind_Backtrace was enabled on ARM. http://gcc.gnu.org/ml/gcc/2007-08/msg00235.html "This will keep going if the personality routine returns _URC_FAILURE. Do you need anythi

[Bug libgcc/56846] _Unwind_Backtrace on ARM and noexcept

2014-05-08 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56846 Joey Ye changed: What|Removed |Added CC||joey.ye at arm dot com --- Comment #1 from

[Bug target/60169] [4.8/4.9 Regression] ICE ARM thumb1 handles far jump

2014-03-02 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60169 Joey Ye changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgcc/60166] ARM default NAN encoding violates EABI

2014-02-28 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60166 Joey Ye changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/60169] [4.8/4.9 Regression] ICE ARM thumb1 handles far jump

2014-02-27 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60169 --- Comment #2 from Joey Ye --- A fix is available here: http://gcc.gnu.org/ml/gcc-patches/2014-02/msg01306.html

[Bug tree-optimization/54742] Switch elimination in FSM loop

2014-02-19 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54742 --- Comment #36 from Joey Ye --- Please ignore previous comment as it shouldn't be here.

[Bug tree-optimization/60172] ARM performance regression from trunk@207239

2014-02-19 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #11 from Joey Ye --- Repost from another record. It is annoying that after commenting one record it automatically jumps to the next. Here is good expansion: ;; _41 = _42 * 4; (insn 20 19 0 (set (reg:SI 126 [ D.5038 ]) (ashift

[Bug tree-optimization/60172] ARM performance regression from trunk@207239

2014-02-19 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #10 from Joey Ye --- (In reply to rguent...@suse.de from comment #9) > On Mon, 17 Feb 2014, joey.ye at arm dot com wrote: > > > But that doesn't make sense - it means that -fdisable-tree-forwprop4 > should get

[Bug tree-optimization/54742] Switch elimination in FSM loop

2014-02-17 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54742 --- Comment #35 from Joey Ye --- Here is good expansion: ;; _41 = _42 * 4; (insn 20 19 0 (set (reg:SI 126 [ D.5038 ]) (ashift:SI (reg/v:SI 131 [ Int_1_Par_Val ]) (const_int 2 [0x2]))) -1 (nil)) ;; _40 = _2 + _41; (insn

[Bug tree-optimization/60172] ARM performance regression from trunk@207239

2014-02-17 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #8 from Joey Ye --- Here is tree dump and diff of 133t.forwprop4 : Int_Index_4 = Int_1_Par_Val_3(D) + 5; Int_Loc.0_5 = (unsigned int) Int_Index_4; _6 = Int_Loc.0_5 * 4; _8 = Arr_1_Par_Ref_7(D) + _6; *_8 = Int_2_Par_Val_10(D

[Bug tree-optimization/60172] ARM performance regression from trunk@207239

2014-02-17 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #7 from Joey Ye --- (In reply to Richard Biener from comment #5) > (In reply to Joey Ye from comment #4) > > -fdisable-tree-forwprop4 doesn't help. -fno-tree-ter makes it even worse. > > The former is strange because it's the only pas

[Bug tree-optimization/60172] ARM performance regression from trunk@207239

2014-02-14 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #4 from Joey Ye --- -fdisable-tree-forwprop4 doesn't help. -fno-tree-ter makes it even worse.

[Bug tree-optimization/60172] ARM performance regression from trunk@207239

2014-02-14 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #2 from Joey Ye --- Created attachment 32131 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32131&action=edit The function that causes the regression Attached Proc_8 from dhrystone, header file and good/bad.s It is the only func

[Bug plugins/59335] Plugin doesn't build on trunk

2014-02-13 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335 Joey Ye changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/60172] New: ARM performance regression from trunk@207239

2014-02-13 Thread joey.ye at arm dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: joey.ye at arm dot com Dhrystone on Cortex-M4 drops by 1.5% with this patch: 2014-01-29 Richard Biener PR tree-optimization/58742 * tree-ssa-forwprop.c (associate_pointerplus): Rename to

[Bug libgcc/60166] ARM default NAN encoding violates EABI

2014-02-13 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60166 --- Comment #2 from Joey Ye --- (In reply to Ramana Radhakrishnan from comment #1) > Isn't this a dup of PR59833. It isn't. This one is only impacts QNAN.

[Bug plugins/59335] Plugin doesn't build on trunk

2014-02-12 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335 Joey Ye changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/60169] ICE ARM thumb1 handles far jump

2014-02-12 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60169 --- Comment #1 from Joey Ye --- Caused by http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01229.html, reason is that stack layout shouldn't change during and after reload. I have a patch fixing it under testing.

[Bug target/60169] New: ICE ARM thumb1 handles far jump

2014-02-12 Thread joey.ye at arm dot com
Assignee: unassigned at gcc dot gnu.org Reporter: joey.ye at arm dot com Created attachment 32119 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32119&action=edit testcase Trunk gcc 20140210: arm-none-eabi-gcc -mthumb -fomit-frame-pointer -mthumb -fPIC -mcpu=cortex-m0 -

[Bug libgcc/60166] New: ARM default NAN encoding violates EABI

2014-02-12 Thread joey.ye at arm dot com
Assignee: unassigned at gcc dot gnu.org Reporter: joey.ye at arm dot com #include #include #include int g; float i = 0.0 ,j = 0.0 ; int main() { float f = i / j; memcpy(&g, &f, sizeof(g)); printf("f=%f, hex=%x\n", f, g); retur

[Bug tree-optimization/59757] Unexpected VN_TOP in SSCVN

2014-01-20 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59757 Joey Ye changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/59884] Unexpected warning pragma GCC target

2014-01-19 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59884 --- Comment #2 from Joey Ye --- (In reply to Andrew Pinski from comment #1) > Comes from: > if (p->target_binary != target_option_current_node) > { > (void) targetm.target_option.pragma_parse (NULL_TREE, > p->target_binary); > ta

[Bug c/59884] New: Unexpected warning pragma GCC target

2014-01-19 Thread joey.ye at arm dot com
Assignee: unassigned at gcc dot gnu.org Reporter: joey.ye at arm dot com Affected target: arm. (x86/x86_64 passes) Affected version: trunk 20140109, 4.8, 4.7 ~/cases/pragma $ cat p.c #pragma GCC push_options #pragma GCC optimize("O2") int foo(int a){ return a+1; } #pragma GCC p

[Bug tree-optimization/59757] Unexpected VN_TOP in SSCVN

2014-01-13 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59757 --- Comment #5 from Joey Ye --- Here are some debug and log that might help to investigate. Following one is suspecious to me, .MEM_18 is said to be defined a stmt that doesn't look like it should do (gdb) call debug_tree((*cfun->gimple_df->ssa_n

[Bug tree-optimization/59757] Unexpected VN_TOP in SSCVN

2014-01-10 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59757 --- Comment #1 from Joey Ye --- foo.c: In function 'univision_ug2828gfeff01_init': foo.c:119:1: internal compiler error: tree check: expected ssa_name, have var_de cl in vn_reference_compute_hash, at tree-ssa-sccvn.c:631 univision_ug2828gfeff01_i

[Bug tree-optimization/59757] New: Unexpected VN_TOP in SSCVN

2014-01-10 Thread joey.ye at arm dot com
Assignee: unassigned at gcc dot gnu.org Reporter: joey.ye at arm dot com Created attachment 31796 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31796&action=edit Reduced test case target: arm-none-eabi host: Only Windows (crossbuild with i586-mingw32msvc). The same r

[Bug middle-end/59734] New: Simple strict-volatile-bitfields case not working

2014-01-08 Thread joey.ye at arm dot com
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: joey.ye at arm dot com $ cat v.c struct str { volatile unsigned f1: 8; }; int foo(struct str *a) { a->f1=sizeof(struct str); } $ arm-none-eabi-gcc -mthumb -mcpu=cortex-m3 -Os -fstrict-volatile-bitfields

[Bug target/56997] Incorrect write to packed field when strict-volatile-bitfields enabled on aarch32

2014-01-07 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56997 Joey Ye changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/59582] LTO discards symbol that defined as weak elsewhere

2014-01-02 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59582 --- Comment #6 from Joey Ye --- duplication of https://sourceware.org/bugzilla/show_bug.cgi?id=15323

[Bug lto/59582] LTO discards symbol that defined as weak elsewhere

2013-12-25 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59582 --- Comment #5 from Joey Ye --- HJ, do you know which patch fixed this issue? I might need to backport it into local 2.23 branch.

[Bug lto/59582] LTO discards symbol that defined as weak elsewhere

2013-12-25 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59582 Joey Ye changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug lto/59582] LTO discards symbol that defined as weak elsewhere

2013-12-23 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59582 --- Comment #2 from Joey Ye --- Lastest binutils trunk still has this issue. I'm assuming 2.24 the same.

[Bug lto/59582] New: LTO discards symbol that defined as weak elsewhere

2013-12-22 Thread joey.ye at arm dot com
: lto Assignee: unassigned at gcc dot gnu.org Reporter: joey.ye at arm dot com ~/work/lto_startup_s/3 $ cat Makefile CC=gcc CFLAGS=-flto EXT_CFLAGS= e : ext.o main.o $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ ext.o : ext.c $(CC) $(EXT_CFLAGS) -c -o $@ $^ ~/work/lto_startup_s

[Bug plugins/59335] New: Plugin doesn't build on trunk

2013-11-28 Thread joey.ye at arm dot com
ugins Assignee: unassigned at gcc dot gnu.org Reporter: joey.ye at arm dot com trunk 205454 breaks plugin on x86_64 and arm. When gcc is built and installed, using it to build any plugin with g++ -fPIC -g -O2 -shared -I `g++ -print-file-name=plugin`/include will result as: install/li

[Bug target/56997] Incorrect write to packed field when strict-volatile-bitfields enabled on aarch32

2013-04-18 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56997 --- Comment #3 from Joey Ye 2013-04-18 08:46:36 UTC --- (In reply to comment #2) > -fstrict-volatile-bitfields implementation is bogus, as I repeatedly said > it should now piggy-back on DECL_BIT_FIELD_REPRESENTATIVE. Note that > in your

[Bug target/56997] Incorrect write to packed field when strict-volatile-bitfields enabled on aarch32

2013-04-18 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56997 --- Comment #1 from Joey Ye 2013-04-18 08:12:50 UTC --- Quoted from http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Code-Gen-Options.html#Code-Gen-Options: -fstrict-volatile-bitfields If the target requires strict alignment, and honoring

[Bug target/56997] New: Incorrect write to packed field when strict-volatile-bitfields enabled on aarch32

2013-04-18 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56997 Bug #: 56997 Summary: Incorrect write to packed field when strict-volatile-bitfields enabled on aarch32 Classification: Unclassified Product: gcc Version: 4.9.0

[Bug tree-optimization/54742] Switch elimination in FSM loop

2013-03-07 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54742 --- Comment #8 from Joey Ye 2013-03-08 03:56:38 UTC --- // A none loop case shows how minor changes impacts current jump thread behavior int foo(int state, int check) { switch (state) { case 0: state = 1;

[Bug target/54051] [4.7 Regression] Invalid alignment specifier generated for vld3_lane_* and vld3_dup_* intrinsics.

2013-02-04 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54051 --- Comment #6 from Joey Ye 2013-02-05 07:48:48 UTC --- (In reply to comment #5) > This issue also impacts ldrexh/ldrexb as assembler doesn't accept ldrexh r1, > [r0, #0]. Better to backport to 4.7. and 4.6

[Bug target/54051] [4.7 Regression] Invalid alignment specifier generated for vld3_lane_* and vld3_dup_* intrinsics.

2013-02-04 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54051 Joey Ye changed: What|Removed |Added CC||joey.ye at arm dot com --- Comment

[Bug lto/54933] 'builtin symbol' referenced in section ... defined in discarded section

2013-01-17 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54933 Joey Ye changed: What|Removed |Added CC||joey.ye at arm dot com --- Comment

[Bug rtl-optimization/55757] Suboptimal interrupt prologue/epilogue for ARMv7-M (Cortex-M3)

2012-12-20 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55757 --- Comment #5 from Joey Ye 2012-12-21 03:32:21 UTC --- However, there is room to improve both performance and stack consumption in case of Os: extern void bar(int *); void foo() { int a; bar(&a); } Built with -mcpu=cort

[Bug rtl-optimization/55757] Suboptimal interrupt prologue/epilogue for ARMv7-M (Cortex-M3)

2012-12-20 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55757 Joey Ye changed: What|Removed |Added CC||joey.ye at arm dot com --- Comment

[Bug tree-optimization/54742] Switch elimination in FSM loop

2012-10-10 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54742 --- Comment #3 from Joey Ye 2012-10-10 07:37:15 UTC --- Current jump-threading is too conservative to thread this case. Following limits are what I observed by reading code: 1. It only thread around blocks that * Single entry * Multip

[Bug tree-optimization/54742] New: Switch elimination in FSM loop

2012-09-28 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54742 Bug #: 54742 Summary: Switch elimination in FSM loop Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priori

[Bug tree-optimization/54733] New: Missing opportunity to optimize endian independent load/store

2012-09-28 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54733 Bug #: 54733 Summary: Missing opportunity to optimize endian independent load/store Classification: Unclassified Product: gcc Version: unknown Status: UNCON

[Bug middle-end/51200] Wrong code sequence to store restrict volatile bitfield

2011-12-20 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51200 Joey Ye changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #4 from Joey Ye 2011-12-2

[Bug middle-end/51200] Wrong code sequence to store restrict volatile bitfield

2011-11-21 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51200 --- Comment #2 from Joey Ye 2011-11-22 03:58:29 UTC --- Here is a test case fix. With this patch, backend part of Bernd's original patch can be skipped. Thus DJ's concern of unnecessary change can be addressed. Also this test case intends to war

[Bug middle-end/51200] Wrong code sequence to store restrict volatile bitfield

2011-11-17 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51200 --- Comment #1 from Joey Ye 2011-11-18 02:23:17 UTC --- A patch is available at http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00217.html but is pending for about 1 year. Latest discussion is at http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01623.ht

[Bug middle-end/51200] New: Wrong code sequence to store restrict volatile bitfield

2011-11-17 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51200 Bug #: 51200 Summary: Wrong code sequence to store restrict volatile bitfield Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED S

[Bug target/49437] interrupt return pop sometimes corrupts sp

2011-08-02 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49437 Joey Ye changed: What|Removed |Added CC||joey.ye at arm dot com --- Comment #2 from