Re: Auto-generated .rodata contents and __attribute__((section))

2018-05-18 Thread Richard Biener
On Thu, May 17, 2018 at 11:10 PM Segher Boessenkool < seg...@kernel.crashing.org> wrote: > On Thu, May 17, 2018 at 06:10:13PM +0200, Michael Matz wrote: > > On Wed, 16 May 2018, Richard Biener wrote: > > > > Are constant pool entries merged at compile time or at link time? I > > > > would presume

Your newsletter subscription

2018-05-18 Thread José Carmo
Hello bit.ly/bonuseml 500$ Ваш приз, You want to add the email address gcc@gcc.gnu.org to the following newsletters: Newsletter Newsletter de Setembro Click here to confirm your newsl

How do I stop gcc from loading data into registers when that's not needed?

2018-05-18 Thread Paul Koning
Gents, In some targets, like pdp11 and vax, most instructions can reference data in memory directly. So when I have "if (x < y) ..." I would expect something like this: cmpw x, y bgeq 1f ... What I actually see, with -O2 and/or -Os, is: movw x, r0 mo

Re: How do I stop gcc from loading data into registers when that's not needed?

2018-05-18 Thread Richard Biener
On May 18, 2018 8:03:05 PM GMT+02:00, Paul Koning wrote: >Gents, > >In some targets, like pdp11 and vax, most instructions can reference >data in memory directly. > >So when I have "if (x < y) ..." I would expect something like this: > > cmpw x, y > bgeq 1f > ... > >What I act

gcc-8-20180518 is now available

2018-05-18 Thread gccadmin
Snapshot gcc-8-20180518 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20180518/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-8

Re: How to disable multiple declarations

2018-05-18 Thread sumit kasliwal; via gcc
> Hi, >  > As a visiting faculty member at a local college, I am preparing > documentation for some students that details bad practices to > avoid when programming with C. >  > One of the practices I admonish against is multiple declarations > in a single statement. While my doc does whatever littl

Re: How to disable multiple declarations

2018-05-18 Thread Jonathan Wakely
On 19 May 2018 at 07:01, sumit kasliwal; wrote: >> Hi, >> >> As a visiting faculty member at a local college, I am preparing >> documentation for some students that details bad practices to >> avoid when programming with C. >> >> One of the practices I admonish against is multiple declarations >> i