Using a 'V' constraint with QI mode....

2012-12-29 Thread Alan Lehotsky
The V constraint is essentially implemented by checking that the addressing mode presented is NOT offsettable. But that's done by adding GET_MODE_SIZE(mode) - 1. I've got a machine that supports indirection but not offsetting or indexing. But the V constraint fails for any (mem:QI (

Built gcc 4.7.2 on Ubuntu 10.04.4 LTS under virtualbox under XP

2012-12-29 Thread Sidney Marshall
I successfully built gcc 4.7.2 on Ubuntu 10.04.4 LTS under virtualbox under XP. The whole process had no problems - there were some minor errors reported from testing. output from config.guess = i686-pc-linux-gnu gcc -v output: Using built-in specs. COLLECT_GCC=/usr/local/gcc-4.7.2/bin/gcc CO

gcc-4.7-20121229 is now available

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

Re: BUG: assuming signed overflow does not occur when simplifying conditional to constant

2012-12-29 Thread Bruce Korb
(Tarball attachment (75K) stripped.) On 12/29/12 10:56, Florian Weimer wrote: >> Not easily. git clone git://git.savannah.gnu.org/autogen.git > > Uhm, I get: > > configure.ac:30: error: AC_INIT should be called with package and version > arguments I ought to have directed you to a pre-release

Re: BUG: assuming signed overflow does not occur when simplifying conditional to constant

2012-12-29 Thread Florian Weimer
* Bruce Korb: > Hi Florian, > > On Sat, Dec 29, 2012 at 2:38 AM, Florian Weimer wrote: >>> ../../autoopts/configfile.c: In function 'intern_file_load': >>> ../../autoopts/configfile.c:1025:12: error: assuming signed overflow does >>> not occur \ >>> when simplifying conditional to constant [

Re: BUG: assuming signed overflow does not occur when simplifying conditional to constant

2012-12-29 Thread Bruce Korb
Hi Florian, On Sat, Dec 29, 2012 at 2:38 AM, Florian Weimer wrote: >> ../../autoopts/configfile.c: In function 'intern_file_load': >> ../../autoopts/configfile.c:1025:12: error: assuming signed overflow does >> not occur \ >> when simplifying conditional to constant [-Werror=strict-overflow]

Re: BUG: assuming signed overflow does not occur when simplifying conditional to constant

2012-12-29 Thread Florian Weimer
* Bruce Korb: > I wrote a loop that figures out how many items are in a list, > counts down from that count to -1, changes direction and counts > up from 0 to the limit, a la: > > > inc = -1; > int idx = 0; > while (opts->papzHomeList[idx+1] != NULL) > idx++; > for (;;) {