[Bug middle-end/38474] slow compilation at -O0 (callgraph optimization, inline heuristics, expand )
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 15 21:56:00 GMT 2008
------- Comment #15 from steven at gcc dot gnu dot org 2008-12-15 21:55 -------
>From cfgexpand.c:
static void
add_alias_set_conflicts (void)
{
size_t i, j, n = stack_vars_num;
for (i = 0; i < n; ++i)
{
tree type_i = TREE_TYPE (stack_vars[i].decl);
bool aggr_i = AGGREGATE_TYPE_P (type_i);
bool contains_union;
contains_union = aggregate_contains_union_type (type_i);
for (j = 0; j < i; ++j)
{
Classic example of quadratic algorithm...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38474
More information about the Gcc-bugs
mailing list