dtor4.C
181 Bytes
-
re PR tree-optimization/42625 (-fipa-sra can generate different destructors in… · 4139c7ef
re PR tree-optimization/42625 (-fipa-sra can generate different destructors in different object files, binary breaks after linking) PR tree-optimization/42625 * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*, TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body aliases. * g++.dg/opt/dtor4.C: New test. * g++.dg/opt/dtor4.h: New. * g++.dg/opt/dtor4-aux.cc: New. From-SVN: r155694
Jakub Jelinek committed