OSDN Git Service

6fcd92a8822d311d7b58d5cbd61a5dce6146b439
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
1 2009-03-27  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2
3         PR c++/38638
4         * parser.c (cp_parser_elaborated_type_specifier): If we have a
5         typename tag and don't have either a TYPE_DECL or a
6         TEMPLATE_ID_EXPR, set the type to NULL.
7
8 2009-03-27  Simon Martin  <simartin@users.sourceforge.net>
9
10         PR c++/37647
11         * decl.c (grokdeclarator): Reject [con|de]stuctors in a non-class
12         scope.
13
14 2009-03-27  Simon Martin  <simartin@users.sourceforge.net>
15
16         PR c++/29727
17         * decl.c (check_array_designated_initializer): Handle error_mark_node.
18
19 2009-03-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
20
21         PR c++/35652
22         * typeck.c (cp_pointer_sum): Adjust call to pointer_int_sum.
23
24 2009-03-26  Andrew Haley  <aph@redhat.com>
25
26         PR C++/39380
27         * decl2.c (possibly_inlined_p): If java exceptions are in use
28         don't inline a decl unless it is explicitly marked inline.
29         * lex.c: (pragma_java_exceptions): New variable.
30         (handle_pragma_java_exceptions): Set pragma_java_exceptions.
31         * cp-tree.h (pragma_java_exceptions): Declare new variable.
32
33 2009-03-24  Jason Merrill  <jason@redhat.com>
34
35         PR c++/28274
36         * name-lookup.c (pushdecl_maybe_friend): Check default args later.
37
38 2009-03-23  Jakub Jelinek  <jakub@redhat.com>
39
40         PR c/39495
41         * semantics.c (handle_omp_for_class_iterator): Swap cond operands and
42         code if iter is the second operand.
43         * parser.c (cp_parser_binary_expression): Add no_toplevel_fold_p
44         argument.  If it is set, don't build the toplevel expression with
45         build_x_binary_op, but build2.
46         (cp_parser_assignment_expression,  cp_parser_omp_for_incr): Adjust
47         callers.
48         (cp_parser_omp_for_cond): Don't assume the first operand of the
49         comparison must be decl.
50
51 2009-03-23  Jason Merrill  <jason@redhat.com>
52
53         PR c++/37729
54         * pt.c (make_fnparm_pack): Split out from...
55         (instantiate_decl): ...here.
56         (tsubst_pack_expansion): Handle being called in a late-specified
57         return type.
58
59         PR c++/39526
60         * name-lookup.c (pushdecl_maybe_friend): Don't warn about shadowing
61         a parm with a parm.
62
63 2009-03-20  Jason Merrill  <jason@redhat.com>
64
65         PR c++/28879
66         * parser.c (cp_parser_direct_declarator): In a template, wrap 
67         non-constant expression in NOP_EXPR with TREE_SIDE_EFFECTS set.
68         * pt.c (tsubst): Preserve it in a partial instantiation.
69         (dependent_type_p_r): Don't check value_dependent_expression_p.
70         * decl.c (compute_array_index_type): Don't check
71         value_dependent_expression_p if TREE_SIDE_EFFECTS.
72
73         C++ core issue 703
74         * typeck2.c (check_narrowing): Don't complain about loss of 
75         precision when converting a floating-point constant.
76
77 2009-03-19  Jakub Jelinek  <jakub@redhat.com>
78
79         PR c/39495
80         * parser.c (cp_parser_omp_for_cond): Don't check lhs if decl is NULL.
81         (cp_parser_omp_for_loop): Always use cp_parser_omp_for_cond.
82
83 2009-03-18  Jakub Jelinek  <jakub@redhat.com>
84
85         * parser.c (struct cp_token): Reorder fields for 64-bit hosts.
86         (eof_token): Adjust.
87
88 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
89
90         PR c++/39425
91         * parser.c (cp_parser_explicit_specialization): Don't skip the
92         rest of the specialization when begin_specialization returns
93         false.
94
95 2009-03-17  Jason Merrill  <jason@redhat.com>
96
97         * decl.c (grokfndecl): Set DECL_CONTEXT on parms.
98         (duplicate_decls): Adjust DECL_CONTEXT of newdecl's parms.
99         * pt.c (check_explicit_specialization): Likewise.
100         (tsubst_copy) [PARM_DECL]: Return a dummy parm if we don't have a
101         local specialization.
102         * tree.c (cp_tree_equal) [PARM_DECL]: Check type and index, not name.
103         * decl2.c (parm_index): New fn.
104         * semantics.c (finish_decltype_type): Don't use describable_type.
105         * mangle.c (write_expression): Likewise.  Mangle ALIGNOF_EXPR.
106         Give a sorry for unsupported codes rather than crash.  Mangle
107         conversions with other than 1 operand.  New mangling for PARM_DECL.
108         * operators.def (ALIGNOF_EXPR): Mangle as "az".
109
110 2009-03-17  Jing Yu  <jingyu@google.com>
111
112         PR middle-end/39378
113         * method.c (use_thunk): Change is_thunk from crtl to cfun.
114
115 2009-03-17  Paolo Carlini  <paolo.carlini@oracle.com>
116
117         PR c++/39475
118         * semantics.c (check_trait_type): New.
119         (finish_trait_expr): Use it.
120
121 2009-03-17  Jakub Jelinek  <jakub@redhat.com>
122
123         * name-lookup.c (cp_emit_debug_info_for_using): Emit USING_STMTs
124         instead of calling imported_module_or_decl debug hook if
125         building_stmt_tree ().
126         * cp-gimplify.c (cp_gimplify_expr): Don't assert the first operand
127         is a NAMESPACE_DECL.
128
129         PR debug/37890
130         * name-lookup.c (do_namespace_alias): Don't call global_decl debug
131         hook at function scope.
132
133         PR debug/39471
134         * cp-gimplify.c (cp_gimplify_expr): Don't set DECL_NAME
135         on IMPORTED_DECL.
136
137 2009-03-09  Jakub Jelinek  <jakub@redhat.com>
138
139         PR c++/39371
140         * semantics.c (finish_switch_cond): Don't call get_unwidened.
141         * decl.c (finish_case_label): Pass SWITCH_STMT_TYPE as 3rd argument
142         instead of TREE_TYPE (cond).
143
144 2009-03-08  H.J. Lu  <hongjiu.lu@intel.com>
145
146         PR c++/39060
147         * parser.c (cp_parser_late_parsing_default_args): Continue
148         the loop when cp_parser_assignment_expression returns
149         error_mark_node.
150
151 2009-03-07  Jason Merrill  <jason@redhat.com>
152
153         PR c++/39367
154         * init.c (build_new_1): Don't use a VLA type.
155         (build_vec_init): Handle getting a pointer for BASE.
156
157 2009-03-06  H.J. Lu  <hongjiu.lu@intel.com>
158
159         PR c++/37520
160         * cp-tree.h: Check NO_DOT_IN_LABEL before NO_DOLLAR_IN_LABEL
161         when mangling symbols.
162
163 2009-03-06  Paolo Carlini  <paolo.carlini@oracle.com>
164
165         PR c++/33492
166         * error.c (dump_expr): Don't try to print THROW_EXPRs in full.
167
168 2009-03-06  Alexandre Oliva  <aoliva@redhat.com>
169
170         * decl.c (record_builtin_java_type): Use canonicalized integer
171         types.
172
173 2009-03-04  Jason Merrill  <jason@redhat.com>
174
175         PR c++/38908
176         * class.c (is_really_empty_class): New fn.
177         * cp-tree.h: Declare it.
178         * cp-objcp-common.c (cp_expr_size): Use it.
179
180         PR c++/13549
181         * semantics.c (perform_koenig_lookup): Handle TEMPLATE_ID_EXPR.
182         * parser.c (cp_parser_postfix_expression): Call it for 
183         TEMPLATE_ID_EXPR.
184         * tree.c (is_overloaded_fn): Look through TEMPLATE_ID_EXPR.
185         (get_first_fn): Likewise.
186
187         PR c++/9634
188         PR c++/29469
189         PR c++/29607
190         Implement DR 224.
191         * decl.c (make_typename_type): Do look inside currently open classes.
192         * parser.c (cp_parser_lookup_name): Likewise.
193         (cp_parser_template_name): Likewise.
194         * pt.c (dependent_scope_p): New function.
195         * cp-tree.h: Declare it.
196         * class.c (currently_open_class): Return fast if T isn't a class.
197
198 2009-02-26  H.J. Lu  <hongjiu.lu@intel.com>
199
200         PR c++/37789
201         * parser.c (cp_parser_mem_initializer): Return error_mark_node
202         if cp_parser_mem_initializer_id returns error_mark_node.
203
204 2009-02-24  Richard Guenther  <rguenther@suse.de>
205
206         PR c++/39242
207         * pt.c (instantiate_decl): Do not instantiate extern, non-inline
208         declared functions.
209
210 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
211
212         PR c++/36411
213         * pt.c (coerce_template_template_parms): Return 0 if parameter
214         is error_mark_node.
215
216 2009-02-23  Jason Merrill  <jason@redhat.com>
217
218         * pt.c (unify): Call maybe_adjust_types_for_deduction when
219         deducing from an initializer list.
220
221 2009-02-20  Jason Merrill  <jason@redhat.com>
222
223         PR c++/39225
224         * decl.c (grokdeclarator): Handle ~identifier.
225
226 2009-02-19  Jakub Jelinek  <jakub@redhat.com>
227
228         PR target/39175
229         * decl2.c (determine_visibility): If visibility changed and
230         DECL_RTL has been already set, call make_decl_rtl to update symbol
231         flags.
232
233 2009-02-19  H.J. Lu  <hongjiu.lu@intel.com>
234
235         PR c++/39188
236         * cp-tree.h (maybe_commonize_var): New.
237
238         * decl.c (maybe_commonize_var): Make it extern.
239
240         * decl2.c (finish_anon_union): Call maybe_commonize_var.
241
242 2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>
243
244         PR c++/39219
245         * parser.c (cp_parser_enum_specifier): Apply all attributes.
246
247 2009-02-18  Jason Merrill  <jason@redhat.com>
248
249         * cfns.h: Tweak pathname for cfns.gperf.
250
251 2009-02-13  Jason Merrill  <jason@redhat.com>
252
253         PR c++/39070
254         * semantics.c (finish_call_expr): Change koenig_p parm to int.
255         If -1, don't set KOENIG_LOOKUP_P but do keep hidden candidates.
256         * cp-tree.h: Adjust prototype.
257         * pt.c (tsubst_copy_and_build) [CALL_EXPR]: Pass -1.
258
259 2009-02-12  Jason Merrill  <jason@redhat.com>
260
261         PR c++/38950
262         * pt.c (unify)[TEMPLATE_PARM_INDEX]: Convert to the tsubsted type.
263
264 2009-02-11  Jason Merrill  <jason@redhat.com>
265
266         PR c++/39153
267         * decl2.c (cp_write_global_declarations): 
268         Check DECL_DEFAULTED_FN, not DECL_ARTIFICIAL.
269
270         PR c++/30111
271         * init.c (build_value_init_noctor): Split out from...
272         (build_value_init): ...here.
273         (expand_aggr_init_1): Handle value-initialization.
274         * cp-tree.h: Add declaration.
275         * class.c (type_has_user_provided_constructor): 
276         Handle non-class arguments.
277
278 2009-02-10  Jason Merrill  <jason@redhat.com>
279
280         PR c++/38649
281         * class.c (defaultable_fn_p): Handle ... properly.
282
283         PR c++/36744
284         * tree.c (lvalue_p_1): Condition rvalue ref handling on
285         treat_class_rvalues_as_lvalues, too.
286
287 2009-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
288
289         PR c++/34397
290         * typeck.c (build_x_array_ref): New.
291         * cp-tree.h: Declare it.
292         * pt.c (tsubst_copy_and_build): Use it for case ARRAY_REF.
293
294 2009-02-09  Jason Merrill  <jason@redhat.com>
295
296         PR c++/39109
297         * semantics.c (simplify_aggr_init_expr): Do zero-initialization here.
298         * init.c (build_value_init): Not here. Don't build a TARGET_EXPR.
299         * tree.c (get_target_expr): Handle AGGR_INIT_EXPR.
300         * cp-gimplify.c (cp_gimplify_init_expr): Remove special handling
301         for build_value_init TARGET_EXPR.
302         * cp-tree.h (AGGR_INIT_ZERO_FIRST): New macro.
303
304 2009-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
305
306         PR c++/35147
307         PR c++/37737
308         * cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Check TREE_VEC_LENGTH.
309
310 2009-02-04  Jakub Jelinek  <jakub@redhat.com>
311
312         PR c++/39095
313         * operators.def: Use COMPONENT_REF code for ->/pt operator again,
314         remove ./dt operator.
315         * mangle.c (write_expression): Handle COMPONENT_REF after handling
316         ADDR_EXPR, for COMPONENT_REF without ARROW_EXPR inside of it
317         write_string ("dt") instead of using operators.def.
318
319 2009-02-03  Jason Merrill  <jason@redhat.com>
320
321         * typeck.c (cp_build_unary_op): Only complain about taking address
322         of main if pedantic.
323
324 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
325
326         PR inline-asm/39059
327         * parser.c (cp_parser_primary_expression): Reject FIXED_CSTs.
328
329         PR c++/39056
330         * typeck2.c (digest_init_r): Don't call process_init_constructor
331         for COMPLEX_TYPE.
332
333 2009-02-03  Paolo Bonzini  <bonzini@gnu.org>
334
335         PR c++/36897
336         * pt.c (convert_nontype_argument_function): Expect expr to be an
337         ADDR_EXPR.
338
339         PR c++/37314
340         * typeck.c (merge_types): Call resolve_typename_type if only
341         one type is a typename.
342
343 2009-02-02  Jason Merrill  <jason@redhat.com>
344
345         PR c++/39054
346         * parser.c (cp_parser_unqualified_id): Don't wrap error_mark_node 
347         in BIT_NOT_EXPR.
348
349 2009-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
350
351         PR c++/39053
352         * parser.c (cp_parser_pure_specifier): If there are no tokens left
353         do not call cp_lexer_consume_token.
354
355 2009-01-30  Jakub Jelinek  <jakub@redhat.com>
356
357         PR c++/39028
358         * parser.c (cp_parser_already_scoped_statement): Handle __label__
359         declarations.
360
361 2009-01-30  Paolo Carlini  <paolo.carlini@oracle.com>
362
363         PR c++/33465
364         * error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR.
365
366 2009-01-30  Paolo Carlini  <paolo.carlini@oracle.com>
367
368         PR c++/38655
369         * error.c (dump_type_prefix, dump_type_suffix): Handle FIXED_POINT_TYPE.
370
371 2009-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
372
373         * typeck.c (invalid_nonstatic_memfn_p): Use
374         DECL_NONSTATIC_MEMBER_FUNCTION_P.
375
376 2009-01-27  Paolo Carlini  <paolo.carlini@oracle.com>
377
378         PR c++/37554
379         * call.c (build_over_call): If convert_for_arg_passing returns
380         error_mark_node unconditionally return it.
381
382 2009-01-22  Adam Nemet  <anemet@caviumnetworks.com>
383
384         * class.c (check_field_decls): Also inherit packed for bitfields
385         regardless of their type.
386
387 2009-01-22  Dodji Seketeli  <dodji@redhat.com>
388
389         PR c++/38930
390         * decl2.c (grokfield): Reverting changes of PR c++/26693
391         (save_template_attributes): Likewise.
392         * decl.c (grokdeclarator): Likewise.
393         * name-lookup.c (pushdecl_maybe_friend): Likewise.
394         * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): Likewise.
395         (append_type_to_template_for_access_check): Likewise.
396         * semantics.c (check_accessibility_of_qualified_id): Likewise.
397         * pt.c (instantiate_class_template, instantiate_template ): Likewise.
398         (tsubst): Likewise.
399         (resolve_type_name_type): Likewise.
400         (append_type_to_template_for_access_check): Likewise.
401
402 2009-01-21  Dodji Seketeli  <dodji@redhat.com>
403
404         PR c++/26693
405         * decl2.c (grokfield): when a typedef appears in a
406         class, create the typedef variant type node for it.
407         (save_template_attributes): Creating typedef variant type node
408          here is now useless.
409         * decl.c (grokdeclarator): If the typedef'ed struct/class was
410         anonymous, set the proper type name to all its type variants.
411         * name-lookup.c (pushdecl_maybe_friend): Reuse the
412         set_underlying_type function to install typedef variant types.
413         * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): New template accessor
414         macro.
415         (append_type_to_template_for_access_check): New entry points.
416         * semantics.c (check_accessibility_of_qualified_id):
417         When a typedef that is a member of a class appears in a template,
418         add it to the template. It will be ...
419         * pt.c (instantiate_class_template, instantiate_template ): ... access
420         checked at template instantiation time.
421         (tsubst): Handle the case of being called with NULL args.
422         (resolve_type_name_type): The type name should be the name of the
423         main type variant.
424         (append_type_to_template_for_access_check): New entry point.
425
426 2009-01-19  Jason Merrill  <jason@redhat.com>
427
428         PR c++/23287
429         * parser.c (cp_parser_unqualified_id): In a template,
430         accept ~identifier.
431         * typeck.c (lookup_destructor): Handle IDENTIFIER_NODE.
432
433 2009-01-16  Jason Merrill  <jason@redhat.com>
434
435         PR c++/38877
436         * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
437         * init.c (build_new): Don't call describable_type unless we
438         have an auto.
439
440         PR c++/29470
441         * pt.c (tsubst_decl) [USING_DECL]: Propagate access flags.
442
443         PR c++/38579
444         * search.c (protected_accessible_p): N doesn't vary.
445
446 2009-01-15  Jason Merrill  <jason@redhat.com>
447
448         PR c++/38850
449         * pt.c (tsubst_copy_and_build): Tell finish_call_expr to
450         accept hidden friends.
451
452 2009-01-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
453
454         PR C++/29388
455         * decl.c (grokdeclarator): Check for a non namespace/class context.
456
457 2009-01-15  Jason Merrill  <jason@redhat.com>
458
459         PR c++/36334
460         PR c++/37646
461         * tree.c (lvalue_p_1): Handle BASELINK.  A COMPONENT_REF to
462         a function isn't necessarily an lvalue. Take tree, not const_tree.
463         (lvalue_p, real_lvalue_p): Take tree, not const_tree.
464         * typeck.c (lvalue_or_else): Likewise.
465         * cp-tree.h: Adjust prototypes.
466
467 2009-01-15  Steve Ellcey  <sje@cup.hp.com>
468
469         PR c++/38357
470         * pt.c (tsubst): Check for NULL args.
471
472 2009-01-15  Dodji Seketeli  <dodji@redhat.com>
473
474         PR c++/38636
475         * name-lookup.c (pushtag): Don't create members to types that are not
476         being created.
477
478 2009-01-14  Nick Clifton  <nickc@redhat.com>
479
480         PR c++/37862
481         * parser.c: Pass cp_id_kind computed in
482         cp_parser_postfix_dot_deref_expression to
483         cp_parser_primary_expression.
484
485 2009-01-13  Jakub Jelinek  <jakub@redhat.com>
486
487         PR c++/38795
488         * tree.c (cp_walk_subtrees): Handle REINTERPRET_CAST_EXPR,
489         STATIC_CAST_EXPR, CONST_CAST_EXPR and DYNAMIC_CAST_EXPR the same
490         as CAST_EXPR.
491
492 2009-01-12  Jason Merrill  <jason@redhat.com>
493             Steve Ellcey  <sje@cup.hp.com>
494
495         PR c++/35109
496         * name-lookup.c (lookup_name_real): Keep looking past a hidden 
497         binding.
498
499 2009-01-12  Dodji Seketeli  <dodji@redhat.com>
500
501         PR c++/36019
502         * pt.c (parameter_of_template_p): New function.
503         * cp-tree.h: Declare it.
504         * name-lookup.c (binding_to_template_parms_of_scope_p): New
505         function.
506         (outer_binding): Take template parameters in account when looking for
507         a name binding.
508
509 2009-01-12  Jason Merrill  <jason@redhat.com>
510
511         PR c++/31488
512         * tree.c (pod_type_p): Return 1 for structs created by the back end.
513
514 2009-01-12  Jakub Jelinek  <jakub@redhat.com>
515
516         PR c/32041
517         * parser.c (cp_parser_builtin_offsetof): Allow `->' in
518         offsetof member-designator, handle it as `[0].'.
519
520         PR c++/38794
521         * decl.c (start_function): If grokdeclarator hasn't returned
522         FUNCTION_DECL nor error_mark_node, issue diagnostics.
523
524 2009-01-11  Jakub Jelinek  <jakub@redhat.com>
525
526         PR c++/36254
527         * cp-gimplify.c (genericize_if_stmt): Renamed from ...
528         (gimplify_if_stmt): ... this.
529         (cp_gimplify_expr): Don't handle IF_STMT here.
530         (cp_genericize_r): Call genericize_if_stmt for IF_STMT.
531
532 2009-01-10  Andrew Pinski  <pinskia@gmail.com>
533
534         PR c++/38648
535         * typeck.c (cp_build_modify_expr): Check for NULL current_function_decl.
536
537         PR c++/36695
538         * typeck2.c (build_functional_cast): Check for reference type and NULL
539         PARMS.
540
541 2009-01-09  Steve Ellcey  <sje@cup.hp.com>
542
543         * typeck.c (cp_build_unary_op): Check for ERROR_MARK.
544
545 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
546
547         PR c++/35335
548         * error.c (dump_expr): Handle EXPR_STMT like BIND_EXPR.
549
550 2009-01-09  John F. Carr  <jfc@mit.edu>
551
552         PR c++/37877
553         * parser.c (cp_parser_class_specifier): Clear
554         parser->in_unbraced_linkage_specification_p while parsing class
555         specifiers.
556
557 2009-01-07  Jakub Jelinek  <jakub@redhat.com>
558
559         PR c++/38725
560         * semantics.c (finish_goto_stmt): Convert destination to
561         void *.
562
563 2009-01-06  Jason Merrill  <jason@redhat.com>
564
565         PR c++/35297
566         PR c++/35477
567         PR c++/35784
568         PR c++/36846
569         PR c++/38276
570         * pt.c (check_default_tmpl_args): Don't complain about
571         out-of-order parameter packs in the enclosing class
572         or parameter packs after default args.
573         (coerce_template_parms): If we have more than one
574         parameter pack, don't flatten argument packs.
575         (template_args_equal): Handle argument packs.
576         (comp_template_args): Don't flatten argument packs.
577         (check_instantiated_arg): Split out from...
578         (check_instantiated_args): Here.  Handle arg packs.
579         (convert_template_argument): Just check that nontype argument
580         packs have the right type.
581
582 2009-01-05  Dodji Seketeli  <dodji@redhat.com>
583
584         PR c++/38472
585         * typeck.c (type_after_usual_arithmetic_conversions): Fix a typo.
586
587 2009-01-05  Jason Merrill  <jason@redhat.com>
588
589         PR c++/38698
590         * typeck2.c (process_init_constructor_union): Handle union with
591         no fields.
592
593         * mangle.c (write_expression): Remove mangling for zero-operand
594         casts.
595
596         PR c++/38701
597         * decl.c (cp_finish_decl): Clear DECL_INITIAL for invalid
598         defaulting.
599
600         PR c++/38702
601         * class.c (defaultable_fn_p): Only operator== can be a copy
602         assignment operator.
603
604 2009-01-02  Jason Merrill  <jason@redhat.com>
605
606         PR c++/38698
607         * typeck2.c (process_init_constructor_union): Handle excess
608         initializers.
609         (process_init_constructor_record): Likewise.
610
611         PR c++/38684
612         * typeck2.c (digest_init_r): Don't use process_init_constructor
613         for non-aggregate classes.