Commit: V850: Add support for the E3V5 architecture variant

2013-01-31 Thread Nick Clifton
the other V850 architecture variants, such that the gcc testsuite shows 31 fewer unexpected failures for each multilib. Support for the e3v5 architecture variant is already in the binutils and simulator sources. Tested with no regressions (and several improvements) on a v850e-elf toolchain. Che

Re: closing PR's (was Re: [PATCH ARM iWMMXt 0/5] Improve iWMMXt support)

2013-02-22 Thread nick clifton
you, I did not know that. I have now logged in using that address and closed the requested PR. Cheers Nick

Commit: RL78: Include tree-pass.h

2012-08-08 Thread Nick Clifton
Hi DJ, I am applying the following patch to the gcc mainline as an obvious fix for the following problem building the RL78 backend: gcc/config/rl78/rl78.c:151:3: error: 'PASS_POS_INSERT_BEFORE' undeclared here (not in a function) Cheers Nick gcc/ChangeLog 2012-08-08 Ni

Re: Commit: RL78: Include tree-pass.h

2012-08-08 Thread nick clifton
Hi Richard, Err - you are inside the compiler and should not use plugin stuff to register your machine dependent pass. Umm, OK, what is the correct method for registering target specific passes ? (Ones that need to run at times other than TARGET_MACHINE_DEPENDENT_REORG). Cheers Nick

Commit: Fixes for building avr-elf with g++.

2012-08-16 Thread Nick Clifton
++ style headers (eg vec.h). * avr.c was using integer values in places where a specific enum was required. The patch below fixes these problems and allows avr-elf-gcc to be built. Cheers Nick gcc/ChangeLog 2012-08-16 Nick Clifton * config/avr/t-avr: Replace

Commit: BFIN: Fix use of VEC_last macro in bfin.c

2012-08-16 Thread Nick Clifton
error: request for member 'flags' in 'VEC_last_1(loop->hwloop_info_d::incoming, ((const char*)"/work/sources/gcc/current/gcc/config/bfin/bfin.c"), 3750u, ((const char*)(& __FUNCTION__)))', which is of pointer type 'edge_def*' (maybe you meant to u

Commit: Fix i386 ASM_OUTPUT_ASCII macro for C++ compilation.

2012-08-16 Thread Nick Clifton
r: invalid conversion from 'const unsigned char*' to 'const char*' [-fpermissive] With the patch applied the compiler now builds correctly. Cheers Nick gcc/ChangeLog 2012-08-16 Nick Clifton * config/i386/i386elf.h (ASM_OUTPUT_ASCII): Cast _ascii_byte

Re: Commit: BFIN: Fix use of VEC_last macro in bfin.c

2012-08-17 Thread nick clifton
Hi Diego, Thanks Nick. I made the wrong fix here, sorry about that. I will be making more changes to VEC_ shortly. What's a good way for me to test them? All I was doing was building a variety of targets, just to make sure that a local, generic patch of my own did not break anything

Commit: MEP: Use C++ to compile mep-pragma.

2012-08-17 Thread Nick Clifton
Hi DJ, I am applying the following patch as an obvious patch fix for building the MEP targeted port of gcc. It fixes the build rule for mep-pragma.o so that is uses the C++ compiler instead of the C compiler. Cheers Nick gcc/ChangeLog 2012-08-17 Nick Clifton * config/mep

Commit: IQ2000: Remove modes from

2012-08-17 Thread Nick Clifton
that the two extend-and-compare patterns were running into reload problems when building libstdc++-v3. I have disabled them until I have time to investigate further. Cheers Nick gcc/ChangeLog 2012-08-17 Nick Clifton * config/iq2000/iq2000.md (cbranchsi4): Remove mode from

Commit: MCore: Fix building libgcc

2012-08-17 Thread Nick Clifton
Hi Guys, I am applying the patch below to fix a problem building libgcc for the mcore-elf target. The cbranchsi4 pattern was applying a mode to the comparison operator which was preventing it from matching rtl generated by the middle end. Cheers Nick gcc/ChangeLog 2012-08-17 Nick

Commit: FR30: Fix building libgcc

2012-08-17 Thread Nick Clifton
Hi Guys, I am applying the patch below to fix building libgcc for the fr30-elf target. The problem was that the comparison patterns were applying a mode to the operator which prevents them from matching rtl generated by the middle-end. Cheers Nick gcc/ChangeLog 2012-08-17 Nick

RFA: LM32: Fix building libgcc

2012-08-17 Thread Nick Clifton
built. OK to apply ? Cheers Nick gcc/ChangeLog 2012-08-17 Nick Clifton * config/lm32/lm32.md (return): Rename to simple_return. (epilogue): Rename to return. Index: gcc/config/lm32/lm32.md === --- gcc/config

Re: Commit: BFIN: Fix use of VEC_last macro in bfin.c

2012-08-17 Thread nick clifton
section, or an extra paragraph on the Testing_GCC page ? Cheers Nick

Re: RFA: LM32: Fix building libgcc

2012-08-22 Thread nick clifton
Next there is seg-fault building ffssi2 in newlib. I do not have a fix for this one yet, but at least libgcc builds now. OK to apply ? Cheers Nick gcc/ChangeLog 2012-08-21 Nick Clifton * config/lm32/lm32.md (return_internal): Place the (return) as the first element in th

RFA: libiberty: cope with integer overflow in _objalloc_alloc

2012-08-31 Thread Nick Clifton
n: line 136: ret = (char *) malloc (CHUNK_HEADER_SIZE + len); So now the function returns a pointer to a memory block that is not even big enough to contain the chunk header. The proposed patch should take care of both of these scenarios. OK to apply ? Cheers Nick libiberty/Chan

Re: [wwwdocs] PATCH for Re: Commit: XStormy16: Add support for -fstack-usage

2012-09-03 Thread nick clifton
I think that the fact that the gcc backend sources are in a directory called "stormy16" is just a historical curiosity... Cheers Nick

Re: [middle-end] Add machine_mode to address_cost target hook

2012-09-04 Thread nick clifton
[ ] vax [ ] xtensa Please add ACKs for: iq2000, m32r, mcore, rx, stormy16 and v850. Cheers Nick

Commit: V850 tidy ups

2012-09-07 Thread Nick Clifton
Hi Guys, I am applying the patch below to tidy up the v850 backend a little and fix a few minor bugs. Cheers Nick gcc/ChangeLog 2012-09-07 Nick Clifton * config/v850/v850.h (DBX_DEBUGGING_INFO): Define. (ASM_GENERATE_INTERNAL_LABEL): Define if not already provided

Re: RFC/RFA: Allow targets to override the definition of FLOAT_BIT_ORDER_MISMATCH

2012-06-26 Thread nick clifton
Ping ? http://gcc.gnu.org/ml/gcc-patches/2012-06/msg00806.html libgcc/ChangeLog 2012-06-13 Nick Clifton * fp-bit.h (FLOAT_BIT_ORDER_MISMATCH): If LIBGCC2_FLOAT_BIT_ORDER_MISMATCH is defined then use this to determine if FLOAT_BIT_ORDER_MISMATCH should be defined

Commit: RX: Fix simple_return pattern

2012-06-26 Thread Nick Clifton
I have finished regression testing them. Cheers Nick gcc/ChangeLog 2012-06-26 Nick Clifton * config/rx/rx.md (simple_return): Use the simple_return rtl. Index: gcc/config/rx/rx.md === --- gcc/config/rx/rx.md

Re: [PATCH ARM iWMMXt 0/5] Improve iWMMXt support

2012-06-26 Thread nick clifton
me of the builtins have changed since these patches were written. I have taken care of this however. Cheers Nick

Re: Commit: RX: Fix simple_return pattern

2012-06-27 Thread nick clifton
only 1 day between the two patches going in. In the future I'll be sure to patch the trunk first. Cheers Nick

Commit: RX: Fix comparesi3_extend pattern

2012-06-27 Thread Nick Clifton
the gcc testsuite. Cheers Nick gcc/ChangeLog 2012-06-27 Nick Clifton * config/rx/rx.md (comparesi3_extend): Remove = modifier from input operand. Index: gcc/config/rx/rx.md === --- gcc/config/rx/rx.md (rev

Commit: LM32: Fix typo in

2012-06-29 Thread Nick Clifton
Hi Sebastien, Hi Steven I am applying the patch below as obvious fix for a typo in lm32.c. Cheers Nick gcc/ChangeLog 2012-06-29 Nick Clifton * config/lm32/lm32.c (lm32_compute_frame_size): Fix typo. Index: lm32.c

RFA: MEP: Fix use of delete_insn.

2012-06-29 Thread Nick Clifton
next_nonnote_nondebug_insn() instead. What do you think ? Cheers Nick gcc/ChangeLog 2012-06-29 Nick Clifton * config/mep/mep.c (mep_reorg_regmove): Get next insn before calling delete_insn. Index: gcc/config/mep/mep.c === --- gcc

RFA: MN10300: Replace REG_SAVE_BYTES macro with calls to mn10300_get_live_callee_saved_regs

2012-06-29 Thread Nick Clifton
does this. Tested with no regressions on an mn10300-elf and an am33_2.0-linux-gnu toolchain. OK to apply ? Cheers Nick gcc/ChangeLog 2012-06-29 Nick Clifton * config/mn10300/mn10300.c (REG_SAVE_BYTES): Delete. (mn10300_get_live_callee_saved_regs): If requested return a

Re: RFA: MEP: Fix use of delete_insn.

2012-07-02 Thread nick clifton
so we do not have to worry about side effects. Hence I would suggest the following alternative patch. OK to apply ? Cheers Nick Index: gcc/config/mep/mep.c === --- gcc/config/mep/mep.c(revision 189108) +++ gcc/config/mep/

Re: RFA: MEP: Fix use of delete_insn.

2012-07-03 Thread nick clifton
not any others that follow it. Whilst doing this I noticed that follow might be set incorrectly (to a debug insn), so I fixed that as well. Cheers Nick gcc/ChangeLog 2012-07-03 Nick Clifton * config/mep/mep.c (mep_reorg_regmove): Use next_nonnote_non_debug_insn to advance t

RFA: MN10300: Call default_encode_section_info

2012-07-05 Thread Nick Clifton
SYMBOL_FLAG_FUNCTION, SYMBOL_FLAG_LOCAL or the TLS encoding. Fixed by the following patch, and tested on an mn10300-elf toolchain. OK for mainline and 4.7/4.6 branches ? Cheers Nick gcc/ChangeLog 2012-07-05 Nick Clifton * config/mn10300/mn10300.c (mn10300_encode_section_info): Call

Re: RFA: MN10300: Call default_encode_section_info

2012-07-06 Thread nick clifton
Hi Jeff, Thanks - patch committed. I decided that it would be best to call default_encode_section_info first, just in case it turns out to be important one day. Cheers Nick

Commit: ARM: Document -munaligned-access

2012-07-18 Thread Nick Clifton
Hi Guys, I am checking in this patch to the mainline to document the ARM port's -munaligned-access command line option. Cheers Nick gcc/ChangeLog 2012-07-18 Nick Clifton * doc/invoke.texi (ARM Options): Document -munaligned-access. Index: gcc/doc/invoke

Fwd: Re: Commit: ARM: Document -munaligned-access

2012-07-18 Thread nick clifton
Hi Richard, I have a documentation update for the 4.7 branch. Is it OK to apply this ? Cheers Nick gcc/ChangeLog 2012-07-18 Nick Clifton * doc/invoke.texi (ARM Options): Document -munaligned-access. Index: gcc/doc/invoke.texi

Re: Commit: ARM: Document -munaligned-access

2012-07-20 Thread nick clifton
simple yes or no would do; I don't see what could possibly need any contemplation regarding this note. Agreed - in fact agreed so much that as an ARM maintainer I say "approved - please apply". Cheers Nick

Re: [PATCH, frv-linux] Silence warning

2012-07-23 Thread nick clifton
ce_if_block_t). (frv_ifcvt_machdep_init): Declare. Approved - please apply. Cheers Nick

Re: [PATCH, frv-linux] Silence warning

2012-07-23 Thread nick clifton
rameter to frv_ifcvt_machdep_init is not used. So I just made it a void * and updated frv.c. Cheers Nick gcc/ChangeLog 2012-07-23 Jan-Benedict Glaw Nick Clifton * config/frv/frv-protos.h (frv_ifcvt_machdep_init): Prototype. * config/frv/frv.c (frv_ifcvt_machdep_init): Chan

Re: [PATCH] PR target/53633; disable return value warnings for naked functions

2012-07-24 Thread nick clifton
rt of the patch works. (The mcore port itself does not build libgcc, but this is a separate, known problem that I am working on in my spare time). Cheers Nick

Re: [PATCH] PR target/53633; disable return value warnings for naked functions

2012-07-25 Thread nick clifton
assembled anyway. OK to check in? For the parts that I can approve: yes. :-) Cheers Nick

Commit: XStormy16: Add __clrsbhi2() to libgcc

2012-07-31 Thread Nick Clifton
Hi Guys, I am checking in the patch below to add a __clrsbhi2 function to libgcc for the XStormy16 port. This fixes several gcc testsuite failures that need this particular function. Cheers Nick libgcc/ChangeLog 2012-07-31 Nick Clifton * config/stormy16/lib2funcs.c

Commit: FRV: Fix typo in definition of QUAD macro

2012-07-31 Thread Nick Clifton
Hi Guys, I am checking in the patch below as an obvious fix for the definition of the QUAD macro in the FRV backend. Cheers Nick gcc/ChangeLog 2012-07-31 Nick Clifton * config/frv/frv.c (QUAD): Fix typo. Index: gcc/config/frv/frv.c

Commit: FRV: Add support for -fstack-usage

2012-07-31 Thread Nick Clifton
Hi Guys, I am applying the patch below to add support for the -fstack-usage option to the FRV backend. Cheers Nick gcc/ChangeLog 2012-07-31 Nick Clifton * config/frv/frv.c (frv_expand_prologue): Report stack usage. gcc/testsuite/ChangeLog 2012-07-31 Nick Clifton

RFA: M32C: Add __clrsbhi2 to libgcc

2012-07-31 Thread Nick Clifton
Hi DJ, The patch below adds an implementation of the __clrsbhi2 function to libgcc for the M32C port. Implementing this function resolves several gcc testsuite failures that rely upon the function being present. Ok to apply ? Cheers Nick libgcc/ChangeLog 2012-07-31 Nick Clifton

Commit: XStormy16: Add support for -fstack-usage

2012-07-31 Thread Nick Clifton
Hi Guys, I am checking in the patch below to add support for reporting stack usage by the XStormy16 backend. Cheers Nick gcc/ChangeLog Index: gcc/ChangeLog 2012-07-31 Nick Clifton * config/stormy16/stormy16.c (xstormy16_expand_prologue): Add support for reporting

Re: Commit: XStormy16: Add __clrsbhi2() to libgcc

2012-08-01 Thread nick clifton
. But if there was a way to automate the detection of bit counting functions in libgcc2.c, so that when a new one is added we would not have to update t-avr or t-stormy16, then I would go with your approach. Cheers Nick

RFA: MN10300: Add support for -fstack-usage

2012-08-06 Thread Nick Clifton
Hi Jeff, Hi Alex, Please may I apply the small patch below to add support for reporting stack usage to the MN10300 port ? Cheers Nick gcc/ChangeLog 2012-08-06 Nick Clifton * config/mn10300/mn10300.c (mn10300_expand_prologue): Report stack usage if requested. Index

Re: Huge change on 4.7 branch

2012-08-06 Thread nick clifton
Hi H.J.., Hi Richard, Change reverted. Sorry about the mess-up. I was trying to perform a local merge but I had my cached svn control directories the wrong way around. Doh. Cheers Nick

Re: [rx] add initial rtx_costs() function

2012-05-01 Thread nick clifton
): New. OK for both. Cheers Nick

RFA: PR target/53120, constraint modifier "+" on operand tied by matching-constraint, "0".

2012-05-02 Thread nick clifton
int with a match_dup. Tested with no regressions on an m32c-elf toolchain. OK to apply ? Cheers Nick gcc/ChangeLog 2012-05-02 Nick Clifton PR target/53120 * config/m32c/bitops.md (bset_qi): Change operand 2 from having a "0" constraint to being a (match_d

Re: RFA: PR target/53120, constraint modifier "+" on operand tied by matching-constraint, "0".

2012-05-08 Thread nick clifton
n. :-( I tried rebuilding the toolchain and running the GCC testsuite, but neither of these worked. Do you have a test case that triggers it ? Cheers Nick

Re: RFA: PR target/53120, constraint modifier "+" on operand tied by matching-constraint, "0".

2012-05-09 Thread nick clifton
Hi DJ, Thanks for the test program. With that I can confirm that the match_dup does work and that the bset instruction is still generated even with my patch applied. OK to apply ? Cheers Nick

RFA: Fix detecting of in-tree MPFR 3.1.0 sources

2012-05-09 Thread Nick Clifton
th an in-tree copy of the mpfr 2.4.2 sources, just to make sure that the old paths still worked. Both builds worked. OK to apply ? Cheers Nick gcc/ChangeLog 2012-05-09 Nick Clifton * configure.ac (mpfr-dir): When using in-tree MPFR sources allow for the fact that from re

Re: RFA: Fix detecting of in-tree MPFR 3.1.0 sources

2012-05-09 Thread nick clifton
Hi Guys, Ok. I think it's nicer for the users if we enable both builds to work. Thanks. I have applied the patch, along with a reference to PR 50461 and a credit to Paul Smith in the ChangeLog entry since he came up with basically the same patch as mine. Cheers Nick

Re: [patch] Deal with #ident without

2012-06-07 Thread nick clifton
Hi Steven, This is the patch to deal with #ident. It removes the ASM_OUTPUT_IDENT and IDENT_ASM_OP target macros, and replaces them with a single target hook. The RX parts of this patch are approved. Cheers Nick

Re: [PATCH ARM iWMMXt 0/5] Improve iWMMXt support

2012-06-11 Thread nick clifton
currently looking into this, but it may take me some time to track the problem down. Cheers Nick

Re: [PATCH ARM iWMMXt 0/5] Improve iWMMXt support

2012-06-13 Thread nick clifton
mainline. For 4.7 and 4.6 please consider committing my patch "[PATCH] arm: Fix iwmmxt shift and logical intrinsics (PR 35294)." which only fixes the logical and shift intrinsics. I will look at this and post separately about it. Cheers Nick

RFC/RFA: Allow targets to override the definition of FLOAT_BIT_ORDER_MISMATCH

2012-06-13 Thread Nick Clifton
is correct however, then please may I apply the patch ? Cheers Nick libgcc/ChangeLog 2012-06-13 Nick Clifton * fp-bit.h (FLOAT_BIT_ORDER_MISMATCH): If LIBGCC2_FLOAT_BIT_ORDER_MISMATCH is defined then use this to determine if FLOAT_BIT_ORDER_MISMATCH should be defined

Re: [build] Move unwinder to toplevel libgcc (v2)

2011-08-03 Thread Nick Clifton
Hi Rainer, How should we proceed with this patch, especially given the quite moderate comments from most affected target maintainers? I have no objections to the patch from an ARM or FRV point of view. Cheers Nick

Ping: Re: [backport] arm,rx: don't ICE on naked functions with local vars

2011-08-09 Thread Nick Clifton
? Cheers Nick

Commit: RX: Disable extender peepholes at -O3

2011-08-09 Thread Nick Clifton
number of instructions they can introduce pipeline stalls that actually make the program slower. (This is certainly true for the coremark test). Cheers Nick gcc/ChangeLog 2011-08-09 Nick Clifton * config/rx/rx.md: Disable extender peepholes at -O3. Index: gcc/config/rx/rx.md

Re: Commit: RX: Disable extender peepholes at -O3

2011-08-09 Thread Nick Clifton
actually make the program slower. Doesn't that mean it should be disabled for any optimization other than optimize_size? That is what I thought as well. But Renesas have specifically asked for this arrangement, so that is what I have done. Cheers Nick

RFA: Do not use cmpstrnsi to implement builtin memcmp

2011-08-10 Thread Nick Clifton
hould not be used to implement the memcmp builtin function. This is because a string comparison will terminate if two zero bytes are read whereas a memory comparison should continue. Tested without regressions on i686-pc-linux-gnu and rx-elf toolchains. OK to apply ? Cheers Nick gcc/ChangeLog

Commit: RX: Add support for conditional register moves

2011-08-11 Thread Nick Clifton
Hi Guys, I am applying the patch below on behalf of Renesas. It adds support to the RX backend for conditional register moves. Tested without any regressions on an rx-elf toolchain. Cheers Nick gcc/ChangeLog 2011-08-11 Kazuhiro Inaoka * config/rx/rx.md (movsicc): Allow

Re: RFA: Do not use cmpstrnsi to implement builtin memcmp

2011-08-12 Thread Nick Clifton
x27;t dealt with before. Me too. Especially since the x86 port has a cmpstrnsi pattern and no cmpmemsi pattern... I have applied the patch to the mainline and 4.6 and 4.5 branches. Cheers Nick

RFA: MN10300: Add jump label to Lcc insn

2011-09-06 Thread Nick Clifton
was to fix the MN10300 backend so that when it was creating this insn, it would also set the label on the parallel container. That is what the patch below does and with this applied I can build the toolchain again. OK to apply, or is there a better way to fix the problem ? Cheers

RFA: MN10300: Fix splitting AND insns

2011-09-07 Thread Nick Clifton
28 fewer GCC testsuite failures, 7 fewer G++ testsuite failures and no regressions. OK to apply ? Cheers Nick gcc/ChangeLog 2011-09-07 Nick Clifton * config/mn10300/mn10300.c (mn10300_split_and_operand_count): Return a positive value to indicate that the bits at the

Re: RFA: MN10300: Fix splitting AND insns

2011-09-09 Thread Nick Clifton
h bits are to be cleared (left followed by right). Zero is returned when it would not be economical to split the AND. */ Cheers Nick

Re: [IQ2000] Use match_test rather than eq/ne symbol_ref

2011-09-26 Thread Nick Clifton
Hi Richard, gcc/ * config/iq2000/iq2000.md: Use match_test rather than eq/ne symbol_ref throughout file. Approved - please apply. Cheers Nick

Re: [M32R] Use match_test rather than eq/ne symbol_ref

2011-09-26 Thread Nick Clifton
Hi Richard, gcc/ * config/m32r/m32r.md: Use match_test rather than eq/ne symbol_ref throughout file. Approved - please apply. Cheers Nick

RFC: ARM: Add comment enumerating emitted .eabi_attribute tags

2011-09-27 Thread Nick Clifton
week. Cheers Nick gcc/ChangeLog 2011-09-27 Nick Clifton * config/arm/arm.c (EMIT_EABI_ATTRIBUTE): New macro. (arm_file_start): Use it to generate .eabi_attribute assembler pseudo-ops. Index: gcc/config/arm/arm.c

Re: RFC: ARM: Add comment enumerating emitted .eabi_attribute tags

2011-09-27 Thread Nick Clifton
e using an assembler that supports textual names in a .eabi_attribute directive and if so use the names rather than the numbers. Any preference ? Cheers Nick

Re: RFC: ARM: Add comment enumerating emitted .eabi_attribute tags

2011-09-27 Thread Nick Clifton
Hi Richard, You should only emit the comment for -dA, I think. Really ? I thought that it was kind of nice to have the comments in the default output. If I go with -dA as the trigger then I assume that it is also OK to add the comments if --verbose-asm is enabled, yes ? Cheers Nick

Commit: RX: Fix problems building libgcc

2011-09-28 Thread Nick Clifton
when constructing the float-type functions. The patch enables the fix for when double-type functions are being constructed as well. The second fix is to prevent a extraneous renaming of the floatsisf and floatunsisf functions when building libgcc width 32-bit doubles enabled. Cheers Nick

Commit: RX: Add support for MIN and MAX instructions in QI and HI modes

2011-09-28 Thread Nick Clifton
Hi Guys, I am going to apply the patch below to the RX backend to add support for generating MIN and MAX instructions for HI and QI modes. Cheers Nick gcc/ChangeLog 2011-09-28 Nick Clifton * config/rx/predicates.md (rx_minmax_operand): New predicate. Accepts immediates

Commit: FRV: Fix problems building toolchain.

2011-09-29 Thread Nick Clifton
information for function prologues when sometimes CALL_ARG_LOCATION notes can be separated from their CALL insns. Cheers Nick gcc/ChangeLog 2011-09-29 Nick Clifton Bernd Schmidt * config/frv/frvbegin.c: Fix location of unwind-dw2-fde.h header file

Re: ifcvt cond_exec support rewrite

2011-09-30 Thread Nick Clifton
lthough now that the FRV port does build it would be very much appreciated if you could provide a patch for this backend as well. Cheers Nick

Commit: RX: Codegen bug fixes

2011-10-05 Thread Nick Clifton
e min and max instructions did not work for the SMAX insn, as the RX does not have narrow mode versions of this insn. Cheers Nick gcc/ChangeLog 2011-10-05 Nick Clifton * config/rx/rx.md (tablejump): Add missing label. (adddi3_internal): Mark operand 0 as early-clob

Commit: RX: Add PID support

2011-10-05 Thread Nick Clifton
-time, rather than link-time, and without the overhead of storing relocations in the executable image. The code was written by DJ Delorie for Renesas and it is now being contributed back to the FSF. Cheers Nick gcc/ChangeLog 2011-10-05 DJ Delorie Nick Clifton

RFC: ARM: Add comments to emitted .eabi_attribute directives

2011-10-05 Thread Nick Clifton
in effect) emitted by GCC. It does not have any dependencies upon header files, nor does it attempt to make use of the symbolic names in the actual .eabi_directives. Any objections to this version of the patch ? Cheers Nick gcc/ChangeLog 2011-10-05 Nick Clifton * config/arm

Re: Commit: RX: Codegen bug fixes

2011-10-06 Thread Nick Clifton
Hi Richard, The SMIN pattern has the same problem. *sigh* Fixed. Cheers Nick

RFA: Compare Elimination Pass: Fix use of dataflow info

2011-10-07 Thread Nick Clifton
ranch ? Cheers Nick gcc/ChangeLog 2011-10-07 Nick Clifton PR middle-end/49801 * compare-elim.c (find_comparisons_in_bb): Use df_get_live_in and df_get_live_out instead of accessing the bitmaps directly. (execute_compare_elim_after_reload): Remove calls to df_set_

Commit: ARM: Add comments to emitted .eabi_attribute directives

2011-10-12 Thread Nick Clifton
Hi Guys, I am checking in the patch below to add comments to the .eabi_attribute assembler directives emitted by the ARM backend, when commented assembler output is enabled. Cheers Nick gcc/ChangeLog 2011-10-12 Nick Clifton * config/arm/arm.h (EMIT_EABI_ATTRIBUTE): New macro

RFA: RL78: Add -fstack-usage support

2012-04-04 Thread Nick Clifton
Hi DJ, Please could I apply the patch below to the RL78 port ? It adds support for generating stack use info with the -fstack-usage option. Also - may I apply this patch to the 4.7 branch as well please ? Cheers Nick gcc/ChangeLog 2012-04-04 Nick Clifton * config/rl78/rl78

Re: RFA: RL78: Add -fstack-usage support

2012-04-04 Thread nick clifton
Hi Eric, > On 04/04/12 12:24, Eric Botcazou wrote: You probably need to adjust gcc.dg/stack-usage-1.c too. s/flag_stack_usage/flag_stack_usage_info/ Thanks for the corrections. Revised patch attached. OK for mainline/4.7 branch ? Cheers Nick gcc/ChangeLog 2012-04-04 Nick Clif

Re: RFA: consolidate DWARF strings into libiberty

2012-04-07 Thread nick clifton
* dwarfnames.c: New file. * Makefile.in (CFILES): Add dwarfnames. (REQUIRED_OFILES): Add dwarfnames. (./dwarfnames.$(objext)): New target. This is OK from a binutils point of view. Cheers Nick

Commit: RL78: Remove use of TODO_dump_func

2012-04-13 Thread Nick Clifton
Hi DJ, The optimization pass flag "TODO_dump_flag" has been removed (see patch committed 2012-04-11) which was causing the RL78 backend to fail to build. I am applying the following patch as an obvious fix. Cheers Nick gcc/ChangeLog 2012-04-13 Nick Clifton * c

Re: [RFA] dwarf2.h (dwarf_location_atom): Add DW_OP_GNU_addr_index.

2012-04-19 Thread nick clifton
Hi Doug, 2012-04-18 Doug Evans * dwarf2.h (dwarf_location_atom): Add DW_OP_GNU_addr_index. Approved - please apply. Cheers Nick

RFA: AVR: Provide local version of c_addr_space_name

2011-11-30 Thread Nick Clifton
? Cheers Nick gcc/ChangeLog 2011-11-30 Nick Clifton * config/avr/avr.c (avr_c_addr_space_name): New function. (avr_out_lpm): Use it. (avr_pgm_check_var_decl): Use it. (avr_insert_attributes): Use it. Index: gcc/config/avr/avr.c

Commit: RX: Add return pattern

2012-01-11 Thread Nick Clifton
Hi Guys, I am checking in the patch below to fix a problem building the RX port. Targets that define the "simple_return" pattern must also define a "return" pattern. Otherwise gcc/function.c will fail to build. Cheers Nick gcc/ChangeLog 2012-01-11 Nick Clifton

Re: Commit: RX: Add return pattern

2012-01-12 Thread nick clifton
is needed. Something like the attached ? I am running some local checks now and if there are no regressions then I will check the patch in tomorrow. Cheers Nick Index: gcc/config/rx/rx-protos.h === --- gcc/config/rx/rx-protos.h

Commit: RX: Predicate return pattern

2012-01-17 Thread Nick Clifton
Hi Guys, As pointed out by Richard Henderson the new return pattern in the RX backend should only be used when it is possible to return with just a simple RTS instruction, so I am checking in the patch below to implement this. Cheers Nick gcc/ChangeLog 2012-01-17 Nick Clifton

Re: PR middle-end/24306 revisited: va_arg and zero-sized objects

2012-02-01 Thread nick clifton
Hi Richard, [ Nick, you might remember mentioning this bug a few months back. I think I've finally got a proper fix, rather than the failed attempt I originally sent. ] Thanks for fixing this. I am going to copy your patch into our internal sources and mark it as a local fix o

Re: [patch] Poison SMALL_REGISTER_CLASSES

2012-02-16 Thread nick clifton
Hi Mike, Hi Steve, * config/rx/rx.h: Remove SMALL_REGISTER_CLASSES. I wasn't sure if these are obvious, because I already removed the definition from rx.h before, see ChangeLog-2010. Maybe someone put it back intentionally. Nick did it (intentionally) with: Sorry about that -

Commit: XStormy16: Fix xstormy16_init_builtins()

2011-05-22 Thread Nick Clifton
but the build_function_type_list was being past bogus values from the "arg" array. Cheers Nick gcc/ChangeLog 2011-05-22 Nick Clifton * config/stormy16/stormy16.c (xstormy16_init_builtins): prevent initialisation of non-existent args[2] element. Use args[] array

RFC/RFA: MN10300: Fix handling of protected functions in shared libraries.

2011-05-23 Thread Nick Clifton
nyway any advice or comments on the situation would be appreciated. Cheers Nick Index: gcc/config/mn10300/mn10300.c === --- gcc/config/mn10300/mn10300.c(revision 174069) +++ gcc/config/mn10300/mn10300.c(working copy) @@

Re: Skip building target libiberty for arm*-*-linux-androideabi

2011-06-06 Thread Nick Clifton
Hi Jing Yu, > 2011-05-08 Jing Yu > > * configure.ac: Skip target-libiberty for arm*-*-linux-androideabi. > * configure: Regenerated. Approved - please apply. Cheers Nick

Re: [PATCH: ARM] PR 45335 Use ldrd and strd to access two consecutive words

2011-06-07 Thread Nick Clifton
y. Cheers Nick

Re: [PATCH, ARM] PR47855 Compute attr length for thumb2 insns, 3/3 (issue4475042)

2011-06-07 Thread Nick Clifton
%1"; + +case 6: + if (GET_CODE (XEXP (operands[0], 0)) == POST_INC) + { + operands[0] = XEXP (XEXP (operands[0], 0), 0); + return "stm%(ia%)\t%0!, {%1}"; + } + /* Fall through. */ +case 7: + return "str%?\t%1, %0"; + +default: + gcc_unreachable (); +} + } Cheers Nick

Re: [PATCH: PR target/46975] Replace 32 bit instructions with 16 bit instructions in thumb2

2011-06-07 Thread Nick Clifton
/pr46975.c: New testcase. Approved - please apply. Cheers Nick

Commit: Add support for configuring for other V850 architectures

2011-06-07 Thread Nick Clifton
Hi Guys, I am applying the patch below to tidy up the V850 architecture selection in config.gcc and to add support for newer V850 architectures (eg V850e2v3). Cheers Nick gcc/ChangeLog 2011-06-07 Nick Clifton * config.gcc: Unify V850 architecture options and add support for

Commit: Add support for Tile architecutres to configure.ac

2011-06-13 Thread Nick Clifton
Hi Guys, I am checking in the patch below to add recognition of the Tilera TILE architectures to the top level configure script. A patch to support these architectures has just been committed to the binutils sources. Cheers Nick ./ChangeLog 2011-06-10 Walter Lee * configure.ac

<    1   2   3   4   5   6   >