Volunteer for a Beginner's Project: Header-Header Interdependencies

2008-02-09 Thread Tom Browder
I am interested in working on the subject project:

   Development->
 Open projects->
   projects for beginner GCC hackers->
 General code cleanliness->
   Disentangle the current web of header-header interdependencies.

My motivation: the problems a newbie faces when trying to work with a
new front end (many gcc warnings about conflicting macro definitions
and errors generated by headers with undeclared objects that need
other, unmentioned headers).

Guidance and approval are hereby solicited.

-Tom


Re: ACATS Results for powerpc-rtems on Trunk

2008-02-09 Thread Duncan Sands
Hi,

> 4.2.3 only failed c380004, c761007, and c953002.

c380004 can be considered to be an expected failure.
It also fails on x86-linux, and this is normal because
the code produced by the front-end (gcc-4.2) can't possibly pass.

Best wishes,

Duncan.


gcc-testresults spam filter?

2008-02-09 Thread Jack Howarth
   Is anyone else having their gcc testresults rejected by
the mail server as containing elements that appear to be
spam?
   Jack


Re: Does Ada build on Linux/ia32?

2008-02-09 Thread H.J. Lu
On Fri, Feb 08, 2008 at 09:20:30PM +0100, Arnaud Charlet wrote:
> I can confirm that I had no troubles building i686-linux with latest
> sources.
> 
> I suspect a miscompilation of the previous stage compiler, possibly caused
> by a bad initial compiler used to start the bootstrap, or the use of
> "dangerous" compiler option during bootstrap.
> 
> I'd suggest trying again with the default switches to see if it makes a
> difference.

My patch

http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00184.html

breaks Ada on ia32. My patch changes long long alignment on ia32
from 8 byte to 4 byte, as the psABI suggested.  We alreay align
long long to 4 byte in structure:

sh-3.2$ cat x.c
#include 
struct foo
{
  int x;
  long long y;
};
struct bar
{
  int x;
  long long y [2];
};
int main ()
{
  printf ("%d\n", __builtin_offsetof (struct foo, y));
  printf ("%d\n", __builtin_offsetof (struct bar, y));
}
bash-3.2$ gcc -m32 x.c
bash-3.2$ ./a.out 
4
4
bash-3.2$ gcc -m64 x.c
bash-3.2$ ./a.out 
8
8
bash-3.2$ 

My patch will only change alignment for long long scalars and arrays. 
What alignments do Ada expect for long long on ia32? Does Ada expect
8 byte alignments for struct/record?


H.J.


Re: gcc-testresults spam filter?

2008-02-09 Thread H.J. Lu
Hi,

My testsuite are also bounced. Is there a problem?

H.J.
On Feb 9, 2008 6:12 AM, Jack Howarth <[EMAIL PROTECTED]> wrote:
>Is anyone else having their gcc testresults rejected by
> the mail server as containing elements that appear to be
> spam?
>Jack
>


Re: Volunteer for a Beginner's Project: Header-Header Interdependencies

2008-02-09 Thread Diego Novillo

On 2/9/08 7:10 AM, Tom Browder wrote:


Guidance and approval are hereby solicited.


You don't really need approval to work on GCC.  Just make sure you can 
contribute.  You can get guidance by posting your questions here or on IRC.


This would be a good area to clean up.  Thanks for working on it.


Diego.