[PATCH/expand] PR64011 Adjust bitsize when partial overflow happen for big-endian

2014-12-30 Thread Jiong Wang
PR64011 is actually a general problem on all target support bit insertion instructions. we overflow check at the start of store_bit_field_1, but that only check the situation where the field lies completely outside the register, while there do have situation where the field lies partly in the

Re: [PATCH, i386] Remove EBX usage from asm code

2014-12-30 Thread Uros Bizjak
On Mon, Dec 29, 2014 at 4:29 PM, Evgeny Stupachenko evstu...@gmail.com wrote: Missed path in ChangeLog: 2014-12-28 Evgeny Stupachenko evstu...@gmail.com * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage. * config/i386/sysv4.h (CRT_GET_RFIB_DATA):

Strenghten early inliner analysis

2014-12-30 Thread Jan Hubicka
Hi, this patch enables inline predicates for early inlining, too. This is easy to do because we do have call stmt around and know if parameters are constants. Bootstrapped/regtested x86_64-linux, comitted. Honza * ipa-inline-analyssi.c (edge_set_predicate): Reset size/time when

Re: Strenghten early inliner analysis

2014-12-30 Thread Markus Trippelsdorf
On 2014.12.30 at 12:37 +0100, Jan Hubicka wrote: Hi, this patch enables inline predicates for early inlining, too. This is easy to do because we do have call stmt around and know if parameters are constants. Bootstrapped/regtested x86_64-linux, comitted. This causes Firefox LTO build on

Re: [PATCH, fortran, final] PR fortran/60255 Deferred character length

2014-12-30 Thread Andre Vehreschild
Hi Dominique, thanks for pointing that out. That was caused by a flaw in the current patch. In the attached version this is fixed now. Bootstraps and regtests ok on x86_64-linux-gnu. Regards, Andre On Mon, 29 Dec 2014 16:32:27 +0100 Dominique d'Humières domi...@lps.ens.fr wrote: For

[PATCH, i386]: Use std::swap some more.

2014-12-30 Thread Uros Bizjak
Hello! 2014-12-30 Uros Bizjak ubiz...@gmail.com * config/i386/i386.c (ix86_legitimize_address): Use std::swap. (ix86_split_fp_branch): Ditto. (ix86_expand_int_movcc): Ditto. (ix86_expand_sse_compare): Ditto. Bootstrapped and regression tested on x86_64-linux-gnu {,-m32} ,

RE: [PATCH] Don't check for optab for 16bit bswap

2014-12-30 Thread Richard Biener
On December 29, 2014 7:44:13 PM CET, Oleg Endo oleg.e...@t-online.de wrote: On Mon, 2014-12-29 at 17:53 +, Thomas Preud'homme wrote: From: Richard Biener [mailto:rguent...@suse.de] Sent: Monday, December 29, 2014 5:09 PM OK, but what about targets without a rotation optab? Is the

Re: [PATCH, fortran, final] PR fortran/60255 Deferred character length

2014-12-30 Thread Dominique d'Humières
The new patch fixes the ICEs, but still emit the wrong codes reported in pr61337. Thanks and Happy New Year to all, Dominique Le 30 déc. 2014 à 14:39, Andre Vehreschild ve...@gmx.de a écrit : Hi Dominique, thanks for pointing that out. That was caused by a flaw in the current patch. In

Re: [wwwdocs] C++ SD-6 feature test column for cxx0x.html and cxx1y.html

2014-12-30 Thread Jason Merrill
On 12/27/2014 07:56 PM, Ed Smith-Rowland wrote: I would like peoples opinion of adding another column to the tables indicating C++ feature status for C++11 and C++14 that contains the relevant SD-6 feature macro. Sure, that makes sense. Jason

Re: [WWW] Update index.html and gcc-5/changes.html to reflect offloading changes.

2014-12-30 Thread Kirill Yukhin
Hi Gerald, On 27 Dec 12:07, Gerald Pfeifer wrote: On Friday 2014-12-12 14:43, Kirill Yukhin wrote: These change adds mention of OpenMP4 offloading support in GCC: in release notes and in news section of main page. good you thought of that, thank you! Index: htdocs/index.html

Re: [PATCH] Fix PR c++/59366 A friend function template defined in a class is found without ADL

2014-12-30 Thread Jason Merrill
On 12/28/2014 01:45 PM, Momchil Velikov wrote: + if (!hidden_friend) + { + DECL_ANTICIPATED (olddecl) = 0; + DECL_HIDDEN_FRIEND_P (olddecl) = 0; + } Why not add this... @@ -2147,10 +2160,6 @@ duplicate_decls (tree newdecl, tree olddecl, bool

Re: [PATCH] Fix PR c++/59366 A friend function template defined in a class is found without ADL

2014-12-30 Thread Momchil Velikov
On 30.12.2014 17:54, Jason Merrill wrote: On 12/28/2014 01:45 PM, Momchil Velikov wrote: + if (!hidden_friend) +{ + DECL_ANTICIPATED (olddecl) = 0; + DECL_HIDDEN_FRIEND_P (olddecl) = 0; +} Why not add this... @@ -2147,10 +2160,6 @@ duplicate_decls (tree newdecl, tree

RE: [PATCH] Don't check for optab for 16bit bswap

2014-12-30 Thread Oleg Endo
On Tue, 2014-12-30 at 16:22 +0100, Richard Biener wrote: On December 29, 2014 7:44:13 PM CET, Oleg Endo oleg.e...@t-online.de wrote: On Mon, 2014-12-29 at 17:53 +, Thomas Preud'homme wrote: From: Richard Biener [mailto:rguent...@suse.de] Sent: Monday, December 29, 2014 5:09 PM

Re: Strenghten early inliner analysis

2014-12-30 Thread H.J. Lu
On Tue, Dec 30, 2014 at 5:21 AM, Markus Trippelsdorf mar...@trippelsdorf.de wrote: On 2014.12.30 at 12:37 +0100, Jan Hubicka wrote: Hi, this patch enables inline predicates for early inlining, too. This is easy to do because we do have call stmt around and know if parameters are constants.

[SH][committed] PR 53987 - Add some known to work tests

2014-12-30 Thread Oleg Endo
Hi, This adds some known to work SH tests for PR 53987. Tested with make -k check-gcc RUNTESTFLAGS=sh.exp=pr53987-1.c --target_board=sh-sim \{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb} Committed as r219110. Cheers, Oleg gcc/testsuite/ChangeLog: PR target/53987 *

Re: [wwwdocs] gcc-5/changes.html: Graphite - CLooG removal; Fortran - update

2014-12-30 Thread Tobias Burnus
On 12 November 2014, Tobias Burnus wrote: Hi all, hi Gerald, hi Tobias and Roman, the patch updates gcc-5/changes.html; the Fortran bits are obvious. I have now also committed a patch for Graphite – slightly modified; the Fortran patch has been committed before. Attached is the Graphite

Re: [PATCH] simplify-rtx: Generalize (and X (ior (not X) Y) - (and X Y)

2014-12-30 Thread Segher Boessenkool
On Mon, Dec 29, 2014 at 12:14:31PM +, Alan Lawrence wrote: Just a quick thought: will this catch e.g. (and (not X) (ior X Y))? It doesn't (and nothing else does, either; I checked). That's equivalent to (and (not X) (ior (not (not X)) Y)), i.e. (and X' (ior (not X') Y)) with X'=(not X),

[SH][committed] Add tst insn test cases

2014-12-30 Thread Oleg Endo
Hi, This adds some more SH tst insn test cases. Most of them are currently failing and thus are marked as xfail. I'm working on some patches for those cases. Tested with make -k check-gcc RUNTESTFLAGS=sh.exp=pr49263* --target_board=sh-sim

[SH][committed] Add tst insn test cases

2014-12-30 Thread Oleg Endo
Hi, This adds some more SH tst insn test cases. Most of them are currently failing and thus are marked as xfail. I'm working on some patches for those cases. Tested with make -k check-gcc RUNTESTFLAGS=sh.exp=pr49263* --target_board=sh-sim

[SH][committed] Add tst/bld insn test cases

2014-12-30 Thread Oleg Endo
Hi, This adds some more SH tst and SH2A bld insn test cases. Most of them are currently failing and thus are marked as xfail. I'm working on some patches for those cases. Tested with make -k check-gcc RUNTESTFLAGS=sh.exp=pr49263* --target_board=sh-sim

[PATCH, libgo] Backport for PPC64 reloc fix to 4.9

2014-12-30 Thread Lynn A. Boger
Hi, The following should have been included with the backport for 4.9 in https://gcc.gnu.org/ml/gcc-patches/2014-12/msg01383.html to allow the debuginfo to be read for EM_PPC64. 2014-12-30 Lynn Boger labo...@linux.vnet.ibm.com * libgo/go/debug/elf/file.go: Read debug_info for EM_PPC64

[PATCH, libgo] Backport for handling of 64 bit symbol tables in gccgo

2014-12-30 Thread Lynn A. Boger
Hi, Please backport the following fix to the gcc 4.9 branch. 2014-12-30 Lynn Boger labo...@linux.vnet.ibm.com * gcc/go/gofrontend/import-archive.cc: Recognize 64-bit symbol tables Index: gcc/go/gofrontend/import-archive.cc

[PATCH, libgo] Backport to gcc 4.9 GOARCH setting for ppc64le

2014-12-30 Thread Lynn A. Boger
Hi, Please backport this change to the gcc 4.9 branch so that the GOARCH value setting for ppc64le is consistent with trunk. This has been bootstrapped and regression tested on ppc64le and ppc64 (along with the other patches submitted for the 4.9 branch today). 2014-12-30 Lynn Boger

[PATCH, libgo] Backport fix for compiler flags in mksysinfo.sh to gcc 4.9

2014-12-30 Thread Lynn A. Boger
Hi, Please backport the change from https://gcc.gnu.org/ml/gcc-patches/2014-09/msg00713.html to gcc 4.9. 2014-12-30 Lynn Boger labo...@linux.vnet.ibm.com * libgo/mksysinfo.sh: Add the same compiler flags used by configure to detect whether off64_t is present when generating the

[PING][PATCH][1-3] New configure options that make the compiler use -fPIE and -pie as default option

2014-12-30 Thread Magnus Granberg
fredag 14 november 2014 23.31.48 skrev Magnus Granberg: måndag 10 november 2014 21.26.39 skrev Magnus Granberg: Rainer Thanks Rainer for the nits and comments. Have updated the patches and Changelogs. But i still use PIE_DRIVER_SELF_SPECS, do you have a ide where move it so i

Re: Strenghten early inliner analysis

2014-12-30 Thread Jan Hubicka
Hi, the problem is that we free node params when early analysis is called late via add_new_function. Bootstrapped/regtsted x86_64-linux, comitted. Honza 2014-12-30 Jan Hubicka hubi...@ucw.cz * ipa-inline-analysis.c (estimate_function_body_sizes): Do not free node params when

Re: [PATCH] toplev.c: Process the failure when read fails for random_seed

2014-12-30 Thread Joseph Myers
On Mon, 29 Dec 2014, Chen Gang S wrote: 2014-12-27 Chen Gang gang.chen.5...@gmail.com * toplev.c (init_local_tick): Process the failure when read fails for random_seed. OK. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH] toplev.c: Process the failure when read fails for random_seed

2014-12-30 Thread Joseph Myers
On Mon, 29 Dec 2014, Chen Gang S wrote: And in honest, this year what I have done is really not quite well, next year I should be improved: should scanning Bugzilla and try to fix the existing issues (just like another members' suggestions to me). Note that for any substantial patches you'll

Re: libsanitizer merge from upstream r221802

2014-12-30 Thread David Abdurachmanov
On Dec 29, 2014, at 7:46 PM, Jakub Jelinek wrote: On Mon, Dec 29, 2014 at 07:36:42PM +0100, David Abdurachmanov wrote: I believe this is breaking bootstrap on aarch64-linux-gnu with kernels =3.15, 3.16 and above are fine. __kernel_old_{gid,uid}_t were changed in 3.16 from unsigned int to

Re: libsanitizer merge from upstream r221802

2014-12-30 Thread Andrew Pinski
On Tue, Dec 30, 2014 at 2:39 PM, David Abdurachmanov david.abdurachma...@gmail.com wrote: On Dec 29, 2014, at 7:46 PM, Jakub Jelinek wrote: On Mon, Dec 29, 2014 at 07:36:42PM +0100, David Abdurachmanov wrote: I believe this is breaking bootstrap on aarch64-linux-gnu with kernels =3.15,

[PATCH, i386]: Two trivial cleanups

2014-12-30 Thread Uros Bizjak
2014-12-30 Uros Bizjak ubiz...@gmail.com * config/i386/i386.c (ix86_legitimize_address): Declare changed as bool. (ix86_expand_unary_operator): Declare matching_memory as bool. (ix86_avoid_jump_mispredicts): Declare isjump as bool. 2014-12-30 Uros Bizjak ubiz...@gmail.com

[PATCH, moxie] Eliminate redundant zero extension instructions

2014-12-30 Thread Anthony Green
I've checked in the attached patch. The moxie port was emitting redundant (harmless) zero extend (zex) instructions. This fixes that. AG 2014-12-30 Anthony Green gr...@moxielogic.com * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2): Switch from

Re: [PATCH] toplev.c: Process the failure when read fails for random_seed

2014-12-30 Thread Chen Gang S
On 12/31/14 06:26, Joseph Myers wrote: On Mon, 29 Dec 2014, Chen Gang S wrote: And in honest, this year what I have done is really not quite well, next year I should be improved: should scanning Bugzilla and try to fix the existing issues (just like another members' suggestions to me).

Re: [WWW] Update index.html and gcc-5/changes.html to reflect offloading changes.

2014-12-30 Thread Mikhail Maltsev
Hi Gerald, On Sat, 27 Dec 2014 12:07:02 +0100 (CET) Gerald Pfeifer ger...@pfeifer.com wrote: Is everyone aware what MIC stands for, or is that the marketing name? AFAIK, MIC is Many Integrated Core:

[Patch, libstdc++/64441] Fix sub_match::first and second

2014-12-30 Thread Tim Shen
A dumb mistake :) Bootstrapped and tested. Thanks! -- Regards, Tim Shen commit 7fc4b45bb9cf6b1c6ec6620092ae18fe41cb57af Author: timshen tims...@google.com Date: Tue Dec 30 21:14:48 2014 -0800 2014-12-30 Tim Shen tims...@google.com PR libstdc++/64441 *