Commit Graph

3752 Commits

Author SHA1 Message Date
Mumit Khan
3cc0b5517a c-pragma.c (handle_pragma_token): Handle `#pragma pack()' correctly.
* c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
        correctly.

From-SVN: r27432
1999-06-08 20:16:12 -06:00
Jim Wilson
cda19af2ab Fix aix4.1 configure problem reported by Kaven Ghazi.
* configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
	* configure: Regenerate.

From-SVN: r27428
1999-06-08 06:08:15 -07:00
Richard Earnshaw
a59a536cdd optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute values.
* optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
values.

From-SVN: r27426
1999-06-08 05:50:01 +00:00
Jeffrey A Law
fbc35bc121 inclhack.def (avoid_bool): Also catch "typedef [unsigned] int bool".
* fixinc/inclhack.def (avoid_bool): Also catch
        "typedef [unsigned] int bool".
        * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.

From-SVN: r27418
1999-06-07 18:10:51 -06:00
Jeff Law
192c74bc30 x-hp3bsd44: Delete obsolete and incorrect file.
�
        * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
        * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
        * configure: Rebuilt.

From-SVN: r27410
1999-06-07 15:38:24 -06:00
Mark Kettenis
a0852bc081 gnu.h: Include <gnu.h> right after <i386/linux.h>...
�
        * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
        such that we can override its definitions if necessary.
        (CPP_SPEC): New define.  Support processor specific predefines via
        %(cpp_cpu).
        (CC1_SPEC): New define.  Support processor specific compiler
        options via %(cc1_cpu).
        (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
        -static.

From-SVN: r27406
1999-06-07 15:10:33 -06:00
Kaveh R. Ghazi
5aa8e9796b inclhack.def (math_gcc_ifndefs): Insert whitespace between sed's -e flag, and the open-quote following it.
* fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
        between sed's -e flag, and the open-quote following it.
        * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.

From-SVN: r27405
1999-06-07 14:35:14 -06:00
Robert Lipe
ec99e58ffc varasm.c (assemble_start_function): Remove the function from the pending weak decls list when we define a function.
* varasm.c (assemble_start_function): Remove the function
        from the pending weak decls list when we define a function.
        (assemble_variable): Similarly for variables.
        (weak_finish): Ignore items on the list with a NULL name.
        (remove_from_ending_weak_list); New function to "remove" an item
        from the pending weak declarations list.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r27402
1999-06-07 13:46:39 -06:00
Jerry Quinn
b51c6cc06c pa.md (fmpyfadd, [...]): New patterns.
�
        * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.

From-SVN: r27397
1999-06-07 13:36:17 -06:00
Dave Brolley
505e038544 c-lex.c (GETC): Redefine to call getch.
Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
	* c-lex.c (GETC): Redefine to call getch.
	(UNGETC): Redefine to call put_back.
	(putback_buffer): New structure type.
	(putback): New static structure.
	(getch): New function.
	(put_back): New function.
	(yylex): Replace unused bytes from bad multibyte character.

From-SVN: r27393
1999-06-07 07:12:38 -04:00
Dave Brolley
e7553be55a cpplib.c (do_define): Cast `alloca' return value.
Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
	* cpplib.c (do_define): Cast `alloca' return value.
	(do_include, do_undef, do_pragma): Likewise.
	* cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
 	values.
	* cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
	* gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.

From-SVN: r27391
1999-06-07 06:35:27 -04:00
Jakub Jelinek
6570c0bd04 Jakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek  <jj@ultra.linux.cz>
        * sparc.md (abstf2): This should be an expand.
        (split after abstf2_notv9): Fix mode.
        (abstf2_hq_v9): New pattern.
        (abstf2_v9): Only use when no hard quad.
        (absdf2_v9): Fix if target is not the same as source.
        (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
        Add correct output constraints.

From-SVN: r27384
1999-06-06 04:59:13 -07:00
Craig Burley
7001ee2d42 Dave Love's Intel-related doc fixes
From-SVN: r27375
1999-06-05 11:16:18 -04:00
Mark Mitchell
0ff8379990 mips.h (mips_output_conditional_branch): New function.
* mips.h (mips_output_conditional_branch): New function.
	(mips_adjust_insn_length): Likewise.
	(ASSEMBLER_SCRATCH_REGNUM): New macro.
	(ADJUST_INSN_LENGTH): Likewise.
	* mips.c (print_operand): Add `F' and `W' for floating-point
	comparison opcodes.
	(machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
	are now in bytes.
	(mips_adjust_insn_length): New function.
	(mips_output_conditional_branch): New function.
	* mips.md (length): Adjust attribute definition to handle
	conditional branches.  	Change lengths to bytes, rather than
	instructions throughout.  Remove length attribute from
	instructions whose length is four bytes, and rely on the default
	instead.
	(dslot): Fix typo in comment.
	Reword conditional branch patterns to use
	mips_output_conditional_branch.

From-SVN: r27369
1999-06-05 11:12:58 +00:00
Rainer Orth
5c5d086f85 osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
* alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
        (LIB_SPEC): Likewise.
        Link with -lprof1_r for -g/-pg.

From-SVN: r27353
1999-06-04 06:41:19 -07:00
Andreas Schwab
ef1d4aec0e loop.c (check_dbra_loop): Fix change of Jan 19.
1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        * loop.c (check_dbra_loop): Fix change of Jan 19.

From-SVN: r27345
1999-06-03 19:32:21 -06:00
Marc Espie
b132bf372a freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
* freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
        (STARTFILE_SPEC):  Define, override the svr4.h version.
        (ENDFILE_SPEC):  Likewise.

From-SVN: r27340
1999-06-03 17:19:02 -06:00
Jeff Law
c25e0aea7f inclhack.def (limits_ifndefs): Also apply to sys/limits.h
�
        * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
        * fixinc/fixincl.x: Regenerated.
        * fixinc/inclhack.sh: Regenerated.

From-SVN: r27337
1999-06-03 17:06:24 -06:00
J"orn Rennecke
4d070fd3cd Fix pcrel too far problems due to upping CACHE_LOG on SH2:
* sh.c (barrier_align): Don't return early for normal branch/barrier
        when optimizing for SH2.

From-SVN: r27333
1999-06-03 22:48:04 +01:00
Robert Lipe
4e560f909d udk.h (LINK_SPEC): Correct linker search path for system libraries.
�
        * i386/udk.h (LINK_SPEC): Correct linker search path for
        system libraries.

From-SVN: r27330
1999-06-03 15:27:38 -06:00
J"orn Rennecke
eb3881bf7d sh.c (fixup_addr_diff_vecs): Emit braf reference label.
* sh.c (fixup_addr_diff_vecs): Emit braf reference label.
	(braf_label_ref_operand): Delete.
	* sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
	* sh.md (casesi_jump_2): Operand1 is now the inside of a
	label_ref, and has no predicate.
	The patten has a predicate to guard against invalid substitutions.
	(dummy_jump): Delete.
	(casesi): Update use of casesi_jump_2.

From-SVN: r27329
1999-06-03 21:00:16 +01:00
Bruce Korb
5403593a44 Io_Def_Quotes): corrected sed expression
From-SVN: r27327
1999-06-03 07:56:01 +00:00
Jason Merrill
8a8c36562f dwarf2out.c (add_incomplete_type): New fn.
* dwarf2out.c (add_incomplete_type): New fn.
	(gen_struct_or_union_type_die): Call it.
	(retry_incomplete_types): New fn.
	(dwarf2out_finish): Call it.

From-SVN: r27325
1999-06-02 22:31:22 -04:00
Jeff Law
cd5828a94e gcse.c (insert_insn_end_bb): Correct placement of insns when the current block starts with a CODE_LABEL and...
�
        * gcse.c (insert_insn_end_bb): Correct placement of insns when the
        current block starts with a CODE_LABEL and ends with a CALL and
        we can not find all the argument setup instructions for the CALL.

From-SVN: r27320
1999-06-02 18:19:36 -06:00
Mark Mitchell
9c922ec705 Revert this change:
* fold-const.c (fold): STRIP_NOPS when deciding whether or not
	something is a candidate for optimize_bit_field_compare.

From-SVN: r27318
1999-06-02 15:42:19 +00:00
J"orn Rennecke
679dcddbfc * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
From-SVN: r27317
1999-06-02 14:56:21 +01:00
Richard Henderson
c04635cceb alpha.c (override_options): Thinko in last patch.
* alpha.c (override_options): Thinko in last patch.
        * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
        (LIB_SPEC): Recognize -pthread.

From-SVN: r27316
1999-06-02 05:31:27 -07:00
Nick Clifton
c237e58627 Synchronise definitions of USER_LABEL_PREFIX
From-SVN: r27313
1999-06-02 08:46:55 +00:00
Bruce Korb
bb78620135 Remove references to setenv/putenv
From-SVN: r27312
1999-06-02 07:08:54 +00:00
Jeffrey A Law
079bd08eb2 README, [...]: Update name (egcs -> gcc) and version #s (1.1 -> 2.96) as needed.
* README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
        and version #s (1.1 -> 2.96) as needed.
        * README.g77: Kill way out of date file in the toplevel directory.
Part of the ongoing conversion to the one true gcc.

From-SVN: r27308
1999-06-01 19:37:08 -06:00
David O'Brien
d0550c9b30 configure.in (i[34567]86-*-freebsdelf): Don't include linux.h, i386/freebsd-elf.h no longer requires it.
* configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
        i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
        * configure: Rebuilt.
        * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
        (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
        (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
        (SWITCH_TAKES_ARG): Likewise.
        * i386/freebsd.h: Remove FREEBSD_NATIVE support.
        * config/t-freebsd: Moved from config/i386/ so it can used for all
        FreeBSD targets.

From-SVN: r27305
1999-06-01 18:08:20 -06:00
Philippe De Muyter
332f27afcf x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
�
        * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.

From-SVN: r27298
1999-06-01 17:43:44 -06:00
Robert Lipe
fd9c643fc0 configure.in (i[34567]86-*-udk*): Install headers with cpio.
Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
        * configure.in (i[34567]86-*-udk*): Install headers with cpio.
        * configure: Rebuilt.

From-SVN: r27291
1999-06-01 17:14:24 -06:00
David Edelsohn
949ea3566a aix41.h (RS6000_CALL_GLUE): Define.
* rs6000/aix41.h (RS6000_CALL_GLUE): Define.
	* rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
	* rs6000/rs6000.c (rs6000_file_start): Use putc.
	(rs6000_output_load_toc_table): Same.
	(output_prolog, output_mi_thunk): Same.
	* rs6000/rs6000.h (SELECT_SECTION): Formatting.
	(ASM_GLOBALIZE_LABEL): Use putc.

From-SVN: r27287
1999-06-01 12:12:21 -04:00
Richard Henderson
e221c18347 alpha.md (reload_*_help): New patterns and splitters.
* alpha.md (reload_*_help): New patterns and splitters.
        (reload_*): Use them.
        (mov[qh]i): Likewise.

From-SVN: r27283
1999-05-31 08:29:17 -07:00
Jeffrey A Law
efa90f05af jump.c (jump_optimize_1): Only set CAN_REACH_END if calculate_can_reach_end returns nonzero.
* jump.c (jump_optimize_1): Only set CAN_REACH_END if
        calculate_can_reach_end returns nonzero.

From-SVN: r27281
1999-05-31 07:34:55 -06:00
Mark Mitchell
2f0a2a5b4a cccp.c (handle_directive): Handle backslash-newlines in quoted strings correctly.
* cccp.c (handle_directive): Handle backslash-newlines in quoted
        strings correctly.

From-SVN: r27279
1999-05-31 11:44:46 +00:00
Cort Dougan
305423e8d8 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
From-SVN: r27278
1999-05-31 02:39:09 -07:00
John Wehle
e4b8a413b1 flow.c (mark_regs_live_at_end, [...]): Only give FRAME_POINTER_REGNUM and HARD_FRAME_POINTER_REGNUM special treatment...
* flow.c (mark_regs_live_at_end, insn_dead_p,
	mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
	and HARD_FRAME_POINTER_REGNUM special treatment if reload
	hasn't run or the frame pointer is needed.
	* haifa-sched.c (attach_deaths): Likewise.
	* sched.c (attach_deaths): Likewise.

From-SVN: r27276
1999-05-31 08:43:04 +00:00
Jeffrey A Law
5505263f7f tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
* tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
Forgot to commit.

From-SVN: r27273
1999-05-30 20:56:40 -06:00
Jeffrey A Law
779243f720 configure.in (native gas tests): Search for an assembler in the same manner that the installed compiler will.
* configure.in (native gas tests): Search for an assembler in the
        same manner that the installed compiler will.
        * configure: Rebuilt.

From-SVN: r27269
1999-05-30 20:22:12 -06:00
Jeffrey A Law
3c567fae5d alias.c (find_base_term): Improve handling of addresses constructed from binary operations.
* alias.c (find_base_term): Improve handling of addresses
        constructed from binary operations.

From-SVN: r27263
1999-05-30 17:51:39 -06:00
Jeff Law
79f565f6bd [multiple changes]
Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
        * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
        * function.h (cleanup_label, frame_offset): Declare.
        (tail_recursion_label, tail_recursion_reentry): Likewise.
        (arg_pointer_save_area, rtl_expr_chain): Likewise.
        * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
        (tail_recursion_label, tail_recursion_reentry): Likewise.
        (arg_pointer_save_area, rtl_expr_chain): Likewise.

From-SVN: r27249
1999-05-30 07:33:11 -06:00
Philip Blundell
00275db1e7 aout.h (ASM_OUTPUT_ALIGN): Only define if not already defined.
Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
	* config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
	defined.
	* config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
	(MAX_OFILE_ALIGNMENT): Likewise.

From-SVN: r27246
1999-05-30 12:04:01 +00:00
Robert Lipe
2583397b5a Replace local include scheme with #include of system.h
From-SVN: r27232
1999-05-28 21:43:32 +00:00
Eric Raskin
1392020eb0 fixinc.dgux: Use modified _int_varargs.h
From-SVN: r27231
1999-05-28 21:33:05 +00:00
Eric Raskin
77b7d85187 t-dgux (EXTRA_PARTS): Add crti.o
* i386/t-dgux (EXTRA_PARTS): Add crti.o
        (crti.o): Add build rule and dependencies.

From-SVN: r27218
1999-05-27 20:54:05 -06:00
Franz Sirl
d540a32c56 sysv4.h (CC1_SPEC): Add support for -profile
* rs6000/sysv4.h (CC1_SPEC): Add support for -profile
        (LIB_LINUX_SPEC): Likewise.
        (LIB_LINUX_SPEC): Add support for -pthread
        (CPP_OS_LINUX_SPEC): Likewise.
        (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
        specified

From-SVN: r27217
1999-05-27 20:49:16 -06:00
H.J. Lu
aa2c277143 i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for conditional move.
�
        * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
        conditional move.
        (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
        (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
        for IEEE math and CC_FCOMI.
        (put_jump_code): No IEEE if CC_FCOMI is set.

From-SVN: r27203
1999-05-27 06:10:59 -06:00
Andreas Schwab
8eba681fa5 fold-const.c (fold_truthop): Make the field reference unsigned when converting a single bit compare.
�
        * fold-const.c (fold_truthop): Make the field reference unsigned
        when converting a single bit compare.

From-SVN: r27201
1999-05-26 20:33:56 -06:00