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

Mark Mitchell <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>

        * 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



Reply via email to