summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-08-04 20:17:59 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-08-04 20:17:59 +0200
commitb6ec6ab814fb67d14b018dcee6f7d391eb2c9189 (patch)
tree012022160a73147e57df08eef7b2e2c178aad017
parent4197ee0a928bd84e123734a87b1b755b86b9d1f8 (diff)
downloadcompilertests-b6ec6ab814fb67d14b018dcee6f7d391eb2c9189.tar.gz
compilertests-b6ec6ab814fb67d14b018dcee6f7d391eb2c9189.tar.bz2
added a note about __builtin_unreachable and pcc
-rw-r--r--ecomp-c/builtin_unreachable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ecomp-c/builtin_unreachable.c b/ecomp-c/builtin_unreachable.c
index 4ba239e..0da44f0 100644
--- a/ecomp-c/builtin_unreachable.c
+++ b/ecomp-c/builtin_unreachable.c
@@ -3,6 +3,9 @@
* libc-freestanding.c syscall1noret
*/
+/* break in pcc (is eliminated?!), disable gcc compatibility in pcc
+ * OTOH breaks in "i386/code.c:374:36: error: 'GCC_ATYP_STDCALL' undeclared"
+ */
void __builtin_unreachable( void )
{
}