Commit Graph

58145 Commits

Author SHA1 Message Date
Kaz Kojima 726d4cb79c re PR target/15130 ([3.3/3.4][sh4-linux] miscompilation with -O2)
PR target/15130
	* config/sh/sh-protos.h (sh_expand_epilogue): Change prototype.
	* config/sh/sh.c (output_stack_adjust): Take the sibcall epilogue
	into account.  Compute the correct number of general registers
	for the return value.  Generate a special push/pop sequence when
	failing to get a temporary register for non SHmedia epilogue.
	(sh_expand_epilogue): Add an argument to show whether it's for
	sibcall or not.  Set the 3rd argument of output_stack_adjust to
	-1 if needed.
	(sh_need_epilogue): Call sh_expand_epilogue with 0.
	* config/sh/sh.md (sibcall_epilogue): Call sh_expand_epilogue
	with 1.
	(epilogue): Call sh_expand_epilogue with 0.

From-SVN: r81683
2004-05-10 23:25:13 +00:00
Andrew Pinski 0c196bf9d8 gcse.c (eliminate_partially_redundant_loads): Instead of returning early, goto a cleanup label.
2004-05-10  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcse.c (eliminate_partially_redundant_loads): Instead of returning early,
        goto a cleanup label.  After the cleanup, free the allocated memory.

From-SVN: r81682
2004-05-10 15:28:50 -07:00
Ziemowit Laski 16cfa3dc57 altivec.h (vec_sld): Add overloads for argument/return types of 'vector bool int'...
[gcc/ChangeLog]
2004-05-10  Ziemowit Laski  <zlaski@apple.com>

        * config/rs6000/altivec.h (vec_sld): Add overloads for
        argument/return types of 'vector bool int', 'vector bool short'
        and 'vector bool char'.

[gcc/testsuite/ChangeLog]
2004-05-10  Ziemowit Laski  <zlaski@apple.com>

        * g++.dg/ext/altivec-8.C: New test case.
        * gcc.dg/altivec-13.c: New test case.

From-SVN: r81681
2004-05-10 22:21:44 +00:00
Andreas Tobler 3f68457e24 libjava.exp (libjava_invoke): Add new argument ld_library_additions.
2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/lib/libjava.exp (libjava_invoke): Add new argument
	ld_library_additions. Adjust all calls to libjava_invoke to match
	the new argument.

	* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
	path to cxxflagslist.
	Pass path of libstdc++ to libjava_invoke.

	* testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
	libjava_invoke arguments.

From-SVN: r81679
2004-05-10 22:44:13 +02:00
Zack Weinberg 3358cae044 c-decl.c (store_parm_decls_newstyle): Correct test for a nested function.
* c-decl.c (store_parm_decls_newstyle): Correct test for a
	nested function.

From-SVN: r81677
2004-05-10 19:18:44 +00:00
Richard Sandiford 62d4592363 read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted, treating missing ones as "".
* read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted,
	treating missing ones as "".
	* config/mips/mips.md: Remove constraints from match_operands and
	match_scratches if they appear in define_expands (except reload*),
	define_peephole2s, define_splits or attribute specifications.
	* config/mips/7000.md, config/mips/sb1.md: Remove match_operand
	constraint strings.

From-SVN: r81676
2004-05-10 18:35:43 +00:00
Andrew Haley af434fa7a1 parse.y (create_class): Set TYPE_VFIELD.
2004-05-10  Andrew Haley  <aph@redhat.com>

	* parse.y (create_class): Set TYPE_VFIELD.
	* decl.c (java_init_decl_processing): Likewise.

	* expr.c (build_invokevirtual): Remove DECL_VINDEX offset adjustment.
	* class.c (make_method_value): Replace DECL_VINDEX with call to
	get_method_index().
	(get_dispatch_vector): Likewise.
	(layout_class_method): Likewise.
	Replace set of DECL_VINDEX with call to set_method_index().
	(set_method_index): New function.
	(get_method_index): New function.
	* java-tree.h (set_method_index): New function decl.
	(get_method_index): New function decl.

From-SVN: r81672
2004-05-10 16:21:08 +00:00
Arnaud Charlet 5950a3ac27 [multiple changes]
2004-05-10  Doug Rupp  <rupp@gnat.com>

	* 5qsystem.ads: Remove Short_Address subtype declaration. Moved to
	system.aux_dec.

	* s-auxdec.ads: Add Short_Address subtype (moved here from System).

	* Makefile.in: [VMS]: Add translation for 5qauxdec.ads.

	* init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha.
	Fixes undefined symbols in IA64 gnatlib.

	* 5vinmaop.adb: Reference s-auxdec for Short_Address.

	* 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype
	Short_Address). This will be moved to system.auxdec.

2004-05-10  Thomas Quinot  <quinot@act-europe.fr>

	* sem_util.adb: Replace test for presence of a node that is always
	present with a call to Discard_Node.

	* sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to
	Analyze on the library unit node after generation of distribution stub
	constructs.  The call was a no-op because Unit_Node has already been
	Analyzed, and the tree fragments for the distribution stubs are
	analyzed as they are inserted in Exp_Dist.
	Update comment regarding to distribution stubs to reflect that we
	do not generate stub in separate files anymore.

	* einfo.ads: Clarify the fact that a tagged private type has the
	E_Record_Type_With_Private Ekind.

	* erroutc.adb: Minor reformatting

	* erroutc.ads (Max_Msg_Length): Increase to cover possible larger
	values if line length is increased using -gnatyM (noticed during code
	reading).

	* eval_fat.adb: Minor reformatting
	Put spaces around exponentiation operator

2004-05-10  Ed Schonberg  <schonberg@gnat.com>

	PR ada/15005
	* sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix
	has been rewritten as an explicit dereference, retrieve type of
	original node to check for possibly unconstrained record type.

2004-05-10  Ed Schonberg  <schonberg@gnat.com>

	* exp_ch7.adb (Check_Visibly_Controlled): If given operation is not
	overriding, use the operation of the parent unconditionally.

	* sem_ch4.adb (Remove_Address_Interpretations): Remove address
	operation when either operand is a literal, to avoid further
	ambiguities.

	* sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and
	overridden by a previous explicit declaration, mark the previous entity
	as overriding.

	* sem_disp.adb (Check_Dispatching_Operation): New predicate
	Is_Visibly_Controlled, to determine whether a declaration of a
	primitive control operation for a derived type overrides an inherited
	one. Add warning if the explicit declaration does not override.

2004-05-10  Vincent Celier  <celier@gnat.com>

	* gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in
	some cases when the sources are no longer present.

	* make.adb (Collect_Arguments): Fail if an external source, not part
	of any project need to be compiled, when switch -x has not been
	specified.

	* makeusg.adb: Document new switch -x

	* opt.ads (External_Unit_Compilation_Allowed): New Boolean flag,
	defaulted to False.

	* switch-m.adb (Scan_Make_Switches): New switch -x

	* vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for
	gnatmake switch -x.

	* gnat_ugn.texi: Document new gnatmake switch -x

2004-05-10  Eric Botcazou  <ebotcazou@act-europe.fr>

	* misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0.

	* utils.c (create_var_decl): Do not modify the DECL_COMMON flag.
	(process_attributes): Likewise.

2004-05-10  Joel Brobecker  <brobecker@gnat.com>

	* s-inmaop.ads: Fix spelling mistake in one of the comments.

2004-05-10  Robert Dewar  <dewar@gnat.com>

	* gnat_ugn.texi: Document that for config pragma files, the maximum
	line length is always 32767.

	* gnat_rm.texi: For pragma Eliminate, note that concatenation of string
	literals is now allowed.

	* gnat-style.texi: Remove statement about splitting long lines before
	an operator rather than after, since we do not follow this rule at all.
	Clarify rule (really lack of rule) for spaces around exponentiation

	* sem_elim.adb: Allow concatenation of string literals as well as a
	single string literal for pragma arguments.

	* sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function

	* a-textio.adb (Terminate_Line): Do not add line feed if nothing
	written for append case.

	* frontend.adb: Changes to avoid checking max line length in config
	pragma files.

	* g-os_lib.ads: Minor reformatting

	* mlib-utl.adb: Do not define Max_Line_Length locally (definition was
	wrong in any case. Instead use standard value. Noticed during code
	reading.

	* opt.ads (Max_Line_Length): New field, used to implement removal of
	limitation on length of lines when scanning config pragma files.

	* osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb,
	makeutl.ads, makeutl.adb: Minor reformatting

	* scn.adb: Do not check line length while scanning config pragma files
	Do not check line length while scanning out license information

	* scng.adb: Changes to avoid line length checks while parsing config
	pragma files.

2004-05-10  GNAT Script  <nobody@gnat.com>

	* Make-lang.in: Makefile automatically updated

From-SVN: r81671
2004-05-10 18:18:54 +02:00
Andrew Pinski 7cef5027e1 parse.y (check_pkg_class_access): Add new argument and use it when cl is NULL to call lookup_cl on it.
2004-05-10  Andrew Pinski  <pinskia@physics.uc.edu>

        * parse.y (check_pkg_class_access): Add new argument
        and use it when cl is NULL to call lookup_cl on it.
        (parser_check_super_interface): Do not call lookup_cl.
        Pass this_decl to check_pkg_class_access and NULL
        instead of lookup_cl.
        (parser_check_super): Update for change in
        check_pkg_class_access.
        (do_resolve_class): Likewise.
        (process_imports): Likewise.
        (find_in_imports_on_demand): Likewise.
        (resolve_qualified_expression_name): Likewise.

From-SVN: r81668
2004-05-10 08:08:07 -07:00
Ranjit Mathew 731d47a63b jacks.xfail: Update to reflect current reality.
* testsuite/libjava.jacks/jacks.xfail: Update to reflect current
	reality.

From-SVN: r81667
2004-05-10 14:50:56 +00:00
Alan Modra b2d04ecff8 rs6000.c (function_arg_boundary): Always align AltiVec vectors.
* config/rs6000/rs6000.c (function_arg_boundary): Always align
	AltiVec vectors.
	(function_arg_advance): Pass TARGET_32BIT -mabi=no-altivec AltiVec
	vectors by refererence.  Align the same for TARGET_64BIT to a 16
	byte boundary.  Remove useless code.  Add function comment.
	(function_arg): Similarly.  Move gpr rs6000_mixed_function_arg
	call to where it belongs.
	(function_arg_partial_nregs): Return true for all TARGET_32BIT
	-mabi=no-altivec AltiVec vectors.  Fix debug output.
	(rs6000_va_arg): Adjust for AltiVec change.

From-SVN: r81666
2004-05-10 23:56:50 +09:30
Paul Brook b668593951 arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
	* config/arm/arm.h (TARGET_AAPCS_BASED): Define.
	(TARGET_DOUBLEWORD_ALIGN): Use it.
	(WCHAR_TYPE): Define.
	(WCHAR_SIZE_TYPE): Define.
	(SIZE_TYPE): Define.

From-SVN: r81665
2004-05-10 13:39:20 +00:00
GCC Administrator 10f4ab75ce Daily bump.
From-SVN: r81662
2004-05-10 00:16:11 +00:00
Alan Modra 4ed785458b rs6000.c (function_arg_boundary): Align for ABI_V4 when size is 8 bytes.
* config/rs6000/rs6000.c (function_arg_boundary): Align for ABI_V4
	when size is 8 bytes.
	(function_arg_advance): Account for stack space used by AltiVec
	args when -mabi=altivec.  Simplify alignment calculations.  For
	ABI_V4, pass AltiVec vectors by reference when -mabi=no-altivec.
	(function_arg): Similarly.
	(function_arg_pass_by_reference): True for ABI_V4 AltiVec when
	not AltiVec ABI.
	(rs6000_va_arg): Correct fp arg test.  Adjust for AltiVec change.
	Correct alignment, and align before testing reg count.  Remove
	TREE_THIS_VOLATILE from reg.  Don't emit unused labels.
	(rs6000_complex_function_value): Check TARGET_HARD_FLOAT and
	TARGET_FPRS here..
	(rs6000_function_value): .. not here before call.

From-SVN: r81659
2004-05-10 09:18:37 +09:30
Aldy Hernandez f350ff0033 * config/rs6000/spe.md ("tstsflt_gpr"): Fix typo in unspec.
From-SVN: r81656
2004-05-09 22:32:31 +00:00
Zack Weinberg eecec6986c re PR c/15007 (crash when including precompiled header with -include)
PR 15007
	* c-decl.c (current_file_decl): Rename to all_translation_units,
	adjust comment.
	(pop_scope): If popping file_scope, construct a
	TRANSLATION_UNIT_DECL and make it the context of all the
	symbols in the scope.
	(push_file_scope): Don't construct a TRANSLATION_UNIT_DECL here.
	(pushdecl): Clarify comment.  Do not set DECL_CONTEXT of
	anything to current_file_decl.
	(pushdecl_top_level): Likewise.
	(store_parm_decls_newstyle): Adjust check for nested function.
	(c_write_global_declarations): Update for renamed variable.

From-SVN: r81655
2004-05-09 21:26:58 +00:00
Richard Sandiford eb01299a99 * Makefile.in (toolexecdir): Remove trailing space.
From-SVN: r81654
2004-05-09 20:24:26 +00:00
Aldy Hernandez 2aa4498c50 * config/rs6000/rs6000-protos.h
(rs6000_conditional_register_usage): Protoize.

	* config/rs6000/rs6000.c (rs6000_conditional_register_usage): New.

	* config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Call
	function.

From-SVN: r81650
2004-05-09 14:32:49 +00:00
Roger Sayle 8dc2384cc9 fold-const.c (fold_div_compare): New function to optimize X/C1 op C2 where op is a comparison operator and C1...
* fold-const.c (fold_div_compare): New function to optimize X/C1 op C2
	where op is a comparison operator and C1 and C2 are integer constants
	into a range check.
	(fold): Call fold_div_compare.

	* gcc.c-torture/execute/divcmp-1.c: New test case.
	* gcc.c-torture/execute/divcmp-2.c: New test case.
	* gcc.c-torture/execute/divcmp-3.c: New test case.

From-SVN: r81645
2004-05-08 17:36:21 +00:00
Eric Botcazou ae81c84473 install.texi (sparc-sun-solaris2*): Document bootstrap problems with earlier versions of the GNU compiler.
* doc/install.texi (sparc-sun-solaris2*): Document bootstrap
	problems with earlier versions of the GNU compiler.

From-SVN: r81643
2004-05-08 17:27:08 +00:00
Aldy Hernandez 0d1fbc8c8f rs6000-protos.h (rs6000_hard_regno_mode_ok_p): Declare.
* config/rs6000/rs6000-protos.h (rs6000_hard_regno_mode_ok_p):
	Declare.

	* config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok_p): New.
	(rs6000_hard_regno_mode_ok): New.
	(rs6000_init_hard_regno_mode_ok): New.
	(rs6000_override_options): Call rs6000_init_hard_regno_mode_ok.

	* config/rs6000/rs6000.h (HARD_REGNO_NREGS): Use precomputed
	result.

From-SVN: r81642
2004-05-08 17:08:51 +00:00
Ziemowit Laski f95d927202 altivec.h (vector, [...]): Do not define as macros #ifdef __APPLE_ALTIVEC__.
2004-05-07  Ziemowit Laski  <zlaski@apple.com>

        * config/rs6000/altivec.h (vector, pixel, bool): Do not
        define as macros #ifdef __APPLE_ALTIVEC__.

From-SVN: r81641
2004-05-08 05:02:55 +00:00
GCC Administrator 6fe76f1d7e Daily bump.
From-SVN: r81638
2004-05-08 00:16:11 +00:00
Fariborz Jahanian 36a454e1f1 Fixed altivec vararg problem.
Approved by Aldy Hernandez.

From-SVN: r81635
2004-05-07 23:00:39 +00:00
Richard Sandiford f7dbd2895e mips.c (mips_va_arg): Fix calculation of osize for EABI_FLOAT_VARARGS_P.
* config/mips/mips.c (mips_va_arg): Fix calculation of osize for
	EABI_FLOAT_VARARGS_P.

From-SVN: r81625
2004-05-07 15:09:23 +00:00
Richard Sandiford 5c8a81d5a8 mips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500.
* config/mips/mips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500.
	* config/mips/mips.c (override_options): Disable branch likely
	instructions if TUNE_MIPS5500.

From-SVN: r81624
2004-05-07 15:06:16 +00:00
Richard Sandiford 9045f39a0e mips.c (override_options): Allow the hi and lo registers to store any integral mode, not just MODE_INTs.
* config/mips/mips.c (override_options): Allow the hi and lo registers
	to store any integral mode, not just MODE_INTs.

From-SVN: r81623
2004-05-07 15:03:31 +00:00
Ranjit Mathew 8e31e1284d jni.exp (gcj_jni_test_one): Don't link the main binary against the JNI shared library.
2004-05-07  Ranjit Mathew  <rmathew@gmail.com>

	* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
	main binary against the JNI shared library.

From-SVN: r81622
2004-05-07 15:59:43 +01:00
Paul Brook bc21b3f34a arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
	* config/arm/arm.h (TARGET_AAPCS_BASED): Define.
	(TARGET_DOUBLEWORD_ALIGN): Use it.
	(WCHAR_TYPE): Define.
	(WCHAR_SIZE_TYPE): Define.
	(SIZE_TYPE): Define.

From-SVN: r81621
2004-05-07 14:40:44 +00:00
Uros Bizjak 2484cc35b0 i386.c (ix86_emit_fp_unordered_jump): Use testb $4, %ah insn instead of sahf insn if !TARGET_USE_SAHF.
2004-05-07  Uros Bizjak  <uros@kss-loka.si>

	* config/i386/i386.c (ix86_emit_fp_unordered_jump): Use
	testb $4, %ah insn instead of sahf insn if !TARGET_USE_SAHF.

From-SVN: r81620
2004-05-07 14:29:41 +00:00
Andrew Pinski 7600f0944b loop-doloop.c (doloop_valid_p): Make sure that body gets freed.
2004-05-07  Andrew Pinski  <pinskia@physics.uc.edu>

        * loop-doloop.c (doloop_valid_p): Make sure that body
        gets freed.

From-SVN: r81619
2004-05-07 07:17:33 -07:00
Eric Botcazou bfb23806b8 sparc-protos.h (sparc_skip_caller_unimp): New declaration.
* config/sparc/sparc-protos.h (sparc_skip_caller_unimp): New
	declaration.
	* config/sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Delete.
	(sparc_skip_caller_unimp): New global variable.
	(sparc_function_epilogue): Set 'sparc_skip_caller_unimp'.
	Use it instead of SKIP_CALLERS_UNIMP_P.
	* config/sparc/sparc.md (call expander): Add sanity check.
	(call_address_struct_value_sp32): Re-sync with expander.
	(call_symbolic_struct_value_sp32): Likewise.
	(return peepholes): Use 'sparc_skip_caller_unimp' instead
	of custom predicate.

From-SVN: r81617
2004-05-07 11:40:42 +00:00
Eric Botcazou 92ff0c419a re PR c++/14962 (g++ ignores #pragma redefine_extname)
PR c++/14962
	* c-pragma.c (handle_pragma_redefine_extname): Only change
	the assembler name of FUNCTION_DECLs and VAR_DECLs.

From-SVN: r81610
2004-05-07 06:58:00 +00:00
Loren J. Rittle 3c4392aa5f Update ChangeLog to follow tree rules.
From-SVN: r81608
2004-05-07 06:13:18 +00:00
Uros Bizjak c3fced6c3c i386-387-1.c: Add new test for __builtin_fmod.
* gcc.dg/i386-387-1.c: Add new test for __builtin_fmod.
	* gcc.dg/i386-387-2.c: Likewise.

	* gcc.dg/i386-387-5.c: Add new tests for __builtin_log1p and
	__builtin_drem.
	* gcc.dg/i386-387-6.c: Likewise.

From-SVN: r81607
2004-05-07 07:55:06 +02:00
Uros Bizjak c2fcfa4ff8 optabs.h (enum optab_index): Add new OTI_log1p.
* optabs.h (enum optab_index): Add new OTI_log1p.
	(log1p_optab): Define corresponding macro.
	* optabs.c (init_optabs): Initialize log1p_optab.
	* genopinit.c (optabs): Implement log1p_optab using log1p?f2
	patterns.
	* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG1P{,F,L}
	using log1p_optab.
	(expand_builtin): Expand BUILT_IN_LOG1P{,F,L} using
	expand_builtin_mathfn if flag_unsafe_math_optimizations is set.

	* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2XP1.

	* config/i386/i386.c (ix86_emit_i387_log1p): New function.
	* config/i386/i386-protos.h (ix86_emit_i387_log1p):
	Prototype here.
	* config/i386/i386.md (UNSPEC_FYL2XP1): New unspec to represent
	x87's fyl2xp1 instruction.
	(*fyl2x_xf3): Rename insn definition to fyl2x_xf3.
	(fyl2xp1_xf3): New pattern to implement fyl2xp1 x87 instruction.
	(log1psf2, log1pdf2, log1pxf2): New expanders to implement log1pf,
	log1p  and log1pl built-ins as inline x87 intrinsics.

	* testsuite/gcc.dg/builtins-33.c:  Also check log1p*.

From-SVN: r81606
2004-05-07 07:38:21 +02:00
Jerry Quinn 61af3d861b SimpleTimeZone.java (startTimeMode, [...]): New members.
2004-05-07  Jerry Quinn  <jlquinn@optonline.net>

	* java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
        WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
	(SimpleTimeZone): Tweak docs.  Add new variation.
	(setStartRule,setEndRule): Add new variations.  Use
        startTimeMode and endTimeMode.

From-SVN: r81605
2004-05-07 04:57:57 +00:00
Jerry Quinn c37cc018f0 ChangeLog
From-SVN: r81604
2004-05-07 04:18:19 +00:00
Loren J. Rittle 4d980568a6 freebsd.h (SUBTARGET_EXTRA_SPECS): Pass -Werror.
* config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Pass -Werror.
	* config/arm/freebsd.h: Likewise.
	* config/ia64/freebsd.h: Likewise.
	* config/sparc/freebsd.h: Likewise.

From-SVN: r81602
2004-05-07 03:45:03 +00:00
Hans-Peter Nilsson e94166da04 re PR rtl-optimization/15296 ([3.4 only] Delayed branch scheduling causing invalid code on cris-*)
PR optimization/15296
	* gcc.c-torture/execute/pr15296.c: New test.

From-SVN: r81601
2004-05-07 03:22:33 +00:00
Hans-Peter Nilsson afce2847b3 re PR rtl-optimization/15296 ([3.4 only] Delayed branch scheduling causing invalid code on cris-*)
PR optimization/15296
	* reorg.c (fill_simple_delay_slots): Use next_real_insn when
	getting last consecutive label at a branch.
	(relax_delay_slots): Similar, near top of loop.

From-SVN: r81600
2004-05-07 03:20:24 +00:00
Hans-Peter Nilsson 57408b4584 * gcc.c-torture/execute/pr15296.c: New test.
From-SVN: r81599
2004-05-07 03:16:12 +00:00
John David Anglin 9acf97b6e8 re PR target/15202 ([3.4 only] ICE in reload_cse_simplify_operands, at postreload.c)
PR target/15202
	* pa.md (movdi, movsi, movhi, movqi): Support move from shift amount
	register to general register.

From-SVN: r81598
2004-05-07 03:09:15 +00:00
Alan Modra 19fb36e323 rs6000.h (STACK_BOUNDARY): Use 128 bit for either TARGET_ALTIVEC or TARGET_ALTIVEC_ABI.
* config/rs6000/rs6000.h (STACK_BOUNDARY): Use 128 bit for either
	TARGET_ALTIVEC or TARGET_ALTIVEC_ABI.
	* config/rs6000/sysv4.h (ABI_STACK_BOUNDARY): Likewise.
	(STACK_BOUNDARY): Delete.

From-SVN: r81597
2004-05-07 11:31:13 +09:30
GCC Administrator 087392033b Daily bump.
From-SVN: r81593
2004-05-07 00:16:10 +00:00
Matthias Klose ce120bb2c4 iterator.h: Add GPL copyright info, with exception clause.
2004-05-06  Matthias Klose  <doko@debian.org>

        * include/backward/iterator.h:  Add GPL copyright info,
        with exception clause.
        * include/bits/boost_concept_check.h: Likewise.
        * include
        * libsupc++/tinfo.h: Likewise.
        * po/string_literals.cc: Likewise.

From-SVN: r81581
2004-05-06 22:02:05 +00:00
Bryce McKinlay 579f964023 Run the jni tests using the interpreter.
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
	options_cxx to shared lib compile command.
	(gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
	they are used to link the shared lib, not the main binary.
	Use libjava_invoke to run gij.

From-SVN: r81574
2004-05-06 18:54:30 +01:00
Ranjit Mathew 8ae6595c0b Fixes PR java/9685, PR java/15073
Fixes PR java/9685, PR java/15073
	* parse.y (accessibility_string): New method.
	(not_accessible_field_error): Use accessibility_string()
	instead of java_accstring_lookup().
	(resolve_qualified_expression_name): Check with
	check_pkg_class_access() before allowing access using
	qualified names.
	Fix comment typo.
	Use check_pkg_class_access() instead of not_accessible_p()
	for unqualified types.
	(not_accessible_p): Use DECL_CONTEXT (member) instead of
	REFERENCE for package-private access checking.
	(patch_method_invocation): Use accessibility_string() instead
	of java_accstring_lookup().

From-SVN: r81573
2004-05-06 17:43:48 +00:00
Stuart Hastings db643b91ab invoke.texi: Restore -fgcse-after-reload doc from 1.421, mistakenly clobbered by 1.423.
2004-05-06  Stuart Hastings  <stuart@apple.com>
	* gcc/doc/invoke.texi: Restore -fgcse-after-reload doc from 1.421,
	mistakenly clobbered by 1.423.

From-SVN: r81569
2004-05-06 16:10:25 +00:00
Michael Koch 0a215a117b 2004-05-06 Michael Koch <konqueror@gmx.de>
* java/util/logging/Level.java
	(parse): Use == instead of String.equals().

From-SVN: r81568
2004-05-06 15:55:00 +00:00