This is the mail archive of the gcc-patches@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: C++ PATCH: PR4884


Mark Mitchell wrote:

>+ typedef unsigned int size_t;
>+
>+ class bar {
>+     int i;
>+   public :
>+     void * operator new ( size_t , void * storage );
>+ };

This new test case (g++.dg/init/new1.C) fails with
  'operator new' takes type 'size_t' ('long unsigned int') as first parameter
on s390, where size_t is in fact not unsigned int ...


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand
  Linux for S/390 Design & Development
  IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
  Phone: +49-7031/16-3727   ---   Email: Ulrich.Weigand@de.ibm.com


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