diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/auto-profile.c | 2 | ||||
-rw-r--r-- | gcc/l-ipo.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/auto-profile.c b/gcc/auto-profile.c index bfdd54a65ff..a08efc0846d 100644 --- a/gcc/auto-profile.c +++ b/gcc/auto-profile.c @@ -531,7 +531,7 @@ read_aux_modules (void) "assembler statements", aux_entry->name); continue; } - if (max_group != 0 && curr_module == max_group) + if (max_group != 0 && curr_module >= max_group) { if (flag_opt_info) inform (0, "Not importing %s: maximum group size reached", diff --git a/gcc/l-ipo.c b/gcc/l-ipo.c index 14fa25bbaa9..2cd33326f0c 100644 --- a/gcc/l-ipo.c +++ b/gcc/l-ipo.c @@ -709,6 +709,7 @@ lipo_cmp_type (tree t1, tree t2) && lipo_cmp_type (TREE_TYPE (t1), TREE_TYPE (t2))); case VOID_TYPE: case BOOLEAN_TYPE: + case NULLPTR_TYPE: return 1; case TEMPLATE_TYPE_PARM: return 1; |