Overview
| Artifact ID: | ef6176852ed84923557851ebe84d27ccbe5776662e95d9bbb2e65de6dace139e |
|---|---|
| Ticket: | 98ce2ebb2838750183c08c4d22c2d1faaf918898
No __builtin_unreachable() in gcc < 4.5. |
| User & Date: | stu on 2026-01-28 04:39:43 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
https://cvsweb.openbsd.org/ports/lang/tcl/9/patches/patch-generic_tclInt_h Index: generic/tclInt.h --- generic/tclInt.h.orig +++ generic/tclInt.h @@ -149,7 +149,7 @@ #if defined(__STDC__) && __STDC__ >= 202311L #include <stddef.h> #define TCL_UNREACHABLE() unreachable() -#elif defined(__GNUC__) +#elif defined(__GNUC__) && ((__GNUC__ == 4 && __GNUC_MINOR__ >= 5) || __GNUC__ >= 5 || defined(__clang__)) #define TCL_UNREACHABLE() __builtin_unreachable() #elif defined(_MSC_VER) #define TCL_UNREACHABLE() __assume(0)
- is_private changed to: "0"
- login: "stu"
- priority changed to: "5 Medium"
- private_contact changed to: "702b65e835b7b4b4720d6e9d37fc582f82909394"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "stu"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "No __builtin_unreachable() in gcc < 4.5."
- type changed to: "Bug"