Re: [PATCH, ARM] Implement __builtin_trap

2013-12-05 Thread rearnsha
On 4 Dec 2013, at 16:08, "Ian Bolton" wrote: > Hi, > > Currently, on ARM, you have to either call abort() or raise(SIGTRAP) > to achieve a handy crash. > > This patch allows you to instead call __builtin_trap() which is much > more efficient at falling over because it becomes just a single > in

Re: [Patch, testsuite] add effective target pthread to test gcc.dg/pr54782.c

2012-10-10 Thread rearnsha
On 10 Oct 2012, at 13:17, "Greta Yorsh" wrote: > The test gcc.dg/pr54782.c uses command line option > -ftree-parallelize-loops=2 which implies -pthread and thus the test fails on > targets that do not support pthread, such as arm-none-eabi. > > This patch adds effective target check. > > Ok for

Re: [PATCH] Fix PR C++/50970 -- Function pointer dereferenced twice in if statement on Arm cpu

2012-09-21 Thread rearnsha
On 20 Sep 2012, at 08:51, "Zhenqiang Chen" wrote: > Hi, > > PR 50970 is a general c++ front-end issue for targets which define > TARGET_PTRMEMFUNC_VBIT_LOCATION ptrmemfunc_vbit_in_delta, although the > reporter had issues only on ARM. > > Root cause: It misses a check for side effects when gene

Re: [PATCH] Docs: lto.texi: Fix typo

2012-09-20 Thread rearnsha
On 20 Sep 2012, at 09:27, "陳韋任 (Wei-Ren Chen)" wrote: > Fix typo. The first "are" in the statement should be "and". > Ok. R. > Signed-off-by: Chen Wei-Ren > --- > gcc/doc/lto.texi |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/gcc/doc/lto.texi b/gcc/doc/lto.