Commit Graph

74522 Commits

Author SHA1 Message Date
Jim Blandy 5ea49f9c39 pex-common.c (temp_file): New function, containing guts of pex-style temporary file name generation.
2006-04-10  Jim Blandy  <jimb@codesourcery.com>

	* pex-common.c (temp_file): New function, containing guts of
	pex-style temporary file name generation.
	(pex_run): Use it.

From-SVN: r112882
2006-04-12 06:24:40 +00:00
Alan Modra 79773478a6 rs6000.c (rs6000_mixed_function_arg): Update magic NULL_RTX comment.
* config/rs6000/rs6000.c (rs6000_mixed_function_arg): Update
	magic NULL_RTX comment.
	(function_arg): Store entire fp arg to mem if any part should go
	on stack.
	(rs6000_arg_partial_bytes): Adjust for above change.

From-SVN: r112880
2006-04-12 10:56:23 +09:30
GCC Administrator 11279bd9e4 Daily bump.
From-SVN: r112876
2006-04-12 00:17:11 +00:00
Roger Sayle 10934c3b87 dwarf2out.c (output_call_frame_info): Create debug_frame_section if it hasn't been initialized by dwarf2out_init.
* dwarf2out.c (output_call_frame_info): Create debug_frame_section
	if it hasn't been initialized by dwarf2out_init.

From-SVN: r112871
2006-04-11 23:53:39 +00:00
Mark Mitchell 63c9a19053 re PR c++/26122 (Pure specifiers for templates causing trouble)
* g++.dg/parse/dtor7.C: New test.
	* g++.dg/parse/new1.C: Add error marker.
	* g++.dg/template/new3.C: New test.

	PR c++/26122
	* g++.dg/template/pure1.C: New test.

	PR c++/26295
	* g++.dg/parse/ptrmem4.C: New test.

From-SVN: r112869
2006-04-11 22:59:57 +00:00
Bryce McKinlay ba9d67765a darwin_stop_world.c (GC_push_all_stacks, [...]): Call vm_deallocate to free act_list.
* darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
        GC_start_world): Call vm_deallocate to free act_list. Fix from
        Bruce Mitchener.

From-SVN: r112867
2006-04-11 22:56:27 +01:00
John David Anglin 58be56ea83 pa.md (MAX_12BIT_OFFSET, [...]): Define and use new symbolic constants in branch patterns.
* pa.md (MAX_12BIT_OFFSET, MAX_17BIT_OFFSET): Define and use new
	symbolic constants in branch patterns.

From-SVN: r112864
2006-04-11 18:29:16 +00:00
Roger Sayle f6c4ed084d caller-save.c: #include "addresses.h" after #include "tm_p.h".
* caller-save.c: #include "addresses.h" after #include "tm_p.h".

From-SVN: r112863
2006-04-11 18:26:12 +00:00
Richard Sandiford 205eb6e78d re PR rtl-optimization/27073 (invalid gcse manipulation of REG_EQUIV notes)
PR rtl-optimization/27073
	* gcse.c (try_replace_reg): Revert last change.  Continue to search
	for both REG_EQUAL and REG_EQUIV notes, but only perform replacements
	on the former.

From-SVN: r112861
2006-04-11 17:43:07 +00:00
Eric Botcazou ef6843ed0b sparc.c (function_arg_slotno): Handle aggregate types other than record and union types.
* config/sparc/sparc.c (function_arg_slotno) <BLKmode>: Handle
	aggregate types other than record and union types.
	(function_arg): Likewise.
	(function_arg_pass_by_reference): In 64-bit mode, return 0 for
	small arrays.
	(function_value): In 64-bit mode, return objects that require it
	in FP registers.

From-SVN: r112859
2006-04-11 16:25:46 +00:00
Bryce McKinlay 20cbfac4e9 SystemClassLoader.java (addClass): Get the value of package-private field "loadedClasses" using reflection.
* gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
	of package-private field "loadedClasses" using reflection.
	* java/lang/VMCompiler.java (compileClass): Remove unreachable catch
	block.

From-SVN: r112858
2006-04-11 17:23:00 +01:00
Roger Sayle b4426e0a70 dwarf2out.c (premark_used_types): Remove problematic prototype.
* dwarf2out.c (premark_used_types): Remove problematic prototype.

From-SVN: r112857
2006-04-11 15:41:41 +00:00
Jakub Jelinek 8beb0d9ea4 * gcc.c (LINK_COMMAND_SPEC): Move link_gomp after %o.
From-SVN: r112851
2006-04-11 09:16:14 +02:00
Jakub Jelinek ebf85e50c0 io.h (st_parameter_dt): Revert 2005-12-10 change to u.pad, fix comment.
* io/io.h (st_parameter_dt): Revert 2005-12-10 change to
	u.pad, fix comment.
	(check_st_parameter_dt): New compile time assert.

From-SVN: r112850
2006-04-11 09:15:00 +02:00
Jeff Law cf282d0a4a tree-ssa-copy.c (may_propagate_copy): Test flow sensitive alias information too.
PR/27087
        * tree-ssa-copy.c (may_propagate_copy): Test flow sensitive
        alias information too.

        * gcc.c-torture/compile/pr27087.c: New test.

From-SVN: r112849
2006-04-10 23:52:45 -06:00
Mike Frysinger b3b2cbc4fa * gcc/Makefile.in (gcc-cross): Add $(exeext) to target name.
From-SVN: r112847
2006-04-10 23:08:13 -04:00
Aldy Hernandez 33c9159e09 20060410.c: New.
PR/21391
	* testsuite/gcc.dg/20060410.c: New.
	* dwarf2out.c (struct die_struct): Add die_perennial_p field.
	(premark_used_types_helper): New.
	(premark_used_types): New.
	(gen_subprogram_die): Call premark_used_types.
	(prune_unused_types_walk): Do not prune perennial dies.
	* function.c (used_types_insert): New.
	* function.h (struct function): Add used_types_hash field.
	(used_types_insert): Add prototype.
	* Makefile.in (FUNCTION_H): Depend on HASHTAB_H.
	* c-parser.c (c_parser_cast_expression): Save casted types in used
	types hash table.

From-SVN: r112845
2006-04-11 01:36:50 +00:00
Mark Mitchell ab9260ac48 re PR target/26459 (gcc fails to build on powerpc e500-double targets)
PR target/26459
	* config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Test
	rs6000_explicit_options.float_gprs.

From-SVN: r112843
2006-04-11 10:03:29 +09:30
GCC Administrator a46abe86b2 Daily bump.
From-SVN: r112841
2006-04-11 00:17:10 +00:00
Matthias Klose 615baed708 libjava.exp (libjava_init): Recognize multilib directory names containing underscores.
gcc/testsuite:
2006-04-10  Matthias Klose  <doko@debian.org>

	* testsuite/lib/libjava.exp (libjava_init): Recognize multilib
	directory names containing underscores.

libffi:
2006-04-10  Matthias Klose  <doko@debian.org>

	* testsuite/lib/libjava.exp (libjava_init): Recognize multilib
	directory names containing underscores.

libgomp:
2006-04-10  Matthias Klose  <doko@debian.org>

	* testsuite/lib/libjava.exp (libjava_init): Recognize multilib
	directory names containing underscores.

libjava:
2006-04-10  Matthias Klose  <doko@debian.org>

	* testsuite/lib/libjava.exp (libjava_init): Recognize multilib
	directory names containing underscores.

libmudflap:
2006-04-10  Matthias Klose  <doko@debian.org>

	* testsuite/lib/libjava.exp (libjava_init): Recognize multilib
	directory names containing underscores.

libstdc++:
2006-04-10  Matthias Klose  <doko@debian.org>

	* testsuite/lib/libjava.exp (libjava_init): Recognize multilib
	directory names containing underscores.

From-SVN: r112833
2006-04-10 21:34:19 +00:00
Roger Sayle acef130fab i386.c (ix86_expand_vector_init_one_nonzero): Renamed from ix86_expand_vector_init_low_nonzero.
* config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Renamed
	from ix86_expand_vector_init_low_nonzero.  Take an additional
	one_var argument indicating which element is non-zero.  Support
	one_var != 0 for V4SFmode and V4SImode by permuting the result.
	(ix86_expand_vector_init): Call ix86_expand_vector_init_one_nonzero
	with one_var instead of ix86_expand_vector_init_low_nonzero.

	* gcc.target/i386/vecinit-1.c: New test case.
	* gcc.target/i386/vecinit-2.c: Likewise.

From-SVN: r112832
2006-04-10 21:01:19 +00:00
Kazu Hirata e3df376d22 Makefile.in (tree-into-ssa.o, [...]): Depend on vecprim.h.
* Makefile.in (tree-into-ssa.o, tree-outof-ssa.o,
	tree-ssa-live.o, tree-ssa-alias.o, function.o, df-problems.o,
	global.o, cfglayout.o, lambda-code.o, reg-stack.o,
	build/genextract.o): Depend on vecprim.h.
	* cfglayout.c, df-problems.c, function.c, genextract.c,
	global.c, lambda-code.c, reg-stack.c, tree-into-ssa.c,
	tree-outof-ssa.c, tree-ssa-alias.c, tree-ssa-live.c: Include
	vecprim.h.
	* vecprim.h: New.

From-SVN: r112830
2006-04-10 19:26:18 +00:00
Geoffrey Keating 1a27722fa1 dwarf2out.c (struct dw_attr_struct): Remove dw_attr_next.
* dwarf2out.c (struct dw_attr_struct): Remove dw_attr_next.
	Declare VECs of this type.
	(struct die_struct): Make field die_attr a VEC of dw_attr_struct.
	(remove_children): Delete.
	(add_dwarf_attr): Use VEC routines.
	(add_AT_flag): Update for changes to add_dwarf_attr.
	(add_AT_int): Likewise.
	(add_AT_unsigned): Likewise.
	(add_AT_long_long): Likewise.
	(add_AT_vec): Likewise.
	(add_AT_string): Likewise.
	(add_AT_die_ref): Likewise.
	(add_AT_fde_ref): Likewise.
	(add_AT_loc): Likewise.
	(add_AT_loc_list): Likewise.
	(add_AT_addr): Likewise.
	(add_AT_lbl_id): Likewise.
	(add_AT_lineptr): Likewise.
	(add_AT_macptr): Likewise.
	(add_AT_offset): Likewise.
	(add_AT_range_list): Likewise.
	(get_AT): Use VEC_iterate.
	(remove_AT): Use VEC_ordered_remove.
	(free_die): Fold remove_children into here; have it use VEC_iterate.
	(print_die): Use VEC_iterate on attrs.
	(reverse_die_lists): Don't reverse attr lists.
	(die_checksum): Use VEC_iterate on attrs.
	(same_die_p): Likewise.
	(output_location_lists): Likewise.
	(build_abbrev_table): Likewise.
	(size_of_die): Likewise.
	(unmark_all_dies): Likewise.
	(output_abbrev_section): Likewise.
	(output_die): Likewise.
	(prune_unused_types_walk_attribs): Likewise.

From-SVN: r112829
2006-04-10 18:16:07 +00:00
Andrew Haley e92857a103 x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
2006-04-10  Andrew Haley  <aph@redhat.com>

        * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
        (SIGNAL_HANDLER): Mark arg as unused.
        * configure.host (x86_64-* DIVIDESPEC): Use
        fno-use-divide-subroutine.

From-SVN: r112827
2006-04-10 16:01:23 +00:00
Eric Botcazou 1f3d30ed89 Fix latest entry.
From-SVN: r112824
2006-04-10 14:34:02 +00:00
Eric Botcazou 1da1ce3fbc install.texi (*-*-solaris2*): Point to the configuration page.
* doc/install.texi (*-*-solaris2*): Point to the configuration page.

From-SVN: r112823
2006-04-10 14:29:47 +00:00
Jakub Jelinek ef85ac9aad re PR debug/27057 (ICE with -feliminate-dwarf2-dups and using namespace)
PR debug/27057
	* dwarf2out.c (is_symbol_die): Return true also for namespaces.

	* g++.dg/debug/dwarf2-2.C: New test.

From-SVN: r112820
2006-04-10 15:18:19 +02:00
Jakub Jelinek 55fc9243b7 re PR libfortran/24685 (real(16) formatted input is broken for huge values (gfortran.dg/default_format_2.f90))
PR libgfortran/24685
	* io/write.c (MIN_FIELD_WIDTH, STR, STR1): Define.
	(output_float): Increase buffer sizes for IEEE quad and IBM extended
	long double.
	(write_real): Output REAL(16) as 1PG43.34E4 rather than 1PG40.31E4.

From-SVN: r112819
2006-04-10 14:02:55 +02:00
Paolo Carlini 9f889fcf52 DR 538, [Ready]
2006-04-10  Paolo Carlini  <pcarlini@suse.de>

	DR 538, [Ready]
	* include/bits/stl_algo.h (__unique_copy(,,, input_iterator_tag,
	output_iterator_tag), and predicated counterpart): Revert to the
	algorithm pre-DR 241, i.e., value_type of InputIterator is now
	required to be Assignable too.
	* testsuite/25_algorithms/unique_copy/3.cc: Remove.
	* docs/html/ext/howto.html: Add an entry for DR 538.

From-SVN: r112818
2006-04-10 10:05:51 +00:00
Roger Sayle cf26aa8910 expr.c (store_constructor): Don't bother clearing target if we're about to assign a vector to it using...
* expr.c (store_constructor): Don't bother clearing target if
	we're about to assign a vector to it using vec_init_optab.

From-SVN: r112817
2006-04-10 05:13:59 +00:00
Daniel Berlin ef2bb311e5 tree-ssa-alias.c (lhs_may_store_to): New function.
2006-04-10 Daniel Berlin  <dberlin@dberlin.org>
	
	* tree-ssa-alias.c (lhs_may_store_to): New function.
	(recalculate_used_alone): Handle LHS of calls.

From-SVN: r112815
2006-04-10 03:36:09 +00:00
GCC Administrator c8d47370ef Daily bump.
From-SVN: r112813
2006-04-10 00:17:03 +00:00
John David Anglin 8b89a26ac1 re PR target/27034 (gcc.dg/20021014-1.c (test for excess errors) fails)
PR target/27034
	PR target/26508
	* config.gcc (hppa*64*-*-hpux11*): Add 'libgcc_stub.a' to extra_parts.
	* pa64-hpux.h (LIB_SPEC): Correct typo.  Don't append milli.a.
	(LINK_GCC_C_SEQUENCE_SPEC): Define.  Append milli.a here.
	(PA_CXA_FINALIZE_STUB, PA_JV_REGISTERCLASSES_STUB): Delete defines.
	(PA_INIT_FINI_HACK): Rename to PA_CRTBEGIN_HACK.
	(PA_CRTBEGIN_HACK): Ensure __do_global_ctors_aux is placed in text
	section.  Delete PA_CXA_FINALIZE_STUB and PA_JV_REGISTERCLASSES_STUB
	stubs.  Add ".align 8" directives before all ".dword" directives.
	(GTHREAD_USE_WEAK): Revise comment.
	(TARGET_ATTRIBUTE_WEAK): Define.
	* pa/t-pa64 (LIBGCCSTUB_OBJS): Add new rules for stublib.c, rfi-stub.o,
	dfi-stub.o, cxaf-stub.o and jvrc-stub.o.
	* stublib.c: New file.

From-SVN: r112807
2006-04-09 18:32:16 +00:00
John David Anglin 16d74a3cc2 re PR target/26743 (gcc generates unreachable branch)
PR target/26743
	PR target/11254
	PR target/10274
	* pa.md (cbranch patterns): Revise arguments used in calls to
	output_cbranch, output_bb and output_bvd.  Add long branch length
	attributes.
	(fbranch patterns): Handle long branches.
	(jump): Revise length check.  Revise arguments for output_lbranch call.
	Add long branch length attributes.
	(decrement_and_branch_until_zero): Add long branch length attributes.
	(output_movb, output_parallel_addb and output_parallel_movb patterns):
	Likewise.  Revise arguments for output_parallel_addb and
	output_parallel_movb calls.
	* pa-protos.h (output_cbranch, output_lbranch, output_bb, output_bvb,
	output_parallel_movb and output_parallel_addb): Update prototypes.
	* pa.c (output_cbranch): Revise arguments.  Correct handling of
	nullification in long branches.
	(output_lbranch): Add new argument to control extraction of delay
	instruction.
	(output_bb): Handle long branches.
	(output_bvb, output_dbra, output_movb, output_parallel_movb,
	output_parallel_addb): Likewise.

From-SVN: r112805
2006-04-09 17:19:42 +00:00
Richard Sandiford c3a50ca3a8 re PR rtl-optimization/27073 (invalid gcse manipulation of REG_EQUIV notes)
PR rtl-optimization/27073
	* gcse.c (try_replace_reg): Just propagate into REG_EQUAL notes,
	not REG_EQUIVs.

gcc/testsuite/
	* gcc.c-torture/execute/pr27073.c: New test.

From-SVN: r112803
2006-04-09 10:06:20 +00:00
Mike Stump fd18206b72 Fixup whitespaces
From-SVN: r112800
2006-04-09 00:18:01 +00:00
GCC Administrator bd0a15d3b1 Daily bump.
From-SVN: r112798
2006-04-09 00:17:05 +00:00
Mike Stump 618617532e Fix whitespaces
From-SVN: r112794
2006-04-09 00:11:53 +00:00
Mike Stump 9a82e70211 Revert previous patch, mistaken.
From-SVN: r112793
2006-04-09 00:07:28 +00:00
Mike Stump 51e7cc90c6 Revert last patch
From-SVN: r112792
2006-04-08 23:36:00 +00:00
Mike Stump ba67b7cd52 * objc.dg/method-6.m: Add -Wstrict-selector-match.
From-SVN: r112791
2006-04-08 23:26:12 +00:00
Mike Stump d584868773 * gcc.dg/pragma-darwin.c: Improve for ppc64.
From-SVN: r112790
2006-04-08 23:07:53 +00:00
Daniel Berlin 9ccfe0cda4 tree.h (tree_memory_tag): Add old_used_alone.
2006-04-08  Daniel Berlin  <dberlin@dberlin.org>

	* tree.h (tree_memory_tag): Add old_used_alone.
	(SMT_OLD_USED_ALONE): New macro.
	* tree-ssa-alias.c (recalculate_used_alone): Stop
	marking things for renaming unnecessarily.

From-SVN: r112789
2006-04-08 21:50:04 +00:00
Mike Stump e0f931d27f Fix whitespacing.
From-SVN: r112788
2006-04-08 21:06:26 +00:00
Mike Stump ae582f7772 Add missing part of rth patch.
From-SVN: r112787
2006-04-08 20:38:25 +00:00
Aurelien Jarno a3bd7058ff Makefile.in: Add Ada support for GNU/kFreeBSD.
2006-04-08  Aurelien Jarno  <aurel32@debian.org>

        * Makefile.in: Add Ada support for GNU/kFreeBSD.
        * s-osinte-kfreebsd-gnu.ads: New file.

Approved by: Arnaud Charlet  <charlet@adacore.com>

From-SVN: r112786
2006-04-08 20:11:21 +00:00
Kazu Hirata f48c58e8f1 * expr.c, gjavah.c: Fix comment typos.
From-SVN: r112784
2006-04-08 17:07:16 +00:00
Kazu Hirata 917f1b7ea3 builtins.c, [...]: Fix comment typos.
* builtins.c, config/arm/arm.c, config/i386/cygwin.h,
	config/i386/i386.c, config/ia64/ia64.c, config/s390/fixdfdi.h,
	config/sh/sh.c, config/sh/sh.h, df-scan.c, except.c,
	haifa-sched.c, optabs.c, rtl.h, sched-deps.c, sched-int.h,
	sched-rgn.c, tree-inline.h, tree-ssa-dom.c,
	tree-ssa-loop-prefetch.c, tree-ssa-operands.c,
	tree-vect-patterns.c, tree-vrp.c: Fix comment typos.  Follow
	spelling convensions.
	* config/ia64/ia64.opt, doc/contrib.texi, doc/invoke.texi,
	doc/passes.texi, doc/tm.texi, doc/tree-ssa.texi: Fix comment
	typos.  Follow spelling conventions.

From-SVN: r112782
2006-04-08 17:01:17 +00:00
Kazu Hirata b82feea52f gfortran.texi: Fix typos.
* gfortran.texi: Fix typos.  Follow spelling conventions.
	* resolve.c, trans-expr.c, trans-stmt.c: Fix comment typos.
	Follow spelling conventions.

From-SVN: r112780
2006-04-08 14:31:12 +00:00
Kazu Hirata 84dc00e8ac * decl2.c, pt.c, semantics.c: Fix comment typos.
From-SVN: r112779
2006-04-08 14:15:44 +00:00