This is the mail archive of the gcc-patches@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] |
| Other format: | [Raw text] | |
1. The code that runs on the build system is fragile because of both ordering constraints (which were the original reason dummy-conditions.c exists) and because of headers that are used in two different contexts, both in the back end and in the build programs.
2. Support for building with a C++ compiler may not be complete, although
some has been added. Problems with such support that don't arise with C
compilers aren't really bugs in the sense of being appropriate to fix
during Stage 3 unless the fix is extremely clearly clean, simple, safe and
correct.
3. Some indication of what the C++ compiler said was wrong within the terms of the C++ standard would be helpful.
4. Fragility in the build programs could usefully be addressed by
incrementally separating those parts of source files and headers genuinely
needed for both build and host from those only relevant for host.
5. The struct c_test has a fixed definition
struct c_test { const char *expr; int value; };
which does not depend on other things in gensupport.h. Accordingly, I'd
suggest splitting it out to its own header (e.g. insn-conditions.h) which
could also declare insn_elision_unavailable, insn_conditions and
n_insn_conditions; this header need only include <stddef.h> to get a
definition of size_t, not any other headers.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |