[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 16 11:55:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817

--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #15)
> Author: msebor
> Date: Fri Dec 16 02:57:22 2016
> New Revision: 243736
> 
> URL: https://gcc.gnu.org/viewcvs?rev=243736&root=gcc&view=rev
> Log:
> PR bootstrap/78817 - stage2 bootstrap failure in vec.h:1613:5: error:
> argument 1 null where non-null expected after r243661
> 
> gcc/ChangeLog:
> 	* vec.h (vec<T, va_heap, vl_ptr>::safe_grow_cleared): Assert
> 	a pointer is non-null.
> 
> 
> Modified:
>     trunk/gcc/ChangeLog
>     trunk/gcc/vec.h

Please revert this - I've rejected similar patches from Martin Liska recently.
You just slow down the compiler for no good reason (read: for a badly
implemented warning)


More information about the Gcc-bugs mailing list