This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.0 Status Report (2005-04-05)



On Apr 4, 2005, at 8:09 PM, Giovanni Bajo wrote:


Mark Mitchell <mark@codesourcery.com> wrote:

I've attached a revised summary of the critical bugs open against
4.0. The good news is that there are fewer than last week.

Earlier today, Andrew Haley posted a small C++ snippet showing an ABI change
affecting gcj on PPC32:
http://gcc.gnu.org/ml/gcc/2005-04/msg00139.html


I hope he'll open a PR soon, but you probably want to consider this for 4.0.

Note it also effects all targets too by shown by my testcase. Also I think it was caused by: 2004-06-21 Mark Mitchell <mark@codesourcery.com>

	* cp-tree.def (NEW_EXPR): Add a fourth slot.
	* cp-tree.h (PARMLIST_ELLIPSIS_P): Remove.
	(TREE_PARMLIST): Likewise.
	....

It also shows that the C and C++ ABIs for the struct I had in the testcase
no longer matches so it is even worse than just gcj.


Testcase:
#include <stdio.h>
typedef struct Parent
{
  long long m;
  int *scratch;
  void * __attribute__((aligned(8))) this$0;
}Parent;
int main (int argc, char **argv)
{
  printf ("%d\n", sizeof(Parent));
  return 0;
}

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]