aboutsummaryrefslogtreecommitdiffstatshomepage
AgeCommit message (Expand)AuthorFilesLines
2017-11-13Merge branch 'dump-ir' into tipLuc Van Oostenryck11-76/+257
2017-11-13dump-ir: activate -fdump-ir=mem2regLuc Van Oostenryck1-0/+2
2017-11-13dump-ir: make it more flexibleLuc Van Oostenryck8-19/+78
2017-11-13dump-ir: rename -fdump-linearize to -fdump-irLuc Van Oostenryck8-11/+11
2017-11-13dump-ir: saner use of fdump_linearizeLuc Van Oostenryck3-4/+5
2017-11-13dump-ir: allow to skip the optimization pass(es)Luc Van Oostenryck1-0/+2
2017-11-12dump-ir: activate/deactive pass 'mem2reg'Luc Van Oostenryck1-1/+2
2017-11-12dump-ir: allow to specify the passes to execute via cli's optionsLuc Van Oostenryck4-0/+54
2017-11-12dump-ir: add testcase for option parsing corner caseLuc Van Oostenryck2-0/+10
2017-11-11Merge branches 'volatile-loads-are-side-effects', 'fix-volatile-simplificatio...Luc Van Oostenryck30-193/+552
2017-11-11fix: volatile stores must not be simplifiedLuc Van Oostenryck2-2/+5
2017-11-11add test case for bogus volatile simplificationLuc Van Oostenryck1-10/+6
2017-11-11flush stdout when warningLuc Van Oostenryck1-0/+1
2017-11-11fix description setval & symaddrLuc Van Oostenryck1-1/+1
2017-11-11Merge branches 'constexpr-shorter-name', 'testsuite-clean', 'make-cleanup', '...Luc Van Oostenryck33-347/+445
2017-11-11fix 'simplification' of float-to-int castsLuc Van Oostenryck3-4/+42
2017-11-11define MOD_ACCESS for (MOD_ASSIGNED | MOD_ADDRESSABLE)Luc Van Oostenryck3-4/+4
2017-11-10volatile loads are side-effects tooLuc Van Oostenryck2-0/+20
2017-11-10Makefile: use locally built sparse in the selfcheck targetRamsay Jones1-1/+1
2017-11-10build: let -fno-strict-aliasing be a mandatory flagLuc Van Oostenryck1-1/+6
2017-11-10build: add rule to run a single testLuc Van Oostenryck1-0/+2
2017-11-10build: use a single space before assignmentsLuc Van Oostenryck1-2/+2
2017-11-10build: reorg & add commentLuc Van Oostenryck1-8/+9
2017-11-10build: avoid foreachLuc Van Oostenryck1-9/+11
2017-11-10build: add *.o to clean-check patternLuc Van Oostenryck1-0/+1
2017-11-10build: simplify clean patternLuc Van Oostenryck1-7/+3
2017-11-10build: simplify quiet commandsLuc Van Oostenryck1-13/+12
2017-11-10build: let quiet commands use less indentationLuc Van Oostenryck1-8/+8
2017-11-10build: remove unused QUIET_INST_SHLuc Van Oostenryck1-1/+0
2017-11-10build: use standard rules for installLuc Van Oostenryck1-21/+14
2017-11-10build: allow the name 'local.mk' to be configurable via the environmentLuc Van Oostenryck2-1/+3
2017-11-10build: use one line per itemLuc Van Oostenryck1-8/+43
2017-11-10build: remove the dist rule since unusedLuc Van Oostenryck1-7/+0
2017-11-10build: normalize rulesLuc Van Oostenryck1-2/+2
2017-11-10build: remove rule for shared lib, it's unusedLuc Van Oostenryck1-15/+3
2017-11-10build: make clean targets quieterLuc Van Oostenryck1-2/+3
2017-11-10build: move clean & clean-check togetherLuc Van Oostenryck1-3/+3
2017-11-10build: remove references to unexisting pre-process.hLuc Van Oostenryck2-2/+1
2017-11-10build: add note about overwritable varsLuc Van Oostenryck1-0/+3
2017-11-10build: only generate version.h when neededUwe Kleine-König1-8/+14
2017-11-10build: move tests near their useLuc Van Oostenryck1-38/+41
2017-11-10build: CHECKER_FLAGS=-Wno-vla for all targetsLuc Van Oostenryck1-3/+1
2017-11-10build: reuse rule for ALL_OBJSLuc Van Oostenryck1-3/+2
2017-11-10build: no need to use wildcards for generated dependenciesLuc Van Oostenryck1-4/+3
2017-11-10build: use $LIBS directly in the dependency listLuc Van Oostenryck1-2/+2
2017-11-10build: avoid rule-specific CFLAGSLuc Van Oostenryck1-1/+1
2017-11-10build: allow CFLAGS & friends from command lineLuc Van Oostenryck1-3/+3
2017-11-10build: allow target-specific CFLAGS, CPPFLAGS, LDFLAGS & LDLIBSLuc Van Oostenryck1-8/+11
2017-11-10build: use '-ldlibs' instead of '_EXTRA_OBJS'Luc Van Oostenryck1-4/+4
2017-11-10build: use '-objs' instead of '_EXTRA_DEPS'Luc Van Oostenryck1-6/+6
2017-11-08add support for C11's _Atomic as type qualifierLuc Van Oostenryck7-2/+127
2017-11-08associate MOD_RESTRICT with restrict-qualified variablesLuc Van Oostenryck8-6/+238
2017-11-08define MOD_QUALIFIER for (MOD_CONST | MOD_VOLATILE)Luc Van Oostenryck4-5/+6
2017-11-08remove redundancy in MOD_STORAGELuc Van Oostenryck2-2/+2
2017-11-08reorganize the definition of the modifiersLuc Van Oostenryck1-33/+32
2017-11-08MOD_ACCESSED is not a type modifier ...Luc Van Oostenryck5-9/+5
2017-11-08remove never-used MOD_TYPEDEFLuc Van Oostenryck3-6/+0
2017-11-08testsuite: add support for 'format -l'Luc Van Oostenryck1-1/+13
2017-11-08testsuite: add support for 'format -f'Luc Van Oostenryck1-2/+12
2017-11-08testsuite: format: strip .c from default nameLuc Van Oostenryck1-1/+1
2017-11-08testsuite: format: saner defaults handlingLuc Van Oostenryck1-10/+5
2017-11-08testsuite: make do_format() more self-containedLuc Van Oostenryck1-3/+27
2017-11-08testsuite: move up arg_file()Luc Van Oostenryck1-15/+17
2017-11-08testsuite: 'quiet' must be initialized earlierLuc Van Oostenryck1-0/+1
2017-11-08testsuite: add a blank line before formatLuc Van Oostenryck1-0/+1
2017-11-08testsuite: save screen real estateLuc Van Oostenryck1-2/+2
2017-11-08testsuite: allow arch-specific testsLuc Van Oostenryck2-0/+23
2017-11-08testsuite: simplify documentationLuc Van Oostenryck1-13/+13
2017-11-08testsuite: extract disable()Luc Van Oostenryck1-2/+9
2017-11-08testsuite: remove useless test-be.cLuc Van Oostenryck1-46/+0
2017-11-08testsuite: remove useless selftestLuc Van Oostenryck3-30/+0
2017-11-08testsuite: allow --format & --singleLuc Van Oostenryck1-2/+2
2017-11-08testsuite: get options from env tooLuc Van Oostenryck1-0/+7
2017-11-08testsuite: add support for -a|--abortLuc Van Oostenryck1-0/+8
2017-11-08testsuite: add support for -q|--quietLuc Van Oostenryck1-2/+15
2017-11-08testsuite: allow to parse several optionsLuc Van Oostenryck1-2/+5
2017-11-08testsuite: saner handling of 'must_fail'Luc Van Oostenryck1-3/+5
2017-11-08testsuite: check error messages firstLuc Van Oostenryck1-1/+1
2017-11-08testsuite: clearer result summaryLuc Van Oostenryck1-4/+9
2017-11-07cgcc: teach cgcc about freebsd & netbsdLuc Van Oostenryck1-0/+6
2017-11-06Merge branches 'cleanup-prototype', 'cleanup-cclass' and 'testcases-return-ty...Luc Van Oostenryck5-22/+50
2017-11-06build: remove unused support for pkgconfigLuc Van Oostenryck3-34/+3
2017-11-06build: fix effectiveness of generated dependenciesLuc Van Oostenryck1-1/+1
2017-11-06build: pass CPPFLAGS to compilerUwe Kleine-König1-2/+2
2017-11-06build: drop -g from LDFLAGSUwe Kleine-König1-1/+0
2017-11-06build: drop BASIC_CFLAGS and ALL_CFLAGSUwe Kleine-König1-9/+7
2017-11-06build: put comment about local.mk to the place where it is includedUwe Kleine-König1-5/+4
2017-11-05Merge branch 'fix-include-eval' of worktreeLuc Van Oostenryck3-0/+32
2017-11-05build: make PREFIX overwritable from the environmentUwe Kleine-König1-1/+1
2017-10-19sparse: document that -Wbitwise is defaultJacob Keller1-2/+2
2017-10-03fix cgcc ELF version for ppc64/pcc64leLuc Van Oostenryck1-3/+2
2017-10-03cgcc: provide __ARM_PCS_VFP for armhfUwe Kleine-König1-2/+9
2017-10-02compile-i386: Use SPARSE_VERSION instead of __DATE__Uwe Kleine-König1-1/+2
2017-10-02cgcc: teach cgcc about GNU/kFreeBSDUwe Kleine-König1-0/+3
2017-10-02build: remove version.h in clean targetUwe Kleine-König1-1/+1
2017-09-19compile-i386: make use of expression_list_size()Martin Kepplinger1-5/+1
2017-09-19graph: do not scan removed instructionsLuc Van Oostenryck1-0/+2
2017-09-19remove prototype for unexistant examine_simple_symbol_type()Luc Van Oostenryck1-1/+0
2017-09-19remove prototype extern int is_ptr_type()Luc Van Oostenryck1-1/+0
2017-09-19cclass: cleanupLuc Van Oostenryck1-18/+6
2017-09-19cclass: char is wide enoughLuc Van Oostenryck1-1/+1
2017-09-19diet: remove unused struct symbol::valueLuc Van Oostenryck3-3/+2
2017-09-18add test case for bad return typeLuc Van Oostenryck1-0/+19
2017-09-18add test case for incomplete typeLuc Van Oostenryck1-0/+23
2017-09-18fix test case kill-phi-ttsbLuc Van Oostenryck1-1/+1
2017-09-18fix: missing evaluate with '-include'Luc Van Oostenryck2-1/+14
2017-09-17fix: missing evaluate with '-include' : add testcaseLuc Van Oostenryck2-0/+19
2017-09-17use a specific struct for asm operandsLuc Van Oostenryck7-107/+63
2017-09-16testsuite: convert to the new patern syntaxLuc Van Oostenryck8-10/+10
2017-09-16testsuite: obsolete old pattern checking syntaxLuc Van Oostenryck2-9/+5
2017-09-16testsuite: new eq/min/max syntax for pattern checkingLuc Van Oostenryck2-0/+56
2017-09-16use shorter name for constexpr testsLuc Van Oostenryck14-14/+14
2017-09-16testsuite: better message for pattern absence/presenceLuc Van Oostenryck1-6/+7
2017-09-16testsuite: better message for pattern nbr checkingLuc Van Oostenryck1-1/+2
2017-09-16testsuite: move verbose() & error()Luc Van Oostenryck1-17/+17
2017-09-16testsuite: allow to test a few cases at onceLuc Van Oostenryck1-1/+8
2017-09-16testsuite: 'echo -n' may not be interpreted as '-n'Luc Van Oostenryck1-2/+2
2017-09-14dump-ir: add defines for the compilation passesLuc Van Oostenryck1-0/+16
2017-09-14option: handle switches by tableLuc Van Oostenryck1-43/+48
2017-09-14option: constify match_option()Luc Van Oostenryck1-7/+7
2017-09-14option: use OPTION_NUMERIC() for handle_switch_fmemcpy_max_count()Luc Van Oostenryck2-18/+6
2017-09-14option: add support for '-<some-option>=unlimited'Luc Van Oostenryck1-0/+4
2017-09-14option: add support for options with 'zero is infinity'Luc Van Oostenryck1-1/+6
2017-09-14option: extract OPTION_NUMERIC() from handle_switch_fmemcpy_max_count()Luc Van Oostenryck1-0/+19
2017-09-14option: let handle_simple_switch() handle an array of flagsLuc Van Oostenryck1-9/+18
2017-09-14option: rename 'struct warning' to 'struct flag'Luc Van Oostenryck1-5/+5
2017-09-14option: add helper to parse/match command line optionsLuc Van Oostenryck1-14/+20
2017-09-12build: disable sparse-llvm on non-x86Luc Van Oostenryck1-0/+4
2017-09-12compile-i386.c: fix a memory leak in sort_array()Martin Kepplinger1-0/+1
2017-08-31Sparse preprocessing bug with zero-arg variadic macrosAl Viro2-1/+7
2017-08-28Merge remote-tracking branch 'luc/constexpr-v4' into masterChristopher Li23-93/+649
2017-08-20gcc attr: add nonstring warn_if_not_alignedChristopher Li1-0/+2
2017-08-17Merge remote-tracking branch 'luc/master'v0.5.1Christopher Li0-0/+0
2017-08-17Sparse v0.5.1Luc Van Oostenryck1-1/+1
2017-08-17Sparse 0.5.1Christopher Li1-1/+1
2017-08-11Bump sparse's version to -rc5v0.5.1-rc5Luc Van Oostenryck1-1/+1
2017-08-11Merge remote-tracking branch 'luc/remove-singlestore-shortcut'Christopher Li4-37/+24
2017-08-11Remove single-store shortcutLuc Van Oostenryck2-38/+2
2017-08-10documentation: update email reference linkRandy Dunlap1-1/+1
2017-08-10test-inspect: Detect gtk3 then gtk2 packageChristopher Li1-7/+14
2017-08-10test-inspect: handle special case iter==NULLChristopher Li1-1/+2
2017-08-10Documents: project ideasChristopher Li1-0/+52
2017-08-10Adding document for sparse patch submit processChristopher Li1-0/+21
2017-08-09Adding gcc attribute noipa etcChristopher Li1-0/+2
2017-08-09Makefile: pass -Wno-vla to sparse while checking pre-process.cRamsay Jones1-1/+4
2017-08-09lib: workaround the 'redeclared with different type' errorsRamsay Jones2-2/+9
2017-08-09fix warnings report by selfcheckChristopher Li3-2/+4
2017-08-09Adding _Pragma()Christopher Li1-0/+1
2017-08-09Makefile: add selfcheck targetChristopher Li1-2/+12
2017-08-09Makefile: clean up and simplifyChristopher Li1-10/+8
2017-08-09Add test case for the wine dead loop bugChristopher Li1-0/+27
2017-08-09Merge remote-tracking branch 'luc/fix-type-bad-cond-expr-v2'Christopher Li4-0/+70
2017-08-09Merge remote-tracking branch 'luc/fix-nested-pseudo-users-deletion-v5'Christopher Li3-4/+18
2017-08-09Merge remote-tracking branch 'luc/fix-fuzzy-crashes-v3'Christopher Li13-26/+178
2017-08-09testsuite: add support for commands with timeoutLuc Van Oostenryck3-0/+23
2017-08-08mark pseudo users as deleted instead of removing themLuc Van Oostenryck1-2/+3
2017-08-08ptrlist: avoid iteration on NULL entriesLuc Van Oostenryck1-0/+4
2017-08-04ptrlist: add MARK_CURRENT_DELETEDLuc Van Oostenryck1-0/+8
2017-08-04ptrlist: adjust ptr_list_size for the new ->rm fieldLuc Van Oostenryck1-1/+1
2017-08-04ptrlist: add a counter for the number of removed elemnetsLuc Van Oostenryck1-1/+2
2017-08-04fix: give a type to bad cond expr with known conditionLuc Van Oostenryck2-0/+39
2017-08-04take comma expr in account for constant valueLuc Van Oostenryck2-0/+31
2017-07-31fix crash with sym->bb_target == NULLLuc Van Oostenryck2-1/+14
2017-07-31fix some crashes in add_dominators()Luc Van Oostenryck2-0/+24
2017-07-31fix crash in rewrite_branch()Luc Van Oostenryck2-1/+25
2017-07-31fix crash when ep->active is NULLLuc Van Oostenryck2-2/+19
2017-07-31fix BB dependencies on phi-nodesLuc Van Oostenryck1-16/+15
2017-07-31fix infinite simplification loopsLuc Van Oostenryck3-1/+29
2017-07-31fix ptrlist corruption while killing unreachable BBsLuc Van Oostenryck6-5/+52
2017-07-13Adding gcc attribute no_gccisrChristopher Li1-0/+1
2017-07-04bump sparse's version to 0.5.1-rc4v0.5.1-rc4Christopher Li1-1/+1
2017-07-04Add full list of gcc attributeChristopher Li2-104/+214
2017-07-04Let create_symbol check for previous same symbolChristopher Li4-8/+19
2017-06-29diet: remove unused struct symbol::arg_countLuc Van Oostenryck1-1/+0
2017-06-29diet: remove unused struct scope::tokenLuc Van Oostenryck1-1/+0
2017-06-29diet: use smaller LIST_NODE_NR (29 -> 13)Luc Van Oostenryck1-1/+1
2017-06-29use long for all mem statsLuc Van Oostenryck2-2/+3
2017-06-23Adding ignored attribute optimizev0.5.1-rc3Christopher Li2-2/+20
2017-06-21bump sparse's version to -rc3Luc Van Oostenryck1-1/+1
2017-06-21cgcc: teach cgcc about armLuc Van Oostenryck1-0/+5
2017-06-21cgcc: teach cgcc about ppc64[le]Luc Van Oostenryck1-0/+10
2017-06-21cgcc: teach cgcc about arm64Luc Van Oostenryck1-0/+5
2017-06-21teach sparse about __BYTE_ORDER__ & __ORDER_{BIG,LITTLE}_ENDIAN__Luc Van Oostenryck3-0/+12
2017-06-21teach sparse about __{BIG,LITTLE}_ENDIAN__Luc Van Oostenryck3-0/+25
2017-06-21teach sparse about -m{big,little}-endianLuc Van Oostenryck2-1/+15
2017-06-21dissect: use built_in_ident() instead of MK_IDENT()Luc Van Oostenryck2-14/+3
2017-06-21fix: __builtin_bswap{16,32,64}() constantnessLuc Van Oostenryck2-1/+9
2017-06-21add fallback for missing __builtin_bswapXX()Luc Van Oostenryck2-3/+58
2017-06-21fix: try_to_simplify_bb eargernessLuc Van Oostenryck2-0/+60
2017-06-21fix OP_PHI usage in try_to_simplify_bb() only when non-bogusLuc Van Oostenryck1-29/+9
2017-06-15fix: add missing examine in evaluate_dereference()Luc Van Oostenryck3-0/+39
2017-06-15add support for -fmemcpy-max-countLuc Van Oostenryck5-3/+30
2017-06-15add support for -Wmemcpy-max-countLuc Van Oostenryck5-2/+14
2017-06-15memcpy()'s byte count is unsignedLuc Van Oostenryck1-3/+3
2017-06-15cgcc: filter-out '-fdump-linearize[=...]'Luc Van Oostenryck1-0/+1
2017-06-15cgcc: add missing warning names to check_only_option()Luc Van Oostenryck1-1/+1
2017-06-15cgcc: alphasort warning names in check_only_option()Luc Van Oostenryck1-1/+1
2017-06-15keep the warnings table alphabetically sortedLuc Van Oostenryck1-1/+1
2017-06-14Merge branches 'quiets-bool-cast-restricted-v3', 'error-vs-warnings-v2', 'imp...Luc Van Oostenryck70-224/+1228
2017-06-13Add more declarations for more builtin functionsLuc Van Oostenryck1-0/+44