Re: string constant of the constant pool entry..

2015-03-04 Thread Umesh Kalappa
Thank you richard for the inputs . ~Umesh On Wed, Mar 4, 2015 at 3:29 AM, Richard Sandiford wrote: > Umesh Kalappa writes: >> Hi All, >> >> I'm trying to fetch the string constant from the constant pool entry >> for the symbol_ref rtx like >> >> c sample >> >> int i; >> int main() >> { >> pri

Re: Obscure crashes due to gcc 4.9 -O2 => -fisolate-erroneous-paths-dereference

2015-03-04 Thread Richard Biener
On Wed, Mar 4, 2015 at 12:38 AM, Jeff Law wrote: > On 03/03/15 12:57, Martin Sebor wrote: >> >> >> As a data point(*) it might be interesting to note that GCC itself >> relies on memcpy providing stronger guarantees than the C standard >> requires it to by emitting calls to the function for large

SPIR-V and GCC

2015-03-04 Thread BogDan
Hello folks, Probably is a little bit too early, but I'd like to ask if there is any chance to use gcc to produce SPIR-V [1]. It will be just great if we'll be able to write our shaders in e.g. C/C++/(any language supported by gcc) and use GCC to compile them as SPIR-V! It will be fantastic to

Re: SPIR-V and GCC

2015-03-04 Thread David Malcolm
On Wed, 2015-03-04 at 14:36 +, BogDan wrote: > Hello folks, > > > Probably is a little bit too early, but I'd like to ask if there is > any chance to use gcc to produce SPIR-V [1]. > It will be just great if we'll be able to write our shaders in e.g. > C/C++/(any language supported by gcc) a

Re: SPIR-V and GCC

2015-03-04 Thread BogDan
On Wednesday, March 4, 2015 5:22 PM, David Malcolm wrote: On Wed, 2015-03-04 at 14:36 +, BogDan wrote: > Hello folks, > > > Probably is a little bit too early, but I'd like to ask if there is > any chance to use gcc to produce SPIR-V [1]. > It will be just great if we'll be able to write ou

Re: please document requirements on sphinx

2015-03-04 Thread David Malcolm
On Tue, 2015-03-03 at 11:49 +0100, Matthias Klose wrote: > Both gccjit and gnat now use sphinx to build the documentation. While not a > direct part of the build process, it would be nice to document the > requirements > on sphinx, and agree on a common version used to generate that documentation

Re: SPIR-V and GCC

2015-03-04 Thread David Malcolm
On Wed, 2015-03-04 at 16:20 +, BogDan wrote: > On Wednesday, March 4, 2015 5:22 PM, David Malcolm > wrote: > On Wed, 2015-03-04 at 14:36 +, BogDan wrote: > > Hello folks, > > > > > > Probably is a little bit too early, but I'd like to ask if there is > > any chance to use gcc to produce

Re: MPX runtime inclusion for GCC 5

2015-03-04 Thread Jeff Law
On 02/26/15 03:26, Ilya Enkovich wrote: 2015-02-26 11:30 GMT+03:00 Richard Biener : In current patches libmpx is enabled by default only for x86_64-*-linux* and i?86-*-linux*. I agree that current configure may miss some system checks. With amount of time left I think having it disabled by defaul

GSoc-2015: Modular GCC

2015-03-04 Thread Sidharth Chaturvedi
Hi, I came across this page while browsing through ideas for GSoc-2015: https://gcc.gnu.org/wiki/ModularGCC I like the overall task, but it seems somewhat overambitious. I wanted to verify if this is still a desirable architectural goal (as the last update on this page was around 3 years ago). A

gcc-4.9-20150304 is now available

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

LRA spill/fill memory alignment question

2015-03-04 Thread Steve Ellcey
I have a question about spilling variables and alignment requirements. There is currently code that allows one to declare local variables with an alignment that is greater than MAX_STACK_ALIGNMENT. In that case expand_stack_vars calls allocate_dynamic_stack_space to create a pointer to properly al

Wrong function call in GCC JIT tutorial

2015-03-04 Thread Bert Wesarg
Hi David, while reading the very good tutorial at https://gcc.gnu.org/onlinedocs/jit/intro/tutorial03.html I noticed that the calls to gcc_jit_block_end_with_conditional() misses the on_true and on_false parameters. HTH, Bert