Commit Graph

34962 Commits

Author SHA1 Message Date
GCC Administrator
e51becf539 Daily bump.
From-SVN: r41892
2001-05-07 07:16:38 +00:00
Zack Weinberg
3745946688 * Makefile.in (tradcpp0): Correct typo in dependency list.
From-SVN: r41889
2001-05-07 04:30:01 +00:00
Geoffrey Keating
d5fa86ba42 rs6000.c (rs6000_emit_prologue): Don't save the link register if we're not going to use it.
* config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
	the link register if we're not going to use it.

	* config/rs6000/rs6000.c (output_profile_hook): Fix a warning.
	(output_function_profiler): Likewise.

From-SVN: r41888
2001-05-07 02:54:29 +00:00
Alan Modra
ff5a340ad5 * pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.
From-SVN: r41887
2001-05-07 11:20:52 +09:30
Alexandre Oliva
b8ebd779d5 unroll.c (loop_iterations): Don't sign-extend abs_diff; zero-extend it.
* unroll.c (loop_iterations): Don't sign-extend abs_diff;
zero-extend it.  Make abs_inc unsigned.

From-SVN: r41886
2001-05-06 19:51:19 +00:00
Alexandre Oliva
3c04502e2b optabs.c (expand_binop): Sign-extend xop0 and xop1 from the widest mode in narrowing and widening operations.
* optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
widest mode in narrowing and widening operations.

From-SVN: r41885
2001-05-06 19:47:15 +00:00
Alexandre Oliva
7cbdf57537 Whitespace change
From-SVN: r41884
2001-05-06 19:44:37 +00:00
Alexandre Oliva
024c02b178 * config/mips/mips.md: Sign extend CONST_INTs.
From-SVN: r41883
2001-05-06 19:35:41 +00:00
Andreas Jaeger
762e166bf4 invoke.texi (Option Summary): Add -momit-leaf-frame-pointer (i386 Options): Document -momit-leaf-frame-pointer.
* invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
	(i386 Options): Document -momit-leaf-frame-pointer.

From-SVN: r41881
2001-05-06 19:10:53 +02:00
Neil Booth
714a0864cc c-typeck.c (internal_build_compound_expr): Check for array to pointer conversion just once.
* c-typeck.c (internal_build_compound_expr): Check for
	array to pointer conversion just once.

From-SVN: r41879
2001-05-06 16:38:56 +00:00
Bryce McKinlay
7026707d15 Class.h (_Jv_Self): New union type.
* java/lang/Class.h (_Jv_Self): New union type.
	(Class): Manipulate vtable pointer via _Jv_Self union. Thanks to
	Jeff Sturm and Fergus Henderson.

	* java/lang/ClassLoader.java: Remove dead code fragment.

From-SVN: r41876
2001-05-06 14:42:11 +01:00
Bryce McKinlay
2a7f63c436 configure.in: Remove warning about beta code.
* configure.in: Remove warning about beta code.
	* configure: Rebuilt.

From-SVN: r41875
2001-05-06 13:55:28 +01:00
Neil Booth
7f75752bd9 syshdr.h: New file.
* gcc.dg/cpp/syshdr.h: New file.
	* gcc.dg/cpp/sysmac1.c: Update.
	* gcc.dg/cpp/sysmac2.c: Update.

From-SVN: r41873
2001-05-06 09:48:28 +00:00
GCC Administrator
3364a73981 Daily bump.
From-SVN: r41871
2001-05-06 07:16:07 +00:00
Neil Booth
7120a6fed7 * gcc.dg/cpp/sysmac1.c,sysmac2.c: Return to original file.
From-SVN: r41870
2001-05-05 19:18:38 +00:00
Richard Henderson
e00c13387a * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
From-SVN: r41868
2001-05-05 09:55:48 -07:00
Richard Henderson
45053eaf0b except.c (remove_fixup_regions): Adjust REG_EH_REGION notes to the parent of the fixup region.
* except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
        to the parent of the fixup region.

From-SVN: r41867
2001-05-05 09:38:25 -07:00
Jakub Jelinek
2a9071bb2f gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring "inline" keyword.
* gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
	"inline" keyword.
	* cpp.texi (__NO_INLINE): Document it.

From-SVN: r41866
2001-05-05 14:29:39 +02:00
Neil Booth
f277b5e03b cppfiles.c (struct include_file): New member err_no.
* cppfiles.c (struct include_file): New member err_no.
	(find_or_create_entry): Set it.
	(open_file): Don't set fds to -2.  Instead, use err_no to
	remember previous errors, if any.

From-SVN: r41865
2001-05-05 11:12:19 +00:00
GCC Administrator
5dc6bfd7da Daily bump.
From-SVN: r41863
2001-05-05 07:16:08 +00:00
Stephane Carrez
ce8882e65f m68hc11.c (m68hc11_gen_movhi): Optimize moves between X and Y by using sequences of xgdx and xgdy.
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
	between X and Y by using sequences of xgdx and xgdy.

From-SVN: r41861
2001-05-05 08:59:32 +02:00
Stephane Carrez
a1fdc802bb m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead of '!' for the 'D' alternative ('!' is too strong).
* config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
	of '!' for the 'D' alternative ('!' is too strong).
	("*logicalsi3_silshl16"): Likewise.
	("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
	("movstrictsi"): Remove spurious '+'.
	("movstrictqi"): Don't accept 'A' and remove spurious '+'.
	("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
	("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
	a reload to them.

From-SVN: r41859
2001-05-05 08:51:23 +02:00
David Edelsohn
a92644e78a 20001227-1.c: Remove duplicate of gcc.c-torture/execute/20000412-3.c with no ChangeLog entry.
* gcc.c-torture/execute/20001227-1.c: Remove duplicate of
        gcc.c-torture/execute/20000412-3.c with no ChangeLog entry.

From-SVN: r41858
2001-05-04 21:50:06 -04:00
David Edelsohn
4f380204a2 * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
From-SVN: r41856
2001-05-04 21:30:51 -04:00
Lars Brinkhoff
c52c9a9cee simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1 into -a.
2001-05-04  Lars Brinkhoff  <lars@nocrew.org>

	* simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1
	into -a.

From-SVN: r41854
2001-05-05 00:32:19 +00:00
Franz Sirl
4264cf59cf rs6000.md (ashldi3 splits): Guard with TARGET_POWERPC64.
2000-05-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * config/rs6000/rs6000.md (ashldi3 splits): Guard with TARGET_POWERPC64.

From-SVN: r41852
2001-05-04 23:28:00 +00:00
Stephane Carrez
39cc8df7a9 m68hc11.md (lshrhi3_const1): Fix shift of soft register, use ror instead of rol.
* config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
	soft register, use ror instead of rol.

From-SVN: r41850
2001-05-04 23:04:04 +02:00
Stephane Carrez
3c2f40009a m68hc11.c (m68hc11_check_z_replacement): Take into account pre/post increment decrement for 68HC12.
* config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
	into account pre/post increment decrement for 68HC12.
	Fix other problems in replacement and fix call to reg_mentioned_p.

From-SVN: r41848
2001-05-04 23:00:37 +02:00
Stephane Carrez
c5c2ca1677 larith.asm (L_regs_frame): New for _.frame.
* config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
	Put the soft registers in bss for 68HC12.
	(L_regs_d3_4): New for _.d3 and _.d4.
	(L_regs_d5_6): Likewise.
	(L_regs_d1_2): Likewise.
	* config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.

From-SVN: r41846
2001-05-04 22:55:27 +02:00
Loren J. Rittle
62aa6b06ab configure.in: Add support for --enable-threads=posix on FreeBSD.
* configure.in: Add support for --enable-threads=posix on FreeBSD.
        * configure: Rebuilt.

From-SVN: r41845
2001-05-04 20:19:36 +00:00
Stephane Carrez
3750bc816d m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__ to the pre-processor when -fshort-double is specified.
* config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
	to the pre-processor when -fshort-double is specified.
	* config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.

From-SVN: r41843
2001-05-04 21:49:25 +02:00
Stephane Carrez
3d0746bacb larith.asm (divmodhi4): Empty for 68HC12.
* config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
	(__mulsi3): Rewrite for 68HC12.
	* config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
	Mark 'x' constraint with earlyclobber to prevent a
	RELOAD_FOR_OTHER_ADDRESS to go in it.
	(mulhi3_m68hc12): New pattern.
	(mulhi3_m68hc11): Rename of mulhi3.
	(mulhi3): New expand for 68HC12 optimisation.
	(umulhisi3, mulhisi3): New patterns for 68HC12.

From-SVN: r41841
2001-05-04 21:42:50 +02:00
Tom Tromey
8559523974 Thread_Wait_Interrupt.xfail: New file.
* libjava.lang/Thread_Wait_Interrupt.xfail: New file.
	* libjava.lang/Thread_Wait_2.xfail: New file.
	* libjava.lang/Thread_Wait.xfail: New file.
	* libjava.lang/Thread_Sleep.xfail: New file.
	* libjava.lang/Thread_Monitor.xfail: New file.
	* libjava.lang/Thread_Join.xfail: New file.
	* libjava.lang/Thread_Interrupt.xfail: New file.
	* libjava.lang/Thread_Alive.xfail: New file.
	* lib/libjava.exp (libjava_init): Set global
	libjava_uses_threads.
	(test_libjava): Document `need-threads' tag.
	(test_libjava_from_source): handle need-threads tag.
	(test_libjava_from_javac): Likewise.

From-SVN: r41840
2001-05-04 19:33:10 +00:00
Neil Booth
1fc77d36ad * gcc.c-torture/execute/longlong.c: Update for 16 bit int issues.
From-SVN: r41838
2001-05-04 18:40:35 +00:00
Stephane Carrez
dc3c68066b m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
* config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
	(extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
	(uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.

From-SVN: r41836
2001-05-04 20:22:00 +02:00
Stephane Carrez
5a62a69372 m68hc11.h (CONST_COSTS): Make the cost of constants cheap after reload.
* config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
	constants cheap after reload.
	* config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
	are cheap.
	(m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
	so that gcc prefers a shift by 16.
	(m6811_cost, m6812_cost): Make the shift cheap compared to an add.

From-SVN: r41834
2001-05-04 20:08:36 +02:00
Nick Clifton
30506ece75 Add alignment parameter to .comm directives for ELF targets.
From-SVN: r41832
2001-05-04 16:16:43 +00:00
Kaveh R. Ghazi
df4ae16082 alpha.h: NULL_PTR -> NULL.
* alpha.h: NULL_PTR -> NULL.
	* arm.c: Likewise.
	* arm.h: Likewise.
	* avr.h: Likewise.
	* c4x.c: Likewise.
	* c4x.h: Likewise.
	* i386.c: Likewise.
	* i386.md: Likewise.
	* i860.c: Likewise.
	* ia64.c: Likewise.
	* m68hc11.h: Likewise.
	* rs6000.h: Likewise.
	* sh.c: Likewise.
	* sh.h: Likewise.
	* sparc.h: Likewise.
	* v850.c: Likewise.

	* expr.c: Likewise.
	* final.c: Likewise.
	* gcc.c: Likewise.
	* recog.c: Likewise.

From-SVN: r41831
2001-05-04 15:06:41 +00:00
Kaveh R. Ghazi
37a580360c i386.c (ix86_emit_restore_regs_using_mov, [...]): Change bool' parameter to int'.
* i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
	`bool' parameter to `int'.

	* hash.c (hash_lookup): Likewise.

	* hash.h (hash_lookup): Likewise.

	* tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.

From-SVN: r41829
2001-05-04 14:36:39 +00:00
Jan Hubicka
e7a4892c20 * i386.c (x86_initialize_trampoline): Fix mode of constant.
From-SVN: r41828
2001-05-04 11:16:35 +00:00
GCC Administrator
90692e2420 Daily bump.
From-SVN: r41826
2001-05-04 07:16:10 +00:00
Geoffrey Keating
3e18fdf680 invoke.texi (i386 Options): Delete references to -malign-jumps, -malign-loops, -malign-functions.
* invoke.texi (i386 Options): Delete references to -malign-jumps,
	-malign-loops, -malign-functions.
	* i386.c (ix86_align_funcs): Delete.
	(ix86_align_loops): Delete.
	(ix86_align_jumps): Delete.
	(override_options): Mark -malign-* as obsolete.  Emulate their
	behaviour with the -falign-* options.  Default -falign-* from
	the processor table.
	* i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's
	patch of Wed May 2 13:09:36 2001.
	(LOOP_ALIGN): Delete.
	(LOOP_ALIGN_MAX_SKIP): Delete.
	(LABEL_ALIGN_AFTER_BARRIER): Delete.
	(LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete.

From-SVN: r41825
2001-05-04 06:31:27 +00:00
Geoffrey Keating
8e9eff6bc0 cp-tree.h (enum cp_tree_index): Add CPTI_PFN_VFLAG_IDENTIFIER.
* cp-tree.h (enum cp_tree_index): Add CPTI_PFN_VFLAG_IDENTIFIER.
	(pfn_vflag_identifier): Define.
	Update comment about layout of pointer functions.
	(build_ptrmemfunc1): Update prototype.
	(expand_ptrmemfunc_cst): Update prototype.
	* decl.c (initialize_predefined_identifiers): Initialize
	pfn_vflag_identifier.
	(build_ptrmemfunc_type): When FUNCTION_BOUNDARY < 16, add
	an extra field to the type.
	* expr.c (cplus_expand_constant): Pass 'flag' between
	expand_ptrmemfunc_cst and build_ptrmemfunc1.
	* typeck.c (get_member_function_from_ptrfunc): When
	FUNCTION_BOUNDARY < 16, look at additional field to determine
	if a pointer-to-member is a real pointer or a vtable offset.
	(build_ptrmemfunc1): Add new parameter to contain extra field.
	(build_ptrmemfunc): Pass the extra field around.
	(expand_ptrmemfunc_cst): Add new parameter to return extra field.
	(pfn_from_ptrmemfunc): Ignore the extra field.

From-SVN: r41824
2001-05-04 06:28:54 +00:00
Andreas Jaeger
02d208ff0f except.h: Add prototype declaration for expand_builtin_init_dwarf_reg_sizes.
* except.h: Add prototype declaration for
	expand_builtin_init_dwarf_reg_sizes.

From-SVN: r41823
2001-05-04 06:58:46 +02:00
Mark Mitchell
acc72c3774 cp-tree.h (flag_inline_trees): Update documentation.
* cp-tree.h (flag_inline_trees): Update documentation.
	* decl.c (init_decl_processing): Adjust handling of
	flag_inline_functions and flag_inline_trees to support -O3.
	(grokfndecl): Set DECL_INLINE on all functions if that's what
	the user requested.
	(save_function_data): Clear DECL_INLINE in
	current_function_cannot_inline is non-NULL.
	* decl2.c (flag_inline_trees): Update documentation.

From-SVN: r41822
2001-05-04 03:03:39 +00:00
Geoffrey Keating
4091fa5f1b Index: gcc/gcc/ChangeLog
2001-05-03  Geoffrey Keating  <geoffk@redhat.com>

	* Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE.

Index: gcc/gcc/testsuite/ChangeLog
2001-05-03  Geoffrey Keating  <geoffk@redhat.com>

	* lib/g++.exp (g++_include_flags): Don't use any special flags
	if TESTING_IN_BUILD_TREE is not defined.
	(g++_init): Use a plain 'c++' as the compiler if
	TESTING_IN_BUILD_TREEE is not defined.

From-SVN: r41820
2001-05-04 02:58:46 +00:00
Mo DeJong
4def8930da lex.c (java_new_lexer): Call iconv_close on temp handle used to check for byte swap.
2001-05-03  Mo DeJong  <mdejong@redhat.com>

        * lex.c (java_new_lexer): Call iconv_close on temp handle used to
        check for byte swap.

(http://gcc.gnu.org/ml/java-patches/2001-q2/msg00185.html )

From-SVN: r41818
2001-05-03 17:34:48 -07:00
Tom Tromey
d8ce02bcdc * libjava.lang/err11.xfail: Removed.
From-SVN: r41817
2001-05-03 22:03:44 +00:00
John David Anglin
0ee6e0a9ab jartool.c (jt_strdup): New function.
* jartool.c (jt_strdup): New function.
	(get_next_arg): Use jt_strdup instead of strdup.

From-SVN: r41815
2001-05-03 21:40:47 +00:00
Stephane Carrez
c418c5ab57 m68hc11.md ("bitcmpqi"): New pattern for bitb instruction.
* config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
	instruction.
	("bitcmpqi2"): New pattern for bit-extract and test.
	("bitcmphi"): New pattern for bitb/bita instructions.

From-SVN: r41812
2001-05-03 23:09:28 +02:00