gcc-4.5-20100930 is now available

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

Re: secondary reload via 2 intermediary registers

2010-09-30 Thread Georg Lay
Alex Turjan schrieb: > Hi, > I have 3 questions regarding secondary reload: > > 1.Is it possible to do the secondary reload via 2 intermediary registers? > As far as I can see the insn that implements the secondary reload has to have > 3 operands. reload insns are deprecated. Use TARGET_SECONDA

GCC 4.6.0 Status Report (2010-09-30)

2010-09-30 Thread Richard Guenther
Status == GCC trunk will be in stage1 for roughly another four weeks. This felt like a good time to go over the existing list of regression and start to prioritize them according to our release criteria. This means that regressions on non-primary, non-secondary targets or for languages othe

Re: Report: using GCC plugin to implement ORM for C++

2010-09-30 Thread Manuel López-Ibáñez
On 30 September 2010 12:26, Boris Kolpackov wrote: > > What didn't work so well: > >  - The plugin header inclusion is a mess. You have to include the right >    set of headers in the right order to get things to compile. Plus, the >    GCC headers poison some declarations, so, for example, you ca

Report: using GCC plugin to implement ORM for C++

2010-09-30 Thread Boris Kolpackov
Hi, We have just released a C++ object-relational mapping (ORM) system, called ODB, that uses the new GCC plugin architecture. I thought I would report back to the GCC community on how the plugin part worked out. In a nutshell, the ODB compiler parses a C++ header with class declarations (and so

Re: old aliasing bug: fixed?

2010-09-30 Thread Richard Guenther
On Thu, Sep 30, 2010 at 9:54 AM, Albert Cahalan wrote: > int weird(float *fp){ >        // access an int as an int (see caller), >        // so not an aliasing violation >        return *(int*)fp; > } > int main(int argc, char *argv[]){ >        return weird((float*)&argc); > } > > I just tried th

secondary reload via 2 intermediary registers

2010-09-30 Thread Alex Turjan
Hi, I have 3 questions regarding secondary reload: 1.Is it possible to do the secondary reload via 2 intermediary registers? As far as I can see the insn that implements the secondary reload has to have 3 operands. 2. Is it possible that an instruction emitted during the secondary reload to ge

old aliasing bug: fixed?

2010-09-30 Thread Albert Cahalan
int weird(float *fp){ // access an int as an int (see caller), // so not an aliasing violation return *(int*)fp; } int main(int argc, char *argv[]){ return weird((float*)&argc); } I just tried this code with gcc 4.4.5 on 32-bit powerpc using -O2 -W -Wall. Assembly c