This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The problem is that we do not say that error_mark_node can be shared even though it is the only one that should exist. This patch fixes the problem. I had meant to check this testcase when I was fixing the other one but I must have missed this one.
Thanks, Andrew Pinski
ChangeLog: * tree-cfg.c (tree_node_can_be_shared): Error_mark_node can be shared always.
Testcase:
/* { dg-do compile } */
/* { dg-options "" } */Attachment:
temp.diff.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |