Re: Question about 'gcc/fold-const.c:fold_convert_loc' for 'real_cst' -> 'reference_type' of 'real_type'

2020-12-15 Thread Jakub Jelinek via Gcc
On Tue, Dec 15, 2020 at 05:02:24PM +0100, Thomas Schwinge wrote: > Per the 'fold_convert_loc' code (cited below), we see that for 'type' of > 'case INTEGER_TYPE' etc. -- which 'type' of 'case REFERENCE_TYPE' does > "fall through" into -- we do not handle 'arg' of 'REAL_CST' like we do > for 'type'

Re: Question about GCC not warning for some noncompliant SEI CERT C code examples

2019-05-30 Thread Jeff Law
On 5/30/19 8:28 AM, Martin Sebor wrote: > On 5/30/19 3:12 AM, Fredrik Hederstierna wrote: >> Hi >> >> When reading the SEI CERT C Coding Standard rules, looking at >> "DCL30-C. Declare objects with appropriate storage durations" >> it seem like GCC does not warn in compile-time for some noncomplian

Re: Question about GCC not warning for some noncompliant SEI CERT C code examples

2019-05-30 Thread Martin Sebor
On 5/30/19 3:12 AM, Fredrik Hederstierna wrote: Hi When reading the SEI CERT C Coding Standard rules, looking at "DCL30-C. Declare objects with appropriate storage durations" it seem like GCC does not warn in compile-time for some noncompliant examples. I know eg AddressSanitizer and several ru

Re: Question about gcc options '-mapcs-stack-check' and '-mapcs-frame'

2018-09-03 Thread Richard Earnshaw (lists)
On 24/08/18 14:51, Akhilesh chirlancha wrote: > Hello All, > > I'm using gcc 5.4.0 for armhf target. > > I was compiling simple stack over flow test code with '-mapcs-stack-check' > option. > # gcc -mapcs-stack-check test.c > test.c:1:0: warning: -mapcs-stack-check incompatible with -mno-apcs-fra

Re: Question about GCC benchmarks and uninitialized variables

2018-07-24 Thread David Brown
On 24/07/18 09:40, Fredrik Hederstierna wrote: > Hi > > This is a general question to all you working with GCC benchmarking. > > I have been working with code benchmarks like CSiBE for ARM. From > time to time unpredicted results appears where numbers gets worse by > no reason. > > When looking

Re: Question about GCC benchmarks and uninitialized variables

2018-07-24 Thread Alexander Monakov
On Tue, 24 Jul 2018, Fredrik Hederstierna wrote: > So my question is how to approach this problems when doing benchmarking, > ofcourse we want the benchmark to mirror as near as 'real life' code as > possible. But if code contains real bugs, and issues that could cause > unpredictable code genera

Re: question about GCC Wiki

2017-07-29 Thread Martin Sebor
On 07/29/2017 07:37 AM, Segher Boessenkool wrote: On Mon, Jul 24, 2017 at 01:08:35PM -0600, Martin Sebor wrote: ...or more precisely, about MoinMoin hyperlink formatting. I'd like to insert hyperlinks to anchors in the GCC HTML manual on some Wiki pages. Specifically, I'd like to be able to li

Re: question about GCC Wiki

2017-07-29 Thread Segher Boessenkool
On Mon, Jul 24, 2017 at 01:08:35PM -0600, Martin Sebor wrote: > ...or more precisely, about MoinMoin hyperlink formatting. > > I'd like to insert hyperlinks to anchors in the GCC HTML manual > on some Wiki pages. Specifically, I'd like to be able to link > to the description of a command line opt

Re: question about GCC Quad-Precision Math Library

2011-08-30 Thread FX
Dear Samuel, (I copy this email to the gcc@gcc.gnu.org list, as this is the home for discussions of this library.) You can't use the libquadmath library with an ANSI-C compiler. You need a compiler that supports the __float128 type and operations on it (such as multiplications, as you mention)

Re: question about GCC

2010-06-02 Thread Jonathan Wakely
On 2 June 2010 22:42, manal habib wrote: > Hi, > > I am new into the field of coding, and I am wandering if I can get > some help on how to use the GCC? I have a mac version 10.5.8.   Should > I just copy one of the image folders to make computer?  how can use > it? This is not the right mailing l

Re: Question about gcc-lib and building on SPARC

2006-04-13 Thread Mark Cuss
On 12 April 2006 22:18, Mark Cuss wrote: The guy who was here before me set up the previous version (gcc-3.3.3) gcc 3.3.3 was compiled with the following configure flags: configure --with-gnu-as --with-as=/cdl/apps/bin/sun/as --with-gnu-ld --with-ld=/cdl/apps/bin/sun/ld --enable-lang

RE: Question about gcc-lib and building on SPARC

2006-04-13 Thread Dave Korn
On 12 April 2006 22:18, Mark Cuss wrote: > The > guy who was here before me set up the previous version (gcc-3.3.3) > gcc 3.3.3 was compiled with the following configure flags: > configure --with-gnu-as --with-as=/cdl/apps/bin/sun/as --with-gnu-ld > --with-ld=/cdl/apps/bin/sun/ld --enable-lan

Re: Question about gcc-lib and building on SPARC

2006-04-13 Thread Niklaus
On 4/13/06, Mark Cuss <[EMAIL PROTECTED]> wrote: > Hello - this is definitely a newbie question, so bear with me... > > We've been using gcc under Solaris on SPARC hardware for some time now. The > guy who was here before me set up the previous version (gcc-3.3.3) and now > I'm trying to get gcc-3

Re: question about gcc

2005-11-17 Thread Paul Albrecht
From: "Jim Wilson" <[EMAIL PROTECTED]> > Paul Albrecht wrote: > > Is there some reason gcc hasn't been or can't be enhanced to provide output > > for > > cross-referencing programs? > > FYI, there are a number of tools available for producing > cross-referencing info. See for instance > htt

Re: question about gcc

2005-11-17 Thread Jim Wilson
Paul Albrecht wrote: Is there some reason gcc hasn't been or can't be enhanced to provide output for a cross-referencing programs? FYI, there are a number of tools available for producing cross-referencing info. See for instance http://www.gnu.org/software/global/links.html and try look

Re: question about gcc

2005-11-17 Thread Paul Albrecht
From: "Robert Dewar" <[EMAIL PROTECTED]> > Paul Albrecht wrote: > > Is there some reason gcc hasn't been or can't be enhanced to provide output > > for a > > cross-referencing programs? > > > > No reason why it can't be, and the reason it hasn't is that no one has done > it. Actually strictly yo

Re: question about gcc

2005-11-17 Thread Robert Dewar
Paul Albrecht wrote: Is there some reason gcc hasn't been or can't be enhanced to provide output for a cross-referencing programs? Paul Albrecht No reason why it can't be, and the reason it hasn't is that no one has done it. Actually strictly you don't mean gcc here, you are referring to part

Re: Question about GCC 3.4.1 -O2 Optimization bug (i386 and rs6000)

2005-02-22 Thread Vasanth
Thanks for clearing up my mis-understanding ! --- Andrew Pinski <[EMAIL PROTECTED]> wrote: > > On Feb 22, 2005, at 4:29 PM, Vasanth wrote: > > > Hi, > > > > I am sure this bug has been reported before, but I > am > > not able to track it down in bugzilla. Someone > kindly > > refer me to the r

Re: Question about GCC 3.4.1 -O2 Optimization bug (i386 and rs6000)

2005-02-22 Thread Andrew Pinski
On Feb 22, 2005, at 4:29 PM, Vasanth wrote: Hi, I am sure this bug has been reported before, but I am not able to track it down in bugzilla. Someone kindly refer me to the relevant bug report. You are violating C90/C99 aliasing rules. --Pinski