* dfp-bit.c (DFP_TO_INT): Fix rounding mode.
[official-gcc.git] / gcc / diagnostic.def
blobbbdba2f1aa266518bdd1558793741e7bcebf994b
1 /* DK_UNSPECIFIED must be first so it has a value of zero. We never
2 assign this kind to an actual diagnostic, we only use this in
3 variables that can hold a kind, to mean they have yet to have a
4 kind specified. I.e. they're uninitialized. Within the diagnostic
5 machinery, this kind also means "don't change the existing kind",
6 meaning "no change is specified". */
7 DEFINE_DIAGNOSTIC_KIND (DK_UNSPECIFIED, "")
9 /* If a diagnostic is set to DK_IGNORED, it won't get reported at all.
10 This is used by the diagnostic machinery when it wants to disable a
11 diagnostic without disabling the option which causes it. */
12 DEFINE_DIAGNOSTIC_KIND (DK_IGNORED, "")
14 /* The remainder are real diagnostic types. */
15 DEFINE_DIAGNOSTIC_KIND (DK_FATAL, "fatal error: ")
16 DEFINE_DIAGNOSTIC_KIND (DK_ICE, "internal compiler error: ")
17 DEFINE_DIAGNOSTIC_KIND (DK_ERROR, "error: ")
18 DEFINE_DIAGNOSTIC_KIND (DK_SORRY, "sorry, unimplemented: ")
19 DEFINE_DIAGNOSTIC_KIND (DK_WARNING, "warning: ")
20 DEFINE_DIAGNOSTIC_KIND (DK_ANACHRONISM, "anachronism: ")
21 DEFINE_DIAGNOSTIC_KIND (DK_NOTE, "note: ")
22 DEFINE_DIAGNOSTIC_KIND (DK_DEBUG, "debug: ")