Commit Graph

81951 Commits

Author SHA1 Message Date
Eric Botcazou
924a20b64b fesd-any.c: Move to gcc.dg/debug/dwarf2 directory.
* gcc.dg/fesd-any.c: Move to gcc.dg/debug/dwarf2 directory.
	* gcc.dg/fesd-any.h: Likewise.
	* gcc.dg/fesd-baseonly.c: Likewise.
	* gcc.dg/fesd-baseonly.h: Likewise.
	* gcc.dg/fesd-none.c: Likewise.
	* gcc.dg/fesd-none.h: Likewise.
	* gcc.dg/fesd-reduced.c: Likewise.
	* gcc.dg/fesd-reduced.h: Likewise.
	* gcc.dg/fesd-sys.c: Likewise.
	* gcc.dg/fesd-sys.h: Likewise
	* gcc.dg/fesd.h: Likewise.

	* g++.dg/debug/dwarf2: New directory.
	* g++.dg/debug/dwarf2/dwarf2.exp: New driver.
	* g++.dg/other/fesd-any.C: Move to g++.dg/debug/dwarf2 directory.
	* g++.dg/other/fesd-any.h: Likewise.
	* g++.dg/other/fesd-baseonly.C: Likewise.
	* g++.dg/other/fesd-baseonly.h: Likewise.
	* g++.dg/other/fesd-none.C: Likewise.
	* g++.dg/other/fesd-none.h: Likewise.
	* g++.dg/other/fesd-reduced.C: Likewise.
	* g++.dg/other/fesd-reduced.h: Likewise.
	* g++.dg/other/fesd-sys.C: Likewise.
	* g++.dg/other/fesd-sys.h: Likewise.
	* g++.dg/other/fesd.h: Likewise.

From-SVN: r126497
2007-07-09 22:23:04 +00:00
Francois-Xavier Coudert
01306727d3 re PR fortran/29459 (Spurious warnings about anonymous variables)
PR fortran/29459
	* trans-array.c (gfc_trans_array_constructor): Mark offset field
	with TREE_NO_WARNING.
	* trans-decl.c (gfc_build_qualified_array): Mark lbound, ubound,
	stride and size variables with TREE_NO_WARNING.

From-SVN: r126496
2007-07-09 22:00:52 +00:00
Wolfgang Gellerich
0f67fa83f2 optabs.h: Added declaration for signbit_optab.
2007-07-09  Wolfgang Gellerich  <gellerich@de.ibm.com>

	* optabs.h: Added declaration for signbit_optab.  
	* optabs.c: (init_optabs): Added initialization for signbit_optab.
	* genoptinit.c (optabs): Added entry for signbit insns.  
	* builtins.c (expand_builtin_signbit): Added code to use a signbit insn,
	if available.  
	* config/s390/s390.h (S390_TDC_SIGNBIT_SET): New constant.  
	* config/s390/s390.md (signbit<mode>2): New expander.

From-SVN: r126495
2007-07-09 20:12:51 +00:00
Richard Guenther
b462d62daf re PR tree-optimization/32698 (inefficient pointer expression)
2007-07-09  Richard Guenther  <rguenther@suse.de>

	PR middle-end/32698
	* fold-const.c (fold_plusminus_mult_expr): Move constant
	arguments second to allow decomposing.

From-SVN: r126494
2007-07-09 19:41:54 +00:00
Steven G. Kargl
e1cc194c03 trans-decl.c (set_tree_decl_type_code): Remove function.
2007-07-09  Steven G. Kargl  <kargl@gcc.gnu.org>

	* trans-decl.c (set_tree_decl_type_code): Remove function.
	(generate_local_decl): Remove reference to set_tree_decl_type_code.

From-SVN: r126493
2007-07-09 19:41:37 +00:00
Alexandre Oliva
694dd537b9 revert: re PR debug/23551 (dwarf records for inlines appear incomplete)
Revert:
2007-07-06  Alexandre Oliva  <aoliva@redhat.com>
PR debug/23551
* tree-ssa-copyrename.c (copy_rename_partition_coalesce):
Disregard DECL_FROM_INLINE.

From-SVN: r126492
2007-07-09 19:24:23 +00:00
Uros Bizjak
13c594155d re PR target/27855 (reassociation causes the RA to be confused)
PR target/27855
        * doc/extend.texi: Add ftree-reassoc flag.
        * common.opt (ftree-reassoc): New flag.
        * tree-ssa-reassoc.c (gate_tree_ssa_reassoc): New static function.
        (struct tree_opt_pass pass_reassoc): Use gate_tree_ssa_reassoc.

From-SVN: r126491
2007-07-09 21:22:03 +02:00
Paolo Carlini
15e25df5c7 what-1.cc: Include <stdexcept>.
2007-07-09  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/27_io/ios_base/failure/what-1.cc: Include <stdexcept>.

From-SVN: r126490
2007-07-09 19:13:20 +00:00
Andrew Haley
0959e2b887 [multiple changes]
2007-05-18  Aurelien Jarno  <aurelien@aurel32.net>

	* src/arm/ffi.c (ffi_prep_closure_loc): Renamed and ajusted
	from (ffi_prep_closure): ... this.
	(FFI_INIT_TRAMPOLINE): Adjust.

2005-12-31  Phil Blundell  <pb@reciva.com>

	* src/arm/ffi.c (ffi_prep_incoming_args_SYSV, 
        ffi_closure_SYSV_inner, ffi_prep_closure): New, add closure support.
	* src/arm/sysv.S(ffi_closure_SYSV): Likewise.
	* src/arm/ffitarget.h (FFI_TRAMPOLINE_SIZE): Likewise.
	(FFI_CLOSURES): Enable closure support.

2007-07-03  Andrew Haley  <aph@hedges.billgatliff.com>

        * testsuite/libffi.call/cls_multi_ushort.c,
        testsuite/libffi.call/cls_align_uint16.c,
        testsuite/libffi.call/nested_struct1.c,
        testsuite/libffi.call/nested_struct3.c,
        testsuite/libffi.call/cls_7_1_byte.c,
        testsuite/libffi.call/cls_double.c,
        testsuite/libffi.call/nested_struct5.c,
        testsuite/libffi.call/nested_struct7.c,
        testsuite/libffi.call/cls_sint.c,
        testsuite/libffi.call/nested_struct9.c,
        testsuite/libffi.call/cls_20byte1.c,
        testsuite/libffi.call/cls_multi_sshortchar.c,
        testsuite/libffi.call/cls_align_sint64.c,
        testsuite/libffi.call/cls_3byte2.c,
        testsuite/libffi.call/cls_multi_schar.c,
        testsuite/libffi.call/cls_multi_uchar.c,
        testsuite/libffi.call/cls_19byte.c,
        testsuite/libffi.call/cls_9byte1.c,
        testsuite/libffi.call/cls_align_float.c,
        testsuite/libffi.call/closure_fn1.c,
        testsuite/libffi.call/problem1.c,
        testsuite/libffi.call/closure_fn3.c,
        testsuite/libffi.call/cls_sshort.c,
        testsuite/libffi.call/closure_fn5.c,
        testsuite/libffi.call/cls_align_double.c,
        testsuite/libffi.call/cls_2byte.c,
        testsuite/libffi.call/nested_struct.c,
        testsuite/libffi.call/nested_struct10.c,
        testsuite/libffi.call/cls_4byte.c,
        testsuite/libffi.call/cls_6byte.c,
        testsuite/libffi.call/cls_8byte.c,
        testsuite/libffi.call/cls_multi_sshort.c,
        testsuite/libffi.call/cls_align_uint32.c,
        testsuite/libffi.call/cls_align_sint16.c,
        testsuite/libffi.call/cls_float.c,
        testsuite/libffi.call/cls_20byte.c,
        testsuite/libffi.call/cls_5_1_byte.c,
        testsuite/libffi.call/nested_struct2.c,
        testsuite/libffi.call/cls_24byte.c,
        testsuite/libffi.call/nested_struct4.c,
        testsuite/libffi.call/nested_struct6.c,
        testsuite/libffi.call/cls_64byte.c,
        testsuite/libffi.call/nested_struct8.c,
        testsuite/libffi.call/cls_uint.c,
        testsuite/libffi.call/cls_multi_ushortchar.c,
        testsuite/libffi.call/cls_schar.c,
        testsuite/libffi.call/cls_uchar.c,
        testsuite/libffi.call/cls_align_uint64.c,
        testsuite/libffi.call/cls_ulonglong.c,
        testsuite/libffi.call/cls_align_longdouble.c,
        testsuite/libffi.call/cls_1_1byte.c,
        testsuite/libffi.call/cls_12byte.c,
        testsuite/libffi.call/cls_3_1byte.c,
        testsuite/libffi.call/cls_3byte1.c,
        testsuite/libffi.call/cls_4_1byte.c,
        testsuite/libffi.call/cls_6_1_byte.c,
        testsuite/libffi.call/cls_16byte.c,
        testsuite/libffi.call/cls_18byte.c,
        testsuite/libffi.call/closure_fn0.c,
        testsuite/libffi.call/cls_9byte2.c,
        testsuite/libffi.call/closure_fn2.c,
        testsuite/libffi.call/closure_fn4.c,
        testsuite/libffi.call/cls_ushort.c,
        testsuite/libffi.call/closure_fn6.c,
        testsuite/libffi.call/cls_5byte.c,
        testsuite/libffi.call/cls_align_pointer.c,
        testsuite/libffi.call/cls_7byte.c,
        testsuite/libffi.call/cls_align_sint32.c,
        testsuite/libffi.special/unwindtest_ffi_call.cc,
        testsuite/libffi.special/unwindtest.cc: Enable for ARM.

From-SVN: r126489
2007-07-09 17:33:46 +00:00
Daniel Franke
33c0c5e958 re PR fortran/31129 (No warning on unused parameters)
gcc/fortran:
2007-07-09  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/31129
        * trans-decl.c (generate_local_decl) Emit a warning if an unused
        parameter is found.

gcc/testsuite:
2007-07-09  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/31129
        * gfortran.dg/parameter_unused.f90: New test.

From-SVN: r126486
2007-07-09 10:56:49 -04:00
Uros Bizjak
8b4c775b68 re PR tree-optimization/32681 (ice for legal C code with flags -ffast-math -O3 -ftree-vectorize)
PR tree-optimization/32681
	* tree-if-conv.c (find_phi_replacement_condition): Use the condition
	saved in second_edge->aux when first_bb is a loop header.

testsuite/ChangeLog:

	PR tree-optimization/32681
	* gcc.dg/tree-ssa/pr32681.c: New test.

From-SVN: r126482
2007-07-09 15:00:19 +02:00
Jan Hubicka
d241cd48e0 * cse.c (cse_insn): Avoid invalid sharing on trial replacement.
From-SVN: r126481
2007-07-09 10:22:36 +00:00
Richard Guenther
f967586f51 decl.c (start_preparsed_function): Do not promote return type.
2007-07-09  Richard Guenther  <rguenther@suse.de>

	cp/
	* decl.c (start_preparsed_function): Do not promote return type.

	* c-decl.c (start_function): Do not promote return type.

From-SVN: r126480
2007-07-09 09:53:11 +00:00
Jim Xochellis
58b9f26a61 stl_algo.h (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Tidy.
2007-07-09  Jim Xochellis  <jimxoch@yahoo.gr>
	    Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_algo.h (search(_ForwardIterator1,
	_ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Tidy.
	(search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2,
	_ForwardIterator2, _BinaryPredicate)): Likewise.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>

From-SVN: r126479
2007-07-09 09:00:34 +00:00
Jerry DeLisle
57728874d2 re PR fortran/32678 ([4.2, 4.1]GFortan works incorrectly when writing with FORMAT Tx)
2007-07-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/32678
	* gfortran.dg/fmt_t_5.f90: New test.

From-SVN: r126478
2007-07-09 00:17:42 +00:00
GCC Administrator
a34567cc3e Daily bump.
From-SVN: r126476
2007-07-09 00:17:10 +00:00
Jerry DeLisle
8d917a24a7 re PR fortran/32678 ([4.2, 4.1]GFortan works incorrectly when writing with FORMAT Tx)
2007-07-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/32678
	* io/transfer.c (formatted_transfer_scalar): Don't allow pending_spaces
	to go negative.

From-SVN: r126473
2007-07-09 00:15:15 +00:00
Daniel Franke
090b4ea8ea re PR fortran/29876 (ICE on bad operator in ONLY clause of USE statement)
gcc/fortran:
2007-07-08  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/29876
	* module.c (gfc_match_use): Do not set an non-existant 
	intrinsic operator if a user-defined operator is found.

gcc/testsuite:
2007-07-08  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/29876
	* gfortran.dg/operator_6.f90: New test.

From-SVN: r126472
2007-07-08 18:58:45 -04:00
Daniel Franke
534fd53491 re PR fortran/24784 (Warning about unused routine argument should not read "unused variable")
gcc:
2007-07-08  Daniel Franke  <franke.daniel@gmail.com>

	* function.c (do_warn_unused_parameter): Do not warn if
        TREE_NO_WARNING is set.

gcc/fortran:
2007-07-08  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/24784
	PR fortran/28004
	* trans-decl.c (generate_local_decl): Adjusted warning on unused 
	dummy arguments, tell middle-end not to emit additional warnings.

From-SVN: r126471
2007-07-08 18:41:35 -04:00
Paolo Carlini
833be2294d re PR c++/30535 (ICE with invalid template operator)
/cp
2007-07-08  Paolo Carlini  <pcarlini@suse.de>

	PR c++/30535
	* pt.c (unify): Never pass error_mark_node to template_decl_level.

/testsuite
2007-07-08  Paolo Carlini  <pcarlini@suse.de>

	PR c++/30535
	* g++.dg/template/operator10.C: New.

From-SVN: r126470
2007-07-08 22:41:12 +00:00
Thomas Koenig
fb263f821c re PR fortran/32217 (segfaults (at runtime) on UNPACK with zero-sized arrays)
2007-07-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/32217
	* intrinsics/unpack_generic.c:  If the destination array is
	empty, return early.

2007-07-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/32217
	* gfortran.dg/unpack_zerosize_1.f90:  New test case.

From-SVN: r126469
2007-07-08 22:20:04 +00:00
Daniel Franke
3bed9dd023 re PR fortran/17711 (Wrong operator name in error message)
gcc/fortran:
2007-07-08  Daniel Franke  <franke.daniel@gmail.com>
	    Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>

	PR fortran/17711
	* gfortran.h (gfc_intrinsic_op): Added INTRINSIC_EQ_OS,
	INTRINSIC_NE_OS, INTRINSIC_GT_OS, INTRINSIC_GE_OS, 
	INTRINSIC_LT_OS and INTRINSIC_LE_OS.
	* arith.c (eval_intrinsic, eval_type_intrinsic0): Likewise.
	* arith.h (gfc_eq, gfc_ne, gfc_gt, gfc_ge, gfc_lt, gfc_le):
	Added gfc_intrinsic_op as third argument type.
	* dump-parse-tree.c (gfc_show_expr): Account for new enum values.
	* expr.c (simplify_intrinsic_op, check_intrinsic_op): Likewise.
	* interface.c (check_operator_interface): Likewise.
	(gfc_check_interfaces): Added cross-checks for FORTRAN 77 and 
	Fortran 90 style operators using new enum values.
	(gfc_extend_expr): Likewise.
	(gfc_add_interface): Likewise.
	* match.c (intrinsic_operators): Distinguish FORTRAN 77 style
	operators from Fortran 90 style operators using new enum values.
	* matchexp.c (match_level_4): Account for new enum values.
	* module.c (mio_expr): Likewise.
	* resolve.c (resolve_operator): Deal with new enum values, fix
	inconsistent error messages.
	* trans-expr.c (gfc_conv_expr_op): Account for new enum values.

gcc/testsuite:
2007-07-08  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/17711
	* gfortran.dg/operator_4.f90: New test.
	* gfortran.dg/operator_5.f90: New test.
	* gfortran.dg/logical_comp.f90: Adjusted error messages.
	* gfortran.dg/module_md5_1.f90: Adjusted MD5 sum.


Co-Authored-By: Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>

From-SVN: r126468
2007-07-08 17:08:52 -04:00
Tobias Burnus
376397285d re PR fortran/32669 ("Actual argument contains too few elements for dummy argument" is triggered for valid code)
2007-07-08  Tobias Burnus  <burnus@net-b.de>

	PR fortran/32669
	* interface.c (get_expr_storage_size): Properly obtain lower bound.
	(compare_actual_formal): Add space before parenthesis.

2007-07-08  Tobias Burnus  <burnus@net-b.de>

	PR fortran/32669
	* gfortran.dg/argument_checking_6.f90: New.

From-SVN: r126467
2007-07-08 22:57:07 +02:00
Daniel Franke
83b2e4e821 re PR fortran/25094 (Procedure with public generic identifier allowed to have argument of private type)
gcc/fortran:
2007-07-08  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/25094
	* resolve.c (resolve_fl_procedure): Added check for PRIVATE types
	in PUBLIC interfaces.

gcc/testsuite:
2007-07-08  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/25094
	* gfortran.dg/interface_15.f90: New test.

From-SVN: r126466
2007-07-08 16:38:58 -04:00
Kaveh R. Ghazi
298f406494 c99-math-double-1.c, [...]: Test subnormals.
* gcc.dg/c99-math-double-1.c, gcc.dg/c99-math-float-1.c,
	c99-math-long-double-1.c, c99-math.h: Test subnormals.

From-SVN: r126463
2007-07-08 20:02:12 +00:00
Andreas Schwab
9f06d33079 * doc/invoke.texi (DEC Alpha/VMS Options): Fix typo.
From-SVN: r126462
2007-07-08 16:06:33 +00:00
Manuel López-Ibáñez
b1b8a1855f re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and warnings)
2007-07-08  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR testsuite/25241
testsuite/
	* gcc.dg/20041213-1.c: Don't use default -pedantic-errors to allow
	discern pedantic diagnostics and errors.
	* gcc.dg/empty2.c: Add -pedantic, so it actually produces a warning
	and not an error.
	* gcc.dg/20050121-1.c: This is an error and not a warning.
	* gcc.target/i386/sseregparm-2.c:  Likewise.
	* gcc.target/i386/20060512-4.c: This is a warning and not an error.
	* gcc.dg/charset/attribute2.c: Likewise.
	* gcc.dg/bitfld-1.c: Likewise.
	* gcc.dg/pack-test-2.c: Likewise.
	* gcc.dg/940510-1.c: Match separately error and warning.
	* gcc.dg/array-2.c: Match separately multiple messages. The second
	diagnostic is a pedantic warning and not an error.
	* gcc.dg/pr14475.c: Match separately multiple messages.
	* gcc.dg/pr18809-1.c: Likewise.
	* gcc.dg/pr27953.c: Likewise.
	* gcc.dg/vla-init-1.c: Likewise.
	* gcc.dg/redecl-1.c: Fix wrong use of dg-error and dg-warning.

From-SVN: r126461
2007-07-08 14:50:37 +00:00
Joel Sherrill
8398345541 s-osinte-rtems.ads: Correct prototype of pthread_sigmask.
2007-07-05  Joel Sherrill <joel.sherrill@oarcorp.com>

        * s-osinte-rtems.ads: Correct prototype of pthread_sigmask.

From-SVN: r126460
2007-07-08 14:20:22 +00:00
Sandra Loosemore
170ea7b948 revert: c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS apply to assembly language, too.
2007-07-08  Sandra Loosemore  <sandra@codesourcery.com>

	Revert this patch:
	2007-07-06  Sandra Loosemore  <sandra@codesourcery.com>

	* c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS
	apply to assembly language, too.
	* doc/tm.texi (DOLLARS_IN_IDENTIFIERS): Update.

From-SVN: r126458
2007-07-08 09:46:20 -04:00
GCC Administrator
1cd13fb851 Daily bump.
From-SVN: r126454
2007-07-08 00:16:55 +00:00
Jerry DeLisle
42daa1c05f re PR fortran/32644 ("CHARACTER*1, c" produces "Unclassifiable statement")
2007-07-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/32644
	* gfortran.dg/char_decl_1.f90: New test.

From-SVN: r126451
2007-07-08 00:09:20 +00:00
Jerry DeLisle
d468bcdb40 re PR fortran/32644 ("CHARACTER*1, c" produces "Unclassifiable statement")
2007-07-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/32644
	* decl.c (match_attr_spec): Don't return MATCH_ERROR if comma found and
	gfc_match_bind_c does not return MATCH_YES.

From-SVN: r126450
2007-07-08 00:05:27 +00:00
Daniel Berlin
b71b4522b5 Revert (note the sccvn portions are *not* reverted) 2007-07-06 Daniel Berlin <dberlin@dberlin.org>
2007-07-07  Daniel Berlin  <dberlin@dberlin.org>

	Revert (note the sccvn portions are *not* reverted)
	2007-07-06  Daniel Berlin  <dberlin@dberlin.org>

	Fix PR tree-optimization/23488

	* tree-vn.c (set_value_handle): Use decl_vh_map for decl value
	handles.
	* tree-flow-inline.h (get_value_handle): Ditto.
	* tree-ssa-pre.c (decl_vh_map): New.
	(decl_node_pool): New.
	(can_value_number_operation): Support DECL_P.
	(can_PRE_operation): Ditto.
	(create_expression_by_pieces): Ditto.
	(find_existing_value_expr): Modify to differnetiate between
	addressing and top level.
	(create_value_handle_for_expr): Handle DECL's.
	(poolify_tree): Ditto.
	(make_values_for_phi): Don't insert into PHI_GEN during FRE.
	(make_values_for_stmt): Handle DECL's properly.
	(init_pre): Reorg to not init useless things during FRE.
	(fini_pre): Ditto.
	* tree-flow.h: Include pointer-set.h.
	(decl_vh_map): Declare.
	* Makefile.in (TREE_FLOW_H): Add pointer-set.h

From-SVN: r126449
2007-07-07 22:23:26 +00:00
Eric Weddington
0e8eb4d81e constraints.md (define_memory_constraint "Q"): Fix the constraint description.
* config/avr/constraints.md (define_memory_constraint "Q"): Fix
	the constraint description.
	* doc/md.texi: Update documentation of AVR constraints.

From-SVN: r126448
2007-07-07 23:55:12 +04:00
Joseph Myers
44e16d8cf9 * zh_CN.po: Update.
From-SVN: r126444
2007-07-07 20:20:33 +01:00
Kazu Hirata
f576d4f942 tree-ssa-operands.c (realloc_vop, [...]): Remove.
* tree-ssa-operands.c (realloc_vop, realloc_vdef,
	realloc_vuse): Remove.
	* tree-ssa-operands.h: Remove the prototype for realloc_vdef
	and realloc_vuse.

From-SVN: r126442
2007-07-07 14:20:58 +00:00
Kazu Hirata
0a6b055f65 cfgrtl.c (delete_insn_chain_and_edges): Remove.
* cfgrtl.c (delete_insn_chain_and_edges): Remove.
	* rtl.h: Remove the prototype for delete_insn_chain_and_edges.

From-SVN: r126441
2007-07-07 14:20:02 +00:00
Kazu Hirata
86bf520d74 decl.c, [...]: Fix comment typos.
* decl.c, gfortran.h, interface.c, module.c, resolve.c,
	trans-array.c, trans-decl.c: Fix comment typos.  Follow
	spelling conventions.
	* intrinsic.texi: Fix typos.  Follow spelling conventions.

From-SVN: r126440
2007-07-07 13:15:40 +00:00
Kazu Hirata
6ed3da0066 auto-inc-dec.c, [...]: Fix comment typos.
* auto-inc-dec.c, config/arm/arm.c,
	config/m32r/constraints.md, config/mips/mips.md,
	config/rs6000/rs6000.c, cselib.c, dce.c, df-core.c,
	df-problems.c, df-scan.c, df.h, dse.c, gimplify.c,
	tree-if-conv.c, tree-ssa-sccvn.c, tree-ssa.c: Fix comment
	typos.  Follow spelling conventions.
	* doc/invoke.texi, doc/rtl.texi: Fix typos.

From-SVN: r126439
2007-07-07 13:00:43 +00:00
Mark Mitchell
acde59b441 re PR c++/32232 (ICE in resolve_overloaded_unification)
PR c++/32232
	* pt.c (resolve_overloaded_unification): Robustify.  Return a
	bool, not an int.
	(type_unification_real): Adjust accordingly.
	PR c++/32232
	* g++.dg/template/overload9.C: New test.

From-SVN: r126435
2007-07-07 07:31:54 +00:00
Daniel Berlin
e9bd9cf340 re PR middle-end/23488 (GCSE load PRE does not work with non sets (or missing load PRE with plain decls))
2007-07-06  Daniel Berlin  <dberlin@dberlin.org>

	Fix PR tree-optimization/23488

	* tree-ssa-sccvn.c (expr_has_constants): Handle tcc_declaration.
	(try_to_simplify): Ditto.
	(visit_use): Ditto.
	* tree-vn.c (set_value_handle): Use decl_vh_map for decl value
	handles.
	* tree-flow-inline.h (get_value_handle): Ditto.
	* tree-ssa-pre.c (decl_vh_map): New.
	(decl_node_pool): New.
	(can_value_number_operation): Support DECL_P.
	(can_PRE_operation): Ditto.
	(create_expression_by_pieces): Ditto.
	(find_existing_value_expr): Modify to differnetiate between
	addressing and top level.
	(create_value_handle_for_expr): Handle DECL's.
	(poolify_tree): Ditto.
	(make_values_for_phi): Don't insert into PHI_GEN during FRE.
	(make_values_for_stmt): Handle DECL's properly.
	(init_pre): Reorg to not init useless things during FRE.
	(fini_pre): Ditto.
	* tree-flow.h: Include pointer-set.h.
	(decl_vh_map): Declare.
	* Makefile.in (TREE_FLOW_H): Add pointer-set.h

From-SVN: r126434
2007-07-07 03:25:29 +00:00
GCC Administrator
3673b8ca2b Daily bump.
From-SVN: r126431
2007-07-07 00:17:11 +00:00
Sandra Loosemore
48468cd0b7 missed ChangeLog for last patch
From-SVN: r126428
2007-07-06 18:10:59 -04:00
Sandra Loosemore
984defeb6c c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS apply to assembly language, too.
2007-07-06  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS
	apply to assembly language, too.
	* doc/tm.texi (DOLLARS_IN_IDENTIFIERS): Update.

From-SVN: r126427
2007-07-06 18:08:40 -04:00
Nathan Froyd
8cea2d67ab 20001012-1.c: Run on all fpic-capable targets.
* gcc.dg/20001012-1.c: Run on all fpic-capable targets.
	* gcc.dg/20001012-2.c: Likewise.
	* gcc.dg/tls/opt-7.c: Require an fpic-capable target.
	* gcc.dg/20000222-1.c: Add -fPIC on all fpic-capable targets.

From-SVN: r126426
2007-07-06 20:45:29 +00:00
Nathan Froyd
2fdf2ff425 multi-ix.c (CHUNK): Be more conservative about the chunk size when STACK_SIZE is defined.
* gcc.c-torture/execute/multi-ix.c (CHUNK): Be more conservative
	about the chunk size when STACK_SIZE is defined.

From-SVN: r126425
2007-07-06 20:43:05 +00:00
Ian Lance Taylor
508dabda23 re PR middle-end/32441 (ICE in expand_expr_real_1, at expr.c:7109)
2007-07-06  Ian Lance Taylor  <iant@google.com>
            Zack Weinberg  <zackw@panix.com>

	PR middle-end/32441
	* builtins.c (std_expand_builtin_va_start): Don't use make_tree.

Co-Authored-By: Zack Weinberg <zackw@panix.com>

From-SVN: r126424
2007-07-06 17:57:58 +00:00
Richard Sandiford
e0ff69ab11 sh.md (*prefetch_i4): Disable for TARGET_VXWORKS_RTP.
gcc/
	* config/sh/sh.md (*prefetch_i4): Disable for TARGET_VXWORKS_RTP.
	(prefetch): Likewise if "pref" would be used.

From-SVN: r126423
2007-07-06 17:00:15 +00:00
Josh Conner
d6c2c77c91 re PR middle-end/32602 (Sibcall optimization fails to detect overlap)
2007-07-06  Josh Conner  <jconner@apple.com>

	PR middle-end/32602
	PR middle-end/32603
	* calls.c (store_one_arg): Handle arguments which are partially
	on the stack when detecting argument overlap.

2007-07-06  Josh Conner  <jconner@apple.com>

	PR middle-end/32602
	* gcc.dg/sibcall-8.c: New test.

2007-07-06  Josh Conner  <jconner@apple.com>

	PR middle-end/32603
	* gcc.target/arm/sibcall-1.c: New test.

From-SVN: r126422
2007-07-06 16:57:19 +00:00
H.J. Lu
bb9d1da7db convert-dfp-round-thread.c: New test.
2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/dfp/convert-dfp-round-thread.c: New test.

From-SVN: r126421
2007-07-06 09:47:47 -07:00