Commit Graph

235 Commits

Author SHA1 Message Date
Rui Ueyama 90d1f7f199 Make struct member access to work with `=` and `?:` 2020-12-07 12:00:06 +09:00
Rui Ueyama b35d148a8d Add __attribute__((aligned(N)) for struct declaration 2020-12-07 12:00:06 +09:00
Rui Ueyama 44bea4c85a Add __attribute__((packed)) 2020-12-07 12:00:06 +09:00
Rui Ueyama 2ed3fdafa3 Add test/thirdparty/cpython.sh 2020-12-07 12:00:06 +09:00
Rui Ueyama d69a11dd25 Add _Atomic and atomic ++, -- and op= operators 2020-12-07 12:00:06 +09:00
Rui Ueyama 80ea9d427c Add atomic_exchange 2020-12-07 12:00:06 +09:00
Rui Ueyama ca27455b92 Add atomic_compare_exchange 2020-12-07 12:00:06 +09:00
Rui Ueyama fb4937024d Add scripts to test third-party apps 2020-12-07 12:00:06 +09:00
Rui Ueyama 469f159bb1 Add -Xlinker option 2020-12-07 12:00:06 +09:00
Rui Ueyama d1bc9a4eb0 Add -Wl, option 2020-12-07 12:00:06 +09:00
Rui Ueyama c8df7874c6 Add -L option 2020-12-07 12:00:06 +09:00
Rui Ueyama 4e5de36a36 Add -shared option 2020-12-07 12:00:06 +09:00
Rui Ueyama 1e9b6dd110 Add -static option 2020-12-07 12:00:06 +09:00
Rui Ueyama f10bcebaa5 [GNU] Add #include_next 2020-12-07 12:00:06 +09:00
Rui Ueyama a6c662207d [GNU] Add "#pragma once" 2020-12-07 12:00:06 +09:00
Rui Ueyama 86785fceb1 Add -fpic and -fPIC options 2020-12-07 12:00:06 +09:00
Rui Ueyama fb5cfe5d17 Add -MD option 2020-12-07 12:00:06 +09:00
Rui Ueyama db850f37a2 Add -MT option 2020-12-07 12:00:06 +09:00
Rui Ueyama 57c1d4ec02 Add -MP option 2020-12-07 12:00:06 +09:00
Rui Ueyama 95d5a46234 Add -MF option 2020-12-07 12:00:06 +09:00
Rui Ueyama d0c4667b6b Add -M option 2020-12-07 12:00:06 +09:00
Rui Ueyama 0aad326f35 Add string hashmap 2020-12-07 12:00:06 +09:00
Rui Ueyama f0c98e0d59 [GNU] Treat labels-as-values as compile-time constant 2020-12-07 12:00:06 +09:00
Rui Ueyama 4f165ec60b [GNU] Support labels-as-values 2020-12-07 12:00:06 +09:00
Rui Ueyama 3d5550e29a [GNU] Support array range designator 2020-12-07 12:00:06 +09:00
Rui Ueyama d90c73b605 [GNU] Support case ranges 2020-12-07 12:00:06 +09:00
Rui Ueyama e0bf168041 Add long double 2020-12-07 12:00:06 +09:00
Rui Ueyama d56dd2f46e Recognize .a and .so files 2020-12-07 12:00:06 +09:00
Rui Ueyama 2fa8f489f3 Support sizeof(typename) where typename is a VLA 2020-12-07 12:00:06 +09:00
Rui Ueyama 07f901057f Add pointer arithmetic for VLA 2020-12-07 12:00:06 +09:00
Rui Ueyama e8667afd08 Add sizeof() for VLA 2020-12-07 12:00:06 +09:00
Rui Ueyama 77275c546a Add alloca() 2020-12-07 12:00:06 +09:00
Rui Ueyama 4064871212 Make -E to imply -xc 2020-12-07 12:00:06 +09:00
Rui Ueyama ee0a951b30 Add -x option 2020-12-07 12:00:06 +09:00
Rui Ueyama 8f5ff07dc0 Add -include option 2020-12-07 12:00:06 +09:00
Rui Ueyama b3772845bd Add thread-local variable 2020-12-07 12:00:06 +09:00
Rui Ueyama 6d344ed945 Add -fcommon and -fno-common flags 2020-12-07 12:00:06 +09:00
Rui Ueyama 85e46b1071 Add tentative definition 2020-12-07 12:00:06 +09:00
Rui Ueyama 1b99badce4 Add offsetof 2020-12-07 12:00:06 +09:00
Rui Ueyama 11fc259b01 Add -idirafter option 2020-12-07 12:00:06 +09:00
Rui Ueyama e5f4ca90fd Do not emit static inline functions if referenced by no one 2020-12-07 12:00:06 +09:00
Rui Ueyama 31087f8d4b Handle inline functions as static functions 2020-12-07 12:00:06 +09:00
Rui Ueyama a2535163e2 Add basic "asm" statement 2020-12-07 12:00:06 +09:00
Rui Ueyama e28a612e9c [GNU] Add ?: operator with omitted operand 2020-12-07 12:00:06 +09:00
Rui Ueyama aee7891acb [GNU] Allow sizeof(<function type>) 2020-12-07 12:00:06 +09:00
Rui Ueyama 1faab48ecf Add _Generic 2020-12-07 12:00:06 +09:00
Rui Ueyama 1433b404d6 [GNU] Add __builtin_types_compatible_p 2020-12-07 12:00:06 +09:00
Rui Ueyama 7d80a5136d Add typeof 2020-12-07 12:00:06 +09:00
Rui Ueyama 007e526ec5 [GNU] Support GCC-style variadic macro 2020-12-07 12:00:06 +09:00
Rui Ueyama 083c27559e [GNU] Handle ,##__VA_ARG__ 2020-12-07 12:00:06 +09:00