[committed] TILE-Gx/TILEPro: use pc relative/indirect encoding in eh data

2013-03-26 Thread Walter Lee
This patch switches eh data to always use pc relative/indirect encoding, to avoid relocations of unaligned words. Backported to 4.7 and 4.8. * config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format): Use indirect/pcrel encoding. * config/tilepro/tilepro.c

[committed] TILE-Gx: speed up code to synthesize a constant

2013-03-26 Thread Walter Lee
This patch inlines some tests while searching for the best way to synthesize a constant, to avoid the need to generate an rtx. This became expensive for code that generates a lot of constants. Backported to 4.7 and 4.8. * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline

[committed] TILE-Gx: add float conversion patterns.

2013-03-26 Thread Walter Lee
This patch adds patterns for floatsisf2, floatunssisf2, floatsidf2, and floatunssidf2. * config/tilegx/tilegx.md (floatsisf2): New pattern. (floatunssisf2): New pattern. (floatsidf2): New pattern. (floatunssidf2): New pattern. Index: gcc/config/tilegx/tilegx.md

[committed] TILE-Gx: add __insn_shufflebytes1 intrinsic

2013-03-26 Thread Walter Lee
This patch adds the __insn_shufflebytes1, which takes only one argument. result = __insn_shufflebytes1(input, select); is equivalent to: result = __insn_shufflebytes(result, input, select); It has the advantage that the compiler will not waste a cycle initializing result unnecessarily.

[committed] TILE-Gx: add flags to CRTSTUFF_T_CFLAGS_S variable.

2013-03-26 Thread Walter Lee
This patch adds -fno-asynchronous-unwind-tables -mcmodel=large to CRTSTUFF_T_CFLAGS_S. Backported to 4.8. * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable. Index: libgcc/config/tilegx/t-crtstuff

[committed] TILE-Gx/TILEPro: define PROFILE_BEFORE_PROLOGUE

2013-03-26 Thread Walter Lee
This patch puts profiling code before the prologue, to avoid clobbering used registers. Backported to 4.7 and 4.8. * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define. * config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define. Index: gcc/config/tilegx/tilegx.h

RE: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size

2013-03-26 Thread Bin Cheng
-Original Message- From: Joern Rennecke [mailto:joern.renne...@embecosm.com] Sent: Monday, March 25, 2013 8:53 PM To: Bin Cheng Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size Quoting Bin Cheng

[PATCH GCC/ARM]Fix rtx cost for Thumb1

2013-03-26 Thread Bin Cheng
Hi, As reported in PR56102, arm back end returns wrong rtx cost for pattern SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT with multi-word mode. This causes GCC skipping the split process in lower-subreg.c, and generating bigger constant pool. This patch fixes the issue. Tested on

[PATCH] Cleanup set_mem_attributes_minus_bitpos align handling

2013-03-26 Thread Richard Biener
This is the cleanup piece that I pushed back for 4.9 when fixing bitpos handling due to a bug for 4.8. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. Richard. 2013-03-26 Richard Biener rguent...@suse.de * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove

Re: extend fwprop optimization

2013-03-26 Thread Richard Biener
On Mon, Mar 25, 2013 at 6:33 PM, Wei Mi w...@google.com wrote: I am trying to figure out a way not to lose the opportunity when shift truncation is not combined in a bit test pattern. Can we keep the explicit truncation in RTL, but generate truncation code in assembly? Then only shift

Re: [patch] Unified debug dump function names.

2013-03-26 Thread Richard Biener
On Mon, Mar 25, 2013 at 6:19 PM, Lawrence Crowl cr...@googlers.com wrote: On 3/25/13, Richard Biener richard.guent...@gmail.com wrote: You add a not used new interface. What for? So that people can use it. For use from gdb only? No, for use from both gdb and internally. It is often that

RE: [PING^1] [AArch64] Implement Bitwise AND and Set Flags

2013-03-26 Thread Hurugalawadi, Naveen
Hi, Thanks for reviewing the patch and testcase. There were some doubts regarding the addressing modes supported by these instructions. The only source that could be referred was the AARCH64 assembler. Hence, these modifications are implemented as per the assembler. Please let me know if there

Re: [PING^1] [AArch64] Implement Bitwise AND and Set Flags

2013-03-26 Thread Marcus Shawcroft
On 26/03/13 10:06, Hurugalawadi, Naveen wrote: the second set in each pattern should have the =r,rk constraint rather than just =r,r. If the destination operand is stack register, assembler generates error as follows:- Error: operand 1 should be an integer register -- `ands sp,x0,x1' The ands

[AArch64] Peepholes to generate ldp and stp instructions

2013-03-26 Thread Hurugalawadi, Naveen
Hi, Please find attached the patch that implements load pair(ldp) and store pair(stp) peephole for aarch64 target. Please review the same and let me know if its okay. Build and tested on aarch64-thunder-elf (using Cavium's internal simulator). No new regressions. Thanks, Naveen gcc/

Re: [PATCH] Add -pthread option for RTEMS

2013-03-26 Thread Sebastian Huber
Ping. On 01/29/2013 02:43 PM, Sebastian Huber wrote: A lot of things use the -pthread GCC option if they want to use the Pthreads. Examples are various configure scripts and some GCC test cases. RTEMS supports Pthreads. It is convenient to simply add a -pthread option and ignore it for

Re: [PATCH GCC/ARM]Fix rtx cost for Thumb1

2013-03-26 Thread Richard Earnshaw
On 26/03/13 08:34, Bin Cheng wrote: Hi, As reported in PR56102, arm back end returns wrong rtx cost for pattern SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT with multi-word mode. This causes GCC skipping the split process in lower-subreg.c, and generating bigger constant pool. This patch fixes the

Re: [PING^1] [AArch64] Implement Bitwise AND and Set Flags

2013-03-26 Thread Marcus Shawcroft
On 26/03/13 10:17, Marcus Shawcroft wrote: On 26/03/13 10:06, Hurugalawadi, Naveen wrote: the second set in each pattern should have the =r,rk constraint rather than just =r,r. If the destination operand is stack register, assembler generates error as follows:- Error: operand 1 should be an

Re: [PATCH, generic] Support printing of escaped curly braces and vertical bar in assembler output

2013-03-26 Thread Maksim Kuznetsov
Thanks for the explanation, now I understand it. I fixed the patch according to your remarks. I removed %| support since we don't actually need it in i386 right now, it was added for the purpose of possible generalization. Updated patch is attached. Ping -- Maxim Kuznetsov

Re: [PATCH] Vtable pointer verification (corruption/attach detection -- new feature

2013-03-26 Thread Florian Weimer
On 02/01/2013 12:42 AM, Caroline Tice wrote: If this data could be emitted in a declarative fashion, it might be possible to emit it by default, in a separate ELF section. This way, it is always there when needed, and it wouldn't have any performance impact if not used. That might be

[Patch, Fortran] PR56649 - do more simplification of MERGE

2013-03-26 Thread Tobias Burnus
First, I am woefully aware that there are 7 patches which still have to be reviewed, three by Thomas, two by Janne, one by Mikael and one by me (value+optional). I try to find time for reviewing one or two - but wouldn't mind if others contributed to the deed. The attached patch fixes one of

RFA: RL78: Improve prologues for interrupt handlers

2013-03-26 Thread Nick Clifton
Hi DJ, I am submitting a patch on behalf of Renesas and KPIT. They found a way to improve the prologues for interrupt handlers so that only the registers that actually need to be saved are pushed onto the stack. The patch has been tested with no regressions in the gcc testsuite for an

RE: [PING^1] [AArch64] Implement Bitwise AND and Set Flags

2013-03-26 Thread Hurugalawadi, Naveen
Hi, Can we split them into two different patches. Just and in one Thanks for reviewing the patch. I have split the patches for and separately as per your suggestion. There were some doubts regarding the addressing modes supported by these instructions. The only source that could be referred

[AArch64] Bitwise adds and subs instructions with shift

2013-03-26 Thread Hurugalawadi, Naveen
Hi, Please find attached the patch that implements adds and subs instructions with shift for aarch64 target. Testcase have been added for adds and subs instructions similar to the and testcase provided by Ian. Please review the same and let me know if there should be any modifications in the

Re: [testsuite] Disabling gcc.dg/cpp/trad/include.c for Android

2013-03-26 Thread Alexander Ivchenko
Hi, Could you please take a look at the attached fixinclude patch that addresses the problem: We have test fail for gcc.dg/cpp/trad/include.c on Android. The reason for that is that -ftraditional-cpp is not expected to work on Android due to variadic macro (like #define __builtin_warning(x,

[C++ Patch/RFC] PR 55951

2013-03-26 Thread Paolo Carlini
Hi, in mainline and 4.8, at variance with 4.7, for: enum { A }; static const char *a[] = { [A] = a }; check_array_designated_initializer is called by reshape_init* with ce-index a CONST_DECL, not an INTEGER_CST. Thus I wondered if in such cases it's just matter of using

Re: [C++ Patch/RFC] PR 55951

2013-03-26 Thread Jason Merrill
On 03/26/2013 08:09 AM, Paolo Carlini wrote: check_array_designated_initializer is called by reshape_init* with ce-index a CONST_DECL, not an INTEGER_CST. Thus I wondered if in such cases it's just matter of using integral_constant_value on it, thus something like the below (which passes testing

[PATCH] Avoid a few find_base_term calls in alias.c

2013-03-26 Thread Richard Biener
We have already computed the base term for some of the arguments of some calls to base_alias_check. PR39326 shows that find_base_term is very costly called from RTL PRE at -O2 (it mostly recurses through the PLUS/MINUS_EXPR case). The following patch avoids computing find_base_term when not

[PATCH 7/n, i386]: Merge *movdfcc_1_rex64 with base pattern using x64 and nox64 isa attribute

2013-03-26 Thread Uros Bizjak
Hello! 2013-03-26 Uros Bizjak ubiz...@gmail.com * config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64. Use x64 and nox64 isa attributes. Tested on x86_64-pc-linux-gnu {,-m32} and committed to mainline SVN. Uros. Index: i386.md

Re: [C++ Patch/RFC] PR 55951

2013-03-26 Thread Paolo Carlini
Hi, On 03/26/2013 01:32 PM, Jason Merrill wrote: On 03/26/2013 08:09 AM, Paolo Carlini wrote: check_array_designated_initializer is called by reshape_init* with ce-index a CONST_DECL, not an INTEGER_CST. Thus I wondered if in such cases it's just matter of using integral_constant_value on it,

Re: [PATCH][ARM] GCC command line support for Cortex-R7

2013-03-26 Thread Ramana Radhakrishnan
On Mon, Feb 25, 2013 at 2:23 AM, Terry Guo terry@arm.com wrote: Hi, This patch is to enable GCC to accept new command line option -mcpu=cortex-r7. Is it OK to trunk? BR, Terry 2013-02-25 Terry Guo terry@arm.com * config/arm/arm-cores.def: Added core cortex-r7.

Re: [PATCH,ARM] Peephole individual LDR/STD into LDRD/STRD

2013-03-26 Thread Ramana Radhakrishnan
On Wed, Feb 13, 2013 at 1:35 PM, Greta Yorsh greta.yo...@arm.com wrote: This patch defines peephole2 patterns that merge two individual LDR instructions into LDRD instruction (resp. STR into STRD) whenever possible using the following transformations: * reorder two memory accesses, * rename

Re: [PATCH,ARM][3/n] Split various patterns

2013-03-26 Thread Ramana Radhakrishnan
On Mon, Feb 18, 2013 at 6:38 PM, Greta Yorsh greta.yo...@arm.com wrote: Convert define_insn into define_insn_and_split for various patterns that output multiple assembly instructions. It appears that preparation statements in define_insn_and_split sometimes are called with which_alternative

Re: [PATCH,ARM][4/n] Add negdi_extend patterns

2013-03-26 Thread Ramana Radhakrishnan
On Mon, Feb 18, 2013 at 6:40 PM, Greta Yorsh greta.yo...@arm.com wrote: This patch adds patterns to handle negation of an extended 32-bit value more efficiently. For example, (set (reg:DI r0) (neg:DI (sign_extend:DI (reg:SI r0))) The compiler currently generates mov r1, r0,

Re: [PATCH,ARM][5/n] Split shift di patterns

2013-03-26 Thread Ramana Radhakrishnan
On Mon, Feb 18, 2013 at 6:42 PM, Greta Yorsh greta.yo...@arm.com wrote: Convert define_insn into define_insn_and_split for various DImode shift operations that output multiple assembly instructions. This patch also adds a new pattern for RRX using a new UNSPEC. This pattern matches RTL insns

Re: [PATCH, ARM, iWMMXT] Fix define_constants for WCGR

2013-03-26 Thread Ramana Radhakrishnan
On Wed, Mar 20, 2013 at 2:43 AM, Xinyu Qi x...@marvell.com wrote: At 2013-01-22 19:58:43,Ramana Radhakrishnan ramra...@arm.com wrote: On 01/22/13 09:21, Xinyu Qi wrote: Ping, Fix ChangeLog The ChangeLog format includes . date Author's name a...@c.com If you want a patch

Re: [PATCH, ARM] Extend uclinux LINK_GCC_C_SEQUENCE_SPEC

2013-03-26 Thread Ramana Radhakrishnan
On Tue, Mar 19, 2013 at 9:15 AM, Zhenqiang Chen zhenqiang.c...@arm.com wrote: Hi, libstdc++ configure will check shl_load. If shared library is disabled in gcc and uclibc configure, the libstdc++ configure will fail for options like -mthumb -march=armv7-r. The fail logs like:

Re: [C++ Patch/RFC] PR 55951

2013-03-26 Thread Jason Merrill
On 03/26/2013 09:17 AM, Paolo Carlini wrote: + if (identifier_p (ce-index)) + { + error (name %qD used in a GNU-style designated +initializer for an array, ce-index); + return false; + } + + tree ce_index = cxx_constant_value (ce-index); +

Re: [C++ Patch/RFC] PR 55951

2013-03-26 Thread Jason Merrill
On 03/26/2013 10:14 AM, Jason Merrill wrote: On 03/26/2013 09:17 AM, Paolo Carlini wrote: + if (identifier_p (ce-index)) +{ + error (name %qD used in a GNU-style designated + initializer for an array, ce-index); + return false; +} + + tree ce_index =

Re: [Patch, Fortran] PR56649 - do more simplification of MERGE

2013-03-26 Thread Mikael Morin
Le 26/03/2013 12:21, Tobias Burnus a écrit : First, I am woefully aware that there are 7 patches which still have to be reviewed (...), one by Mikael If you are referring to http://gcc.gnu.org/ml/fortran/2013-03/msg8.html the patch is now obsolete, so we are now at only 6 patches pending.

Re: [AArch64] Peepholes to generate ldp and stp instructions

2013-03-26 Thread Mike Stump
On Mar 26, 2013, at 3:27 AM, Hurugalawadi, Naveen naveen.hurugalaw...@caviumnetworks.com wrote: Please find attached the patch that implements load pair(ldp) and store pair(stp) peephole for aarch64 target. Ah, I wish gcc had a better machine independent optimizer for load/store combination.

Re: [PATCH,ARM][6/n] Split min and max patterns

2013-03-26 Thread Ramana Radhakrishnan
On Mon, Feb 18, 2013 at 6:44 PM, Greta Yorsh greta.yo...@arm.com wrote: Convert define_insn into define_insn_and_split for various min and max patterns that output multiple assembly instructions. Use movsicc to emit RTL. A separate patch will split movsicc. gcc/ 2013-02-14 Greta Yorsh

[PATCH] Fix PR37021 (well...)

2013-03-26 Thread Richard Biener
This enables vectorizing of the complex multiplication testcase in PR37021 by also allowing strided load support to apply to REAL/IMAGPART_EXPR wrapped array or pointer loads. This causes the loop to be vectorized via strided loads. The testcase requires -fno-tree-pre unless the

Re: [C++ Patch/RFC] PR 55951

2013-03-26 Thread Paolo Carlini
Hi, On 03/26/2013 03:15 PM, Jason Merrill wrote: On 03/26/2013 10:14 AM, Jason Merrill wrote: On 03/26/2013 09:17 AM, Paolo Carlini wrote: + if (identifier_p (ce-index)) +{ + error (name %qD used in a GNU-style designated + initializer for an array, ce-index); +

Re: [Patch, fortran] Module loading improvements part 1/3

2013-03-26 Thread Mikael Morin
Le 24/03/2013 22:58, Janne Blomqvist a écrit : The attached patch takes the crude approach of first sequentially reading the .mod file into a temporary buffer, then does the actual parsing from that buffer. I don't like it much, but knowing how bad module files are currently handled, it's

Re: [C++ Patch/RFC] PR 55951

2013-03-26 Thread Jason Merrill
On 03/26/2013 11:00 AM, Paolo Carlini wrote: + tree ce_index = cxx_constant_value (ce-index); + + if (TREE_CODE (ce_index) == INTEGER_CST) + { /* A C99 designator is OK if it matches the current index. */ - if (TREE_INT_CST_LOW (ce-index) == index) + if

Re: [RFC PATCH] Implementing ifunc target hook

2013-03-26 Thread Alexander Ivchenko
Hi, Since almost three months have passed I feel that I need to recheck the patch before commiting it. I fixed what Maxim mentioned and also I fixed: diff --git a/gcc/configure b/gcc/configure old mode 100755 new mode 100644 index eac96cd..928693a --- a/gcc/configure +++ b/gcc/configure @@

Re: [Patch, fortran] Module loading improvements part 1/3

2013-03-26 Thread Tobias Burnus
Mikael Morin wrote: Le 24/03/2013 22:58, Janne Blomqvist a écrit : The attached patch takes the crude approach of first sequentially reading the .mod file into a temporary buffer, then does the actual parsing from that buffer. I don't like it much, but knowing how bad module files are

Re: [Patch, Fortran] PR56649 - do more simplification of MERGE

2013-03-26 Thread Tobias Burnus
Mikael Morin wrote: If you are referring to http://gcc.gnu.org/ml/fortran/2013-03/msg8.html the patch is now obsolete, so we are now at only 6 patches pending. :-) Yes, I was thinking of those - as fix for the 4.6?/4.7/4.8 regression. OK with the array gfc_get_parentheses removed.

Re: [C++ Patch/RFC] PR 55951

2013-03-26 Thread Paolo Carlini
Hi, On 03/26/2013 04:10 PM, Jason Merrill wrote: On 03/26/2013 11:00 AM, Paolo Carlini wrote: + tree ce_index = cxx_constant_value (ce-index); + + if (TREE_CODE (ce_index) == INTEGER_CST) +{ /* A C99 designator is OK if it matches the current index. */ - if

Re: [patch, fortran, 4.9] Improve efficiency of array constructor operators

2013-03-26 Thread Tobias Burnus
Thomas Koenig wrote: this patch finally makes the idiom if (any([a,b,c] eps)) then equivalent to if (aeps .or. beps .or. ceps) then so that there is no loss in efficiency through generating temporary arrays. I have not yet looked at the patch, but I wonder whether that causes invalid

Re: [C++ Patch/RFC] PR 55951

2013-03-26 Thread Jason Merrill
OK. Jason

Re: [PATCH] Add -pthread option for RTEMS

2013-03-26 Thread Joel Sherrill
I committed this patch which reduces test failures. http://gcc.gnu.org/ml/gcc-patches/2013-01/msg01373.html 2013-01-29 Sebastian Huber sebastian.hu...@embedded-brains.de * config/rtems.opt: Add -pthread option. -- Joel Sherrill, Ph.D. Director of Research Development

RE: [patch] cilkplus array notation for C (clean, independent patchset, take 1)

2013-03-26 Thread Joseph S. Myers
On Fri, 22 Mar 2013, Iyer, Balaji V wrote: Why the random check for a NULL argument? If a NULL argument is valid (meaning that it makes the code cleaner to allow such arguments rather than making sure the function isn't called with them), this should be documented in the comment above

Re: [PATCH] Fix -Wformat-security warning in arm.c

2013-03-26 Thread Roland McGrath
Committed to trunk. Thanks, Roland

Re: [patch] cilkplus array notation for C (clean, independent patchset, take 1)

2013-03-26 Thread Joseph S. Myers
On Mon, 25 Mar 2013, Aldy Hernandez wrote: I always tend to check for a null pointer before I access the fields in the structure. In this case it is unnecessary. In some cases (e.g. find_rank) there is a good chance a null pointer will be passed into the function and we need to check that

Re: [patch, fortran, 4.9] Improve efficiency of array constructor operators

2013-03-26 Thread Thomas Koenig
Hi Tobias, I have not yet looked at the patch, but I wonder whether that causes invalid code for if (any([a,b,c] f())) by evaluating f() multiple times. This is avoided by this part of the patch: + if (op2-expr_type == EXPR_CONSTANT) +scalar = gfc_copy_expr (op2); + else +

Re: [Patch, fortran] Module loading improvements part 1/3

2013-03-26 Thread Thomas Koenig
Am 26.03.2013 16:24, schrieb Tobias Burnus: I wonder whether one should also do what Joost has proposed:* Changing allocatable to al etc. That reduces both the .mod file size (and thus I/O and improves caching) and the memory consumption of the compiler with the proposed caching scheme. As

Re: [patch] Unified debug dump function names.

2013-03-26 Thread Lawrence Crowl
On 3/26/13, Richard Biener richard.guent...@gmail.com wrote: On Mar 25, 2013 Lawrence Crowl cr...@googlers.com wrote: On 3/25/13, Richard Biener richard.guent...@gmail.com wrote: You add a not used new interface. What for? So that people can use it. For use from gdb only? No,

Re: extend fwprop optimization

2013-03-26 Thread Uros Bizjak
On Tue, Mar 26, 2013 at 10:14 AM, Richard Biener richard.guent...@gmail.com wrote: I am trying to figure out a way not to lose the opportunity when shift truncation is not combined in a bit test pattern. Can we keep the explicit truncation in RTL, but generate truncation code in assembly? Then

[PATCH 8/n, i386]: Merge insns with zero-extracted arguments with corresponding base insns using nox64 isa attribute

2013-03-26 Thread Uros Bizjak
Hello! The problem with insn that use high register parts (%ah,%bh,%ch,%dh) is, that they can't be encoded with rex64 prefix. This includes registers, as well as memory operands involving extended registers. To handle this limitation, 64bit targets avoid memory operands when high register parts

C++ PATCH: use VAR_OR_FUNCTION_DECL_P more often

2013-03-26 Thread Gabriel Dos Reis
The C++ front-end isn't very systematic in using existing predicates to test node kinds. This patch makes us use VAR_OR_FUNCTION_DECL_P in places where we were explicitly testing VAR_DECL || FUNCTION_DECL. Tested on an x86_64-suse-linux. Applying to trunk as obvious. -- Gaby 2013-03-26

[ping] Re: [patch] [libffi] do not install libffi library, headers and documentation

2013-03-26 Thread Matthias Klose
[ping, adding the GCJ and Go maintainers] proposed patch at http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00853.html Am 19.02.2013 10:13, schrieb Richard Biener: On Mon, Feb 18, 2013 at 6:02 PM, Matthias Klose d...@ubuntu.com wrote: Am 12.02.2013 13:45, schrieb Richard Biener: On Tue, Feb 12,

Re: [ping] Re: [patch] [libffi] do not install libffi library, headers and documentation

2013-03-26 Thread Ian Lance Taylor
On Tue, Mar 26, 2013 at 1:03 PM, Matthias Klose d...@ubuntu.com wrote: [ping, adding the GCJ and Go maintainers] proposed patch at http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00853.html As far as I know this won't affect Go. So it's fine with me. But I'd rather see this approved by a libffi

Re: [ping] Re: [patch] [libffi] do not install libffi library, headers and documentation

2013-03-26 Thread Anthony Green
For what it's worth, this patch is fine by me. I had originally proposed that GCC not install these bits. As far as maintainers go, I thought that I was once listed in the MAINTAINERS file. Feel free to add Andrew Haley and/or myself. Thanks, Anthony Green On Tue, Mar 26, 2013 at 4:28 PM,

BUILD PATCH: Support source file with .cc extension

2013-03-26 Thread Gabriel Dos Reis
Hi Paolo, The patchlet below allows uses of source file with .cc extension. This comes out of work being done on the C++ front-end and has merit of its own. OK to apply? Thanks, -- Gaby 2013-03-26 Gabriel Dos Reis g...@integrable-solutions.net * Makefile.in (.SUFFIXES): Add .cc.

Re: [RFC PATCH] Implementing ifunc target hook

2013-03-26 Thread Maxim Kuvyrkov
On 27/03/2013, at 4:14 AM, Alexander Ivchenko wrote: Hi, Since almost three months have passed I feel that I need to recheck the patch before commiting it. I fixed what Maxim mentioned and also I fixed: The patch is OK with 2 changes: 1. s/default_have_ifunc_p/default_has_ifunc_p/ The new

RE: [patch] cilkplus array notation for C (clean, independent patchset, take 1)

2013-03-26 Thread Iyer, Balaji V
Hello Joseph, Aldy et al., Attached please find a patch that will fixed the problem below and another problem you mentioned in a previous email (I had used really_constant_p(..) and you mentioned that in C we need to check for INTEGER_CST). Please let me know if I have missed anything

Re: [patch, fortran] Use memcmp() for string comparison for constant-length kind=1 strings

2013-03-26 Thread Janne Blomqvist
On Mon, Mar 25, 2013 at 7:00 PM, Thomas Koenig tkoe...@netcologne.de wrote: Hello world, this patch uses memcpy() directly when comparing two kind=1 strings of equal and constant lengths. The test case modification depends on the previous patch at

[SPARC] Remove -mlittle-endian from SPARC options

2013-03-26 Thread Eric Botcazou
The ChangeLog says it has been removed in 2011, but it actually hasn't. Applied on the mainline, 4.8 and 4.7 branches. 2013-03-26 Eric Botcazou ebotca...@adacore.com * doc/invoke.texi (SPARC options): Remove -mlittle-endian. -- Eric BotcazouIndex: doc/invoke.texi

Re: [PING^5] PR 54805: __gthread_tsd* in vxlib-tls.c

2013-03-26 Thread Maxim Kuvyrkov
On 25/03/2013, at 10:15 PM, Richard Biener wrote: On Thu, Mar 21, 2013 at 12:22 AM, Maxim Kuvyrkov ma...@kugelworks.com wrote: ... Richard, As release manager, do you have any objections to backporting this patch to 4.8 branch? It affects only VxWorks targets and it is quite harmless (the

Re: [Patch, fortran] Module loading improvements part 1/3

2013-03-26 Thread Janne Blomqvist
On Tue, Mar 26, 2013 at 5:08 PM, Mikael Morin mikael.mo...@sfr.fr wrote: Le 24/03/2013 22:58, Janne Blomqvist a écrit : The attached patch takes the crude approach of first sequentially reading the .mod file into a temporary buffer, then does the actual parsing from that buffer. I don't like

Re: [Patch, fortran] Module loading improvements part 1/3

2013-03-26 Thread Janne Blomqvist
On Tue, Mar 26, 2013 at 7:23 PM, Thomas Koenig tkoe...@netcologne.de wrote: Am 26.03.2013 16:24, schrieb Tobias Burnus: I wonder whether one should also do what Joost has proposed:* Changing allocatable to al etc. That reduces both the .mod file size (and thus I/O and improves caching) and

Re: Do not disable -fomit-frame-pointer on !ACCUMULATE_OUTGOING_ARGS targets

2013-03-26 Thread Eric Botcazou
Heh. We've actually fixed this now -- unwind info generation aware of the cfg is exactly what pass_dwarf2_frame does. So I guess this comment has been out of date since gcc 4.7. I see, thanks. So what do you suggest doing at this point? Entirely remove the block of code? But AFAICS

[Patch, Fortran] PR56650/36437 - Add compile-time simplification for (c_)sizeof, storage_size

2013-03-26 Thread Tobias Burnus
As the MERGE issue, the lack of compile-time simplification is another issue affecting the MPICH. Build and regtested on x86-64-gnu-linux. OK for the trunk? Tobias PS: Early ping for my OPTIONAL+VALUE patch: http://gcc.gnu.org/ml/fortran/2013-03/msg00102.html 2013-03-26 Tobias Burnus

Re: [patch] Unified debug dump function names.

2013-03-26 Thread Lawrence Crowl
On 3/26/13, Lawrence Crowl cr...@googlers.com wrote: On 3/26/13, Richard Biener richard.guent...@gmail.com wrote: On Mar 25, 2013 Lawrence Crowl cr...@googlers.com wrote: On 3/25/13, Richard Biener richard.guent...@gmail.com wrote: You add a not used new interface. What for? So that

Re: RFA: RL78: Improve prologues for interrupt handlers

2013-03-26 Thread DJ Delorie
The problem is, devirt hasn't happened yet when we compute the frame size, so we *can't* know if bank 0 registers are used yet. Also, I've had problems recomputing the frame size after reload. If the frame size changes for *any* reason between reload and prologue, you get corrupt code, as the

C++ PATCH: use INDIRECT_REF_P more often

2013-03-26 Thread Gabriel Dos Reis
Applying to trunk as obvious. Tested on an x86_64-suse-linux. -- Gaby 2013-03-26 Gabriel Dos Reis g...@integrable-solutions.net * call.c (build_new_method_call_1): Use INDIRECT_REF_P. * cvt.c (convert_to_void): Likewise. * error.c (dump_expr): Likewise. *

C++ PATCH for c++/52597 (misleading diagnostic for wrong use of member function)

2013-03-26 Thread Jason Merrill
When we see a use of a non-overloaded non-static member function, we give the resulting expression unknown type so that invalid uses get errors. But the can't resolve overloading error is wrong in this case, so we should give the right one. Tested x86_64-pc-linux-gnu, applying to trunk.

C++ PATCH for c++/45282 (wrong decltype of .*)

2013-03-26 Thread Jason Merrill
A while back I fixed build_m_component_ref so that a .* with an xvalue lhs would be an xvalue, but we need to handle class prvalues correctly too. Tested x86_64-pc-linux-gnu, applying to trunk and 4.8. commit 7ef69238ed9acd48a12a0bd31307100b41db9f0e Author: Jason Merrill ja...@redhat.com Date: