Spill registers not available

2014-03-19 Thread David Guillen
Hello! As I stated on other emails I'm writing a backend. I'm facing a problem regarding register modes. The thing is: I don't know how to handle non-SI modes. I've read many backends for different arches but I don't really get it, sorry. In my case I've started with a x86 backend. This arch has

Re: Legitimize address after reload

2014-03-19 Thread David Guillen
Yep thanks, As you guys pointed the problem was the improper handling of the strict_p parameter. Thanks! 2014-03-18 20:13 GMT+01:00 Richard Sandiford : > Richard Sandiford writes: >> What DJ meant below was that you should reject all pseudo registers >> if strict_p. I.e. REG_P (foo) should be:

Re: Integration of ISL code generator into Graphite

2014-03-19 Thread Tobias Grosser
On 03/14/2014 09:18 PM, Roman Gareev wrote: Dear gcc contributors, I am going to try to participate in Google Summer of Code 2014. My project is "Integration of ISL code generator into Graphite". My proposal can be found at on the following link https://drive.google.com/file/d/0B2Wloo-931AoTWlk

Re: [GSoC 2014] Proposal: OpenCL Code Generator

2014-03-19 Thread Thomas Schwinge
Hi Ilmir! On Wed, 19 Mar 2014 19:02:11 +0400, Ilmir Usmanov wrote: > My name is Ilmir Usmanov and I'm a student of Moscow Institute of Physics and > Technology. > Also I'm implementing OpenACC 1.0 in gomp4 branch as an employee of Samsung > R&D Institute Russia (SRR). My research interests are

Re: [GSoC 2014] Proposal: OpenCL Code Generator

2014-03-19 Thread Maxim Kuvyrkov
On Mar 20, 2014, at 4:02 AM, Ilmir Usmanov wrote: > Hi all! > > My name is Ilmir Usmanov and I'm a student of Moscow Institute of Physics and > Technology. > Also I'm implementing OpenACC 1.0 in gomp4 branch as an employee of Samsung > R&D Institute Russia (SRR). My research interests are conn

libgcc/config.host pattern question

2014-03-19 Thread Joel Sherrill
Hi I tracked down a bug in building v850-rtems to a place in libgcc/config.host where the code setting tmake_file did not append, it overwrote the previous value. This caused v850-rtems to throw away the previous setting which adding the newlib/sys/rtems/* directories to the include path. diff --

RE: returning short-enum and truncate doesn't trigger conversion warning

2014-03-19 Thread Paulo Matos
> -Original Message- > From: David Brown [mailto:da...@westcontrol.com] > Sent: 19 March 2014 15:47 > To: Paulo Matos; gcc@gcc.gnu.org > Subject: Re: returning short-enum and truncate doesn't trigger > conversion warning > > > Usually the discovery of bugs gets discussed on the help lis

Re: returning short-enum and truncate doesn't trigger conversion warning

2014-03-19 Thread David Brown
On 19/03/14 15:55, Paulo Matos wrote: > > >> -Original Message- >> From: David Brown [mailto:da...@westcontrol.com] >> Sent: 19 March 2014 14:44 >> To: Paulo Matos; gcc@gcc.gnu.org >> Subject: Re: returning short-enum and truncate doesn't trigger >> conversion warning >> >> On 19/03/14 15

[GSoC 2014] Proposal: OpenCL Code Generator

2014-03-19 Thread Ilmir Usmanov
Hi all! My name is Ilmir Usmanov and I'm a student of Moscow Institute of Physics and Technology. Also I'm implementing OpenACC 1.0 in gomp4 branch as an employee of Samsung R&D Institute Russia (SRR). My research interests are connected with creating OpenCL Code Generator. So I'd like to parti

RE: returning short-enum and truncate doesn't trigger conversion warning

2014-03-19 Thread Paulo Matos
> -Original Message- > From: David Brown [mailto:da...@westcontrol.com] > Sent: 19 March 2014 14:44 > To: Paulo Matos; gcc@gcc.gnu.org > Subject: Re: returning short-enum and truncate doesn't trigger > conversion warning > > On 19/03/14 15:33, Paulo Matos wrote: > > Hi all, > > > > This

Re: returning short-enum and truncate doesn't trigger conversion warning

2014-03-19 Thread David Brown
On 19/03/14 15:33, Paulo Matos wrote: > Hi all, > > This is either a C standard subtlety or a bug in GCC. This is perfectly normal behaviour for C, and not a bug. It is also a topic for the gcc help list, rather than the development list. > For example: > unsigned short foo (unsigned int a) > {

returning short-enum and truncate doesn't trigger conversion warning

2014-03-19 Thread Paulo Matos
Hi all, This is either a C standard subtlety or a bug in GCC. For example: unsigned short foo (unsigned int a) { return a; } enum xpto { A = 0, B = 1, X = 512 }; extern void print (unsigned int); unsigned char bar (enum xpto a) { print (sizeof (unsigned char)); print (sizeof (enum x

Re: GCC internal re-architecture proposal

2014-03-19 Thread Andrew MacLeod
On 03/19/2014 05:08 AM, Richard Biener wrote: On Tue, Mar 18, 2014 at 5:34 PM, Diego Novillo wrote: On Tue, Mar 18, 2014 at 10:19 AM, Richard Biener wrote: On Fri, Jun 21, 2013 at 5:27 PM, Andrew MacLeod wrote: [ I foolishly sent this with the document as an attachment... hopefully it gets

Re: [gsoc 2014] moving fold-const patterns to gimple

2014-03-19 Thread Richard Biener
On Tue, Mar 18, 2014 at 9:04 AM, Prathamesh Kulkarni wrote: > On Mon, Mar 17, 2014 at 2:22 PM, Richard Biener > wrote: >> On Sun, Mar 16, 2014 at 1:21 PM, Prathamesh Kulkarni >> wrote: >>> In c_expr::c_expr, shouldn't OP_C_EXPR be passed to operand >>> constructor instead of OP_EXPR ? >> >> Inde

Re: GCC internal re-architecture proposal

2014-03-19 Thread Richard Biener
On Tue, Mar 18, 2014 at 5:34 PM, Diego Novillo wrote: > On Tue, Mar 18, 2014 at 10:19 AM, Richard Biener > wrote: >> On Fri, Jun 21, 2013 at 5:27 PM, Andrew MacLeod wrote: >>> [ I foolishly sent this with the document as an attachment... hopefully it >>> gets rejected and anyone interested can s