Commit Graph

78102 Commits

Author SHA1 Message Date
Carlos O'Donell
0fd212e1bd re PR c/30242 (internal error in gcc break compilation)
gcc/

2006-12-20  Carlos O'Donell  <carlos@codesourcery.com>

	PR bootstrap/30242
	* gcc/c-incpath.c (add_standard_paths): Only relocate paths that 
	begin with the configured prefix.

From-SVN: r120088
2006-12-20 22:34:14 +00:00
Bill Wendling
2502ff194e asm-b.c: Check for __ppc64__.
2006-12-20  Bill Wendling  <wendling@apple.com>

	* gcc.dg/asm-b.c: Check for __ppc64__.

From-SVN: r120085
2006-12-20 22:01:01 +00:00
Paul Thomas
6a14cf131e re PR fortran/30190 ([4.1 only] Bounds check generates wrong code for associated(p1(i)%p2,p1(i)%p2))
2006-12-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/30190
	* trans-array.c (gfc_conv_array_ref): Remove gfc_evaluate_now
	from the -fbounds-check branch.

2006-12-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/30190
	* gfortran.dg/bounds_check_5.f90: New test.

From-SVN: r120084
2006-12-20 21:10:51 +00:00
Jan Hubicka
2a4f771a6e re PR rtl-optimization/30213 (Wrong code with optimized memset() (possible bug in RTL bbro optimizer))
PR target/30213
	* i386.c (expand_setmem_epilogue): Fix formating.
	(dsmalest_pow2_greater_than): New function.
	(ix86_expand_movmem): Improve comments; avoid re-computing of
	epilogue size.
	(promote_duplicated_reg_to_size): Break out from ...
	(expand_setmem): ... this one; reorganize promotion code;
	improve comments; avoid recomputation of epilogue size.

From-SVN: r120083
2006-12-20 20:46:15 +00:00
Andrew Pinski
75a4c3c194 re PR middle-end/30143 ([4.2 only] OpenMP can produce invalid gimple)
2006-12-20  Andrew Pinski  <pinskia@gmail.com>

        PR middle-end/30143
        * omp-low.c (init_tmp_var): New function.
        (save_tmp_var): New function.
        (lower_omp_1): Use them for VAR_DECL.

2006-12-20  Andrew Pinski  <pinskia@gmail.com>

        PR middle-end/30143
        * gcc.dg/gomp/complex-1.c: New testcase.

From-SVN: r120080
2006-12-20 09:50:17 -08:00
Andrew Pinski
1863bbcab5 tree-gimple.c (is_gimple_min_invariant): Treat constant vector CONSTRUCTORs as min invariants.
2006-12-20  Andrew Pinski  <pinskia@gmail.com>

        * tree-gimple.c (is_gimple_min_invariant): Treat constant vector
        CONSTRUCTORs as min invariants.

From-SVN: r120079
2006-12-20 09:46:39 -08:00
Roger Sayle
6822a10d9d trans-expr.c (is_zero_initializer_p): Determine whether a given constant expression is a zero initializer.
* trans-expr.c (is_zero_initializer_p): Determine whether a given
	constant expression is a zero initializer.
	(gfc_trans_zero_assign): New function to attempt to optimize
	"a(:) = 0.0" as a call to __builtin_memset (a, 0, sizeof(a));
	(gfc_trans_assignment): Special case array assignments to a
	zero initializer constant, using gfc_trans_zero_assign.

	* gfortran.dg/array_memset_1.f90: New test case.

From-SVN: r120078
2006-12-20 17:23:43 +00:00
Joseph Myers
f1f4e530a5 rtlanal.c (struct subreg_info, [...]): New.
* rtlanal.c (struct subreg_info, subreg_get_info, subreg_nregs):
	New.
	(subreg_regno_offset, subreg_offset_representable_p): Change to
	wrappers about subreg_get_info.
	(refers_to_regno_p, reg_overlap_mentioned_p): Use subreg_nregs.
	* rtl.h (subreg_nregs): Declare.
	* doc/tm.texi (HARD_REGNO_NREGS_HAS_PADDING): Update to refer to
	subreg_get_info.
	* caller-save.c (mark_set_regs, add_stored_regs): Use
	subreg_nregs.
	* df-scan.c (df_ref_record): Use subreg_nregs.
	* flow.c (mark_set_1): Use subreg_nregs.
	* postreload.c (move2add_note_store): Use subreg_nregs.
	* reload.c (decompose, refers_to_regno_for_reload_p,
	reg_overlap_mentioned_for_reload_p): Use subreg_nregs.
	* resource.c (update_live_status, mark_referenced_resources,
	mark_set_resources): Use subreg_nregs.

From-SVN: r120076
2006-12-20 16:25:00 +00:00
Zdenek Dvorak
ee8c1b05d5 loop-unswitch.c (unswitch_loop): Update arguments of duplicate_loop_to_header_edge call.
* loop-unswitch.c (unswitch_loop): Update arguments of
	duplicate_loop_to_header_edge call.
	* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Ditto.
	* loop-unroll.c (peel_loop_completely, unroll_loop_constant_iterations,
	unroll_loop_runtime_iterations, peel_loop_simple, unroll_loop_stupid):
	Ditto.
	* cfgloopmanip.c (loop_version): Ditto.
	(duplicate_loop_to_header_edge): Change
	type of to_remove to VEC(edge), remove n_to_remove argument.
	* tree-ssa-loop-manip.c (tree_duplicate_loop_to_header_edge):
	Change type of to_remove to VEC(edge), remove n_to_remove argument.
	(tree_unroll_loop): Update arguments of
	tree_duplicate_loop_to_header_edge call.
	* cfghooks.c (cfg_hook_duplicate_loop_to_header_edge):
	Change type of to_remove to VEC(edge), remove n_to_remove argument.
	* cfghooks.h (struct cfg_hooks): Type of
	cfg_hook_duplicate_loop_to_header_edge changed.
	(cfg_hook_duplicate_loop_to_header_edge): Declaration changed.
	* cfgloop.h (duplicate_loop_to_header_edge): Ditto.
	* tree-flow.h (tree_duplicate_loop_to_header_edge): Ditto.

From-SVN: r120074
2006-12-20 14:15:53 +00:00
Dorit Nuzman
c882a2c238 spu.md (vec_widen_umult_hi_v8hi): New.
* config/spu/spu.md (vec_widen_umult_hi_v8hi): New.
        (vec_widen_umult_lo_v8hi, vec_widen_smult_hi_v8hi): New.
        (vec_widen_smult_lo_v8hi): New.
        * config/spu/spu.c (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Defined.
        (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Defined.
        (spu_builtin_mul_widen_even, spu_builtin_mul_widen_odd): New.

From-SVN: r120073
2006-12-20 14:07:38 +00:00
Paul Thomas
71f77fd790 re PR fortran/29992 ([4.1 only] INTERFACE equivalent to MODULE PROCEDURE?!)
2006-12-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/29992
	* interface.c (check_sym_interfaces): Module procedures in a
	generic must be use associated or contained in the module.
	* decl.c (gfc_match_modproc): Set attribute mod_proc.
	* gfortran.h (symbol_attribute): Add mod_proc atribute.

	PR fortran/30081
	* resolve.c (resolve_generic_f, resolve_generic_s): Use
	gfc_intrinsic_name to find out if the function is intrinsic
	because it does not have to be a generic intrinsic to be
	overloaded.

2006-12-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/29992
	* gfortran.dg/generic_9.f90: New test.

	PR fortran/30081
	* gfortran.dg/generic_10.f90: New test.

From-SVN: r120072
2006-12-20 13:48:06 +00:00
Jan Hubicka
0550e7b7aa cgraph.c: Update overall comment; fix vertical spacing.
* cgraph.c: Update overall comment; fix vertical spacing.
	* ipa-inline.c (cgraph_decide_inlining): Remove now redundant check.

From-SVN: r120071
2006-12-20 09:12:55 +00:00
Jan Hubicka
68e56cc4a2 cgraph.h (FOR_EACH_STATIC_VARIABLE, [...]): New macros.
* cgraph.h (FOR_EACH_STATIC_VARIABLE, FOR_EACH_STATIC_INITIALIZER): New
	macros.
	(varpool_first_static_initializer, varpol_next_static_initializer): New
	inline functions.
	* ipa-reference.c (analyze_variable): Simplify.
	(static_execute): Use FOR_EACH_STATIC_INITIALIZER.
	* ipa-type-escape.c (type_escape_execute): Use FOR_EACH_STATIC_VARIABLE.

From-SVN: r120070
2006-12-20 09:09:50 +00:00
Andrew Pinski
7954dc2121 re PR tree-optimization/30045 (ICE in nonnull_arg_p with the CHAIN decl)
2006-12-19  Andrew Pinski  <pinskia@gmail.com>

        PR tree-opt/30045
        * tree-vrp.c (nonnull_arg_p): Treat the static decl as always
        non null.

2006-12-19  Andrew Pinski  <pinskia@gmail.com>

        PR tree-opt/30045
        * gcc.dg/pr30045.c: New test

From-SVN: r120069
2006-12-19 21:00:50 -08:00
Ben Elliston
69a0f8c61e * gcc.dg/20020312-2.c: Add a case for __SPU__.
From-SVN: r120068
2006-12-20 14:45:32 +11:00
Ben Elliston
bbd29fdcec * doc/invoke.texi (Optimize Options): Typo fix.
From-SVN: r120067
2006-12-20 13:49:37 +11:00
Eric Christopher
59ff4a1c1c darwin.c (machopic_select_section): Rewrite.
2006-12-19  Eric Christopher  <echristo@apple.com>

        * config/darwin.c (machopic_select_section): Rewrite.
        (darwin_text_section): New.
        (darwin_rodata_section): Ditto.
        (darwin_mergeable_string_section): Ditto.
        (darwin_mergeable_constant_section): Ditto.
        * config/darwin-sections.def: Add SECTION_STRINGS for cstring_section.

From-SVN: r120066
2006-12-20 00:42:34 +00:00
GCC Administrator
91321cd022 Daily bump.
From-SVN: r120064
2006-12-20 00:18:01 +00:00
Eric Christopher
1efff0b6cf re PR target/29302 (isfinite returns wrong result at -O1)
2006-12-19  Eric Christopher  <echristo@apple.com>

        PR target/29302
        * gcc.c-torture/execute/pr29302-1.c: New.

From-SVN: r120058
2006-12-19 20:25:49 +00:00
Tobias Burnus
23572654a2 re PR fortran/30238 (associated(null-pointer, null-pointer) returns .true.)
fortran/
2006-12-19  Tobias Burnus  <burnus@net-b.de>

	PR fortran/39238
	* trans-intrinsic.c: Check for associated(NULL,NULL).

testsuite/
2006-12-19  Tobias Burnus  <burnus@net-b.de>

	PR fortran/39238
	* gfortran.dg/associated_1.f90: Add test for associated(NULL,NULL).

From-SVN: r120056
2006-12-19 20:41:35 +01:00
Steve Ellcey
41da2805f3 * config/pa/pa64-hpux.h (ASM_OUTPUT_EXTERNAL): Add undef.
From-SVN: r120054
2006-12-19 18:18:19 +00:00
Paul Thomas
26f2ca2b6f re PR fortran/30236 ([4.1 only]alternate-return subroutine in generic interface causes ice/segfault)
2006-12-19  Paul Thomas <pault@gcc.gnu.org>

	PR fortran/30236
	* interface.c (compare_interfaces): Handle NULL symbols.
	(count_types_test): Count NULL symbols, which correspond to
	alternate returns.

	(check_interface1): Change final argument from int to bool
	in the function and all references.

2006-12-19  Paul Thomas <pault@gcc.gnu.org>

	PR fortran/30236
	* gfortran.dg/altreturn_3.f90: New test.

	* gfortran.dg/char_result_12.f90: Fix comment typos.

From-SVN: r120052
2006-12-19 17:02:20 +00:00
Paolo Bonzini
400ebff494 configure.in: Remove "$build" case for powerpc-*-darwin* since it only affects bootstrap and...
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

	* configure.in: Remove "$build" case for powerpc-*-darwin* since
	it only affects bootstrap and could be tested on "$host" as well.
	* configure: Regenerate.
	* config/mh-ppc-darwin: Add to the stage1 cflags here.

From-SVN: r120049
2006-12-19 11:28:35 +00:00
Paolo Bonzini
8efea77549 re PR bootstrap/29544 (Not building with checking in stage1)
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/29544
	* Makefile.def (flags_to_pass): Add STAGE1_CHECKING.
	(bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags,
	move here comment from Makefile.tpl.
	* Makefile.tpl: Move some definitions higher in the file.
	(STAGE1_CHECKING): New.
	* configure.in: Add --enable-stage1-checking.
	* configure: Regenerate.
	* Makefile.in: Regenerate.

gcc:
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

	* gcc/Makefile.in (STAGE1_CHECKING): Rename to...
	(STAGE1_CHECKING_CFLAGS): ... this.

From-SVN: r120048
2006-12-19 11:01:36 +00:00
Paolo Bonzini
ed88a7ed92 MAINTAINERS: Add myself as build system maintainer.
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

	* MAINTAINERS: Add myself as build system maintainer.

From-SVN: r120047
2006-12-19 10:59:36 +00:00
Andrew Pinski
61210b7291 re PR fortran/29779 (vectorizer fortran testcases failing)
2006-12-18  Andrew Pinski  <pinskia@gmail.com>

        PR target/29779
        * config/rs6000/rs6000.c (altivec_init_builtins): Change to set
        READONLY on __builtin_altivec_mask_for_load instead of adding
        the attribute.

From-SVN: r120045
2006-12-19 00:28:46 -08:00
Roger Sayle
f839548fc7 re PR target/29302 (isfinite returns wrong result at -O1)
2006-12-18  Roger Sayle  <roger@eyesopen.com>
	    Eric Christopher  <echristo@apple.com>

	PR target/29302
	* real.c (real_maxval): Correctly handle IBM extended double format.


Co-Authored-By: Eric Christopher <echristo@apple.com>

From-SVN: r120040
2006-12-19 04:17:11 +00:00
Ben Elliston
a1e1a45154 include.c: #include stdlib.h instead of stdio.h...
* gcc.dg/cpp/trad/include.c: #include stdlib.h instead of stdio.h,
	as newlib's stdio.h uses non-traditional cpp constructs.

From-SVN: r120038
2006-12-19 13:17:15 +11:00
Jan Hubicka
d448860e15 expmed.c (expand_mult_const): Force operand to constant.
* expmed.c (expand_mult_const): Force operand to constant.
	* rs6000.c (rs6000_emit_set_const, rs6000_emit_set_long_const): Add
	copy_rtx to arguments.

From-SVN: r120037
2006-12-19 01:03:13 +00:00
Brooks Moses
a629c8218e Fixed tab-to-spaces error in previous entry.
From-SVN: r120036
2006-12-18 16:48:22 -08:00
Brooks Moses
939d0fcd1f advance.f90: Renamed to advance_1.f90
* gfortran.dg/advance.f90: Renamed to advance_1.f90
* gfortran.dg/append-1.f90: Renamed to append_1.f90
* gfortran.dg/array-1.f90: Renamed to array_1.f90
* gfortran.dg/assign_4.f90: Renamed to assign_8.f90
* gfortran.dg/backspace.f: Renamed to backspace_1.f
* gfortran.dg/backspace.f90: Renamed to backspace_7.f90
* gfortran.dg/default_initialization.f: Renamed to default_initialization_1.f
* gfortran.dg/dollar_edit_descriptor-1.f: Renamed to dollar_edit_descriptor_1.f
* gfortran.dg/dollar_edit_descriptor-2.f: Renamed to dollar_edit_descriptor_2.f
* gfortran.dg/dollar_edit_descriptor-3.f: Renamed to dollar_edit_descriptor_3.f
* gfortran.dg/logint-1.f: Renamed to logint_1.f
* gfortran.dg/logint-2.f: Renamed to logint_2.f
* gfortran.dg/logint-3.f: Renamed to logint_3.f
* gfortran.dg/advance_1.f90: Renamed from advance.f90
* gfortran.dg/append_1.f90: Renamed from append-1.f90
* gfortran.dg/array_1.f90: Renamed from array-1.f90
* gfortran.dg/assign_8.f90: Renamed from assign_4.f90
* gfortran.dg/backspace_1.f: Renamed from backspace.f
* gfortran.dg/backspace_7.f90: Renamed from backspace.f90
* gfortran.dg/default_initialization_1.f: Renamed from default_initialization.f
* gfortran.dg/dollar_edit_descriptor_1.f: Renamed from dollar_edit_descriptor-1.f
* gfortran.dg/dollar_edit_descriptor_2.f: Renamed from dollar_edit_descriptor-2.f
* gfortran.dg/dollar_edit_descriptor_3.f: Renamed from dollar_edit_descriptor-3.f
* gfortran.dg/logint_1.f: Renamed from logint-1.f
* gfortran.dg/logint_2.f: Renamed from logint-2.f
* gfortran.dg/logint_3.f: Renamed from logint-3.f

From-SVN: r120035
2006-12-18 16:46:46 -08:00
Bill Wendling
5dfae29be4 p11144.C: Renamed id to ID because id is an OjbC keyword.
2006-12-18  Bill Wendling  <wendling@apple.com>

       * g++.old-deja/g++.mike/p11144.C: Renamed id to ID because
       id is an OjbC keyword.

From-SVN: r120033
2006-12-19 00:31:39 +00:00
GCC Administrator
eff4af7ee6 Daily bump.
From-SVN: r120029
2006-12-19 00:17:39 +00:00
Ben Elliston
63f41b8674 * config/spu/spu.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
From-SVN: r120020
2006-12-19 10:28:41 +11:00
Ben Elliston
73ca11ed04 * cse.c (cse_insn): Fix formatting.
From-SVN: r120019
2006-12-19 09:54:43 +11:00
Kaveh R. Ghazi
81617385f7 builtin-pow-mpfr-1.c: New test.
* gcc.dg/torture/builtin-pow-mpfr-1.c: New test.

From-SVN: r120018
2006-12-18 22:45:56 +00:00
Brooks Moses
b125079071 * gfortran.dg/advance_3.f90: Add dg-do compile directive.
From-SVN: r120016
2006-12-18 14:19:00 -08:00
Geoffrey Keating
ec75a430b0 invoke.texi (Debugging Options): Document -g0.
* doc/invoke.texi (Debugging Options): Document -g0.
	* config/darwin.h (LINK_COMMAND_SPEC): Replace -gnone with -g0.
	* config/darwin9.h (LINK_COMMAND_SPEC): Likewise.

From-SVN: r120013
2006-12-18 21:10:16 +00:00
Ian Lance Taylor
dfdec7a705 c.opt (Wmissing-declarations): Add C++ and ObjC++.
./:	* c.opt (Wmissing-declarations): Add C++ and ObjC++.
	* doc/invoke.texi (Warning Options): -Wmissing-declarations now
	works for C++.
cp/:
	* decl.c (start_preparsed_function): Add support for
	-Wmissing-declarations.
testsuite:
	* g++.dg/warn/Wmissing-declarations-1.C: New test.

From-SVN: r120012
2006-12-18 19:56:58 +00:00
Roger Sayle
ecc54e6eab trans-array.c (gfc_conv_array_index_offset): Avoid multiplying index by one, or adding zero to it.
* trans-array.c (gfc_conv_array_index_offset): Avoid multiplying
	index by one, or adding zero to it.

From-SVN: r120011
2006-12-18 19:34:23 +00:00
Andrew MacLeod
79f99d4276 Add memory reuse to virtual operands in the operand scanner.
2006-12-18  Andrew MacLeod  <amacleod@redhat.com>

	* tree-ssa-operands.h (struct vdef_optype_d): Rename to voptype_d.
	(struct vuse_optype_d): Delete.
	(SSA_OPERAND_MEMORY_SIZE): Delete.
	(struct ssa_operand_memory_d): Change mem array to size one.
	(NUM_VOP_FREE_BUCKETS): Define.
	(free_vuses, free_vdefs): Replace with vop_free_buckets array.
	(vdef_ops, vuse_ops, struct ssa_operand_iterator_d): Use voptype_d type.
	* tree-pretty-print.c (dump_vops): Use voptype_d type.
	* tree-ssa-operands.c (vop_free_bucket_size): New.  Number of operands
	which fit into a chunk of memory from a specific bucket.
	(vop_free_bucket_index): New.  Find correct size memory bucket.
	(init_vop_buckets): New.  Initialize VOP free memory buckets.
	(add_vop_to_freelist): New.  Add a VOP to the correct free list.
	(ssa_operand_mem_size): New.  Current size of an operand memory chunk.
	(init_ssa_operands): Initialize operand memory and free lists.
	(fini_ssa_operands): Remove references to free_vuses and free_vdefs.
	(ssa_operand_alloc): Use graduated size memory allocation.
	(APPEND_OP_AFTER, MOVE_HEAD_AFTER, MOVE_HEAD_TO_FREELIST, 
	INITIALIZE_USE): Remove.
	(alloc_vop): New.  Allocate a virtual operand.
	(alloc_vdef, alloc_vuse): Delete.
	(add_def_op, add_use_op): Directly setup pointers.
	(add_vop): New.  Add a virtual operand.
	(add_vuse_op, add_vdef_op): Call add_vop.
	(realloc_vop): New.  Reallocate a virtual operand.
	(realloc_vdef, realloc_vuse): Call realloc_vop.
	(finalize_ssa_def_ops): Delete.  Move content to finalize_ssa_defs.
	(finalize_ssa_defs): Optimize for common case, remove code based on
	sorted pointers which was a waste of time.
	(finalize_ssa_use_ops): Delete.  Move content to finalize_ssa_uses.
	(finalize_ssa_uses): Update last pointer.
	(finalize_ssa_vdef_ops): Delete.  Move content to finalize_ssa_vdefs.
	(finalize_ssa_vdefs, finalize_ssa_vuse_ops): Use voptype_d and
	directly manipulate pointers.
	(copy_virtual_operands): Use voptype_d, and no need to update pointers.

From-SVN: r120009
2006-12-18 16:21:08 +00:00
Adam Megacz
85bf4c61f4 Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS...
2006-12-18  Adam Megacz <megacz@cs.berkeley.edu>

        * Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS; it causes
        -I/usr/include to wind up in cross-builds
        * configure: Regenerate.

From-SVN: r120006
2006-12-18 15:00:00 +00:00
Nathan Sidwell
2284bd2b66 rs6000.md (*movdf_hardfloat32): Use %X format to determine if memory operand is an indexed address or not.
* config/rs6000/rs6000.md (*movdf_hardfloat32): Use %X format to
	determine if memory operand is an indexed address or not.

From-SVN: r120003
2006-12-18 09:53:33 +00:00
GCC Administrator
3b4212c1eb Daily bump.
From-SVN: r120000
2006-12-18 00:18:03 +00:00
Steven Bosscher
757bbef814 cselib.c (struct cselib_val_struct): Make val_rtx its own field, remove the union that contained it.
* cselib.c (struct cselib_val_struct): Make val_rtx its
	own field, remove the union that contained it.
	* cselib.c: Update accordingly where necessary.

From-SVN: r119994
2006-12-17 22:57:04 +00:00
Steven Bosscher
a7582f7c6d cse.c (have_eh_succ_edges): New function.
* cse.c (have_eh_succ_edges): New function.
	(cse_insn): Don't remove dead EH edges here
	(cse_extended_basic_block): Do it here.
	(rest_of_handle_cse, rest_of_handle_cse2): Don't assert
	that we have removed all dead edges.

From-SVN: r119993
2006-12-17 20:27:25 +00:00
Eric Botcazou
d3f1be5dcd pr27528.c: Use empty templates.
* gcc.c-torture/compile/pr27528.c: Use empty templates.

From-SVN: r119991
2006-12-17 19:58:27 +00:00
Roger Sayle
fcd443200b re PR fortran/30207 (ICE in gfc_dep_resolver with where (a < 0) a(:) = 1)
2006-12-17  Roger Sayle  <roger@eyesopen.com>
	    Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/30207
	* dependency.c (gfc_full_array_ref_p): New function to test whether
	the given array ref specifies the entire array.
	(gfc_dep_resolver): Use gfc_full_array_ref_p to analyze AR_FULL
	array refs against AR_SECTION array refs, and vice versa.
	* dependency.h (gfc_full_array_ref_p): Prototype here.
	* trans-array.c (gfc_conv_expr_descriptor): Use gfc_full_array_ref_p.

	* gfortran.fortran-torture/execute/where21.f90: New test.

From-SVN: r119990
2006-12-17 18:28:07 +00:00
Tobias Burnus
2ef73bb4ef associated.c: Check for associated(NULL,NULL).
2006-12-17  Tobias Burnus  <burnus@net-b.de>

    * intrinsics/associated.c: Check for associated(NULL,NULL).

2006-12-17  Tobias Burnus  <burnus@net-b.de>

    * gfortran.dg/associated_2.f90: Add test for associated(NULL,NULL).

From-SVN: r119989
2006-12-17 19:00:46 +01:00
Matthias Klose
23f351630b re PR libstdc++/11953 (_REENTRANT defined when compiling non-threaded code.)
2006-12-17  Matthias Klose  <doko@debian.org>

        PR libstdc++/11953
        * gcc/config/mips/linux.h (SUBTARGET_CPP_SPEC): Extend.

From-SVN: r119986
2006-12-17 13:46:58 +00:00