summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/c-c++-common/tm
Commit message (Collapse)AuthorAgeFilesLines
* tm: Add uninstrumented code pathrth2012-11-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193271 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/54893aldyh2012-10-171-0/+16
| | | | | | | * trans-mem.c (diagnose_tm_1_op): Allow volatiles inside relaxed transactions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192549 138bc75d-0d04-0410-961f-82ee72b054a4
* Adjust relevant test cases wrt -ftrack-macro-expansion=[0|2]dodji2012-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even after all the patches I have already submitted, some test cases where errors happens on tokens that are defined in macros see their output change in an incompatible way, when you run them with or without -ftrack-macro-expansion. I think this is expected, because the (spelling) locus inside the definition of the macro pointed to with -ftrack-macro-expansion is different from the locus of the expansion point of the macro pointed to without -ftrack-macro-expansion. In those cases this patch either adjusts the test case and forces it be run either with -ftrack-macro-expansion, or it just forces it to be run without -ftrack-macro-expansion. There are so many libstdc++ tests that were failing because of that benign issue that I preferred to just run them with -ftrack-macro-expansion diabled, after inspecting each of them to be sure there was nothing more serious underneath. Boostrapped on x86_64-unknown-linux-gnu against trunk with and without -ftrack-macro-expansion turned on. gcc/testsuite/ * objc.dg/foreach-7.m: Force the test case to run without -ftrack-macro-expansion. * c-c++-common/tm/attrib-1.c: Likewise. * c-c++-common/warn-ommitted-condop.c: Likewise. * gcc.dg/assign-warn-1.c: Likewise. * gcc.dg/assign-warn-2.c: Likewise. * gcc.dg/attr-alloc_size.c: Likewise. * gcc.dg/builtin-stringop-chk-1.c: Likewise. * gcc.dg/builtin-stringop-chk-2.c: Likewise. * gcc.dg/builtin-strncat-chk-1.c: Likewise. * gcc.dg/c90-const-expr-9.c: Likewise. * gcc.dg/c99-const-expr-9.c: Likewise. * gcc.dg/cpp/direct2.c: Likewise. Adjust. * gcc.dg/cpp/direct2s.c: Likewise. * gcc/testsuite/gcc.dg/cpp/pr28709.c: Likewise. * gcc.dg/cpp/pragma-diagnostic-1.c: Likewise. * gcc.dg/dfp/composite-type.c: Likewise. * gcc.dg/uninit-6-O0.c: Adjust the test case and force it to run with -ftrack-macro-expansion * g++.dg/cpp0x/constexpr-ex3.C: Likewise. * g++.dg/cpp0x/constexpr-overflow.C: Likewise. * g++.dg/ext/cleanup-1.C: Likewise. * g++.dg/ext/gnu-inline-global-reject.C: Likewise. * g++.dg/template/sfinae10.C: Likewise. * g++.dg/tm/wrap-2.C: Likewise. * g++.dg/warn/Wconversion-real-integer.C: Likewise. * g++.dg/warn/Wsign-conversion.C: Likewise. * g++.dg/warn/multiple-overflow-warn-1.C: Likewise. * g++.old-deja/g++.mike/p10769b.C: Likewise. * g++.dg/warn/Wdouble-promotion.C: Adjust the test case and force it to run with -ftrack-macro-expansion. * libstdc++-v3/scripts/testsuite_flags.in: By default, run the test cases without -ftrack-macro-expansion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186976 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-23 Greta Yorsh <Greta.Yorsh@arm.com>sameerad2012-01-231-0/+1
| | | | | | | | * c-c++-common/tm/omp.c: Require target with pthread support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183432 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/51655rth2012-01-061-1/+5
| | | | | | | * c-c++-common/tm/memcpy-1.c: Declare memcpy instead of including <string.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182972 138bc75d-0d04-0410-961f-82ee72b054a4
* Prevent sharing of commit calls among transactions.torvald2011-12-121-0/+53
| | | | | | | | | | | gcc/ * tree-ssa-tail-merge.c (gimple_equal_p): Don't treat transaction commits as equal. gcc/testsuite/ * c-c++-common/tm/20111206.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182231 138bc75d-0d04-0410-961f-82ee72b054a4
* Adapt c-c++-common/tm/malloc.c for Solaris headers with C++ro2011-11-211-1/+3
| | | | | | | * c-c++-common/tm/malloc.c: Scan tree dumps for std::malloc if *-*-solaris2* && c++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181579 138bc75d-0d04-0410-961f-82ee72b054a4
* Require parentheses when parsing transaction expressions.torvald2011-11-151-0/+14
| | | | | | | | | | | | | | | gcc/ * c-parser.c (c_parser_transaction_expression): Require parentheses when parsing transaction expressions. gcc/cp/ * parser.c (cp_parser_transaction_expression): Require parentheses when parsing transaction expressions. gcc/testsuite/ * c-c++-common/tm/trxn-expr-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181383 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from transactional-memory branch.aldyh2011-11-0822-0/+468
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181154 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud