Re: [OR1K port] where do I change the function frame structure

2015-05-06 Thread Jim Wilson
On 05/05/2015 05:19 PM, Peter T. Breuer wrote: Please .. where (in what file, dir) of the gcc (4.9.1) source should I rummage in order to change the sequence of instructions eventually emitted to do a function call? Are you trying to change the caller or the callee? For the callee, or1k_compu

Re: Compiler warnings while compiling gcc with clang‏

2015-05-06 Thread Martin Uecker
Am Tue, 5 May 2015 21:37:10 -0700 Andrew Pinski : > On Tue, May 5, 2015@9:00 PM, Aditya K wrote: > >>> > >>> gcc/rtlanal.c:5573:23: warning: array index 1 is past the end of the > >>> array (which contains 1 element) [-Warray-bounds] > >>> ../../gcc/rtlanal.c:5573:23: warning: array index 1 is p

gcc-4.9-20150506 is now available

2015-05-06 Thread gccadmin
Snapshot gcc-4.9-20150506 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.9-20150506/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.9 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

ANN: gcc-python-plugin 0.14

2015-05-06 Thread David Malcolm
gcc-python-plugin is a plugin for GCC 4.6 onwards which embeds the CPython interpreter within GCC, allowing you to write new compiler warnings in Python, generate code visualizations, etc. It ships with "gcc-with-cpychecker", which implements static analysis passes for GCC aimed at finding bugs in

Re: Is it Okay for GCC to do the following simplifications with "-ffast-math" flag

2015-05-06 Thread Richard Biener
On May 6, 2015 5:56:10 PM GMT+02:00, Michael Matz wrote: >Hi, > >On Wed, 6 May 2015, Richard Biener wrote: > >> >> double f1(int x) { return (double)(float)x; } --> return >(double)x; >> >> int f2(double x) { return (int)(float)x; } --> return (int)x; >> >> >> >> Is it Okay for the compiler to do

Re: Is it Okay for GCC to do the following simplifications with "-ffast-math" flag

2015-05-06 Thread Michael Matz
Hi, On Wed, 6 May 2015, Richard Biener wrote: > >> double f1(int x) { return (double)(float)x; } --> return (double)x; > >> int f2(double x) { return (int)(float)x; } --> return (int)x; > >> > >> Is it Okay for the compiler to do the simplifications shown above with > >> fast-match enabled? > > >

Re: [i386] Scalar DImode instructions on XMM registers

2015-05-06 Thread Ilya Enkovich
2015-04-25 4:32 GMT+03:00 Jan Hubicka : > Hi, > I am adding Vladimir and Richard into CC. I tried to solve similar problem > with FP math years ago by having -mfpmath=sse,i387. The idea was to allow > use of i387 registers when SSE ones run out and possibly also model the fact > that Pentium4 had f

Re: Is it Okay for GCC to do the following simplifications with "-ffast-math" flag

2015-05-06 Thread Jeff Law
On 05/06/2015 05:11 AM, Richard Biener wrote: On Wed, May 6, 2015 at 2:56 AM, wrote: On 05/05/2015 08:27 AM, Renlin Li wrote: Hi all, For the following illustrative code, double f1(int x) { return (double)(float)x; } --> return (double)x; int f2(double x) { return (int)(float)x; } --> retu

Question

2015-05-06 Thread stanleyomachieful
Good day sir, how do I get tutorial of GNU make?thanks for you answer. Sent from my BlackBerry wireless device from MTN

Re: Merging debug-early work?

2015-05-06 Thread Richard Biener
On Wed, May 6, 2015 at 12:33 AM, Aldy Hernandez wrote: > Gentlemen! > > I believe I have done as much as is reasonable for a merge, but I'd like to > get your opinion before I post a huge patch to the list. > > The branch bootstraps with one regression in GCC > (gcc.dg/debug/dwarf2/stacked-qualifi

Re: Is it Okay for GCC to do the following simplifications with "-ffast-math" flag

2015-05-06 Thread Richard Biener
On Wed, May 6, 2015 at 2:56 AM, wrote: > On 05/05/2015 08:27 AM, Renlin Li wrote: >> >> Hi all, >> >> For the following illustrative code, >> >> double f1(int x) { return (double)(float)x; } --> return (double)x; >> int f2(double x) { return (int)(float)x; } --> return (int)x; >> >> Is it Okay fo