Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Ramana Radhakrishnan
On Tue, Jun 2, 2015 at 7:15 PM, Sriraman Tallam wrote: > On Mon, Jun 1, 2015 at 1:33 PM, Ramana Radhakrishnan > wrote: >> On Mon, Jun 1, 2015 at 7:55 PM, Sriraman Tallam wrote: >>> On Mon, Jun 1, 2015 at 11:41 AM, Ramana Radhakrishnan >>> wrote: On Mon, Jun 1, 2015 at 7:01 PM, Sriraman Tal

Re: [PATCH], Add IEEE 128-bit floating point to PowerPC, patch #1

2015-06-02 Thread Joseph Myers
On Tue, 2 Jun 2015, Michael Meissner wrote: > 4) Add float128 versions of the basic math libraries. For this it will >probably be simpler if we can force long double to be IEEE 128-bit so you >don't have to change as much code, but you want to suppress whatever check >there will be to

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Bernhard Reutner-Fischer
On June 2, 2015 9:59:40 PM GMT+02:00, Sriraman Tallam wrote: >On Tue, Jun 2, 2015 at 12:32 PM, Bernhard Reutner-Fischer > wrote: >> On June 2, 2015 8:15:42 PM GMT+02:00, Sriraman Tallam > wrote: >> [] >> >>>I have now modified this patch. >>> >>>This patch does two things: >>> >>>1) Adds new gene

Re: Fix PR43404, PR48470, PR64744 ICE on naked functions

2015-06-02 Thread Jeff Law
On 06/01/2015 04:12 AM, Alexander Basov wrote: Hi, this patch fixes ICE when compiling naked functions for arm targets. It prevents register allocation for non-register things like volatile, float, BLKMode vars. Tested on trunk with arm-v7ar-linux-gnueabi on qemu vexpress board. -- Alexander

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Xinliang David Li
On Tue, Jun 2, 2015 at 1:56 PM, Ramana Radhakrishnan wrote: > On Tue, Jun 2, 2015 at 7:15 PM, Sriraman Tallam wrote: >> On Mon, Jun 1, 2015 at 1:33 PM, Ramana Radhakrishnan >> wrote: >>> On Mon, Jun 1, 2015 at 7:55 PM, Sriraman Tallam wrote: On Mon, Jun 1, 2015 at 11:41 AM, Ramana Radhakri

Re: [C PATCH] warn for empty struct -Wc++-compat

2015-06-02 Thread Prathamesh Kulkarni
On Sat, Nov 15, 2014 at 3:56 AM, Prathamesh Kulkarni wrote: > On Sat, Nov 15, 2014 at 3:06 AM, Joseph Myers wrote: >> On Wed, 12 Nov 2014, Prathamesh Kulkarni wrote: >> >>> Is this version okay ? >>> [gcc/c] >>> * c-decl.c (warn_cxx_compat_finish_struct): New parameters code, >>> record_loc. >

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Sriraman Tallam
On Tue, Jun 2, 2015 at 1:56 PM, Ramana Radhakrishnan wrote: > On Tue, Jun 2, 2015 at 7:15 PM, Sriraman Tallam wrote: >> On Mon, Jun 1, 2015 at 1:33 PM, Ramana Radhakrishnan >> wrote: >>> On Mon, Jun 1, 2015 at 7:55 PM, Sriraman Tallam wrote: On Mon, Jun 1, 2015 at 11:41 AM, Ramana Radhakri

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Bernhard Reutner-Fischer
On June 2, 2015 11:22:03 PM GMT+02:00, Xinliang David Li wrote: >> I'm sorry I'm going to push back again for the same reason. >> >> Other than forcing targets to tweak their call insn patterns, the act >> of generating the indirect call should remain in target independent >> code. Sorry, not ha

Re: [PATCH 09/16] libiberty.h: Provide CTIMER_PUSH/POP

2015-06-02 Thread Jeff Law
On 06/01/2015 03:30 PM, DJ Delorie wrote: libiberty is not an API to gcc, it is a portability library. If GCC is exporting a timer, GCC's headers should have the interface in it. Agreed. jeff

Re: [RFA] Reimplement canonicalization of comparison arguments in match.pd

2015-06-02 Thread Jeff Law
On 05/30/2015 03:57 AM, Marc Glisse wrote: On Fri, 29 May 2015, Jeff Law wrote: c-common.c::shorten_compare has code to canonicalize the arguments of a comparison so that the constant is the second argument. This patch removes the implementation from c-common.c and instead implements it in mat

Re: [RFA] Reimplement canonicalization of comparison arguments in match.pd

2015-06-02 Thread Jeff Law
On 06/01/2015 05:15 AM, Richard Biener wrote: On Sat, May 30, 2015 at 6:41 AM, Jeff Law wrote: c-common.c::shorten_compare has code to canonicalize the arguments of a comparison so that the constant is the second argument. This patch removes the implementation from c-common.c and instead impl

[ping] Re: [patch,gomp4] error on invalid acc loop clauses

2015-06-02 Thread Cesar Philippidis
Any thoughts? Maybe I should just apply this patch to gomp-4_0-branch since it doesn't introduce any regressions. On 05/20/2015 04:26 PM, Cesar Philippidis wrote: > On 05/20/2015 07:32 AM, Jakub Jelinek wrote: > >> For OpenMP/OpenACC, there is still lots of diagnostics emitted during >> gimplific

[PATCH], Add support for --with-advance-toolchain= to PowerPC

2015-06-02 Thread Michael Meissner
This is a convenience patch that would help those of us who work on the main GCC releases as well as backporting changes to the IBM Advance Toolchain. It adds a new configuration switch, --with-advance-toolchain= that configures the compiler to use the include files, libraries, and dynamic loader

Re: [PATCH], Add support for --with-advance-toolchain= to PowerPC

2015-06-02 Thread Joseph Myers
On Tue, 2 Jun 2015, Michael Meissner wrote: > * config.gcc (powerpc*-*-*): Add support for a new configure > option --with-advance-toolchain= which overrides using the > default header files, libraries and dynamic linker. > * doc/install.texi (--enable-advance-toolchain=):

Re: [PATCH], Add support for --with-advance-toolchain= to PowerPC

2015-06-02 Thread Michael Meissner
On Wed, Jun 03, 2015 at 12:05:36AM +, Joseph Myers wrote: > On Tue, 2 Jun 2015, Michael Meissner wrote: > > > * config.gcc (powerpc*-*-*): Add support for a new configure > > option --with-advance-toolchain= which overrides using the > > default header files, libraries and dynamic

Re: [PATCH GCC]Improve how we handle overflow for type conversion in scev/ivopts, part I

2015-06-02 Thread Bin.Cheng
On Tue, Jun 2, 2015 at 11:37 AM, Bin.Cheng wrote: > On Tue, May 26, 2015 at 5:04 PM, Richard Biener > wrote: >> On Sun, May 24, 2015 at 8:47 AM, Bin.Cheng wrote: >>> On Fri, May 22, 2015 at 7:45 PM, Richard Biener >>> wrote: On Wed, May 20, 2015 at 11:41 AM, Bin Cheng wrote: > Hi, >>>

[GCC, ARM] armv8 linux toolchain asan testcase fail due to stl missing conditional code

2015-06-02 Thread Shiva Chen
Hi, I noticed that armv8(32 bit target) linux toolchain run asan testcase would get the following message: FAIL: c-c++-common/asan/heap-overflow-1.c -O0 output pattern test, is Executing on host: /home/gccbuilder-x86/test/mgcc5.0/testsuite/../tools/x86_64/install/bin/qemu-arm -E LD_LIBRARY_PAT

Re: RFA: RL78:

2015-06-02 Thread DJ Delorie
Ok. Thanks!

Re: [PATCH 02/16] gcc: Embed the driver in-process within libgccjit

2015-06-02 Thread Bert Wesarg
On Mon, Jun 1, 2015 at 11:04 PM, David Malcolm wrote: > Provide a way to clean up state within the driver code, and use this > from libgccjit to embed it in-process, rather that via pex. Part of > this requires restoring the environment after any putenv calls, so the > patch introduces an env_man

Re: [PATCH testsuite]Refine scanning string in pr65447.c to support small address offset target

2015-06-02 Thread Bin.Cheng
On Tue, Jun 2, 2015 at 11:40 PM, Bernhard Reutner-Fischer wrote: > On June 2, 2015 5:56:13 AM GMT+02:00, Bin Cheng wrote: >>Hi, >>On some arm processors, the offset supported in addressing modes is >>very >>small. As a result, the dozens of address induction variables will be >>grouped into seve

Re: RFA: Fix mode checks for possibly-constant predicates

2015-06-02 Thread Richard Sandiford
Richard Henderson writes: > On 05/29/2015 10:23 AM, Richard Sandiford wrote: >> + /* Check whether the predicate accepts const scalar ints (which always >> + have a stored mode of VOIDmode, but logically have a real mode) >> + and whether it matches anything besides const scalar ints. */

<    1   2