Re: [PATCH] Fix -fdump-tree-fre ICE (PR tree-optimization/69141)

2016-01-05 Thread Jeff Law
On 01/05/2016 11:20 AM, Jakub Jelinek wrote: Hi! On the following testcase we ICE, because fn is __builtin_unreachable that doesn't have to have a cgraph node created. The name method on cgraph nodes calls decl_printable_name, so the following patch does that even if the cgraph node is NULL. Bo

[PATCH] Fix -fdump-tree-fre ICE (PR tree-optimization/69141)

2016-01-05 Thread Jakub Jelinek
Hi! On the following testcase we ICE, because fn is __builtin_unreachable that doesn't have to have a cgraph node created. The name method on cgraph nodes calls decl_printable_name, so the following patch does that even if the cgraph node is NULL. Bootstrapped/regtested on x86_64-linux and i686-l