Commit Graph

17143 Commits

Author SHA1 Message Date
Alexandre Oliva
3e5fb7a9e9 test_summary: new switch (-i) and environment variable (append_logs) for including files in...
* test_summary: new switch (-i) and environment variable
        (append_logs) for including files in the report.

From-SVN: r20578
1998-06-18 19:39:58 -06:00
Klaus Kaempf
94fb3933c4 cccp.c (hack_vms_include_specification): rewrite to handle '#include <dir/file.h>' correctly.
* cccp.c (hack_vms_include_specification): rewrite to handle
        '#include <dir/file.h>' correctly.

From-SVN: r20577
1998-06-18 19:34:11 -06:00
H.J. Lu
de3eb7b70b * config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Defined.
From-SVN: r20576
1998-06-18 19:27:10 -06:00
John Wehle
9c8c5afbfb i386.c (notice_update_cc): Integer conditional moves don't affect cc0.
* i386.c (notice_update_cc): Integer conditional moves don't
	affect cc0.

From-SVN: r20575
1998-06-18 19:20:42 -06:00
John Wehle
bbe8497f5e i386.md (movsfcc, [...]): Use emit_store_flag to support LT, LE, GE, and GT signed integer comparisons.
�
	* i386.md (movsfcc, movdfcc, movxfcc): Use emit_store_flag
	to support LT, LE, GE, and GT signed integer comparisons.
	(movsfcc+1, movsfcc+2, movdfcc+1, movdfcc+2,
	movxfcc+1, movxfcc+2): Pattern doesn't match if the comparison
	is LT, LE, GE, or GT.
	(movdicc): Remove code resulting from an earlier patch which
	didn't apply correctly.

From-SVN: r20574
1998-06-18 19:13:01 -06:00
John Wehle
b4d030e5b9 i386.md (movsfcc, [...]): Use emit_store_flag to support LT, LE, GE, and GT signed integer comparisons.
�
	* i386.md (movsfcc, movdfcc, movxfcc): Use emit_store_flag
	to support LT, LE, GE, and GT signed integer comparisons.
	(movsfcc+1, movsfcc+2, movdfcc+1, movdfcc+2,
	movxfcc+1, movxfcc+2): Pattern doesn't match if the comparison
	is LT, LE, GE, or GT.
	(movdicc): Remove code resulting from an earlier patch which
	didn't apply correctly.

From-SVN: r20573
1998-06-18 19:12:59 -06:00
Jeffrey A Law
44513ad1c2 * gcc.c-torture/execute/ieee/980619-1.c: New test.
From-SVN: r20572
1998-06-18 19:07:44 -06:00
Richard Kenner
bb173adecd reload1.c (reload_cse_regno_equal_p): If -ffloat-store, don't consider a MEM in FP mode as equal.
* reload1.c (reload_cse_regno_equal_p): If -ffloat-store, don't
        consider a MEM in FP mode as equal.
Stolen from gcc2 sources.  Fixes problem from Debian folks.

From-SVN: r20571
1998-06-18 19:03:32 -06:00
Jeff Law
e472bcefab Daily bump.
From-SVN: r20570
1998-06-18 18:45:01 -06:00
Jeffrey A Law
11346e893f c-decl.c (duplicate_decls): Avoid setting TREE_ASM_WRITTEN for duplicate declarations of a function.
* c-decl.c (duplicate_decls): Avoid setting TREE_ASM_WRITTEN for
        duplicate declarations of a function.

From-SVN: r20569
1998-06-18 18:05:02 -06:00
H.J. Lu
af39d8f543 Forgot to update after previous configure.in change.
From-SVN: r20568
1998-06-18 17:39:13 -06:00
H.J. Lu
71c1af43d5 float-i386.h: New.
(
        * config/float-i386.h: New.
        * configure.in (i[34567]86-*-linux-*): Set float_format to i386.

From-SVN: r20567
1998-06-18 17:36:42 -06:00
H.J. Lu
f906a0f0ff float-i386.h: New.
8
        * config/float-i386.h: New.
        * configure.in (i[34567]86-*-linux-*): Set float_format to i386.

From-SVN: r20566
1998-06-18 17:36:41 -06:00
H.J. Lu
76a8de12be float-i386.h: New.
�
        * config/float-i386.h: New.
        * configure.in (i[34567]86-*-linux-*): Set float_format to i386.

From-SVN: r20565
1998-06-18 17:36:39 -06:00
Robert Lipe
031644533d g77.exp: Replace search for libf2c.a with search for newly renamed libg2c.a
*lib/g77.exp: Replace search for libf2c.a with search for newly
        renamed libg2c.a

From-SVN: r20564
1998-06-18 22:58:52 +00:00
Jim Wilson
7c74b010d7 Fix stack overflow found by glibc compile with max optimizations.
* sched.c (schedule_insns): Use xmalloc not alloca for max_uid
	indexed arrays.  Call free at the end of the function for them.
	* haifa-sched.c (schedule_insns): Likewise.

From-SVN: r20563
1998-06-18 13:17:26 -07:00
Jim Wilson
243e7835fb Fix cygwin32 hosted dwarf2 target problem with line number info.
* dwarf2out.c (size_of_string): Do count backslashes.

From-SVN: r20562
1998-06-18 11:19:08 -07:00
Michael Meissner
ce56e6ed02 Add bugs corresponding to PRs 16243 and 16245
From-SVN: r20561
1998-06-18 12:13:20 +00:00
Nick Clifton
bf3ad13976 Imported fixes for testsuite failures from psion branch.
From-SVN: r20560
1998-06-18 11:44:52 +00:00
J"orn Rennecke
f9df0a1d52 reload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to RELOAD_FOR_INSN.
* reload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to
	RELOAD_FOR_INSN.

From-SVN: r20559
1998-06-18 10:33:39 +01:00
Robert Lipe
276d5ee0ca * config.guess: Detection of Pentium II for *-sco-3.2v5*.
From-SVN: r20558
1998-06-18 09:30:03 +00:00
Robert Lipe
025b3f1485 New case from Klaus-Georg Adams.
From-SVN: r20557
1998-06-18 08:31:29 +00:00
Kaveh R. Ghazi
cab634f2e9 Warning fixes:
* Makefile.in (c-lang.o): Depend on output.h.
        * c-lang.c: Include output.h.
        * sparc.c (sparc_builtin_saveregs): Remove unused variable `fntype'.
        * except.c (expand_builtin_eh_stub): Likewise for variable `jump_to'.
        * genrecog.c (write_subroutine): When writing insn-recog.c, mark
        variables `insn', `pnum_clobbers', `x[0 .. max_depth]' and `tem'
        with ATTRIBUTE_UNUSED.
        * regmove.c (copy_src_to_dest): Make function static to match its
        prototype.
        * reload1.c Include hard-reg-set.h before rtl.h to get macro
        HARD_CONST.  Include machmode.h before hard-reg-set.h.
        * rtl.h: Prototype `retry_global_alloc' and wrap with macro
        HARD_CONST to protect usage of typedef HARD_REG_SET.
        * tree.c: Prototype `_obstack_allocated_p'.
        * varasm.c: Wrap prototype of `asm_output_aligned_bss' in macro
        BSS_SECTION_ASM_OP.

From-SVN: r20556
1998-06-18 06:46:35 +00:00
Kaveh R. Ghazi
264a8100d1 Warning fix:
* cp-tree.h: Prototype function `check_java_method'.

From-SVN: r20555
1998-06-18 06:34:50 +00:00
Kaveh R. Ghazi
0b17dd9857 PA warning fixes:
* pa.c: Include system.h and toplev.h.  Remove redundant code.
        (call_operand_address): Mark parameter `mode' with ATTRIBUTE_UNUSED.
        (symbolic_operand): Likewise.
        (symbolic_memory_operand): Likewise.
        (pic_label_operand): Likewise.
        (fp_reg_operand): Likewise.
        (pre_cint_operand): Likewise.
        (post_cint_operand): Likewise.
        (ireg_or_int5_operand): Likewise.
        (int5_operand): Likewise.
        (uint5_operand): Likewise.
        (int11_operand): Likewise.
        (uint32_operand): Likewise.
        (ior_operand): Likewise.
        (lhs_lshift_cint_operand): Likewise.
        (pc_or_label_operand): Likewise.
        (legitimize_pic_address): Likewise.
        (hppa_legitimize_address): Likewise for parameter `old'.
        (output_block_move): Likewise for parameter `size_is_constant'.
        (output_function_prologue): Likewise for parameter `size'.
        (output_function_epilogue): Likewise.
        (return_addr_rtx): Likewise for parameter `count'.
        (output_mul_insn): Likewise for parameter `unsignedp'.
        (hppa_builtin_saveregs): Likewise for parameter `arglist'.
        (output_bb): Likewise for parameter `operands'.
        (output_bvb): Likewise.
        (function_label_operand): Likewise for parameter `mode'.
        (plus_xor_ior_operator): Likewise.
        (shadd_operand): Likewise.
        (non_hard_reg_operand): Likewise.
        (eq_neq_comparison_operator): Likewise.
        (movb_comparison_operator): Likewise.
        (pa_combine_instructions): Likewise for parameter `insns'.
        * pa.h: Add prototypes for functions `output_deferred_plabels',
        `override_options', `output_ascii', `output_function_prologue',
        `output_function_epilogue', `print_operand',
        `symbolic_expression_p', `reloc_needed', `compute_frame_size',
        `hppa_address_cost', `and_mask_p', `symbolic_memory_operand',
        `pa_adjust_cost', `pa_adjust_insn_length' and
        `secondary_reload_class'.

From-SVN: r20554
1998-06-18 06:27:09 +00:00
Jeff Law
df16ddd55e Daily bump.
From-SVN: r20553
1998-06-17 18:45:02 -06:00
Jason Merrill
57f01f4575 class.c (finish_struct): Make conflicting use of id a pedwarn.
* class.c (finish_struct): Make conflicting use of id a pedwarn.
	* decl.c (pushdecl_class_level): Likewise.

From-SVN: r20552
1998-06-17 19:51:41 -04:00
Jason Merrill
ca8c3b3712 * configure.in: Don't turn on collect2 unconditionally.
From-SVN: r20551
1998-06-17 18:32:50 -04:00
Mark Mitchell
db02b6b9b0 pt.c (convert_nontype_argument): Issue an error when presented with an integer (real) constant that cannot be...
* pt.c (convert_nontype_argument): Issue an error when presented
	with an integer (real) constant that cannot be simplified to an
	INT_CST (REAL_CST).

From-SVN: r20550
1998-06-17 21:52:30 +00:00
Mark Mitchell
8fa8d8c5c7 cp-tree.h (c_get_alias_set): Remove declaration added in 1998-06-13 change that should never have been...
* cp-tree.h (c_get_alias_set): Remove declaration added in
	1998-06-13 change that should never have been checked in.

From-SVN: r20549
1998-06-17 20:46:12 +00:00
Mark Mitchell
1d22a2c164 cse.c (cse_basic_block): Don't include NOTE insns in the count that is used to decide whether or not it...
* cse.c (cse_basic_block): Don't include NOTE insns in the count
	that is used to decide whether or not it is time to erase the
	equivalence table.

From-SVN: r20548
1998-06-17 20:20:21 +00:00
Jason Merrill
316d4b547e typeck.c (build_binary_op_nodefault): Change % in format strings to %%.
* typeck.c (build_binary_op_nodefault): Change % in format strings
	to %%.
	* decl.c (grokvardecl): Don't build_static_name for decls that
	aren't at namespace scope.
	* init.c (perform_member_init): Catch default-initialization of
	references.

From-SVN: r20547
1998-06-17 14:52:18 -04:00
Jeffrey A Law
77f194c299 * gcc.c-torture/execute/980617-1.c: New test.
From-SVN: r20546
1998-06-17 11:56:02 -06:00
Jeffrey A Law
7d12cee1f1 * fold-const.c (make_range): Do not widen the type of the expression.
From-SVN: r20545
1998-06-17 11:54:27 -06:00
Franz Sirl
b74390dec9 * rs6000/linux.h (JUMP_TABLES_IN_TEXT_SECTION): Define to zero.
From-SVN: r20544
1998-06-17 11:33:40 -06:00
John Carr
e0cd077072 haifa-sched.c (haifa_classify_insn): TRAP_IF is risky.
* haifa-sched.c (haifa_classify_insn): TRAP_IF is risky.
	(sched_analyze_2): Allow scheduling TRAP_IF.
	* reorg.c (mark_referenced_resources): Examine operands of TRAP_IF.
	* rtl.h (TRAP_CODE): New macro.
	* rtl.def (TRAP_IF): Change second operand type to rtx.
	* optabs.c (gen_cond_trap): New function.
	(init_traps): New function.
	(init_optabs): Call init_traps.
	* expr.h: Declare gen_cond_trap.
	* jump.c (jump_optimize): Optimize jumps to and around traps.
	* sparc.md: Define trap instructions.
	* rs6000.md: Define trap instructions.
	* rs6000.c (print_operand): New code 'V' for trap condition.
	(trap_comparison_operator): New function.
	* m88k.md: Update use of TRAP_IF.
	* tree.h (enum built_in_function): New function code BUILT_IN_TRAP.
	* c-decl.c (init_decl_processing): New builtin __builtin_trap.
	* expr.c (expand_builtin): Handle BUILT_IN_TRAP.
	* expr.c (expand_builtin): Error if __builtin_longjmp second argument
	is not 1.

From-SVN: r20543
1998-06-17 16:14:09 +00:00
Catherine Moore
4fdf79cb67 reload1.c (spill_hard_reg): Check mode of register when spilling from scratch_list.
Wed Jun 17 15:20:00 PDT 1998  Catherine Moore  <clm@cygnus.com>
         * reload1.c (spill_hard_reg):  Check mode of register when
         spilling from scratch_list.

From-SVN: r20542
1998-06-17 11:46:25 -04:00
Andrew MacLeod
d7e7852964 except.c (add_new_handler): fix bug in finding last region handler.
Wed Jun 17 16:25:38 EDT 1998  Andrew MacLeod  (amacleod@cygnus.com)
      * except.c (add_new_handler): fix bug in finding last region handler.
      * libgcc2.c (find_exception_handler): Pass exception table pointer
      to runtime type matcher, not the match info field.

From-SVN: r20541
1998-06-17 13:29:22 +00:00
Andrew MacLeod
3301dc5191 eh-common.h (struct eh_context): Add comment for hidden use of field dynamic_handler_chain.
* eh-common.h (struct eh_context): Add comment for hidden use of
        field dynamic_handler_chain.
        * except.c (get_dynamic_handler_chain): Comment on, and use the
        correct offset of the dynamic_handler_chain field.

From-SVN: r20540
1998-06-17 13:05:54 +00:00
Jim Wilson
33f264afda Disable annoying linker warning that occurs when templates are used.
* mips/iris6.h (LINK_SPEC): Add -woff 131.

From-SVN: r20539
1998-06-17 05:48:25 -07:00
Jeffrey A Law
dbecbbe48a expr.c (check_max_integer_computation_mode): New function.
* expr.c (check_max_integer_computation_mode): New function.
        (expand_expr): Avoid integer computations in modes wider than
        MAX_INTEGER_COMPUTATION_MODE.
        * fold-const.c (fold): Likewise.
        * tree.h (check_max_integer_computation_mode): Declare.
        * tm.texi (MAX_INTEGER_COMPUTATION_MODE): Document it.

From-SVN: r20538
1998-06-17 05:44:02 -06:00
Mark Mitchell
a5b8127eb1 * errfn.c (cp_thing): Handle the `%%' formatting sequence.
From-SVN: r20537
1998-06-17 10:40:49 +00:00
Jason Merrill
d460fb3cdd dwarf2out.c: Disable EH_FRAME_SECTION if we don't have .init.
* dwarf2out.c: Disable EH_FRAME_SECTION if we don't have .init.
        * configure.in: Don't disable collect2 when we have GNU ld.

From-SVN: r20536
1998-06-17 04:31:24 -06:00
Jeffrey A Law
4b95eb496d * configure.in (nm): Make a link to "nm" in the build tree too.
From-SVN: r20535
1998-06-17 02:13:23 -06:00
Jeff Law
1b357872d7 mn10300.md (andsi3): Fix typo.
�
        * mn10300.md (andsi3): Fix typo.

From-SVN: r20534
1998-06-17 01:42:35 -06:00
Jeff Law
4c738570e1 mn10300.md (andsi3): Fix typo.
�
        * mn10300.md (andsi3): Fix typo.

From-SVN: r20533
1998-06-17 01:42:33 -06:00
Jason Merrill
0e607f3473 method.c (hack_identifier): Complain about getting a namespace or class template.
* method.c (hack_identifier): Complain about getting a namespace
	or class template.
	* typeck.c (decay_conversion): Remove check for namespaces.
	* typeck2.c (incomplete_type_error): Likewise.
	* parse.y (template_arg): Add PTYPENAME expansion.

From-SVN: r20532
1998-06-16 22:07:29 -04:00
Jeff Law
e4d4bdf2a9 Daily bump.
From-SVN: r20531
1998-06-16 18:45:02 -06:00
Richard Henderson
33ab8de00e * reload1.c (reload_cse_regs): Call bzero instead of looping.
From-SVN: r20530
1998-06-16 16:00:29 -07:00
Jim Wilson
bf20f3410f Fix bug reported by tege. section names wrong if USER_LABEL_PREFIX non-null.
* dwarf2out.c (stripattributes): Prepend '*' to the section name.

From-SVN: r20529
1998-06-16 11:33:00 -07:00