Announcing AArch64 and ARM port reviewers

2015-04-01 Thread Jeff Law
Sorry for the delay on this. I've been swamped with non-GCC things for the last month or so... I'm pleased to announce that James Greenhalgh has been appointed as a reviewer for the AArch64 port and that Kyrylo Tkachov has been appointed as a reviewer for the ARM port. James & Kyrylo, if yo

[AArch64] Missed vectorization opportunity in cactusADM

2015-04-01 Thread Ekanathan, Saravanan
(I had sent this mail to gcc-help a week ago. Not sure, all GCC developers are subscribed to gcc-help, so re-sending to GCC development mailing list) Hi, This looks like a missed vectorization opportunity for one of the 'Fortran' hot loops in cactusADM (CPU2006 benchmark) when compiled with "-mcp

gcc-4.9-20150401 is now available

2015-04-01 Thread gccadmin
Snapshot gcc-4.9-20150401 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.9-20150401/ 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

Re: how to modify gcc to compile a[b] differently

2015-04-01 Thread Игорь Пашев
2015-04-01 12:19 GMT+03:00 Richard Biener : > You probably want to do this in the frontends. And one of them is C++ :-)

Re: how to modify gcc to compile a[b] differently

2015-04-01 Thread Gry Gunvor
The documentation I find online for modifying gcc is rather old. Is there an up to date map of at least where in gcc the different stages occur? Suppose I just want to modify the instruction emitted for the "*" operator. Where is that? Gry On Wed, Apr 1, 2015 at 2:19 AM, Richard Biener wrote:

Re: Ada: %(cc1_options) missing from default specs file

2015-04-01 Thread Eric Botcazou
> Doesn't common.opt serve this purpose? But if I understand you > correctly, the Ada front end alters semantics of flags in common.opt, > which means we are in a bit of a difficult position here. No, I meant splitting cc1_options into a base_options and cc1_options and adding base_options only

Re: Ada: %(cc1_options) missing from default specs file

2015-04-01 Thread Florian Weimer
On 04/01/2015 12:02 PM, Eric Botcazou wrote: >> All the other in-tree front ends use it, including Java, Fortran, and Go. > > Out of laziness I'd say. ;-) AFAIK the Ada FE never did it. Would it make sense to add “%(gnat1_options)”, so that Fedora can use it specs-file-based injection for Ada pr

Re: Ada: %(cc1_options) missing from default specs file

2015-04-01 Thread Eric Botcazou
> All the other in-tree front ends use it, including Java, Fortran, and Go. Out of laziness I'd say. ;-) AFAIK the Ada FE never did it. > Would it be possible to add some other injection mechanism so that it is > possible customize the gnat1 flags using the specs file mechanism? Yes, defining a

Re: Ada: %(cc1_options) missing from default specs file

2015-04-01 Thread Florian Weimer
On 04/01/2015 11:38 AM, Arnaud Charlet wrote: > Well cc1_options are relevant to C (C family?) language(s), and not > necessarily > for Ada. All the other in-tree front ends use it, including Java, Fortran, and Go. > In other words, not all C or C++ switches are relevant or recognized > by gnat

Re: Ada: %(cc1_options) missing from default specs file

2015-04-01 Thread Eric Botcazou
> Can we just add “%(cc1_options)”, or is there a reason why it is missing? It is not missing, reusing cc1_options is simply problematic because different FEs can have different needs. In particular, in Ada we need to echo the order of -g* and -m* switches (the "%{g*&m*}" thing) and cc1_options

Re: Ada: %(cc1_options) missing from default specs file

2015-04-01 Thread Arnaud Charlet
> {"@ada", >"\ > %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are > incompatible}}\ > %{!S:%{!c:%e-c or -S required for Ada}}\ > gnat1 %{I*} %{k8:-gnatk8} %{Wall:-gnatwa} %{w:-gnatws} %{!Q:-quiet}\ > %{nostdinc*} %{nostdlib*}\ > -dumpbase > %{.adb:%b.adb}%{.ads:%b.

Re: how to modify gcc to compile a[b] differently

2015-04-01 Thread Richard Biener
On Wed, Apr 1, 2015 at 12:20 AM, Gry Gunvor wrote: > I want to modify gcc 4.9.2 so that array subscripting expressions a[b] > generate a new instruction/syscall foo(a, b) (that is, taking a and b > as arguments) rather than just being turned into *(a+b). > > Further, I want accesses into multi-dim

Ada: %(cc1_options) missing from default specs file

2015-04-01 Thread Florian Weimer
gcc/ada/gcc-interface/lang-specs.h has this: {"@ada", "\ %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\ %{!S:%{!c:%e-c or -S required for Ada}}\ gnat1 %{I*} %{k8:-gnatk8} %{Wall:-gnatwa} %{w:-gnatws} %{!Q:-quiet}\ %{nostdinc*} %{nostdlib*}\ -dumpbase