diff --git a/.gitignore b/.gitignore
index 735647a..9a32ba9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@
 /gcc-4.7.0-20120221.tar.bz2
 /gcc-4.7.0-20120223.tar.bz2
 /gcc-4.7.0-20120224.tar.bz2
+/gcc-4.7.0-20120227.tar.bz2
diff --git a/gcc.spec b/gcc.spec
index 99ec60d..6d2761f 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,9 +1,9 @@
-%global DATE 20120224
-%global SVNREV 184541
+%global DATE 20120227
+%global SVNREV 184609
 %global gcc_version 4.7.0
 # Note, gcc_release must be integer, if you want to add suffixes to
 # %{release}, append them after %{gcc_release} on Release: line.
-%global gcc_release 0.16
+%global gcc_release 0.17
 %global _unpackaged_files_terminate_build 0
 %global multilib_64_archs sparc64 ppc64 s390x x86_64
 %ifarch %{ix86} x86_64 ia64 ppc ppc64 alpha
@@ -2635,6 +2635,13 @@ fi
 %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/plugin
 
 %changelog
+* Mon Feb 27 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-0.17
+- update from trunk
+  - PRs boehm-gc/52179, libffi/52223, libstdc++/52188, middle-end/52355,
+	middle-end/52361, target/49263, target/49461, target/50580,
+	target/52352, target/52375, target/52390, testsuite/52201,
+	tree-optimization/52376
+
 * Fri Feb 24 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-0.16
 - update from trunk
   - fix vtable for std::num_get<char, std::istreambuf_iterator<char,
diff --git a/sources b/sources
index c866b69..66357c5 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
 2659f09c2e43ef8b7d4406321753f1b2  fastjar-0.97.tar.gz
-efd453ff4dfe84ed08aa1f2287b299ef  gcc-4.7.0-20120224.tar.bz2
+2179148d862b6da261b6677154d584b1  gcc-4.7.0-20120227.tar.bz2