Commit Graph

21084 Commits

Author SHA1 Message Date
Craig Burley
fe3ab6bd3f New g77 tests
From-SVN: r25745
1999-03-13 09:45:03 -05:00
Craig Burley
57544c29d5 Update BUGS, INSTALL, NEWS derived files
From-SVN: r25744
1999-03-13 07:17:46 -05:00
Craig Burley
51efa892bf Improve g77 doc infrastructure
From-SVN: r25743
1999-03-13 07:04:03 -05:00
Richard Earnshaw
4b632bf12c arm.c (arm_split_constant): Don't try to force a constant to memory after arm_reorg has run.
* arm.c (arm_split_constant): Don't try to force a constant to
memory after arm_reorg has run.
(after_arm_reorg): New static variable.
(arm_reorg): Set it.
(output_func_epilogue): Clear it.

From-SVN: r25742
1999-03-13 11:40:25 +00:00
Nathan Sidwell
4995028c82 error.c (cp_printers): Add 'F' escape character.
* error.c (cp_printers): Add 'F' escape character.
	(dump_type_real): Remove TREE_LIST (fnargs) printing.
	Functionality moved to dump_parameters.
	(dump_type_suffix): Use dump_parameters and dump_exception_spec.
	(dump_function_decl): Extend meaning of V parameter. Use
	dump_parameters and dump_exception_spec.
	(dump_parameters): New static function.
	(dump_exception_spec): New static function.
	(fndecl_as_string): Change argument semantics. Use
	dump_function_decl directly.
	* sig.c (build_signature_table_constructor): Use cp_error.

From-SVN: r25741
1999-03-12 20:49:14 -05:00
Martin v. Löwis
0db982bee5 semantics.c (finish_switch_cond): Handle error cases gracefully.
* semantics.c (finish_switch_cond): Handle error cases gracefully.
        Detected by g++.law/enum5.C
        * typeck.c (build_modify_expr): Check for errors after resolving
        offsets. Detected by g++.brendan/static1.C
        * decl.c (complete_array_type): Ignore initial_value if it is an
        error. Detected by g++.benjamin/17930.C
        * typeck2.c (process_init_constructor): Return error if one argument
        is in error. Detected by g++.benjamin/13478.C

From-SVN: r25740
1999-03-13 01:16:36 +00:00
Jeff Law
db7695ef3e Daily bump.
From-SVN: r25739
1999-03-12 17:45:03 -07:00
Martin v. Löwis
55991d4f52 New test case.
From-SVN: r25738
1999-03-12 23:18:32 +00:00
Martin v. Löwis
c592d5d258 decl.c (select_decl): Allow class templates when we need types.
* decl.c (select_decl): Allow class templates when we need types.
        * decl2.c (ambiguous_decl): Likewise.

From-SVN: r25737
1999-03-12 23:17:05 +00:00
David Edelsohn
45e24d08a2 Patch from David Edelsohn. Use AIX float.h file.
* configure.in ({rs6000,powerpc}-ibm-aix*): Set float_format to none.
	* configure: Rebuilt.

From-SVN: r25734
1999-03-12 12:28:04 -08:00
Alexandre Petit-Bianco
2aa11e9772 parse.y (java_stabilize_reference): Return NODE when patching a COMPOUND_EXPR.
1999-03-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (java_stabilize_reference): Return NODE when patching a
	COMPOUND_EXPR.
	(java_complete_lhs): Put parenthesis around truth values.
1999-03-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* class.c (layout_class_method): Don't make rtl for interface
	methods.
	* parse.h (GET_TYPE_NAME): New macro.
	* parse.y (if_then_statement:): Fixed indentation.
	(if_then_else_statement:): Likewise.
	(for_statement:): Fixed spacing.
	(try_statement:): Fixed indentation.
	(create_interface): Don't force interfaces to be abstract.
	(method_header): Abstract methods are OK in interfaces.
	(declare_local_variables): Fixed typo in comment.
	(java_complete_expand_method): Fixed indentation.
	(resolve_qualified_expression_name): Use GET_TYPE_NAME to report
	non accessible fields.
	(java_stabilize_reference): New function.
	(java_complete_lhs): Fixed indentation. Use
	java_stabilize_reference in compound assignement. Insert the
	cast. If not processing `+' fix string constants before processing
	binop.

From-SVN: r25733
1999-03-12 10:19:04 -08:00
Mark Mitchell
8084bf81c7 lex.c (do_identifier): Correct call to enforce_access.
* lex.c (do_identifier): Correct call to enforce_access.
	* search.c (accessible_p): Tweak comment.
	* decl2.c (validate_nonmember_using_decl): Issue sensible
	error-messages on bogus qualifiers.

From-SVN: r25732
1999-03-12 17:16:53 +00:00
Kaveh R. Ghazi
7e21fe59b2 Warning fixes:
* constants.c (find_class_or_string_constant): Cast variable `j'
        to a `jword' when comparing against one.
        * expr.c (java_lang_expand_expr): Remove unused variables
        `has_finally_p' and `op0'.
        * gjavah.c (print_field_info): Cast a value to jint when comparing
        against one.  Likewise for a jlong.
        (add_namelet): Likewise cast a `sizeof' to an int when comparing
        against a signed quantity.
        * jcf-dump.c (print_signature_type): Remove unused variable `digit'.
        (print_signature): Don't needlessly dereference variable `str'
        * jcf-reader.c (get_attribute): Mark variables `max_stack' and
        `max_locals' with ATTRIBUTE_UNUSED.
        (jcf_parse_class): Likewise for variable `index'.
        * parse.h (reverse_jdep_list): Remove static prototype.
        * parse.y (build_jump_to_finally): Remove prototype and definition.
        (reverse_jdep_list): Add static prototype.
        * typeck.c (convert_ieee_real_to_integer): Remove unused variables
        `assignment' and `expr_decl'.
        * verify.c (verify_jvm_instructions): Remove unused label `bad_ldc'.

From-SVN: r25731
1999-03-12 17:13:24 +00:00
Jim Wilson
6e0f130b0e Minor testsuite fixes for targets with 16-bit ints and targets without I/O.
* execute/970312-1.c, execute/980605-1.c (f): Change printf to sprintf.
	* execute/bf-sign-2.c (struct X): Add u15 field.
	(main): Add check for u15.  Conditionalize u31 check depending on
	whether ints are <32 bits or >=32 bits.

From-SVN: r25730
1999-03-12 08:19:54 -08:00
J"orn Rennecke
d24de7d183 unroll.c (loop_iterations): Don't return a final value for EQ comparison loops.
* unroll.c (loop_iterations): Don't return a final value for EQ
	comparison loops.

From-SVN: r25729
1999-03-12 12:46:36 +00:00
Jim Wilson
a8edca885e Patch to fix reload abort while compiling hpux-x-m68k-aout gdb.
* reload1.c (calculate_needs_all_insns): When ignore equivalence
	setting insn, clear need_elim, need_reload, and need_operand_change.

From-SVN: r25728
1999-03-12 04:39:59 -08:00
Bruce Korb
47e73a5e92 Missing from fixincl-branch merge
From-SVN: r25727
1999-03-12 08:57:04 +00:00
Andrew Haley
ecef190cbd jcf-path.c (add_entry): alloca len+2 rather than len+1 bytes...
1999-03-12  Andrew Haley  <aph@cygnus.com>
        * jcf-path.c (add_entry): alloca len+2 rather than len+1 bytes;
        we'll need a directory separator and a null character.

From-SVN: r25726
1999-03-12 07:52:58 +00:00
Bruce Korb
6655a9bc33 Missing merges from fixincl-branch
From-SVN: r25725
1999-03-12 07:44:19 +00:00
Martin v. Löwis
42fd06c928 New test case.
From-SVN: r25724
1999-03-12 05:18:20 +00:00
Martin v. Löwis
95a2ecfe7e Problem fixed in g++.
From-SVN: r25723
1999-03-12 03:41:32 +00:00
Jeff Law
b97ef0a8a9 Daily bump.
From-SVN: r25715
1999-03-11 17:45:04 -07:00
Jeffrey A Law
6bcd94ae80 expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than MAX_INTEGER_COMPUTATION_MODE.
* expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than
        MAX_INTEGER_COMPUTATION_MODE.

From-SVN: r25714
1999-03-11 17:02:32 -07:00
Zack Weinberg
b6505b4249 Tests for various kinds of spurious uninit variable warning.
`
Tests for various kinds of spurious uninit variable warning.
All are derived from cpplib; see comments in the files.

From-SVN: r25711
1999-03-11 16:00:04 +00:00
Zack Weinberg
85eb94a0e3 Tests for various kinds of spurious uninit variable warning.
l
Tests for various kinds of spurious uninit variable warning.
All are derived from cpplib; see comments in the files.

From-SVN: r25710
1999-03-11 16:00:04 +00:00
Zack Weinberg
eb7721afcf *** empty log message ***
From-SVN: r25709
1999-03-11 16:00:03 +00:00
Craig Burley
8182dc46dc Add AUTOMATIC to list of unsupported extensions
From-SVN: r25706
1999-03-11 09:37:09 -05:00
Richard Henderson
827e80cc8b * alpha.md (ev5_e0): Conflict loads and stores.
From-SVN: r25705
1999-03-11 06:02:42 -08:00
Richard Henderson
a7adf08e84 alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.
* alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.
        (MODES_TIEABLE_P): Update.

From-SVN: r25704
1999-03-11 06:01:27 -08:00
Richard Henderson
27922c1362 machmode.h (smallest_mode_for_size): Prototype.
* machmode.h (smallest_mode_for_size): Prototype.
        * stor-layout.c (smallest_mode_for_size): Remove static.

From-SVN: r25703
1999-03-11 05:56:20 -08:00
J"orn Rennecke
8e9fb571ee loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv conversion if we don't know the lifetime.
* loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv
	conversion if we don't know the lifetime.

From-SVN: r25702
1999-03-11 13:28:55 +00:00
J"orn Rennecke
3900dc09bc reload.1c (delete_address_reloads_1): Check for reloads of CURRENT_INSN even if it sets DST.
* reload.1c (delete_address_reloads_1):  Check for reloads of
	CURRENT_INSN even if it sets DST.

From-SVN: r25701
1999-03-11 12:44:27 +00:00
Jason Merrill
8b790721e4 dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
* dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
	(print_die, size_of_die, value_format, output_die): Adjust.
	* dwarf2out.c (TEXT_SECTION_LAABEL, DEBUG_LINE_SECTION_LABEL,
	DEBUG_INFO_SECTION_LABEL, ABBREV_SECTION_LABEL,
	text_section_laabel, debug_line_section_label,
	debug_info_section_label, abbrev_section_label): New.
	(output_compilation_unit_header):  Emit label associated
	with section instead of section name itself.
	(out_pubnames, output_aranges, output_line_info,
	dwarf2out_finish): Likewise.
	(dwarf2out_init): Build internal label names for sections
	from static labels.

From-SVN: r25700
1999-03-11 05:34:01 -05:00
J"orn Rennecke
44ccea4059 * sh.md (mulsi3): End mul.l sequence with a no-op move.
From-SVN: r25699
1999-03-11 09:31:33 +00:00
Bruce Korb
4f3ae93c0d activate fixinc/mkfixinc.sh
From-SVN: r25698
1999-03-11 09:11:19 +00:00
Bruce Korb
9f3d1bc2dc Activating fast-fixincludes
From-SVN: r25697
1999-03-11 08:53:13 +00:00
Mumit Khan
b27d2bd5fe cppfiles.c (INO_T_EQ): Handle UWIN.
* cppfiles.c (INO_T_EQ): Handle UWIN.
        * c-common.c (decl_attributes): Flag unrecognized attribute
        functions as warnings instead of as errors.
        Support for i386-pc-uwin.
        * i386/uwin.h: New file.
        * i386/xm-uwin.h: New file.
        * i386/t-uwin: New file.
        * i386/uwin.asm: New file.
        * configure.in (i[3456]86-*-uwin*): Define.
        Add Workaround for vfork bug when hosted on uwin.
        * configure: Regenerate.
        * cccp.c (INO_T_EQ): Undefine. UWIN has inodes.
        (absolute_filename): UWIN uses POSIX pathnames only.
        * libgcc2.c (getpagesize): Do not define for UWIN.
        (mprotect): Likewise.
        * protoize.c (dirent.h): Conditionally include.
        (fputc): Prototype only if it's not a macro.

From-SVN: r25696
1999-03-10 17:58:01 -07:00
Jeff Law
8c90d2af84 Daily bump.
From-SVN: r25695
1999-03-10 17:45:05 -07:00
Mumit Khan
89f602a793 pexecute.c (__CYGWIN32__): Rename to
* pexecute.c (__CYGWIN32__): Rename to
        (__CYGWIN__): this.
        * xmalloc.c: Likewise.
        Changes to support i386-pc-uwin.
        * configure.in (*-*-uwin*): Workaround for vfork bug.
        * configure: Regenerate.
        * pexecute.c (pexecute): Be like standard Unix.
        (pwait): Likewise.
        * xmalloc.c (first_break): Define.
        (xmalloc_set_program_name): Use.
        (xmalloc): Use.

From-SVN: r25694
1999-03-10 17:32:50 -07:00
Mumit Khan
926bb5ed06 config.sub: Add i386-uwin support.
* config.sub: Add i386-uwin support.
        * config.guess: Likewise.

From-SVN: r25693
1999-03-10 17:20:22 -07:00
Jason Merrill
4525d75728 * configure.in: Remove init_priority stuff.
From-SVN: r25692
1999-03-10 19:14:36 -05:00
Franz Sirl
4ccfc0c3b4 * configure.in: Add mh-*pic handling for alpha, arm, powerpc
From-SVN: r25691
1999-03-10 17:11:25 -07:00
Franz Sirl
f24ab9a140 configure.in: Cleanup and add mh-*pic handling for arm, powerpc
Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
        * configure.in: Cleanup and add mh-*pic handling for arm, powerpc

From-SVN: r25690
1999-03-10 17:10:48 -07:00
Franz Sirl
222ccb597f config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
H
        * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc

From-SVN: r25689
1999-03-10 17:10:20 -07:00
Franz Sirl
9346c8240e config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
�
        * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc

From-SVN: r25688
1999-03-10 17:10:19 -07:00
Franz Sirl
4a6e300025 configure.in: cleanup, add mh-*pic handling for arm, special case powerpc*-*-aix*
�
        * configure.in: cleanup, add mh-*pic handling for arm, special
        case powerpc*-*-aix*

From-SVN: r25687
1999-03-10 17:09:24 -07:00
Colin Smith
a0587d5603 * sdbout.c (plain_type_1): Make boolean types work better with sdb.
From-SVN: r25686
1999-03-10 16:30:08 -07:00
Per Bothner
2aee04d279 jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.
8
	* jcf-write.c (generate_bytecode_insns):  Handle __builtin_fmod, for %.

From-SVN: r25683
1999-03-10 15:22:48 -08:00
Per Bothner
cff699c1bc jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.
�
	* jcf-write.c (generate_bytecode_insns):  Handle __builtin_fmod, for %.

From-SVN: r25682
1999-03-10 15:22:47 -08:00
Alexandre Oliva
4b09b99e82 gcc.texi: Update bug reporting instructions to match current ezmlm list reality.
X
        * gcc.texi: Update bug reporting instructions to match
        current ezmlm list reality.

From-SVN: r25681
1999-03-10 16:22:31 -07:00