DWARF has new home

2007-02-16 Thread Michael Eager
The DWARF Debugging Format has a new home: http://dwarfstd.org. The website has an updated FAQ, as well as a tutorial on Dwarf. There are links to sign up for the Dwarf Discussion mailing list. The DWARF Standard Committee will be considering proposals for the next revision of DWARF. You may su

Re: sizeof struct { short x } on arm gcc-3.2.1

2007-02-16 Thread Mike Stump
On Feb 16, 2007, at 8:57 AM, Rutger Hofman wrote: If I declare the struct 'packed', then it is size 2. That is enough for my purposes. I hope that won't greatly change through versions... Also, there is: @item [EMAIL PROTECTED] @opindex mstructure-size-boundary The size of all structures and

Re: i386.md:3705: error: undefined machine-specific constraint at this point: "Y"

2007-02-16 Thread Jan Hubicka
> I just got this error building a cross-compiler from sparc-sun-solaris2.10 > targetted to i686-unknown-linux-gnu. This worked as recently as last > week: > > > build/genoutput ../../egcc-SVN20070216/gcc/config/i386/i386.md > insn-conditions.md > tmp-output.c > > config/i386/i386.md:3705: err

Re: Question about register allocation (GCC 4.1)

2007-02-16 Thread Jim Wilson
Thomas Bernard wrote: So basically this is known at compile-time. Such as "dynamic" register allocator. Is it that possible and what are the implications on the register allocator ??? The IA-64 case is much simpler. We have variable sized overlapping register windows. GCC already has regist

gcc-4.3-20070216 is now available

2007-02-16 Thread gccadmin
Snapshot gcc-4.3-20070216 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20070216/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.3 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

i386.md:3705: error: undefined machine-specific constraint at this point: "Y"

2007-02-16 Thread Kaveh R. GHAZI
I just got this error building a cross-compiler from sparc-sun-solaris2.10 targetted to i686-unknown-linux-gnu. This worked as recently as last week: > build/genoutput ../../egcc-SVN20070216/gcc/config/i386/i386.md > insn-conditions.md > tmp-output.c > config/i386/i386.md:3705: error: undefin

Bootstrap failure in tree-ssa-pre.o

2007-02-16 Thread Art Haas
Hi. My build from last night failed due to a warning/error. Configure options: /mnt/src/gcc/configure --prefix=/opt/gnu --enable-shared \ --enable-threads=posix --enable-__cxa_atexit \ --enable-languages="c,c++,objc" --disable-checking --with-system-zlib \ --with-gc=page --disable-libstdcxx-pch

Re: RFC: vectorizer cost model

2007-02-16 Thread Zdenek Dvorak
Hello, > "Linthicum, Tony" <[EMAIL PROTECTED]> writes: > > > * Would using a tree-level API like estimate_num_insns be superior > > to using a simple cost of 1 per statment? > > For this sort of calculation, I would guess not. I would imagine that > on most processors the cost of a single

Re: RFC: vectorizer cost model

2007-02-16 Thread Ian Lance Taylor
"Linthicum, Tony" <[EMAIL PROTECTED]> writes: > * Would using a tree-level API like estimate_num_insns be superior > to using a simple cost of 1 per statment? For this sort of calculation, I would guess not. I would imagine that on most processors the cost of a single vector instruction is

Re: Question about register allocation (GCC 4.1)

2007-02-16 Thread Andrew Haley
Thomas Bernard writes: > I have a question about retargeting the back-end of GCC 4.1. > Our targeted architecture uses four classes of registers: global ($RG), > locals ($RL), dependents ($RD), shareds ($RS). In total 31 hard > registers available for the all previous classes. > The amount

Call for help: when can compare_and_jump_seq produce sequences with control flow insns?

2007-02-16 Thread Steven Bosscher
Hello, As some folks perhaps have noticed, my effort to make gcc use cfglayout mode between expand and, roughly, sched1, have stagnated a bit. I am completely stuck on a problem that I basically can't trigger. In other words, I *know* I should expect problems if I make a certain change, but I ha

Question about register allocation (GCC 4.1)

2007-02-16 Thread Thomas Bernard
Hello all, I have a question about retargeting the back-end of GCC 4.1. Our targeted architecture uses four classes of registers: global ($RG), locals ($RL), dependents ($RD), shareds ($RS). In total 31 hard registers available for the all previous classes. The amount of each register is only k

RFC: vectorizer cost model

2007-02-16 Thread Linthicum, Tony
Hello all, Dorit Nuzman and I have been collaborating on a plan for a cost model for the vectorizer. Included below is an overview of the design for the initial implementation. We would welcome any input those of you on the list might have. Thanks in advance for your help. Dorit and Tony --

Re: sizeof struct { short x } on arm gcc-3.2.1

2007-02-16 Thread Rutger Hofman
Paul Brook wrote: My (embedded) development system is gcc-3.2.1 arm-elf. I don't really understand its value for sizeof(struct { short x }). sizeof s_sh 4 sizeof short 2 This is a feature of the ARM ABI you are using. All structures are word aligned (which implies being word sized). Paul

Re: sizeof struct { short x } on arm gcc-3.2.1

2007-02-16 Thread Paul Brook
> My (embedded) development system is gcc-3.2.1 arm-elf. I don't really > understand its value for sizeof(struct { short x }). > sizeof s_sh 4 > sizeof short 2 This is a feature of the ARM ABI you are using. All structures are word aligned (which implies being word sized). Paul

sizeof struct { short x } on arm gcc-3.2.1

2007-02-16 Thread Rutger Hofman
Hello list, I did a quick search in the archives but I found nothing appropriate. My (embedded) development system is gcc-3.2.1 arm-elf. I don't really understand its value for sizeof(struct { short x }). Given the following program: #include int main(int argc, char *argv[]) { struct

Re: what is difference between gcc-ada and GNAT????

2007-02-16 Thread Robert Dewar
Duncan Sands wrote: But Duncan, you were generating a bunch of proprietary Ada code recently, if you can get people to be comfortable submitting it, possibly in obfuscated form, by all means go ahead! I already started doing this, see http://gcc.gnu.org/ml/gcc/2006-07/msg00591.html great!

Re: what is difference between gcc-ada and GNAT????

2007-02-16 Thread Duncan Sands
> But Duncan, you were generating a bunch of proprietary > Ada code recently, if you can get people to be comfortable > submitting it, possibly in obfuscated form, by all means > go ahead! I already started doing this, see http://gcc.gnu.org/ml/gcc/2006-07/msg00591.html Duncan.

Re: what is difference between gcc-ada and GNAT????

2007-02-16 Thread Robert Dewar
Eric Botcazou wrote: Furthermore, I am not really sure that the FSF testing infrastructure is setup to deal with tests of hundreds of thousands of lines of code. Right, this is not the "spirit" of the GCC regression testsuite. We instead strive to distill reduced testcases from these monsters.

Re: what is difference between gcc-ada and GNAT????

2007-02-16 Thread Eric Botcazou
> Furthermore, I am not really sure that the FSF testing > infrastructure is setup to deal with tests of hundreds > of thousands of lines of code. Right, this is not the "spirit" of the GCC regression testsuite. We instead strive to distill reduced testcases from these monsters. -- Eric Botcazou

Re: what is difference between gcc-ada and GNAT????

2007-02-16 Thread Robert Dewar
Duncan Sands wrote: Couldn't you pass proprietary code through an obfuscator? There is no way that large aerospace contractors would accept this, and we are given the code under strict non-disclosure agreements. An obfuscated version is still derived from this confidential source and would con

Re: what is difference between gcc-ada and GNAT????

2007-02-16 Thread Duncan Sands
> So we are in better shape than implied above. We have quite > a reasonable set of stability and regression tests for the > Ada front end. Given the restrictions on proprietary code > use, this is about as good as we can do for now. Of course > it is valuable if people submit more tests to this te

Re: what is difference between gcc-ada and GNAT????

2007-02-16 Thread Robert Dewar
Robert Dewar wrote: 2. Tests that come with patches. For some time now, AdaCore has been following a procedure of including a simple reduced test case for all patches to GNAT that are submitted to the FSF. These tests are pretty extensive at this stage, and are preserved in the patch submission

Re: what is difference between gcc-ada and GNAT????

2007-02-16 Thread Robert Dewar
Duncan Sands wrote: GNAT Pro is ACT's commercial offering: you have to have a support contract with them to get it. GNAT GPL is basically the same compiler No, that's not quite true, the versions of GNAT GPL do not correspond precisely to those of GNAT Pro, partly because the academic year re

Re: what is difference between gcc-ada and GNAT????

2007-02-16 Thread Duncan Sands
Hi Sameer Sinha, > can any one tell me what is the difference between gcc-ada and > differnt other compiler for Ada 95 like GNAT GPL, GNAT Pro, > what is procedure to build only language Ada by using source code og > gcc-4.1??? they are closely related. There are two groups: (1) vers

Re: Makefile.def and fixincludes/Makefile.in inconsistency?

2007-02-16 Thread Paolo Bonzini
Am I correct in guessing that the "missing" lines in Makefile.def are not currently needed? Or are they merely present in the GCC fixincludes but missing in the fixincludes directories in some other trees that share the top-level build files? Yes, a patch that removes the "missing" lines fo