[C++ Patch] PR c++/51188

Jason Merrill jason@redhat.com
Fri Nov 18 13:43:00 GMT 2011


On 11/18/2011 05:18 AM, Fabien Chêne wrote:
> +template<  size_t, size_t>  struct AlignedBuffer;
> +template<  size_t size>  struct AlignedBuffer
> +<  size, 8>  {
> +};

This testcase will break on targets where alignof(void*) != 8; just 
define the base template and remove the partial specialization.

OK with that change.

Jason



More information about the Gcc-patches mailing list