Commit 1841dfbf by Paolo Carlini Committed by Paolo Carlini

re PR c++/62164 (5.0: ICE: error: Both section and comdat group is set)

2015-08-13  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/62164
	* g++.dg/torture/pr62164.C: New.

From-SVN: r226855
parent 310d5e7d
2015-08-13 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/62164
* g++.dg/torture/pr62164.C: New.
2015-08-13 Richard Biener <rguenther@suse.de>
PR tree-optimization/67191
......
// { dg-do compile }
// { dg-require-effective-target named_sections }
class T { static void t(); };
class U
{
public:
static void u() __attribute__ ((__section__ (".initcall.text")));
};
inline void U::u() {}
void T::t() { U::u(); }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment