Question for ARM person re asm_fprintf

2014-07-21 Thread David Wohlferd
I have been looking at asm_fprintf in final.c, and I think there's a design flaw. But since the change affects ARM and since I have no access to an ARM system, I need a second opinion. asm_fprintf allows platforms to add support for new format specifiers by using the ASM_FPRINTF_EXTENSIONS ma

gcc 4.9 Very slow

2014-07-21 Thread Ali Abdul Ghani
Hi list When I compare gcc 4.8 in gcc 4.9 gcc 4.9 Very slow When I use g++

Re: GCC version bikeshedding

2014-07-21 Thread Eric Botcazou
> Was this a Cauldron thing? Could you summarise it for the people who > weren't there? I don't strongly object, but it seems like unnecessary > churn (especially in terms of user expectations). Yeah, bumping the major version number every year is a bit ridiculous. Not as ridiculous as Firefox

[gomp4] Offloading wiki page

2014-07-21 Thread Ilya Verbin
Hi, I've created a wiki page about offloading. Any improvements are welcome. https://gcc.gnu.org/wiki/Offloading Thanks, -- Ilya

Re: Some __builtin_round and cast subtleties

2014-07-21 Thread Joseph S. Myers
On Fri, 4 Jul 2014, Kyrill Tkachov wrote: > These end up taking different codepaths through the compiler () because > __builtin_lround has to take -fmath-errno into account and does not end up > getting inlined (generating a call to the library lround). That suggests this transformation is buggy

[Copyright transfer] What to do for copyright transfer to FSF for contracted changes?

2014-07-21 Thread Andre Vehreschild
Hi, I am a freelancer contracted to fix some bugs in the fortran compiler. I understand that I need to transfer the copyright of that effort to the FSF. My client and me are willing to sign any paperwork needed for that. Unfortunately my client will be on holiday from Thursday on. What do I need

Re: GCC version bikeshedding

2014-07-21 Thread Diego Novillo
On Mon, Jul 21, 2014 at 10:30 AM, Alec Teal wrote: > Agreed (no experience, but I wouldn't want to live in a world where what > Andi > describes is the case!) We already live in that world. This would not change that. I quite like the proposal. > What is "Bikeshedding"? I've not heard this term

Re: GCC version bikeshedding

2014-07-21 Thread Alec Teal
On 20/07/14 22:28, Andi Kleen wrote: Paulo Matos writes: That's what I understood as well. Someone mentioned to leave the patch level number to the distros to use which sounded like a good idea. Sounds like a bad idea, as then there would be non unique gcc versions. redhat gcc 5.0.2 potentiall

Re: [GSoC] generation of Gimple code from isl_ast_node_block

2014-07-21 Thread Tobias Grosser
On 21/07/2014 14:55, Roman Gareev wrote: It seems S_6 is now scheduled before S_4 which is surprising, as dependences from S_4 to S_6 should prevent us from generating a schedule that yields such a result. What is the schedule that you give to the isl ast generator? The schedule generated by th

Re: [GSoC] Question about the implementation of vec.h

2014-07-21 Thread Diego Novillo
On Mon, Jul 21, 2014 at 5:22 AM, Roman Gareev wrote: > Dear gcc contributors, > > could you please answer a few questions about the implementation of > vec.h? Should we always use “create” to initialize, for example, > vec or is it possible to do it using “safe_grow_cleared” > or a similar functio

Re: [GSoC] generation of Gimple code from isl_ast_node_block

2014-07-21 Thread Roman Gareev
> It seems S_6 is now scheduled before S_4 which is surprising, as > dependences from S_4 to S_6 should prevent us from generating a schedule > that yields such a result. What is the schedule that you give to the isl ast > generator? The schedule generated by the code, which uses variable k (It ex

Re: [GSoC] generation of Gimple code from isl_ast_node_block

2014-07-21 Thread Tobias Grosser
On 21/07/2014 14:23, Roman Gareev wrote: I've attached the patch, which contains generation of Gimple code from isl_ast_node_block. However, I've found out a problem. The following example: int k = 50; static int __attribute__((noinline)) foo () { int i, res; for (i = 0, res = 0; i < k; i

[GSoC] generation of Gimple code from isl_ast_node_block

2014-07-21 Thread Roman Gareev
I've attached the patch, which contains generation of Gimple code from isl_ast_node_block. However, I've found out a problem. The following example: int k = 50; static int __attribute__((noinline)) foo () { int i, res; for (i = 0, res = 0; i < k; i++) res += i; return res; } extern vo

Re: GCC version bikeshedding

2014-07-21 Thread Andreas Schwab
Andi Kleen writes: > Sounds like a bad idea, as then there would be non unique gcc versions. > redhat gcc 5.0.2 potentially being completely different from suse gcc > 5.0.2 How is that different from now? Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1C

[GSoC] Question about the implementation of vec.h

2014-07-21 Thread Roman Gareev
Dear gcc contributors, could you please answer a few questions about the implementation of vec.h? Should we always use “create” to initialize, for example, vec or is it possible to do it using “safe_grow_cleared” or a similar function? There is "vec_safe_grow_cleared", which works with vec. Is the

RE: GCC version bikeshedding

2014-07-21 Thread Paulo Matos
> -Original Message- > From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf > Of Andi Kleen > Sent: 20 July 2014 22:29 > To: Paulo Matos > Cc: gcc@gcc.gnu.org > Subject: Re: GCC version bikeshedding > > Paulo Matos writes: > > > > That's what I understood as well. Someon