Age | Commit message (Collapse) | Author | Files | Lines |
|
From-SVN: r28481
|
|
<Franz.Sirl-kernel@lauterbach.com>.
* gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
From-SVN: r28480
|
|
* Makefile.in (c-decl.o): Depends on defaults.h.
* java/Makefile.in (decl.o): Depends on $(srcdir)/../defaults.h.
From-SVN: r28479
|
|
above.
* pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
PA1.1 and above.
(CLASS_MAX_NREGS): Likewise.
From-SVN: r28478
|
|
* g++.old-deja/g++.brendan/crash63.C: Expect a POD warning
* g++.old-deja/g++.brendan/crash64.C: Likewise
* g++.old-deja/g++.brendan/overload8.C: Likewise
From-SVN: r28476
|
|
* call.c (convert_arg_to_ellipsis): Use pod_type_p.
* cp-tree.h (struct lang_type): Added non_pod_class flag.
(CLASSTYPE_NON_POD_P): New macro to access it.
* class.c (finish_struct_1): Determine non-PODness.
Check for arrays of pointers (-Weffc++).
Remove array inspection duplicated code.
* tree.c (pod_type_p): Detect non-pod non-aggregate types.
Use CLASSTYPE_NON_POD_P.
From-SVN: r28475
|
|
From-SVN: r28474
|
|
From-SVN: r28473
|
|
From-SVN: r28472
|
|
* decl.c (start_enum): Show location of previous definition.
* parse.y (enumlist_opt): New reduction.
(structsp): Simplify enum rules to use enumlist_opt.
From-SVN: r28471
|
|
From-SVN: r28470
|
|
From-SVN: r28469
|
|
From-SVN: r28468
|
|
* lex.c (yyprint): Handle PFUNCNAME.
* decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Only
build_expr_from_tree on the args of a TEMPLATE_ID_EXPR.
From-SVN: r28467
|
|
From-SVN: r28466
|
|
From-SVN: r28463
|
|
From-SVN: r28462
|
|
From-SVN: r28460
|
|
From-SVN: r28459
|
|
From-SVN: r28457
|
|
From-SVN: r28456
|
|
From-SVN: r28453
|
|
From-SVN: r28451
|
|
From-SVN: r28448
|
|
From-SVN: r28447
|
|
From-SVN: r28445
|
|
From-SVN: r28442
|
|
of passed and declared parameter types.
* dwarf2out.c (add_location_or_const_value_attribute): Correct
test for sizes of passed and declared parameter types.
From-SVN: r28441
|
|
* fixincludes: Fix the return type of bsearch, char* -> void*.
* fixinc/inclhack.def: Likewise.
From-SVN: r28440
|
|
From-SVN: r28439
|
|
From-SVN: r28438
|
|
From-SVN: r28436
|
|
* aclocal.m4, configure: Rebuilt for new libtool.
[[Split portion of a mixed commit.]]
From-SVN: r28435.2
|
|
* invoke.texi (-fdump-translation-unit): New option.
* Make-lang.in (CXX_SRCS): Add dump.c.
* Makefile.in (CXX_OBJS): Add dump.o.
(dump.o): New target.
* cp-tree.h (DECL_CONV_FN_P): Document.
(DECL_OVERLOADED_OPERATOR_P): New function.
(TYPE_PTRMEM_CLASS_TYPE): New macro.
(TYPE_PTRMEM_POINTED_TO_TYPE): Likewise.
(PTRMEM_CST_CLASS): Use TYPE_PTRMEM_CLASS_TYPE.
(ASM_VOLATILE_P): New macro.
(STMT_LINENO): Likewise.
(cp_namespace_decls): New function.
(dump_node_to_file): New function.
* decl.c (cp_namespace_decls): New function.
(walk_namespaces_r): Use it.
(wrapup_globals_for_namespace): Likewise.
* decl2.c (flag_dump_translation_unit): New variable.
(lang_decode_option): Handle -fdump-translation-unit.
(finish_file): If flag_dump_translation_unit is set, dump the
translation unit.
* dump.c: New file.
* lang-options.h: Add -fdump-translation-unit.
* pt.c (tsubst_template_parms): Robustify.
(tsubst_decl): Use DECL_OVERLOADED_OPERATOR_P.
(tsubst_expr): Use STMT_LINENO.
* semantics.c (finish_asm_stmt): Eliminate duplicate code. Check
for invalid cv-qualifiers even while building templates.
From-SVN: r28434
|
|
* expr.h (PROMOTE_PROTOTYPES): Move ...
* defaults.h: ... to here.
* c-decl.c: Include defaults.h instead of expr.h.
* c-typeck.c: Include defaults.h.
From-SVN: r28433
|
|
* call.c: Include defaults.h instead of expr.h.
* decl.c: Likewise.
* pt.c: Likewise.
* typeck.c: Include defaults.h.
From-SVN: r28432
|
|
* decl.c: Include defaults.h instead of expr.h.
* parse.y: Likewise.
From-SVN: r28431
|
|
* java/io/natFile.cc (performMkdir): Remove FIXME.
* java/io/natFileDescriptorPosix.cc (open): Use 0644 file mode.
From-SVN: r28430
|
|
* java/net/ServerSocket.java: Define ANY_IF.
(ServerSocket (int,int)): Use ANY_IF instead of null to bind to
all network interfaces.
* java/net/DatagramSocket.java (DatagramSocket): ditto.
* java/net/natPlainSocketImpl.cc (bind): Expect 0.0.0' instead of
null.
* java/net/natPlainDatagramSocketImpl (bind): Expect 0.0.0'
instead of null.
From-SVN: r28429
|
|
eth'
* boehm.cc (_Jv_RegisterFinalizer): Cast
eth' to GC_PTR.
* exception.cc (_Jv_Throw): Cast _Jv_type_matcher' to __eh_matcher.
From-SVN: r28428
|
|
* lex.c (errorcount, sorrycount): Don't declare.
* repo.c (errorcount, sorrycount): Likewise.
* typeck2.c (errorcount, sorrycount): Likewise.
From-SVN: r28427
|
|
* toplev.h (errorcount): Declare.
(warningcount): Likewise.
(sorrycount): Likewise.
* c-lex.c (errorcount): Don't declare.
* dwarf2out.c (errorcount): Don't declare.
From-SVN: r28426
|
|
* config/libgloss.h: Add a note discouraging use with ELF.
* configure.in: Don't use libgloss.h for ELF targets.
From-SVN: r28425
|
|
* combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
(force_to_mode, case ASHIFTRT): Add shiftrt label.
From-SVN: r28424
|
|
NEXT->insn.
* loop.c (strength_reduce): When doing biv->giv conversion, update
reg note of NEXT->insn.
From-SVN: r28423
|
|
* real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
From-SVN: r28422
|
|
* config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
* config/convex/convex.h: Ditto.
* config/dsp16xx/dsp16xx.h: Ditto.
* config/fx80/fx80.h: Ditto.
* config/gmicro/gmicro.h: Ditto.
* config/i370/i370.h: Ditto.
* config/i386/i386.h: Ditto.
* config/m32r/m32r.h: Ditto.
* config/m68k/m68k.h: Ditto.
* config/m88k/m88k.h: Ditto.
* config/mips/mips.h: Ditto.
* config/pa/pa.h: Ditto.
* config/pyr/pyr.h: Ditto.
* config/tahoe/tahoe.h: Ditto.
* config/we32k/we32k.h: Ditto.
* config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
based on arch size.
* config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
From-SVN: r28421
|
|
* c-decl.c (get_parm_info, store_parm_decls): Change all uses of
PROMOTE_PROTOTYPES, so that it tests it as a C expression.
Ensure expr.h is included.
* c-typecheck.c (convert_arguments): Ditto.
* expr.h: Supply default for PROMOTE_PROTOTYPES (0).
From-SVN: r28420
|
|
* java/decl.c (start_java_method): Change all uses of
PROMOTE_PROTOTYPES, so that it tests it as a C expression.
Ensure expr.h is included.
* java/expr.c (pop_arguments): Ditto.
* java/parse.y (expand_start_java_method): Ditto.
From-SVN: r28419
|
|
* call.c (convert_default_arg, build_over_call): Change all uses of
PROMOTE_PROTOTYPES, so that it tests it as a C expression.
Ensure expr.h is included.
* decl.c (grokparams): Ditto.
* pt.c (tsubst_decl): Ditto.
* typeck.c (convert_arguments): Ditto.
From-SVN: r28418
|