This is the mail archive of the gcc-bugs@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]

Re: [C++] init.c/build_new wrongly implements new-expression


Gabriel Dos_Reis <Gabriel.Dos_Reis@sophia.inria.fr> writes:

[...]

| 	
| 	T* p = (T*) (numeric_limits<size_t>::max()/sizeof(T) > N ?
                                                           ^^^^^

should read '<'.

-- Gaby


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