diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b90cc6738ca53ae08ff94eeaca87eb1bc7529b5f..0039342341e2299b06808dac59d7ef3d0cbfec6d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+	* Makefile.in (.SUFFIXES): Add .cc.
+	(.c.o): Apply same recipe for implicit rule .cc.o.
+
 2013-03-27  Richard Biener  <rguenther@suse.de>
 
 	PR tree-optimization/37021
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 54ea04f644a1a2d0224598933472a7cca6c9eaed..b60e1f84fec8dbca04a6d652498dba779877984e 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -48,7 +48,7 @@ MAKEOVERRIDES =
 # This must come before the language makefile fragments to allow them to
 # add suffixes and rules of their own.
 .SUFFIXES:
-.SUFFIXES: .c .o .po .pox .gmo
+.SUFFIXES: .c .cc .o .po .pox .gmo
 
 # -------------------------------
 # Standard autoconf-set variables
@@ -1054,7 +1054,7 @@ INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
 	   $(CPPINC) $(GMPINC) $(DECNUMINC) $(BACKTRACEINC) \
 	   $(CLOOGINC) $(ISLINC)
 
-.c.o:
+.cc.o .c.o:
 	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION)
 
 #