GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Vinaya Dandur
Dear Developers, It is unfortunate that I am facing this issue and to my bad luck, I do not see an answer on google as well. Problem: I have downloaded and compiled GCC 4.8.1 with the below configure options on SLES 12 and post installation, created soft links cc c++ gcc and g++ to point to gcc-

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Jonathan Wakely
On Sat, 23 Mar 2019 at 15:15, Vinaya Dandur wrote: > > Dear Developers, > > It is unfortunate that I am facing this issue and to my bad luck, I do not > see an answer on google as well. > > Problem: > > I have downloaded and compiled GCC 4.8.1 with the below configure options > on SLES 12 and post

GSoC

2019-03-23 Thread youssef Elmasry
What kind of experience i should have in c/c++ before applying? Is it possible to learn what’s missing before the deadline? Thank you

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Vinaya Dandur
Hi Jonathan, Thank you. Yes it is not an issue with the GCC but the TRAP_BRKPT is defined in signal.h which the GCC could include but can't find the constant mentioned. Is there any way this problem could be resolved ? any pointers I can get ? Thanks and Regards, Vinaya D R On Sat, Mar 23, 2019

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Paul Smith
On Sat, 2019-03-23 at 21:55 +0530, Vinaya Dandur wrote: > Thank you. Yes it is not an issue with the GCC but the TRAP_BRKPT is > defined in signal.h which the GCC could include but can't find the > constant mentioned. > Is there any way this problem could be resolved ? any pointers I can > get ? I

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Jonathan Wakely
On Sat, 23 Mar 2019 at 16:25, Vinaya Dandur wrote: > > Hi Jonathan, > > Thank you. Yes it is not an issue with the GCC but the TRAP_BRKPT is defined > in signal.h which the GCC could include but can't find the constant mentioned. Your code doesn't include , how do you expect it to find anything

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Vinaya Dandur
My mistake. Thanks, but even if you include the issue still exists. Yes TRAP_BRKPT is not included in signal.h, however gcc somehow finds the definition for TRAP_BRKPT and I don't know how. This works in other hosts. Any how I shall post the question on other platforms. Thanks for you time. Thank

Re: [GSoC 2019] [extending Csmith for fuzzing OpenMp extensions]

2019-03-23 Thread sameeran joshi
Hi, I tried doing a basic/incomplete patch(needs more detailed conditions check) for implementing a structured block in Csmith code base. The structured block is almost needed for most of the constructs which would be further implemented. 0) The patch identifies and labels each block(after block cr

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Paul Smith
On Sat, 2019-03-23 at 22:54 +0530, Vinaya Dandur wrote: > My mistake. Thanks, but even if you include the issue still > exists. Yes TRAP_BRKPT is not included in signal.h, however gcc somehow > finds the definition for TRAP_BRKPT and I don't know how. This works in > other hosts. A peruse of the

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Vinaya Dandur
Don't know how to thank you. Thanks a ton. Will try this out. I am happy that the gcc developer community listens. On Sat, 23 Mar, 2019, 11:53 PM Paul Smith, wrote: > On Sat, 2019-03-23 at 22:54 +0530, Vinaya Dandur wrote: > > My mistake. Thanks, but even if you include the issue still > > exi

Re: [GSoC 2019] [extending Csmith for fuzzing OpenMp extensions]

2019-03-23 Thread Andi Kleen
On Sat, Mar 23, 2019 at 11:49:11PM +0530, sameeran joshi wrote: > 1) check_structured_block_conditions() > checks for the conditions related to a structured block > 1.no returns in block returns should be allowed inside statement expressions. > 2.no gotos > 3.no breaks > a

Warning in gcc/libiberty/dyn-string.c during build

2019-03-23 Thread nick
Greetings all, I just got this in my build output: ar: `u' modifier ignored since `D' is the default (see `U') configure: WARNING: cannot check for properly working vsnprintf when c

Bugzilla ID 88395

2019-03-23 Thread nick
Greetings, I was working on this bug here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88395 I don't know if this is correct but after tracing it seems that this is wrong: tree vars = tsubst (t, args, complain, in_decl); and T would be wrapped in the correct caller to avoid segaults in some c

[GSoC 2019] No application template?

2019-03-23 Thread 김규래
Hello, I was trying to write my application for GSoC 2019 but couldn't find an application form for GCC. Some other organizations seem to have GSoC application forms/templates. The gcc GSoC wiki page doesn't mention any. Is the application format free? or did I miss it somewhere? If it is free, is