diff mbox

tree_code_name wrapper

Message ID 525E7E3E.7010605@oracle.com
State New
Headers show

Commit Message

Paolo Carlini Oct. 16, 2013, 11:53 a.m. UTC
Hi,

bootstrap is currently broken, I'm going to test and commit the below if 
everything goes well.

Thanks,
Paolo.

///////////////////

Comments

Paulo Matos Oct. 16, 2013, 1:25 p.m. UTC | #1
> -----Original Message-----

> From: Paolo Carlini [mailto:paolo.carlini@oracle.com]

> Sent: 16 October 2013 12:54

> To: Richard Biener; Paulo Matos

> Cc: Jakub Jelinek; gcc-patches@gcc.gnu.org

> Subject: Re: [PATCH] tree_code_name wrapper

> 

> Hi,

> 

> bootstrap is currently broken, I'm going to test and commit the below if

> everything goes well.

> 

> Thanks,

> Paolo.

> 

> ///////////////////


Please do. I can't understand how I compiled and ran the tests successfully with that issue.

Paulo Matos
Paulo Matos Oct. 16, 2013, 1:28 p.m. UTC | #2
> -----Original Message-----

> From: Paolo Carlini [mailto:paolo.carlini@oracle.com]

> Sent: 16 October 2013 12:54

> To: Richard Biener; Paulo Matos

> Cc: Jakub Jelinek; gcc-patches@gcc.gnu.org

> Subject: Re: [PATCH] tree_code_name wrapper

> 

> Hi,

> 

> bootstrap is currently broken, I'm going to test and commit the below if

> everything goes well.

> 


Sorry all, it might be because I did --enable-languages=c and that was in the C++ part, even though with g++ being used to bootstrap I would have expected it to break the build anyway.

Thanks Paolo for fixing it.

-- 
Paulo Matos
diff mbox

Patch

Index: pt.c
===================================================================
--- pt.c	(revision 203698)
+++ pt.c	(working copy)
@@ -12102,7 +12102,7 @@  tsubst (tree t, tree args, tsubst_flags_t complain
       gcc_unreachable ();
 
     default:
-      sorry ("use of %qs in template", get_tree_code_name ((int) code));
+      sorry ("use of %qs in template", get_tree_code_name (code));
       return error_mark_node;
     }
 }