Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Renamed pedantic to implicit-int. | Bernhard Schommer | 2016-09-22 | 3 | -8/+9 | |
| | | | | | | | | The only case where compcert raise a pedantic warning was for implicit int parameters. This is the behavior of clang. However since not all other pedantic warnings are supported the behavior of gcc is adopted. Bug 19872. | |||||
* | Allow %lf type specifier in printf. | Bernhard Schommer | 2016-09-22 | 1 | -1/+1 | |
| | | | | | %lf is official part of the C99 standard. Bug 19877 | |||||
* | Reverted noisy change. | Bernhard Schommer | 2016-09-22 | 1 | -1/+1 | |
| | | | | | | In order to empty declarations it is necessary to distinguish between forward declarations and empty declarations. Bug 19859 | |||||
* | Merge pull request #142 from maximedenes/minor-fixes | Xavier Leroy | 2016-09-21 | 3 | -9/+13 | |
|\ | | | | | | | | | | | Fix minor issues in some proofs and tactics. Patch by Maxime Dénès. | |||||
| * | Fix minor issues in some proofs and tactics. | Maxime Dénès | 2016-09-21 | 3 | -9/+13 | |
| | | | | | | | | | | These minor problems were revealed by porting CompCert to Coq 8.6, where they trigger errors. | |||||
* | | Fix typo in option name. Bug 18004 | Bernhard Schommer | 2016-09-21 | 1 | -1/+1 | |
| | | ||||||
* | | Also warn for empty default declarations. Bug 18004 | Bernhard Schommer | 2016-09-21 | 1 | -1/+1 | |
| | | ||||||
* | | Make unnamed default + correct empty struct warning. Bug 18004 | Bernhard Schommer | 2016-09-21 | 2 | -2/+3 | |
| | | ||||||
* | | Allow empty alignment attribute. Bug 18004 | Bernhard Schommer | 2016-09-21 | 1 | -0/+1 | |
| | | ||||||
* | | Remove the duplicated :. Bug 18004 | Bernhard Schommer | 2016-09-21 | 1 | -3/+3 | |
| | | ||||||
* | | Ignore also ignores the argunment. Bug 18004 | Bernhard Schommer | 2016-09-20 | 2 | -2/+7 | |
| | | ||||||
* | | Merge pull request #139 from AbsInt/advanced-diagnostics | Bernhard Schommer | 2016-09-20 | 21 | -395/+781 | |
|\ \ | | | | | | | Advanced diagnostics | |||||
| * | | Fixed typos and reverted error message. Bug 18004 | Bernhard Schommer | 2016-09-05 | 1 | -9/+9 | |
| | | | ||||||
| * | | Readded parameter number. Bug 18004 | Bernhard Schommer | 2016-09-01 | 1 | -6/+6 | |
| | | | ||||||
| * | | Reworded warning. Bug 18004 | Bernhard Schommer | 2016-09-01 | 1 | -6/+6 | |
| | | | ||||||
| * | | Simplified int to pointer tests. | Bernhard Schommer | 2016-09-01 | 2 | -16/+17 | |
| | | | | | | | | | | | | | | | | | | Now the same warning is triggered for both cases, int to ptr and ptr to int. Bug 18004 | |||||
| * | | Fixed error message for & operator. Bug 18004 | Bernhard Schommer | 2016-08-31 | 1 | -1/+1 | |
| | | | ||||||
| * | | Added conformance warning. | Bernhard Schommer | 2016-08-31 | 3 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | This warning should be triggered if a feature is used that is not part of the code CompCert C language. Bug 18004 | |||||
| * | | Added back logical operator in error. Bug 18004 | Bernhard Schommer | 2016-08-31 | 1 | -1/+1 | |
| | | | ||||||
| * | | Reworded errors/warnings in Elab. | Bernhard Schommer | 2016-08-31 | 1 | -60/+76 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Some old errors/warnings messages were better before and are now rephrased. Furthermore some formulations are rephrased to match the used formulations of the ISO C stanard, e.g. storage class is replaced with storage-class. Bug 18004 | |||||
| * | | Restored original bit-field warning. Bug 18004 | Bernhard Schommer | 2016-08-31 | 1 | -1/+1 | |
| | | | ||||||
| * | | Updated comment string. Bug 18004. | Bernhard Schommer | 2016-08-31 | 2 | -3/+3 | |
| | | | ||||||
| * | | Readded warning about ignored volatile. Bug 18004 | Bernhard Schommer | 2016-08-31 | 1 | -1/+1 | |
| | | | ||||||
| * | | Added missing literal. Bug 18004 | Bernhard Schommer | 2016-08-31 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fixed typos. | Bernhard Schommer | 2016-08-31 | 1 | -8/+8 | |
| | | | | | | | | | | | | | | | | | | Removed duplicated of, changed string to string literal for wording than the C standard. Bug 18004 | |||||
| * | | bug 18004, fix some typos/grammar | Michael Schmidt | 2016-08-30 | 1 | -1/+1 | |
| | | | ||||||
| * | | bug 18004, fix some typos/grammar | Michael Schmidt | 2016-08-30 | 1 | -4/+4 | |
| | | | ||||||
| * | | Fixed types in Elab.ml. Bug 18004 | Bernhard Schommer | 2016-08-29 | 1 | -5/+5 | |
| | | | ||||||
| * | | Merge branch 'master' into advanced-diagnostics | Bernhard Schommer | 2016-08-29 | 1 | -8/+18 | |
| |\ \ | ||||||
| * \ \ | Merge branch 'master' into advanced-diagnostics | Bernhard Schommer | 2016-08-29 | 56 | -577/+1051 | |
| |\ \ \ | ||||||
| * | | | | Added raw printing of types without formatting. | Bernhard Schommer | 2016-08-16 | 3 | -5/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids introducing line breaks during printing of function types. Bug 18004 | |||||
| * | | | | Additional test for color output. | Bernhard Schommer | 2016-08-05 | 6 | -75/+102 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Color output is only enabled if stderr is a tty, and the environment variable TERM is not empty or dumb. Bug 18004 | |||||
| * | | | | Classified all warnings and added various options. | Bernhard Schommer | 2016-07-29 | 16 | -358/+690 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now each warning either has a name and can be turned on/off, made into an error,etc. or is a warning that always will be triggered. The message of the warnings are similar to the ones emited by gcc/clang and all fit into one line. Furthermore the diagnostics are now colored if colored output is available. Bug 18004 | |||||
* | | | | | IA32: model integer division and modulus closer to the machine | Xavier Leroy | 2016-09-18 | 5 | -50/+187 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/Integers.v: define division-remainder of a double word by a word ia32/Asm.v: use it to give Pdiv and Pidiv their "true" semantics like in the processor; add Pcltd as an instruction ia32/*: adapt accordingly Additional benefit: Pcltd could be used for an alternate implementation of shrximm. | |||||
* | | | | | Enrich Decidableplus and use it to simplify Cexec.do_ef_memcpy | Xavier Leroy | 2016-09-17 | 3 | -31/+39 | |
| | | | | | | | | | | | | | | | | | | | | Inline directives in extraction.v make the Caml output efficient and almost nice. | |||||
* | | | | | Decidableplus: remove stuff that was cut-and-paste from Coq 8.5 library | Xavier Leroy | 2016-09-17 | 1 | -48/+1 | |
| | | | | | | | | | | | | | | | | | | | | The cut-and-paste was for compatibility with Coq 8.4 | |||||
* | | | | | Added option to specify sdump folder. Fix 19816. | Bernhard Schommer | 2016-09-16 | 1 | -2/+7 | |
| | | | | | ||||||
* | | | | | improve fixup code (bug 19792) | Michael Schmidt | 2016-09-15 | 1 | -0/+2 | |
| | | | | | ||||||
* | | | | | Add interference for indirect calls. | Bernhard Schommer | 2016-09-15 | 5 | -6/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids problems with overwritting the registe containing the function address. Bug 19779 | |||||
* | | | | | Add missing fixup-code for ARM EABI (bug 19792) | Michael Schmidt | 2016-09-14 | 1 | -2/+0 | |
| | | | | | ||||||
* | | | | | add missing print operator | Michael Schmidt | 2016-09-14 | 1 | -0/+1 | |
| | | | | | ||||||
* | | | | | Removed some implict arguments. | Bernhard Schommer | 2016-09-05 | 3 | -33/+14 | |
| |_|/ / |/| | | | | | | | | | | | Also changed Local Open to Open Local. | |||||
* | | | | Pass the environment of k&r param elaboration. | Bernhard Schommer | 2016-08-29 | 1 | -8/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The environment where the types are inserted is passed back to allow introducing structs in k&r parameters. Bug 19668 | |||||
* | | | | Fixed spelling mistake and unnamed fields. | Bernhard Schommer | 2016-08-29 | 1 | -3/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The previous fix for duplicated members was also triggered for unnamed members. Bug 19665 | |||||
* | | | | Added check for duplicated members. Bug 19665 | Bernhard Schommer | 2016-08-29 | 1 | -0/+5 | |
| |/ / |/| | | ||||||
* | | | Use old scope in after parameter parsing. | Bernhard Schommer | 2016-08-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | Not decrementing the scopes again after a parameter parsing lead to other scoping problems. Bug 19656. | |||||
* | | | Reuse types from parameters in function definitons | Bernhard Schommer | 2016-08-25 | 3 | -41/+47 | |
| | | | | | | | | | | | | | | | | | | In order to allow introducing structs in parameter definitions the environment must keep the type information. Bug 19602 | |||||
* | | | Test if struct is redefined as union or otherwise. | Bernhard Schommer | 2016-08-25 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | If a declaration of a composite is encountered it is also tested if the kind is equal. Bug 19630. | |||||
* | | | Simplify test. Bug 19629 | Bernhard Schommer | 2016-08-25 | 1 | -4/+1 | |
| | | | ||||||
* | | | Test for illegal first argument in __builtin_debug. | Bernhard Schommer | 2016-08-25 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | | The test is extended for integer constants smaller than 0. Also the default constant used for the error is no longer 0 since this is not a positive number. Bug 19629 |