Hi,
it makes me 'crazy' when I see such if-else constructs:
if (x)
return 7;
else
return 4;
(Of course in this case one better would use the shorthand "return x ? 7 :
4;", but that's not the issue here)
The 'else' is obviously superfluous/redundant, ie. unneeded at all:
if (x)
Status
==
The GCC 8 branch is frozen for preparation of the GCC 8.2 release.
All changes to the branch now require release manager approval.
Previous Report
===
https://gcc.gnu.org/ml/gcc/2018-07/msg00194.html
* Segher Boessenkool:
> What would the advantage of using Python be? I haven't heard any yet.
> Awk may be a bit clunky but at least it is easily readable for anyone.
I'm not an experienced awk programmer, but I don't think plain awk
supports arrays of arrays, so there's really no good way to em
A release candidate for GCC 8.2 is available from
ftp://gcc.gnu.org/pub/gcc/snapshots/8.2.0-RC-20180719/
and shortly its mirrors. It has been generated from SVN revision 262876.
I have so far bootstrapped and tested the release candidate on
x86_64-unknown-linux-gnu. Please test it and
> On Jul 19, 2018, at 4:49 AM, U.Mutlu wrote:
>
> Hi,
> it makes me 'crazy' when I see such if-else constructs:
> if (x)
>return 7;
> else
>return 4;
>
> (Of course in this case one better would use the shorthand "return x ? 7 :
> 4;", but that's not the issue here)
>
> The 'else'
On Thu, 19 Jul 2018 at 14:01, Paul Koning wrote:
> Warnings are appropriate for code that is known to be a source of bugs, or
> where there is a reasonable chance that the intent of the programmer doesn't
> match what was actually written. That's not the case here.
Agreed. This seems to be a pu
Boris Kolpackov wrote:
> From: Paul Koning
> > I wonder what will be the expected way to obtain a suitable version of
> > Python if one is not available on the build machine? With awk I can
> > build it from source pretty much anywhere. Is building newer versions
> > of Python on older targets
On 07/18/2018 03:28 PM, Segher Boessenkool wrote:
> On Wed, Jul 18, 2018 at 11:51:36AM +0200, Richard Biener wrote:
>> We already conditionally require Perl for building for some targets so I
>> wonder
>> if using perl would be better ...
>
> At least perl is GPL (Python is not).
>
>
> What wou
On 7/19/18, U.Mutlu wrote:
> Hi,
> it makes me 'crazy' when I see such if-else constructs:
>if (x)
> return 7;
>else
> return 4;
>
> (Of course in this case one better would use the shorthand "return x ? 7 :
> 4;", but that's not the issue here)
>
> The 'else' is obviously superf
On 7/19/18, Jeff Law wrote:
> On 07/18/2018 03:28 PM, Segher Boessenkool wrote:
>> On Wed, Jul 18, 2018 at 11:51:36AM +0200, Richard Biener wrote:
>>> We already conditionally require Perl for building for some targets so I
>>> wonder
>>> if using perl would be better ...
>>
>> At least perl is GP
On 19/07/18 12:30, Florian Weimer wrote:
> * Segher Boessenkool:
>
>> What would the advantage of using Python be? I haven't heard any yet.
>> Awk may be a bit clunky but at least it is easily readable for anyone.
>
> I'm not an experienced awk programmer, but I don't think plain awk
> supports
On 07/10/2018 05:09 AM, colinb2 . wrote:
> Feel free to copy this email and attachment to anyone who might be interested.
> I'm very happy to answer any questions anyone has.
> The program can be compiled and run like this on Linux with GNU GCC:
> gcc -O2 -o expmed2.exe expmed2.c
> ./expmed2.exe
>
hi
is there any chance someone has a working gcc-ada compiler? for
- Linux/MIPS (big endian, MIPS3, MIPS4 or MIPS32)
- Linux/HPPA2
I have successfully compiled gcc-ada for SGI_IRIX (MIPS4/BE)
but ... every attempt to create a cross-compiler(1) fails
on HPPA I have never seen an Ada compiler
I ca
David Malcolm wrote:
>On Tue, 2018-07-17 at 14:49 +0200, Martin Liška wrote:
>> I've recently touched AWK option generate machinery and it's
>> quite unpleasant to make any adjustments. My question is
>> simple: can we starting using a scripting language like Python
>> and replace usage of the AWK
On 07/19/2018 02:19 PM, Carlo Pisani wrote:
> hi
> is there any chance someone has a working gcc-ada compiler? for
> - Linux/MIPS (big endian, MIPS3, MIPS4 or MIPS32)
> - Linux/HPPA2
>
> I have successfully compiled gcc-ada for SGI_IRIX (MIPS4/BE)
> but ... every attempt to create a cross-compiler
On 7/19/18, Jeff Law wrote:
> On 07/10/2018 05:09 AM, colinb2 . wrote:
> Improvements to compile time behavior are always worth considering.
The points you make below about wide_int might address this, albeit in
a somewhat different way from the way I am proposing.
> So a key issue with GCC is t
Snapshot gcc-7-20180719 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/7-20180719/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 7 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-7
On 20/07/2018, at 4:12 AM, Richard Earnshaw (lists) mailto:richard.earns...@arm.com>> wrote:
> On 19/07/18 12:30, Florian Weimer wrote:
>> * Segher Boessenkool:
>>
>>> What would the advantage of using Python be? I haven't heard any yet.
>>> Awk may be a bit clunky but at least it is easily r
18 matches
Mail list logo