Age | Commit message (Collapse) | Author | Files | Lines |
|
* Make-lang.in (cc1plus): Make it depend on gxx.gperf.
* cp-tree.h: Fix typo in documentation on pointers-to-members.
(cp_build_qualified_type): Make it a macro.
(cp_build_qualified_type_real): Declare.
* decl.c (grokdeclarator): Remove misleading comment. Avoid
problem with template parameters and restrict-qualification.
* gxx.gperf: Replace NORID with RID_UNUSED throughout.
* hash.h: Regenerated.
* lex.h (rid): Move RID_FIRST_MODIFIER and RID_LAST_MODIFIER into
the enumeration.
(NORID): Remove definition.
* pt.c (tsubst_aggr_type): Use cp_build_qualified_type_real.
(tsubst): Likewise. Remove special handling for FUNCTION_TYPEs.
(fn_type_unification): Check that the function type resulting from
the deduction is legal.
(check_cv_quals_for_unify): Don't handle FUNCTION_TYPEs specially.
(unify): Use cp_build_qualified_type_real.
* tree.c (build_cplus_array_type_1): Handle error_marks as inputs.
(cp_build_qualified_type): Rename to ...
(cp_build_qualified_type_real): Add additional COMPLAIN parameter
and modify appropriately.
Co-Authored-By: Nathan Sidwell <nathan@acm.org>
From-SVN: r27086
|
|
optimization opportunities.
* typeck.c (build_ptrmemfunc): Handle PTRMEM_CSTs carefully to
reveal optimization opportunities.
From-SVN: r27084
|
|
* Makefile.in: Rebuilt.
* Makefile.am (INCLUDES): Added $(ZINCS).
* configure: Rebuilt.
* configure.in (ZINCS): New subst.
From-SVN: r27083
|
|
From-SVN: r27082
|
|
From-SVN: r27081
|
|
* pt.c (tsubst): Don't issue error messages when we're not
complaining, even if we see a qualified function type.
(check_cv_quals_for_unify): Don't allow a qualified function
type.
From-SVN: r27080
|
|
allow the same exceptions to be rethrown...
1999-05-21 Andrew Haley <aph@cygnus.com>
* include/sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added
to signal options to allow the same exceptions to be rethrown
later.
From-SVN: r27079
|
|
From-SVN: r27077
|
|
Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
* Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
From-SVN: r27074
|
|
Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
* Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
* function.c (assign_stack_local): Align stack slot propertly.
(assign_outer_stack_local): Likewise.
From-SVN: r27073
|
|
to pedwarn.
* class.c (instantiate_type): Downgrade errors for object-dependent
memfn refs to pedwarn.
From-SVN: r27072
|
|
a typedef.
* decl.c (grokdeclarator): Don't treat [] as indicating a
zero-sized array in a typedef.
From-SVN: r27070
|
|
* call.c (build_object_call): Don't look at DECL_NAME for a type.
(pt.c): Or CP_TYPE_QUALS for an ERROR_MARK.
(typeck.c): Or TYPE_MAIN_VARIANT for a type.
From-SVN: r27068
|
|
From-SVN: r27067
|
|
* pt.c (for_each_template_parm): Rework to match documentation.
Don't be fooled by a COMPONENT_REF with no TREE_TYPE.
From-SVN: r27066
|
|
* class.c (finish_struct_1): Still check for ANON_AGGR_TYPE_P.
* class.c (finish_base_struct): Allow non-COM bases for COM classes
except at the leftmost position.
(modify_one_vtable, fixup_vtable_deltas1, override_one_vtable):
Pass the binfo's class, not the most derived, to skip_rtti_stuff.
* search.c (get_abstract_virtuals, expand_upcast_fixups): Likewise.
From-SVN: r27065
|
|
From-SVN: r27064
|
|
* tree.c (lvalue_p_1): A NOP_EXPR can be an lvalue.
(build_cplus_new): Make sure that what we return is of the right type.
From-SVN: r27063
|
|
* cp-tree.h (make_ptrmem_cst): New function.
* expr.c (cplus_expand_constant): Split out from ...
(cplus_expand_expr): Here. Use cplus_expand_constant.
(init_cplus_expand): Set lang_expand_constant.
* pt.c (convert_nontype_argument): Use make_ptrmem_cst.
* tree.c (make_ptrmem_cst): Define.
* typeck.c (unary_complex_lvalue): Use make_ptrmem_cst.
* typeck2.c (initializer_constant_valid_p): Use make_ptrmem_cst.
From-SVN: r27060
|
|
* expr.h (lang_expand_constant): Declare.
* toplev.c (lang_expand_constant): Define it.
* varasm.c (output_constant): Use it.
From-SVN: r27058
|
|
K&R style.
* optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
Change function definitions to K&R style.
From-SVN: r27057
|
|
1999-05-20 Andrew Haley <aph@cygnus.com>
* libjava/prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW
added.
* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): New macro.
(INIT_FPE): Exception string made more informative.
* include/sparc-signal.h (INIT_FPE): Exception string made more
informative.
* testsuite/libjava.lang/Divide_1.java: New file.
* testsuite/libjava.lang/Divide_1.out: New file.
From-SVN: r27056
|
|
From-SVN: r27055
|
|
From-SVN: r27052
|
|
* configure.in (AC_PREREQ): Update to 2.13.
(AC_EXEEXT): Call to find possible file extension.
(compiler_name): Use.
* configure: Regenerate.
libio, libstdc++
* configure.in: Test for ${compiler_name}.exe as well.
From-SVN: r27050
|
|
generate the label name.
* config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
asm_fprintf and %L to generate the label name.
* config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
(ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
From-SVN: r27048
|
|
From-SVN: r27046
|
|
conditional jump can not be found.
p
* jump.c (can_reverse_comparison_p): Do not abort if the comparison
insn for a conditional jump can not be found.
From-SVN: r27043
|
|
conditional jump can not be found.
�
* jump.c (can_reverse_comparison_p): Do not abort if the comparison
insn for a conditional jump can not be found.
From-SVN: r27042
|
|
in specific sections other than...
x
* mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
on variables in specific sections other than .sbss and .sdata.
From-SVN: r27038
|
|
in specific sections other than...
�
* mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
on variables in specific sections other than .sbss and .sdata.
From-SVN: r27037
|
|
From-SVN: r27034
|
|
* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (version): New variable; pass to AM_INIT_AUTOMAKE.
From-SVN: r27033
|
|
* java/util/zip/GZIPOutputStream.java (write(byte[])): New
method.
From-SVN: r27031
|
|
* class.c (build_utf8_ref): Initialize variable `field'.
* decl.c (init_decl_processing): Initialize variable `field'.
* expr.c (build_known_method_ref): Mark parameters `method_type',
`method_signature' and `arg_list' with ATTRIBUTE_UNUSED.
(process_jvm_instruction): Likewise for parameter `length'.
* jvspec.c (lang_specific_driver): Mark variables `saw_math',
`saw_libc', `saw_gc', `saw_threadlib' and `saw_libgcj' with
ATTRIBUTE_UNUSED.
* parse.y (maybe_generate_clinit): Remove unused variable
`has_non_primitive_fields'.
(find_in_imports_on_demand): Initialize variables `node_to_use'
and `cl'.
(patch_binop): Likewise for variable `prom_type'.
(patch_unaryop): Likewise for variable `prom_type'.
* verify.c (verify_jvm_instructions): Likewise for variable `last'.
* xref.c (xref_table): Add missing initializer.
From-SVN: r27030
|
|
* decl2.c (start_static_storage_duration_function): Fix comment.
(finish_file): Create static storage duration functions lazily.
From-SVN: r27029
|
|
* java/util/zip/natInflater.cc (inflate): Cast `len' to unsigned.
Include <stdlib.h>.
* java/util/zip/natDeflater.cc (deflate): Cast `len' to unsigned.
Include <stdlib.h>.
(update): Fail in default case. Always initialize `strat'.
From-SVN: r27028
|
|
* cp-tree.h (ANON_AGGR_TYPE_P): Rename from ANON_UNION_TYPE_P.
* class.c, decl.c, decl2.c, init.c, pt.c, search.c, typeck.c: Adjust.
* class.c (finish_struct_1): Remove redundant check for anon struct.
* decl.c (fixup_anonymous_aggr): Renamed from fixup_anonymous_union.
(check_tag_decl): Check for anonymous struct here.
* decl2.c (build_anon_union_vars): Catch anon struct at file scope.
* init.c (sort_member_init, emit_base_init): Handle getting fields
as well as names in current_member_init_list.
(perform_member_init): Handle getting an anon aggr.
* method.c (do_build_assign_ref): Don't descend into anon aggrs.
(do_build_copy_constructor): Likewise.
From-SVN: r27027
|
|
From-SVN: r27026
|
|
From-SVN: r27025
|
|
From-SVN: r27024
|
|
* libjava.lang/Shazam.java: New file.
libjava.lang/Shazam.out: New file.
From-SVN: r27022
|
|
* tree.c (cp_build_qualified_type): Don't allow qualified function
types.
From-SVN: r27021
|
|
around conditional code.
* stmt.c (expand_return): Call start_cleanup_deferral and
end_cleanup_deferral around conditional code.
From-SVN: r27018
|
|
p
* fixinc/fixincl.tpl: Avoid depending on ANSI C features for
filename lists.
* fixinc/fixincl.x: Rebuilt.
From-SVN: r27017
|
|
�
* fixinc/fixincl.tpl: Avoid depending on ANSI C features for
filename lists.
* fixinc/fixincl.x: Rebuilt.
From-SVN: r27016
|
|
X
* gcc.c-torture/compile/990519-1.c: New test.
From-SVN: r27011
|
|
�
* gcc.c-torture/compile/990519-1.c: New test.
From-SVN: r27010
|
|
From-SVN: r27009
|
|
From-SVN: r27006
|