Re: [PATCH 1/10] compiler-gcc4.h: correct verion check for __compiletime_error

Michal Marek
2012-10-11T20:54:12Z

On Tue, Oct 02, 2012 at 11:25:12PM -0700, David Rientjes wrote:
> On Fri, 28 Sep 2012, Daniel Santos wrote:
>
> > NOTE: this is has already been comitted to -mm
> >
> > __attribute__((error(msg))) was introduced in gcc 4.3 (not 4.4) and as I
> > was unable to find any gcc bugs pertaining to it, I'm presuming that it
> > has functioned as advertised since 4.3.0.
> >
> > Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
> > Cc: Michal Marek <mmarek@suse.cz>
> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
>
> Tested-by: David Rientjes <rientjes@google.com>
>
> Works with 4.3.6.

Applied to kbuild.git#kbuild now.

Michal