summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/trapv.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct -ftrapv to trap on errors, instead of calling theChris Lattner2010-08-071-24/+3
| | | | | | | | | | | | | | | | __overflow_handler entrypoint that David Chisnall made up. Calling __overflow_handler is not part of the contract of -ftrapv provided by GCC, and should never have been checked in in the first place. According to: http://permalink.gmane.org/gmane.comp.compilers.clang.devel/8699 David is using this for some of arbitrary precision integer stuff or something, which is not an appropriate thing to implement on this. llvm-svn: 110490
* Fix a major bug with -ftrapv and ++/--. Patch by David Keaton!John McCall2010-08-051-3/+65
| | | | llvm-svn: 110347
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-1/+1
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Oops, almost forgot the testcases.Mike Stump2009-04-021-0/+10
llvm-svn: 68270
OpenPOWER on IntegriCloud