PR c++/46001 * decl.c (record_builtin_java_type): Call build_distinct_type_copy on build_nonstandard_integer_type result for __java_* types. * g++.dg/diagnostic/bitfld1.C: New test. From-SVN: r167698