Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Jeff Law
On 05/08/2015 08:25 AM, Matthew Fortune wrote: There is also the perspective that we should be able to aim for an ABI variant agnostic dynamic linker at some point over the next year by working towards a build that truly uses no float and is hence compatible with all the ABI variants. Having see

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Jeff Law
On 05/08/2015 10:50 AM, Joseph Myers wrote: Note that however the dynamic linker does properly need to save and restore call-clobbered registers used for argument passing (because of IFUNCs, user-provided malloc, audit hooks etc. that might affect them even if the dynamic linker itself doesn't);

Re: genrecog: Address -Wsign-compare diagnostics

2015-05-08 Thread Jeff Law
On 05/08/2015 03:09 AM, Thomas Schwinge wrote: Hi! On Mon, 27 Apr 2015 11:20:30 +0100, Richard Sandiford wrote: This patch [...] by replacing most of genrecog [...] OK to commit? Is it a bug that I'm seeing these warnings only in the stage 1 build with the bootstrap GCC 4.6 compiler, but n

Re: [PATCH 6/6] i386: Implement asm flag outputs

2015-05-08 Thread H. Peter Anvin
On 05/07/2015 02:39 PM, Richard Henderson wrote: > All j mnemonics implemented as =@cc > to make it easy for someone reading the manual > to figure out what condition is desired. One request: would it be possible to get a cpp symbol for this (e.g. __GCC_X86_INLINE_ASM_CC__) so we don't have to do

RE: [patch 1/28] top-level: Use automake-1.11.6

2015-05-08 Thread Bernd Edlinger
Hi, On Fri, 8 May 2015 16:41:02, Joseph S. Myers wrote: > > On Fri, 8 May 2015, Bernd Edlinger wrote: > >> One example where there is an incompatibility is "missing": >> >> Formerly it had code that emulated the missing "flex" by >> creating a dummy lex.yy.c from the hopefully installed >> pre-com

Re: [PATCH] Simple optimization for MASK_STORE.

2015-05-08 Thread Jeff Law
On 05/08/2015 03:27 AM, Richard Biener wrote: On Wed, May 6, 2015 at 4:04 PM, Yuri Rumyantsev wrote: Hi All, Here is a patch which gives us significant speed-up on HASWELL for test containing masked stores. The main goal of that patch is attempt to avoid HW hazard for maskmove instructions thr

Re: [PATCH 6/6] i386: Implement asm flag outputs

2015-05-08 Thread Jeff Law
On 05/08/2015 12:40 PM, H. Peter Anvin wrote: On 05/07/2015 02:39 PM, Richard Henderson wrote: All j mnemonics implemented as =@cc to make it easy for someone reading the manual to figure out what condition is desired. One request: would it be possible to get a cpp symbol for this (e.g. __GCC_

Re: [patch 3/10] debug-early merge: C++ front-end

2015-05-08 Thread Aldy Hernandez
On 05/08/2015 04:57 AM, Richard Biener wrote: On Fri, May 8, 2015 at 2:34 AM, Aldy Hernandez wrote: Maybe you can split out the Java aliases stuff (that annoyed me multiple times when trying to refactor the FE - middle-end interface). It looks unrelated enough. Thanks, Richard. Jason al

Re: [patch 0/29] RFC: Use automake-1.11.6 across the tree

2015-05-08 Thread Jeff Law
On 05/07/2015 09:51 AM, Michael Haubenwallner wrote: Are there any cases where you had to do something other than just regenerate the various files? Nope - at least nothing that I would call "doing something other". What I did: * touch each configure.ac to ensure automake is really used * do

Re: [RFA] libiberty/mkstemps.c: Include if not available.

2015-05-08 Thread Jeff Law
On 05/08/2015 08:38 AM, Joel Brobecker wrote: Hello, Attempting to build libiberty on LynxOS-178 fails trying to compile mkstemps.c with the following error: LynxOS? I haven't had to do anything with that since, umm, the early 90s. So sorry you've got that task... libiberty/ChangeLog:

Re: [PATCH 2/6] Merge expand_asm_operands into expand_asm_stmt

2015-05-08 Thread Jeff Law
On 05/07/2015 03:38 PM, Richard Henderson wrote: Prepatory to converting from tree chains to vectors. --- gcc/cfgexpand.c | 167 1 file changed, 72 insertions(+), 95 deletions(-) OK with a ChangeLog and the usual testing. jeff

Re: [debug-early] fix -fdump-go-spec

2015-05-08 Thread Aldy Hernandez
Thanks for working on this. Have you tried building with --enable-languages=go? On a GNU/Linux system it should build and pass all tests with no extra effort. Yes. No regressions. Thanks. Aldy

Re: [patch 5/10] debug-early merge: Go front-end

2015-05-08 Thread Aldy Hernandez
On 05/08/2015 11:08 AM, Ian Lance Taylor wrote: This is fine if it works. Thanks. Ian On Thu, May 7, 2015 at 5:36 PM, Aldy Hernandez wrote: As mentioned, no regressions with --enable-languages=go. I will mark the Go changes as approved pending on the rest of the patches being approved.

RE: [PATCH 6/13] mips musl support

2015-05-08 Thread Matthew Fortune
Jeff Law writes: > On 05/08/2015 10:50 AM, Joseph Myers wrote: > > > > Note that however the dynamic linker does properly need to save and > > restore call-clobbered registers used for argument passing (because of > > IFUNCs, user-provided malloc, audit hooks etc. that might affect them > > even i

Re: [PATCH] Add SPECIAL_FLOAT_MODE to enable adding IEEE 128-bit floating point to PowerPC

2015-05-08 Thread Jeff Law
On 05/06/2015 11:29 AM, Michael Meissner wrote: On Wed, May 06, 2015 at 04:03:00PM +0100, Richard Sandiford wrote: Jeff Law writes: So my worry here is that folks writing these loops to iterate over modes are going to easily miss the != VOIDmode terminator, or not know when to use GET_MODE_WID

Re: Question about patch for PR bootstrap/65150 (identical functions)

2015-05-08 Thread David Edelsohn
>>> Steve Ellcey wrote: > > After your change GCC sees that the code for f1 and f2 are identical > so it replaced the body of f2 with a call to f1. This optimization will > save space but it is not going to be faster because any call to f2 will > now include an extra call/return. Do other platfor

Re: Question about patch for PR bootstrap/65150 (identical functions)

2015-05-08 Thread Jeff Law
On 05/08/2015 01:07 PM, David Edelsohn wrote: Steve Ellcey wrote: After your change GCC sees that the code for f1 and f2 are identical so it replaced the body of f2 with a call to f1. This optimization will save space but it is not going to be faster because any call to f2 will now include an

Re: [PATCH] Non-working jit patch for debug-early (was Re: [patch 0/10] debug-early merge)

2015-05-08 Thread Aldy Hernandez
On 05/08/2015 10:38 AM, David Malcolm wrote: I tested your branch (at 09263eae7c260c305fa19ffa186afd1d89654fb8) with the jit configuration from the docs: ../src/configure \ --enable-host-shared \ --enable-languages=jit,c++ \ --disable-bootstrap \ --enable-checking=release \ --

Re: [PATCH] Simple optimization for MASK_STORE.

2015-05-08 Thread Richard Biener
On May 8, 2015 8:43:15 PM GMT+02:00, Jeff Law wrote: >On 05/08/2015 03:27 AM, Richard Biener wrote: >> On Wed, May 6, 2015 at 4:04 PM, Yuri Rumyantsev >wrote: >>> Hi All, >>> >>> Here is a patch which gives us significant speed-up on HASWELL for >>> test containing masked stores. The main goal of

Re: [PATCH][PR66013] Update address_taken after ifn_va_arg expansion

2015-05-08 Thread Tom de Vries
On 08-05-15 17:31, Richard Biener wrote: >OK for trunk? As noted in one of the PRs I think that it is the proper time to re-implement the stdarg optimization on the un-lowered form which should also fix this. AFAIU, the implementation of the stdarg optimization on the un-lowered form should c

[PATCH][PR66010] Don't take address of ap unless necessary

2015-05-08 Thread Tom de Vries
Hi, this patch fixes PR66010. I. Consider this test-case, with a va_list passed from f2 to f2_1: ... #include inline int __attribute__((always_inline)) f2_1 (va_list ap) { return va_arg (ap, int); } int f2 (int i, ...) { int res; va_list ap; va_start (ap, i); res = f2_1 (ap); v

Re: [patch 3/10] debug-early merge: C++ front-end

2015-05-08 Thread Richard Biener
On May 8, 2015 8:48:26 PM GMT+02:00, Aldy Hernandez wrote: >On 05/08/2015 04:57 AM, Richard Biener wrote: >> On Fri, May 8, 2015 at 2:34 AM, Aldy Hernandez >wrote: >>> >> >> Maybe you can split out the Java aliases stuff (that annoyed me >multiple times >> when trying to refactor the FE - middle-

Re: Question about patch for PR bootstrap/65150 (identical functions)

2015-05-08 Thread Jakub Jelinek
On Fri, May 08, 2015 at 01:09:52PM -0600, Jeff Law wrote: > On 05/08/2015 01:07 PM, David Edelsohn wrote: > Steve Ellcey wrote: > >> > >>After your change GCC sees that the code for f1 and f2 are identical > >>so it replaced the body of f2 with a call to f1. This optimization will > >>save spa

Re: [PATCH 4/6] Convert to md_asm_adjust

2015-05-08 Thread Jeff Law
On 05/07/2015 03:38 PM, Richard Henderson wrote: Using proper vectors instead of lists of trees. --- gcc/cfgexpand.c | 614 --- gcc/config/cris/cris.c | 88 +++ gcc/config/i386/i386.c | 24 +- gcc/config/mn10300/mn10300.c

Re: [PATCH 4/6] Convert to md_asm_adjust

2015-05-08 Thread Richard Henderson
On 05/08/2015 12:41 PM, Jeff Law wrote: > I'm going to assume the include header order juggling/additions were all > necessary. Correct -- target.h now uses vec<>, which means that vec.h must be included first. In the olden days I'd have just put the vec.h include at the top of target.h. ;-) >

Re: [c++-concepts] code review

2015-05-08 Thread Andrew Sutton
Today is the first day I've had to look at these comments. >>if (TEMPLATE_PARM_CONSTRAINTS (current_template_parms)) >> -TYPE_CANONICAL (type) = type; >> +SET_TYPE_STRUCTURAL_EQUALITY (type); > > > This seems like papering over an underlying issue. What was the testcase > that motiva

Re: [RFC 0/6] Flags outputs for asms

2015-05-08 Thread Richard Henderson
On 05/08/2015 08:54 AM, Richard Henderson wrote: > I have a feeling I know why these didn't get merged. > > The global optimizers aren't allowed to operate on hard registers lest they > extend the lifetime of the hard register such that it creates an impossible > situation for the register allocat

Re: Enhance std::hash for pointers

2015-05-08 Thread François Dumont
On 08/05/2015 10:02, Richard Biener wrote: On Wed, May 6, 2015 at 10:10 PM, François Dumont wrote: Hi Following Marc Glisse comment #4 on:https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65641 I would like to propose this enhancement to the hash functor for pointers. It simply gets rid of the

Re: [patch 0/29] RFC: Use automake-1.11.6 across the tree

2015-05-08 Thread Joseph Myers
On Fri, 8 May 2015, Jeff Law wrote: > > * Sort out whether to update those top-level "missing" scripts. > Seems like we should if they came from automake. I say we should *update* (from git). Not *downgrade to an older version*, which is what the posted patch did. -- Joseph S. Myers jos...@co

Re: [PATCH, alpha]: Remove dead (HOST_BITS_PER_WIDE_INT < 64) code

2015-05-08 Thread Richard Henderson
On 05/08/2015 09:43 AM, Uros Bizjak wrote: > @@ -1509,8 +1509,7 @@ > (and:DI (ashift:DI (match_operand:DI 1 "register_operand" "r") > (match_operand:DI 2 "mul8_operand" "I")) > (match_operand:DI 3 "immediate_operand" "i")))] > - "HOST_BITS_PER_WIDE_INT

RE: [patch 1/28] top-level: Use automake-1.11.6

2015-05-08 Thread Joseph Myers
On Fri, 8 May 2015, Bernd Edlinger wrote: > But it made the in-tree gmp configure script fail.  That would not > have happened if we did not pass our version of missing to a sub- > module like gmp, that already has a working missing script that behaves > differently. However, that's still not an

Re: [patch 0/29] RFC: Use automake-1.11.6 across the tree

2015-05-08 Thread Jeff Law
On 05/08/2015 02:22 PM, Joseph Myers wrote: On Fri, 8 May 2015, Jeff Law wrote: * Sort out whether to update those top-level "missing" scripts. Seems like we should if they came from automake. I say we should *update* (from git). Not *downgrade to an older version*, which is what the posted

conditional lim

2015-05-08 Thread Evgeniya Maenkova
Hi, Could you please review my patch for predicated lim? Let me note some details about it: 1) Phi statements are still moved only if they have 1 or 2 arguments. However, phi statements could be move under conditions (as it’s done for the other statements). Probably, phi statement motion

Re: [RFC 0/6] Flags outputs for asms

2015-05-08 Thread Segher Boessenkool
Hi Richard, On Fri, May 08, 2015 at 01:15:25PM -0700, Richard Henderson wrote: > But it *does* try to match an intermediate pattern, > > (set (reg:CCGC 17 flags) > (compare:CCGC (reg:CCGC 17 flags) > (const_int 0 [0]))) > > which can be considered a no-op move. Maybe we should teach

Re: [PATCH] Fix 65697. Add memory model support for stronger __sync operations.

2015-05-08 Thread Jeff Law
On 05/07/2015 08:42 AM, Andrew MacLeod wrote: There has been some debate over the strength requirement of barriers for __sync operations... This is documented within the PR. Originally __sync was suppose to be synonymous with SEQ_CST, but there has been a slight slackening of the barrier-ness of

[PATCH] Move global state in timevar.c to a new "timer" class

2015-05-08 Thread David Malcolm
I want to make the timevar infrastructure be more flexible, to better serve some JIT use-cases. The following is a "removal of global state" patch which gathers together the state within timevar.c into a new "timer" class. Within the classic cc1/cc1plus/etc use-case, this timer class is a singlet

Re: [RFC 0/6] Flags outputs for asms

2015-05-08 Thread Jeff Law
On 05/08/2015 02:15 PM, Richard Henderson wrote: But it *does* try to match an intermediate pattern, (set (reg:CCGC 17 flags) (compare:CCGC (reg:CCGC 17 flags) (const_int 0 [0]))) which can be considered a no-op move. If I add the attached pattern, then the combination happens i

Re: [PATCH 2/4 v2: part 1] Move linemap_assert higher up within the file

2015-05-08 Thread Jeff Law
On 05/05/2015 12:21 PM, David Malcolm wrote: --- libcpp/include/line-map.h | 71 --- 1 file changed, 36 insertions(+), 35 deletions(-) Cobble together a quick ChangeLog and test and this is fine. jeff

Re: [PATCH] Fix 65697. Add memory model support for stronger __sync operations.

2015-05-08 Thread Andrew MacLeod
On 05/08/2015 05:27 PM, Jeff Law wrote: On 05/07/2015 08:42 AM, Andrew MacLeod wrote: There has been some debate over the strength requirement of barriers for Curse you for the BZ reference. I read maybe the first 75%, then glossed over 15%, then read the last bit in detail. Hard to do near

Re: [PATCH 2/4 v2] libcpp: Replace macro usage with C++ constructs)

2015-05-08 Thread Jeff Law
On 05/05/2015 12:21 PM, David Malcolm wrote: On Mon, 2015-05-04 at 13:15 -0600, Jeff Law wrote: On 05/01/2015 06:56 PM, David Malcolm wrote: [I didn't mark the inline functions as "static"; should they be?] Just a follow-up on this. I got burned by the ODR issues around implicit extern inline

Re: [PATCH 2/4 v2: part 2] libcpp: Replace macro usage with C++ constructs

2015-05-08 Thread Jeff Law
On 05/05/2015 12:21 PM, David Malcolm wrote: libcpp/ChangeLog: * include/line-map.h (MAX_SOURCE_LOCATION): Convert from a macro to a const source_location. (RESERVED_LOCATION_COUNT): Likewise. (linemap_check_ordinary): Convert from a macro to a pair of inline

Re: [PATCH 5/4] libcpp: Eliminate most of the non-const/reference-returning inline fns

2015-05-08 Thread Jeff Law
On 05/05/2015 12:21 PM, David Malcolm wrote: gcc/java/ChangeLog: * jcf-parse.c (set_source_filename): Replace write through ORDINARY_MAP_FILE_NAME with direct access to "to_file". libcpp/ChangeLog: * include/line-map.h (MAP_START_LOCATION): Eliminate the non-const

Re: [PATCH, RFC]: Next stage1, refactoring: propagating rtx subclasses

2015-05-08 Thread Jeff Law
On 05/04/2015 02:18 PM, Mikhail Maltsev wrote: Yes, FWIW, it is only needed for assertions in peep2_regno_dead_p and peep2_reg_dead_p which check it against NULL (they are intended to verify that live_before field in peep2_insn_data struct is valid). At least, when I removed the assertions and ch

Re: [C/C++ PATCH] Implement -Wshift-negative-value (PR c/65179)

2015-05-08 Thread Paul Eggert
On 05/08/2015 09:59 AM, Joseph Myers wrote: Paul, although glibc's copy of parts of tzcode is a bit out of date, it looks like the currenthttps://github.com/eggert/tz.git still has the problematic code in private.h, relying on left-shifting -1 which has undefined behavior in C99/C11 (implementat

Re: [RFC 0/6] Flags outputs for asms

2015-05-08 Thread Richard Henderson
On 05/08/2015 02:32 PM, Jeff Law wrote: > On 05/08/2015 02:15 PM, Richard Henderson wrote: >> >> But it *does* try to match an intermediate pattern, >> >> (set (reg:CCGC 17 flags) >> (compare:CCGC (reg:CCGC 17 flags) >> (const_int 0 [0]))) >> >> which can be considered a no-op move.

Re: Question about patch for PR bootstrap/65150 (identical functions)

2015-05-08 Thread Jan Hubicka
> On Fri, May 08, 2015 at 01:09:52PM -0600, Jeff Law wrote: > > On 05/08/2015 01:07 PM, David Edelsohn wrote: > > Steve Ellcey wrote: > > >> > > >>After your change GCC sees that the code for f1 and f2 are identical > > >>so it replaced the body of f2 with a call to f1. This optimization will

Re: [RFC 0/6] Flags outputs for asms

2015-05-08 Thread Segher Boessenkool
On Fri, May 08, 2015 at 03:32:58PM -0600, Jeff Law wrote: > On 05/08/2015 02:15 PM, Richard Henderson wrote: > > > >But it *does* try to match an intermediate pattern, > > > >(set (reg:CCGC 17 flags) > > (compare:CCGC (reg:CCGC 17 flags) > > (const_int 0 [0]))) > > > >which can be consi

Re: Enhance std::hash for pointers

2015-05-08 Thread Christopher Jefferson
My concern with accepting this patch is that many of libstdc++'s hash functions are awful from a mixing point of view -- you would get exactly the same problem from users who have integers which are always a multiple of a power of 2 (which is in practice not uncommon). This would give exactly the s

[patch, Fortran] Fix PR 66041

2015-05-08 Thread Thomas Koenig
Hello world, this patch fixes the regression in PR 66041, plus one more case that came up when I looked at this. OK for trunk? Regards, Thomas 2015-05-08 Thomas Koenig PR fortran/66041 * frontend-passes.c (scalarized_expr): Clear as->start, as->end and as->st

Re: [RFC 0/6] Flags outputs for asms

2015-05-08 Thread Richard Henderson
On 05/08/2015 02:14 PM, Segher Boessenkool wrote: > "Cleaner"? In this code? Heh. Heh. > use_crosses_set_p often estimates pessimistically. Is that what is > happening here? Using real dataflow in combine would fix that (and many > other problems). Not that that helps you right now ;-) Yes,

Re: [PATCH diagnostics/fortran] Handle two locations for the same diagnostic. Convert all gfc_warning_1 and gfc_notify_std_1 calls

2015-05-08 Thread Manuel López-Ibáñez
Hi Dodji, Thanks for the review. I followed all your suggestions. For the accessor functions, I was not sure what type you would prefer, so I implemented them as C++ methods and made use of 'private' to be sure they are the only way to access the locations array. If you want me to change it, just

Re: Question about patch for PR bootstrap/65150 (identical functions)

2015-05-08 Thread Bernhard Reutner-Fischer
On May 8, 2015 11:58:18 PM GMT+02:00, Jan Hubicka wrote: >> On Fri, May 08, 2015 at 01:09:52PM -0600, Jeff Law wrote: >> > On 05/08/2015 01:07 PM, David Edelsohn wrote: >> > Steve Ellcey wrote: >> > >> >> > >>After your change GCC sees that the code for f1 and f2 are >identical >> > >>so it re

Re: PATCH] PR target/65612: Multiversioning doesn't work with DSO nor PIE

2015-05-08 Thread Rich Felker
On Fri, Apr 17, 2015 at 05:36:30AM -0700, H.J. Lu wrote: > On Fri, Apr 17, 2015@4:59 AM, Jakub Jelinek wrote: > > On Fri, Apr 17, 2015 at 04:48:48AM -0700, H.J. Lu wrote: > >> > I don't like it. Nonshared libgcc is libgcc.a, period. No sense in > >> > creating yet another library for that. > >>

Re: PATCH] PR target/65612: Multiversioning doesn't work with DSO nor PIE

2015-05-08 Thread H.J. Lu
On Fri, May 8, 2015 at 4:00 PM, Rich Felker wrote: > On Fri, Apr 17, 2015 at 05:36:30AM -0700, H.J. Lu wrote: >> On Fri, Apr 17, 2015@4:59 AM, Jakub Jelinek wrote: >> > On Fri, Apr 17, 2015 at 04:48:48AM -0700, H.J. Lu wrote: >> >> > I don't like it. Nonshared libgcc is libgcc.a, period. No sen

[patch] defer C++ mangling aliases

2015-05-08 Thread Aldy Hernandez
Hi Jason. At Richi's request, I'm splitting up a couple of patches from the C++ debug-early branch that can live on its own. This attached patch is a patch you wrote in our original attempt to remove deferred_asm_names from dwarf2out.c. I have tested it independently of everything else, and

[patch/C++] adapt java method aliases to use create_same_body_alias

2015-05-08 Thread Aldy Hernandez
Hi Jason. Here is another independent patch factored out from the debug-early work. I believe you approved this already, and was merely queued for stage1. I have tested this independently of any other patch and would like permission to commit it to mainline. OK? commit 899570880aca6c3d2e6e85

Re: [patch 3/10] debug-early merge: C++ front-end

2015-05-08 Thread Aldy Hernandez
On 05/08/2015 12:20 PM, Richard Biener wrote: Just meant that it's making the changes smaller if those bits can be checked in independently. If that's just a hassle... Well, who am I to look a gift horse in the mouth? Especially when you've volunteered to review most of this, and hopefully

Re: [patch] defer C++ mangling aliases

2015-05-08 Thread Jason Merrill
On 05/08/2015 07:45 PM, Aldy Hernandez wrote: Are you OK with your own patch? :-) Hmm... ... Well, alright. Jsaon

Re: [patch/C++] adapt java method aliases to use create_same_body_alias

2015-05-08 Thread Jason Merrill
OK. Jason

Re: [patch] defer C++ mangling aliases

2015-05-08 Thread Aldy Hernandez
On 05/08/2015 08:08 PM, Jason Merrill wrote: On 05/08/2015 07:45 PM, Aldy Hernandez wrote: Are you OK with your own patch? :-) Hmm... ... Well, alright. Jsaon Wait...Jsaon? This is not the same author :). Committed to mainline. Thank you. Aldy

[PATCH 00/25] more rtx_insn *ification

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders Hi, This series does a bunch more "trivial" changes from rtx to rtx_insn *. each patch bootstrapped + regtested on x86_64-linux-gnu, and the series was run through config-list.mk. I think this all falls within Jeff's preapproval again, so committing to trunk. Trev Trev

[PATCH 02/25] make make_reg_eh_region_note and friend take rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * except.c (make_reg_eh_region_note): Change argument to rtx_insn *. (make_reg_eh_region_note_nothrow_nononlocal): Likewise. * except.h: Adjust. --- gcc/ChangeLog | 7 +++ gcc/except.c | 4 +

[PATCH 01/25] use rtx_insn * as the type of a local variable in mode-switching.c

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * mode-switching.c (commit_mode_sets): Change type of local variable from rtx to rtx_insn *. --- gcc/ChangeLog| 5 + gcc/mode-switching.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) d

[PATCH 05/25] computed_jump_p takes a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtlanal.c (computed_jump_p): Cange argument type to rtx_insn *. * rtl.h: Adjust. --- gcc/ChangeLog | 5 + gcc/rtl.h | 2 +- gcc/rtlanal.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff

[PATCH 07/25] make remove_reg_equal_equiv_notes take an rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtlanal.c (remove_reg_equal_equiv_notes): Change argument type to rtx_insn *. * rtl.h: Likewise. --- gcc/ChangeLog | 6 ++ gcc/rtl.h | 2 +- gcc/rtlanal.c | 2 +- 3 files changed, 8 insertions(

[PATCH 04/25] change in_expr_list_p to in_insn_list_p

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtlanal.c (in_insn_list_p): Renamed from in_expr_list_p. * cfgrtl.c (can_delete_label_p): Adjust. * rtl.h: likewise. --- gcc/ChangeLog | 6 ++ gcc/cfgrtl.c | 2 +- gcc/rtl.h | 2 +- gcc/rtlana

[PATCH 06/25] can_nonlocal_goto can take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * except.c (can_nonlocal_goto): Change type of argument to rtx_insn *. * rtl.h: Adjust. --- gcc/ChangeLog | 6 ++ gcc/except.c | 2 +- gcc/rtl.h | 2 +- 3 files changed, 8 insertions(+), 2 delet

[PATCH 03/25] make stop_search_p take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * reorg.c (stop_search_p): Change argument to rtx_insn *. --- gcc/ChangeLog | 4 gcc/reorg.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index db7f740..f

[PATCH 08/25] make add_shallow_copy_of_reg_note take an rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtlanal.c (add_shallow_copy_of_reg_note): Change argument type to rtx_insn *. * rtl.h: Adjust. --- gcc/ChangeLog | 6 ++ gcc/rtl.h | 2 +- gcc/rtlanal.c | 2 +- 3 files changed, 8 insertions(+)

[PATCH 09/25] make noop_move_p take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtlanal.c (noop_move_p): Change argument type to rtx_insn *. * rtl.h: Adjust. --- gcc/ChangeLog | 5 + gcc/rtl.h | 2 +- gcc/rtlanal.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --g

[PATCH 11/25] emit_note_after can take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * emit-rtl.c (emit_note_after): Change argument type to rtx_insn *. * rtl.h: Adjust. --- gcc/ChangeLog | 5 + gcc/emit-rtl.c | 3 +-- gcc/rtl.h | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-)

[PATCH 12/25] emit_note_before can take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * emit-rtl.c (emit_note_before): Change argument type to rtx_insn *. * rtl.h: Adjust. --- gcc/ChangeLog | 5 + gcc/emit-rtl.c | 3 +-- gcc/rtl.h | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-)

[PATCH 13/25] make emit_debug_insn_before take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * emit-rtl.c (emit_debug_insn_before): Change argument type to rtx_insn *. * rtl.h: Adjust. --- gcc/ChangeLog | 6 ++ gcc/emit-rtl.c | 2 +- gcc/rtl.h | 2 +- 3 files changed, 8 insertions(+),

[PATCH 15/25] pass rtx_insn * more in gcse.c

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * gcse.c: Change argument types to rtx_insn *. --- gcc/ChangeLog | 4 gcc/gcse.c| 8 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a595d23..598510c

[PATCH 14/25] cse_change_cc0_mode can take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * cse.c (cse_change_cc0_mode): Change argument type to rtx_insn *. --- gcc/ChangeLog | 4 gcc/cse.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b591

[PATCH 19/25] notice_args_size can take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * dwarf2cfi.c: Change argument type to rtx_insn *. --- gcc/ChangeLog | 4 gcc/dwarf2cfi.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e08209e..6804c36

[PATCH 17/25] use rtx_insn * more in reorg.c

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * reorg.c: Change argument types to rtx_insn *. --- gcc/ChangeLog | 4 gcc/reorg.c | 10 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index efe4ca0..946

[PATCH 23/25] rtx_insn * in df-problems.c

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * df-problems.c: Change argument type to rtx_insn *. --- gcc/ChangeLog | 4 gcc/df-problems.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b2767cf..9

[PATCH 24/25] setup_next_usage_insn can take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * lra-constraints.c: Change argument type to rtx_insn *. --- gcc/ChangeLog | 4 gcc/lra-constraints.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog inde

[PATCH 18/25] more rtx_insn * in recog.c

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * ira.c (decrease_live_ranges_number): Changetype of local variable to rtx_insn *. * recog.c: Change argument types to rtx_insn *. * recog.h: Adjust. --- gcc/ChangeLog | 7 +++ gcc/ira.c

[PATCH 21/25] find_all_hard_reg_sets can take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtl.h: Adjust. * rtlanal.c: Change argument type to rtx_insn *. --- gcc/ChangeLog | 5 + gcc/rtl.h | 2 +- gcc/rtlanal.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/Chang

[PATCH 20/25] more rtx_insn * in sched-deps.c

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * sched-deps.c: Change argument types to rtx_insn *. * sched-int.h: Adjust. --- gcc/ChangeLog| 5 + gcc/sched-deps.c | 4 ++-- gcc/sched-int.h | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-)

[PATCH 25/25] redirect_jump* can take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * jump.c: Change argument types to rtx_insn *. * rtl.h: Adjust. --- gcc/ChangeLog | 5 + gcc/jump.c| 6 +++--- gcc/rtl.h | 6 +++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gc

[PATCH 10/25] prev_cc0_setter can take a rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * emit-rtl.c (prev_cc0_setter): Change argument type to rtx_insn *. * rtl.h: Adjust. --- gcc/ChangeLog | 5 + gcc/emit-rtl.c | 4 +--- gcc/rtl.h | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-)

[PATCH 22/25] rtx_insn * in combine.c

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * combine.c: Change argument type to rtx_insn *. --- gcc/ChangeLog | 4 gcc/combine.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6811ea1..b2767cf 10064

[PATCH 16/25] change more argument types to rtx_insn *

2015-05-08 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * ira-color.c: Change argument types to rtx_insn *. * lra-eliminations.c: Likewise. * ira.h: Adjust. --- gcc/ChangeLog | 6 ++ gcc/ira-color.c| 4 ++-- gcc/ira.h | 2 +-

PATCHes to help with C++11 bootstrap

2015-05-08 Thread Jason Merrill
One C++11 compatibility issue that turns up a lot in the GCC sources is that in C++98, #define BAR "bar" const char *p = "foo"BAR; is well-formed, giving p the value "foobar". But in C++11 this is a user-defined literal with the suffix BAR, which is ill-formed because there is no BAR suffix

v3 PATCH to fix libstdc++ build/test with C++11 default compiler

2015-05-08 Thread Jason Merrill
The first patch adds -std=c++98 for building C++98 sources. The second patch fixes all but one of the testsuite failures that turned up with a compiler that defaults to C++11. Tested x86_64-pc-linux-gnu, OK'd by Jonathan in Lenexa. commit be5a2d163e2a25ab5a9978475e0e6e2954c9ddb3 Author: Jason

PATCH to fix libgomp OpenACC with C++11

2015-05-08 Thread Jason Merrill
noexcept () is a syntax error; I think you mean plain "noexcept" here. In C++11 complex.h does not #define complex, so the testcase should use _Complex or __complex. Tested x86_64-pc-linux-gnu, applying to trunk as obvious. commit edb5a4d326b2e0ad7e4ed777d8f2917fd2f4eb2a Author: Jason Merrill

Re: [PATCH, RFC]: Next stage1, refactoring: propagating rtx subclasses

2015-05-08 Thread Trevor Saunders
On Mon, May 04, 2015 at 11:32:38PM +0300, Mikhail Maltsev wrote: > > You'd probably be better off creating a unique rtx_insn * object and > > using that as the marker. > OK. Fixed the patch. Rebased and tested on x86_64-linux (fortunately, it > did not conflict with Trevor's series of rtx_insn-rela

RE: [patch 1/28] top-level: Use automake-1.11.6

2015-05-08 Thread Bernd Edlinger
Hi, On Fri, 8 May 2015 20:20:55, Joseph S. Myers wrote: > > On Fri, 8 May 2015, Bernd Edlinger wrote: > >> But it made the in-tree gmp configure script fail. That would not >> have happened if we did not pass our version of missing to a sub- >> module like gmp, that already has a working missing

<    1   2