https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78338

            Bug ID: 78338
           Summary: [7 Regression] bootstrap broken on mips-linux-gnu
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with trunk r242048, apparently not seen on 20161106.

x86_64-linux-gnu-g++-7 -fno-PIE -c   -g -O2 -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H
-I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include
-I../../src/gcc/../libcpp/include  -I../../src/gcc/../libdecnumber
-I../../src/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../src/gcc/../libbacktrace   -o host-linux.o -MT host-linux.o -MMD -MP -MF
./.deps/host-linux.TPo ../../src/gcc/config/host-linux.c
In file included from ../../src/gcc/hash-table.h:561:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/hash-map.h: In instantiation of 'static void hash_map<
<template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3>
>::hash_entry::ggc_mx(hash_map< <template-parameter-1-1>,
<template-parameter-1-2>, <template-parameter-1-3> >::hash_entry&) [with KeyId
= nofree_string_hash; Value = rtx_def*; Traits =
simple_hashmap_traits<default_hash_traits<nofree_string_hash>, rtx_def*>]':
../../src/gcc/hash-table.h:1029:17:   required from 'void
gt_ggc_mx(hash_table<E>*) [with E = hash_map<nofree_string_hash,
rtx_def*>::hash_entry]'
../../src/gcc/hash-map.h:251:13:   required from 'void gt_ggc_mx(hash_map<K, V,
H>*) [with K = nofree_string_hash; V = rtx_def*; H =
simple_hashmap_traits<default_hash_traits<nofree_string_hash>, rtx_def*>]'
./gt-mips.h:38:19:   required from here
../../src/gcc/hash-map.h:62:12: error: no matching function for call to
'gt_ggc_mx(rtx_def*&)'
  gt_ggc_mx (e.m_value);
  ~~~~~~~~~~^~~~~~~~~~~
In file included from ../../src/gcc/coretypes.h:346:0,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/wide-int.h:3115:1: note: candidate: template<class T> void
gt_ggc_mx(generic_wide_int<storage>*)
 gt_ggc_mx (generic_wide_int <T> *)
 ^~~~~~~~~
../../src/gcc/wide-int.h:3115:1: note:   template argument
deduction/substitution failed:
In file included from ../../src/gcc/hash-table.h:561:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/hash-map.h:62:12: note:   'rtx_def' is not derived from
'generic_wide_int<storage>'
  gt_ggc_mx (e.m_value);
  ~~~~~~~~~~^~~~~~~~~~~
In file included from ../../src/gcc/coretypes.h:346:0,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/wide-int.h:3133:1: note: candidate: template<int N> void
gt_ggc_mx(trailing_wide_ints<N>*)
 gt_ggc_mx (trailing_wide_ints <N> *)
 ^~~~~~~~~
../../src/gcc/wide-int.h:3133:1: note:   template argument
deduction/substitution failed:
In file included from ../../src/gcc/hash-table.h:561:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/hash-map.h:62:12: note:   'rtx_def' is not derived from
'trailing_wide_ints<N>'
  gt_ggc_mx (e.m_value);
  ~~~~~~~~~~^~~~~~~~~~~
In file included from ../../src/gcc/hash-table.h:235:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/ggc.h:302:1: note: candidate: void gt_ggc_mx(const char*)
 gt_ggc_mx (const char *s)
 ^~~~~~~~~
../../src/gcc/ggc.h:302:1: note:   no known conversion for argument 1 from
'rtx_def*' to 'const char*'
../../src/gcc/ggc.h:313:1: note: candidate: void gt_ggc_mx(int) <near match>
 gt_ggc_mx (int)
 ^~~~~~~~~
../../src/gcc/ggc.h:313:1: note:   conversion of argument 1 would be
ill-formed:
In file included from ../../src/gcc/hash-table.h:561:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/hash-map.h:62:15: error: invalid conversion from 'rtx_def*' to
'int' [-fpermissive]
  gt_ggc_mx (e.m_value);
             ~~^~~~~~~
In file included from ../../src/gcc/hash-table.h:236:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/vec.h:1104:1: note: candidate: template<class T> void
gt_ggc_mx(vec<T, va_gc>*)
 gt_ggc_mx (vec<T, va_gc> *v)
 ^~~~~~~~~
../../src/gcc/vec.h:1104:1: note:   template argument deduction/substitution
failed:
In file included from ../../src/gcc/hash-table.h:561:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/hash-map.h:62:12: note:   'rtx_def' is not derived from 'vec<T,
va_gc>'
  gt_ggc_mx (e.m_value);
  ~~~~~~~~~~^~~~~~~~~~~
In file included from ../../src/gcc/hash-table.h:236:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/vec.h:1113:1: note: candidate: template<class T> void
gt_ggc_mx(vec<T, va_gc_atomic, vl_embed>*)
 gt_ggc_mx (vec<T, va_gc_atomic, vl_embed> *v ATTRIBUTE_UNUSED)
 ^~~~~~~~~
../../src/gcc/vec.h:1113:1: note:   template argument deduction/substitution
failed:
In file included from ../../src/gcc/hash-table.h:561:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/hash-map.h:62:12: note:   'rtx_def' is not derived from 'vec<T,
va_gc_atomic, vl_embed>'
  gt_ggc_mx (e.m_value);
  ~~~~~~~~~~^~~~~~~~~~~
In file included from ../../src/gcc/config/mips/mips.c:30:0:
../../src/gcc/tree.h:5422:13: note: candidate: void gt_ggc_mx(tree_node*&)
 extern void gt_ggc_mx (tree &);
             ^~~~~~~~~
../../src/gcc/tree.h:5422:13: note:   no known conversion for argument 1 from
'rtx_def*' to 'tree_node*&'
In file included from ../../src/gcc/coretypes.h:351:0,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/hash-set.h:130:1: note: candidate: template<class K, class H>
void gt_ggc_mx(hash_set<K, H>*)
 gt_ggc_mx (hash_set<K, H> *h)
 ^~~~~~~~~
../../src/gcc/hash-set.h:130:1: note:   template argument
deduction/substitution failed:
In file included from ../../src/gcc/hash-table.h:561:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/hash-map.h:62:12: note:   'rtx_def' is not derived from
'hash_set<K, H>'
  gt_ggc_mx (e.m_value);
  ~~~~~~~~~~^~~~~~~~~~~
In file included from ../../src/gcc/coretypes.h:350:0,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/hash-table.h:1016:1: note: candidate: template<class E> void
gt_ggc_mx(hash_table<E>*)
 gt_ggc_mx (hash_table<E> *h)
 ^~~~~~~~~
../../src/gcc/hash-table.h:1016:1: note:   template argument
deduction/substitution failed:
In file included from ../../src/gcc/hash-table.h:561:0,
                 from ../../src/gcc/coretypes.h:350,
                 from ../../src/gcc/config/mips/mips.c:26:
../../src/gcc/hash-map.h:62:12: note:   'rtx_def' is not derived from
'hash_table<E>'
  gt_ggc_mx (e.m_value);
  ~~~~~~~~~~^~~~~~~~~~~
../../src/gcc/hash-map.h:249:1: note: candidate: template<class K, class V,
class H> void gt_ggc_mx(hash_map<K, V, H>*)
 gt_ggc_mx (hash_map<K, V, H> *h)
 ^~~~~~~~~
../../src/gcc/hash-map.h:249:1: note:   template argument
deduction/substitution failed:
../../src/gcc/hash-map.h:62:12: note:   'rtx_def' is not derived from
'hash_map<K, V, H>'
  gt_ggc_mx (e.m_value);
  ~~~~~~~~~~^~~~~~~~~~~
../../src/gcc/hash-map.h: In instantiation of 'static void hash_map<
<template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3>
>::hash_entry::pch_nx(hash_map< <template-parameter-1-1>,
<template-parameter-1-2>, <template-parameter-1-3> >::hash_entry&) [with KeyId
= nofree_string_hash; Value = rtx_def*; Traits =
simple_hashmap_traits<default_hash_traits<nofree_string_hash>, rtx_def*>]':
../../src/gcc/hash-table.h:1064:17:   required from 'void
gt_pch_nx(hash_table<E>*) [with D = hash_map<nofree_string_hash,
rtx_def*>::hash_entry]'
../../src/gcc/hash-map.h:258:13:   required from 'void gt_pch_nx(hash_map<K, V,
H>*) [with K = nofree_string_hash; V = rtx_def*; H =
simple_hashmap_traits<default_hash_traits<nofree_string_hash>, rtx_def*>]'
./gt-mips.h:58:19:   required from here
../../src/gcc/hash-map.h:68:12: error: no matching function for call to
'gt_pch_nx(rtx_def*&)'
  gt_pch_nx (e.m_value);
  ~~~~~~~~~~^~~~~~~~~~~
In file included from ../../src/gcc/coretypes.h:346:0,

Reply via email to