https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93276
Bug ID: 93276
Summary: Build error of current trunk indicating "#pragma GCC
diagnostic not allowed inside functions"
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: manfred99 at gmx dot ch
Target Milestone: ---
Current trunk (as of today 2020-01-15) does not bootstrap for me on x86_64,
with errors in stage 1, in the analyzer directory:
../../gcc-trunk-source/gcc/gcc/analyzer/constraint-manager.cc:121:1: error:
#pragma GCC diagnostic not allowed inside functions
...
../../gcc-trunk-source/gcc/gcc/analyzer/region-model.cc:89:1: error: #pragma
GCC diagnostic not allowed inside functions
...
This is with
# gcc --version
gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Is there a new minimum version of GCC for bootstapping or do I miss
something else? My build environment worked fine for several years now,
on a daily base, and stopped working with the checkin of the analyzer branch.