aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/cp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed GCC elides lambdasAndrew Hsieh2012-12-042-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | See http://code.google.com/p/android/issues/detail?id=35933 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54170 Backport of r194098 to both GCC 4.6 and 4.7 /cp 2012-12-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54170 * cvt.c (cp_convert_to_pointer): Don't discard side-effects from expressions of nullptr_t. * typeck.c (build_ptrmemfunc): Likewise. /testsuite 2012-12-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54170 * g++.dg/cpp0x/lambda/lambda-nullptr.C: New. Change-Id: I4c90f9e06262a54796302773b36eb5bac7b4f1fa
* Backported from mainlineJakub Jelinek2012-11-141-1/+6
| | | | | | | | | | | | | 2012-02-14 Jakub Jelinek <jakub@redhat.com> PR c/52181 * c-decl.c (merge_decls): Copy DECL_USER_ALIGN bit from olddecl to newdecl. * decl.c (duplicate_decls): If olddecl has bigger DECL_ALIGN than newdecl, copy DECL_ALIGN to newdecl and or DECL_USER_ALIGN bits. * c-c++-common/pr52181.c: New test.
* Fix crash on null context in GCC 4.6 cp/mangle.c::write_unscoped_nameAndrew Hsieh2012-09-191-1/+1
| | | | | | Compiler may crash when context == NULL and dereferenced in TREE_CODE Change-Id: I8630e98bc4df04fd9cc18a4432e7e82bf2968755
* Sync down FSF r184235@google/gcc-4_6_2-mobile branchJing Yu2012-02-1517-211/+817
| | | | | | | | 1) Get mostly new patches from FSF gcc-4.6 branch 2) Fix PR52129 3) Insert GNU-stack note for all ARM targets Change-Id: I2b9926981210e517e4021242908074319a91d6bd
* Add gcc-4.6. Synced to @180989Jing Yu2011-12-1968-0/+227470
Change-Id: Ie3676586e1d8e3c8cd9f07d022f450d05fa08439 svn://gcc.gnu.org/svn/gcc/branches/google/gcc-4_6-mobile