Commit Graph

316 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 982041fb1c Update README 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 395308c77b redefinition 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 0a5d08c8f8 Complete stdatomic.h 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 d48d9e5ae3 Add include guard optimization 2020-12-07 12:00:06 +09:00
Rui Ueyama c0f0614e6b Cache file search results 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 c3edffbbb0 Add -MMD option 2020-12-07 12:00:06 +09:00
Rui Ueyama 7aa72e41e6 Add -MQ option 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 f6944133d2 Use hashmap for keyword lookup 2020-12-07 12:00:06 +09:00
Rui Ueyama 655954e301 Use hashmap for block-scope lookup 2020-12-07 12:00:06 +09:00
Rui Ueyama 30520e5a7c Use hashmap for macro name lookup 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 8d130ab93f Emit size and type for symbols 2020-12-07 12:00:06 +09:00
Rui Ueyama c32f0e21e7 Add -s option 2020-12-07 12:00:06 +09:00
Rui Ueyama bc2527944a Add -l option 2020-12-07 12:00:06 +09:00
Rui Ueyama b0109a30c9 Do not define __STDC_NO_VLA__ 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