[google gcc-4_9]: Backport trunk:r232727 fix for PR/69403.

2016-01-28 Thread Han Shen
Backport trunk:r232727 fix for PR/69403 - wrong thumb2_ior_scc_strict_it insn pattern. Note this only affect armv7-a tuned for armv8 arch, tested / booted affected ChromeOS book. Ok for google/gcc-4_9 branch? -- Han Shen Index: gcc/ChangeLog

Re: [PATCH][ARM] Fix PR target/69403: Bug in thumb2_ior_scc_strict_it pattern

2016-01-21 Thread Han Shen
et/69403 > * config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to > define_insn_and_split. Ensure operands[1] and operands[0] do not > get assigned the same register. > > 2016-01-21 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > PR target/69403 > * gcc.c-torture/execute/pr69403.c: New test. -- Han Shen | Software Engineer | shen...@google.com | +1-650-440-3330

Re: [PATCH] Add a new option -fstack-protector-strong

2013-04-16 Thread Han Shen
. If write this way - struct Node p = foo(); struct Node *q = p; The protection would be triggered. -- Florian Weimer / Red Hat Product Security Team ChangeLog and patch below -- gcc/ChangeLog 2013-04-16 Han Shen shen...@google.com * cfgexpand.c (record_or_union_type_has_array_p

[4.7][google] Adding a new option -fstack-protector-strong. (issue5461043)

2011-12-07 Thread Han Shen
Hi, this patch provides a new stack protection option - fstack-protector-strong. Background - some times stack-protector is too-simple while stack-protector-all over-kills, for example, to build one of our core systems, we forcibly add -fstack-protector-all to all compile commands, which

[trunk] RFS: translate built-in include paths for sysroot (issue5394041)

2011-11-15 Thread Han Shen
2011-11-15 Han Shen shen...@google.com * gcc/Makefile.in: * gcc/configure: * gcc/cppdefault.c: diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ae4f4da..0a05783 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -615,6 +615,7 @@ gcc_tooldir = @gcc_tooldir