Commit Graph

70015 Commits

Author SHA1 Message Date
Ben Elliston
b089e33adc * MAINTAINERS: Update for removed CPU targets.
From-SVN: r102457
2005-07-28 13:47:15 +10:00
Aldy Hernandez
e3bdaa4127 all-builtin-read8.c: Delete.
* gcc.target/frv/all-builtin-read8.c: Delete.
        * gcc.target/frv/all-builtin-read16.c: Delete.
        * gcc.target/frv/all-builtin-read32.c: Delete.
        * gcc.target/frv/all-builtin-read64.c: Delete.
        * gcc.target/frv/all-builtin-write8.c: Delete.
        * gcc.target/frv/all-builtin-write16.c: Delete.
        * gcc.target/frv/all-builtin-write32.c: Delete.
        * gcc.target/frv/all-builtin-write64.c: Delete.
        * gcc.target/frv/all-read-write-1.c: New.

From-SVN: r102456
2005-07-28 02:05:54 +00:00
Aldy Hernandez
38c28a2564 frv.opt (moptimize-membar): New.
* config/frv/frv.opt (moptimize-membar): New.

	* doc/invoke.texi: Document -moptimize-membar and its inverse.

	* config/frv/frv.h: Remove machine_function definition.

        * config/frv/frv.c (struct frv_io): New.
        (struct machine_function): Moved from frv.h.  Add has_membar_p.
        (frv_same_doubleword_p, frv_io_fixed_order_p, frv_io_union)
        (frv_extract_membar, frv_io_check_address, frv_io_handle_set)
        (frv_io_handle_use_1, frv_io_handle_use, frv_optimize_membar_local)
        (frv_optimize_membar_global, frv_optimize_membar): New functions.
        (frv_reorg): Call frv_optimize_membar when appropriate.
        (bdesc_loads, bdesc_stores): Use the membar code as the icode field.
        (frv_expand_builtin): Adjust calls accordingly.
        (frv_io_address_cookie): New function.
        (frv_expand_load_builtin, frv_expand_store_builtin): Emit a normal
        load or store rather than a special insn.  Add ccnstant address and
        io-type operands to the membar.
	(frv_ifcvt_modify_tests): Unsign regno.
	(frv_ifcvt_modify_tests): Same.

	* config/frv/frv.md: Remove UNSPEC_BUILTIN_{LOAD,STORE}.  Change
	UNSPEC_OPTIONAL_MEMBAR constant.
	(builtin_read_<mode>): Delete.
	(builtin_write_<mode>): Delete.
	("optional_membar_<mode>"): Add operand.

	* testsuite/gcc.target/frv/all-builtin-read8.c: Delete.
	* testsuite/gcc.target/frv/all-builtin-read16.c: Delete.
	* testsuite/gcc.target/frv/all-builtin-read32.c: Delete.
	* testsuite/gcc.target/frv/all-builtin-read64.c: Delete.
	* testsuite/gcc.target/frv/all-builtin-write8.c: Delete.
	* testsuite/gcc.target/frv/all-builtin-write16.c: Delete.
	* testsuite/gcc.target/frv/all-builtin-write32.c: Delete.
	* testsuite/gcc.target/frv/all-builtin-write64.c: Delete.
	* testsuite/gcc.target/frv/all-read-write-1.c: New.

From-SVN: r102455
2005-07-28 02:03:45 +00:00
Kaz Kojima
47c504ea5b * df.c (df_uses_record): Handle SCRATCH.
From-SVN: r102454
2005-07-28 01:47:06 +00:00
Steven Bosscher
ef11c83902 re PR debug/20161 (ICE with dwarf for incomplete element type argument)
PR debug/20161
	* passes.c (rest_of_decl_compilation): If decl is a type and
	we have encountered errors, don't emit debug information.

From-SVN: r102452
2005-07-28 01:24:19 +00:00
Kenneth Zadeck
1eb68dca8c params.def: Fixed comment.
2005-07-27  Kenneth Zadeck <zadeck@naturalbridge.com>
	* params.def: Fixed comment.

From-SVN: r102451
2005-07-28 00:40:06 +00:00
GCC Administrator
c176f92a49 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r102448.2
2005-07-28 00:16:17 +00:00
Bjoern Haase
10252a625f re PR target/19885 (avr dwarf-2 support is broken for head 4.0/4.1)
PR target/19885
	* config/avr/avr.c (TARGET_ASM_ALIGNED_SI_OP): Add.
	(TARGET_ASM_UNALIGNED_HI_OP): Add.
	(TARGET_ASM_UNALIGNED_SI_OP): Add.

From-SVN: r102445
2005-07-27 22:29:46 +00:00
Steven Bosscher
e4598783b4 re PR c++/22003 (-freorder-blocks-and-partition and thunks)
PR c++/22003
	* varasm.c (assemble_start_function): Don't do anything that may
	require a CFG if the current function is a thunk.

From-SVN: r102444
2005-07-27 21:02:55 +00:00
Mark Mitchell
e37912437f Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.
* Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.
	* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_TARGET.
	* Makefile.in: Regenerated.

From-SVN: r102440
2005-07-27 20:20:09 +00:00
Mark Mitchell
7f28e312cf * mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.
From-SVN: r102439
2005-07-27 18:55:12 +00:00
Devang Patel
2c01f8df1e * name-lookup.c (pushtag): Do no set DECL_IGNORED_P bit.
From-SVN: r102437
2005-07-27 11:31:36 -07:00
Geoffrey Keating
a9fdd4720c Index: gcc/ChangeLog
2005-07-25  Geoffrey Keating  <geoffk@apple.com>

	* doc/install.texi (Prerequisites): Mention that perl is needed
	to do export control in libstdc++ targetting Darwin.

Index: libstdc++-v3/ChangeLog
2005-07-25  Geoffrey Keating  <geoffk@apple.com>

	* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
	and make it the default for Darwin.
	* scripts/make-exports.pl: New.
	* src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
	Handle darwin-export.
	* configure: Regenerate.
	* include/Makefile.in: Regenerate.
	* libmath/Makefile.in: Regenerate.
	* libsupc++/Makefile.in: Regenerate.
	* po/Makefile.in: Regenerate.
	* src/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.

From-SVN: r102435
2005-07-27 18:28:32 +00:00
Steven Bosscher
2bd1e239ee re PR rtl-optimization/17808 (Scheduler overly conservative in sched-deps)
PR rtl-optimization/17808
	* sched-deps.c (sched_get_condition): Enable #if 0'ed code.
	(sched_insns_conditions_mutex_p): Split out from...
	(add_dependence): ...here.  But don't call it from here.
	(add_dependence_list): Check sched_insns_conditions_mutex_p
	before calling add_dependence.
	(add_dependence_list_and_free): Likewise.
	(fixup_sched_groups): Likewise.
	(sched_analyze_1): Likewise.
	(sched_analyze_2): Likewise (and replace a "0" with REG_DEP_TRUE).
	(sched_analyze): Likewise.
	(sched_analyze_insn): Likewise.
	* sched-ebb.c (add_deps_for_risky_insns): Likewise.
	* sched-rgn.c (add_branch_dependences): Likewise.  Also, add
	dependencies on all COND_EXEC insns to jumps ending basic blocks
	when doing intrablock scheduling.
	* sched-int.h (sched_insns_conditions_mutex_p): Add prototype.

From-SVN: r102433
2005-07-27 16:28:34 +00:00
Jeff Law
880031e1f9 tree-vrp.c (vrp_meet): Intersect the equivalency sets when meeting a VR_ANTI_RANGE with a VR_RANGE.
* tree-vrp.c (vrp_meet): Intersect the equivalency sets when
        meeting a VR_ANTI_RANGE with a VR_RANGE.  When intersecting
        equivalency sets, correctly handle the case were vr0 has an
        equivalency set, but vr1 does not.

        * gcc.c-torture/execute/pr22630.c: New test.

From-SVN: r102432
2005-07-27 10:21:48 -06:00
Dorit Nuzman
b940ce0e35 re PR tree-optimization/23073 (testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c)
PR tree-optimization/23073
        * tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call
        vect_print_dump_info before fprintf.

From-SVN: r102431
2005-07-27 15:19:45 +00:00
Zdenek Dvorak
26c406400e re PR tree-optimization/22348 (Execution continues past end of for loop end condition with optimisation enabled)
PR tree-optimize/22348
	* tree-ssa-loop-niter.c (number_of_iterations_cond):
	Fold the partial computation.

	* gcc.c-torture/execute/pr22348.c: New.

From-SVN: r102427
2005-07-27 14:04:17 +00:00
Zdenek Dvorak
3ac01fdeef re PR tree-optimization/22325 (missed optimization in loop)
PR tree-optimization/22325
	* tree-flow.h (compute_phi_arg_on_exit, force_expr_to_var_cost):
	Declare.
	* tree-scalar-evolution.c (scev_const_prop): Add generic final
	value replacement.
	* tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Split from ...
	(force_var_cost): ... this function.
	(compute_phi_arg_on_exit): Export.

From-SVN: r102426
2005-07-27 13:26:55 +00:00
Zdenek Dvorak
77fcaf4b70 re PR tree-optimization/20773 (ICE: SEGV building jar file)
PR tree-optimization/20773
	* tree-ssa-loop-ch.c (copy_loop_headers): Select the correct latch
	edge.

From-SVN: r102425
2005-07-27 13:23:33 +00:00
Richard Guenther
c11b02311a tree-ssa-structalias.c (push_fields_onto_fieldstack): Avoid pushing again if current struct contains only fields we decomposed.
2005-07-27  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-structalias.c (push_fields_onto_fieldstack):
	Avoid pushing again if current struct contains only
	fields we decomposed.

	* gcc.dg/tree-ssa/salias-1.c: New testcase.

From-SVN: r102424
2005-07-27 11:15:32 +00:00
Jan Hubicka
093c232927 re PR tree-optimization/22574 (ICE with IMA and optimization and extern inline)
PR tree-optimization/22574
	* cgraph.c (cgraph_function_body_availability): Unanalyzed bodies are
	not available.

From-SVN: r102423
2005-07-27 10:50:59 +00:00
Volker Reichelt
6a28f513f1 re PR fortran/22503 (Suggest to use .EQV. when comparing logicals with .EQ.)
PR fortran/22503
	* resolve.c (resolve_operator): Improve diagnostic for comparison
	of logicals with invalid operator.

	* gfortran.dg/logical_comp.f90: New test.

From-SVN: r102417
2005-07-27 08:30:46 +00:00
Jan Hubicka
2350455936 tree-tailcall.c (decrease_profile): New function.
* tree-tailcall.c (decrease_profile): New function.
	(eliminate_tail_call): Use it.

	* inliner-1.c: Add cleanup of dumps.
	* val-prof-*.c: Likewise.
	* update-tailcall.c: New.

From-SVN: r102416
2005-07-27 07:40:25 +00:00
Jan Hubicka
57a7370922 cgraphunit.c (cgraph_function_and_variable_visibility): Set visibility flags correctly in whole program mode.
* cgraphunit.c (cgraph_function_and_variable_visibility): Set
	visibility flags correctly in whole program mode.

From-SVN: r102415
2005-07-27 06:45:28 +00:00
Andrew Pinski
9e52adc409 commit three of testcases which I forgot to commit.
From-SVN: r102411
2005-07-26 18:01:48 -07:00
GCC Administrator
74160ccfa5 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r102407.2
2005-07-27 00:16:19 +00:00
Steve Ellcey
b5395c33d1 re PR rtl-optimization/22472 (testsuite failure gcc.c-torture/compile/930621-1.c -O3 -funroll-loops)
PR rtl-optimization/22472
	* config/pa/pa.h (HARD_REGNO_RENAME_OK): Define.

From-SVN: r102405
2005-07-26 23:59:13 +00:00
Tom Tromey
6c8a62bbfe package.html, [...]: Removed.
* gnu/java/net/protocol/ftp/package.html,
	gnu/javax/swing/text/html/package.html,
	gnu/javax/swing/text/html/parser/package.html,
	gnu/javax/swing/text/html/parser/models/package.html,
	gnu/javax/swing/text/html/parser/support/package.html,
	gnu/javax/swing/text/html/parser/support/low/package.html,
	gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
	gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
	gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
	java/awt/geom/doc-files/CubicCurve2D-1.png,
	java/awt/geom/doc-files/CubicCurve2D-2.png,
	java/awt/geom/doc-files/CubicCurve2D-3.png,
	java/awt/geom/doc-files/CubicCurve2D-4.png,
	java/awt/geom/doc-files/CubicCurve2D-5.png,
	java/awt/geom/doc-files/Ellipse-1.png,
	java/awt/geom/doc-files/FlatteningPathIterator-1.html,
	java/awt/geom/doc-files/GeneralPath-1.png,
	java/awt/geom/doc-files/QuadCurve2D-1.png,
	java/awt/geom/doc-files/QuadCurve2D-2.png,
	java/awt/geom/doc-files/QuadCurve2D-3.png,
	java/awt/geom/doc-files/QuadCurve2D-4.png,
	java/awt/geom/doc-files/QuadCurve2D-5.png,
	javax/imageio/package.html, javax/imageio/event/package.html,
	javax/imageio/metadata/package.html,
	javax/imageio/spi/package.html, javax/imageio/stream/package.html,
	javax/swing/border/doc-files/BevelBorder-1.png,
	javax/swing/border/doc-files/BevelBorder-2.png,
	javax/swing/border/doc-files/BevelBorder-3.png,
	javax/swing/border/doc-files/EmptyBorder-1.png,
	javax/swing/border/doc-files/EtchedBorder-1.png,
	javax/swing/border/doc-files/EtchedBorder-2.png,
	javax/swing/border/doc-files/LineBorder-1.png,
	javax/swing/border/doc-files/MatteBorder-1.png,
	javax/swing/border/doc-files/MatteBorder-2.png,
	javax/swing/border/doc-files/MatteBorder-3.png,
	javax/swing/border/doc-files/MatteBorder-4.png,
	javax/swing/border/doc-files/MatteBorder-5.png,
	javax/swing/border/doc-files/MatteBorder-6.png,
	javax/swing/border/doc-files/SoftBevelBorder-1.png,
	javax/swing/border/doc-files/SoftBevelBorder-2.png,
	javax/swing/border/doc-files/SoftBevelBorder-3.png,
	javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
	javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
	javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
	javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
	javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
	javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
	javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
	javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
	javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
	javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
	javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
	javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
	javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
	javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
	javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
	javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
	javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
	javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
	javax/swing/plaf/doc-files/ComponentUI-1.dia,
	javax/swing/plaf/doc-files/ComponentUI-1.png,
	javax/swing/plaf/doc-files/TreeUI-1.png,
	javax/xml/datatype/package.html, javax/xml/namespace/package.html,
	javax/xml/parsers/package.html, javax/xml/transform/package.html,
	javax/xml/transform/dom/package.html,
	javax/xml/transform/sax/package.html,
	javax/xml/transform/stream/package.html,
	javax/xml/validation/package.html, javax/xml/xpath/package.html:
	Removed.

From-SVN: r102404
2005-07-26 23:22:38 +00:00
Steven Bosscher
86979811f3 re PR tree-optimization/22504 (benchmark - galgel fails at runtime with miscompare output)
PR tree-optimization/22504
	* tree-complex.c (expand_complex_addition): Use 'code' instead
	of MINUS_EXPR for (VARYING, ONLY_IMAG) and (ONLY_IMAG, VARYING).

From-SVN: r102401
2005-07-26 21:38:45 +00:00
Aldy Hernandez
faf9ab985c config.gcc (cpu_type): Add frv case.
* config.gcc (cpu_type): Add frv case.
	(with_cpu): Add frv400-*-*linux* and frv550-*-*linux* cases.
	(supported_defaults): Add fr550 case.

From-SVN: r102400
2005-07-26 21:22:44 +00:00
Diego Novillo
31521cd4e2 re PR tree-optimization/22591 (wrong alias information causes an incorrect redundant load elimination)
PR 22591
	* tree-ssa-alias.c (may_alias_p): Remove shortcut that tests
	whether a pointer of type T * may point to objects of type T *.

testsuite/ChangeLog

	PR 22591
	* gcc.dg/tree-ssa/pr22591.c: New test.
	* gcc.dg/tree-ssa/20030807-7.c: XFAIL everywhere.

From-SVN: r102393
2005-07-26 15:53:54 -04:00
DJ Delorie
4549941152 * configure: Regenerate.
From-SVN: r102392
2005-07-26 14:52:22 -04:00
Dale Johannesen
576a47952b postreload-gcse.c (alloc_mem): Start CUID numbering at 1.
2005-07-26  Dale Johannesen  <dalej@apple.com>

        * postreload-gcse.c (alloc_mem):  Start CUID numbering at 1.

From-SVN: r102391
2005-07-26 18:47:05 +00:00
Janis Johnson
06e8925e96 * update_version (ADD_BRANCHES): Add dfp-branch.
From-SVN: r102390
2005-07-26 16:30:54 +00:00
Mark Mitchell
526635cb4b install.texi (--with-build-sysroot): Fix grammatical error.
* doc/install.texi (--with-build-sysroot): Fix grammatical error.
	Clarify use of "build" in name.

	* Makefile.tpl (SYSROOT_CFLAGS_FOR_TARGET): New variable.
	(CFLAGS_FOR_TARGET): Use it.
	(CXXFLAGS_FOR_TARGET): Likewise.
	* Makefile.in: Regenerated.
	* configure.in (--with-build-sysroot): New option.
	* configure: Regenerated.

From-SVN: r102389
2005-07-26 15:56:56 +00:00
Aldy Hernandez
c14ff86e9c extend.texi (Raw read/write Functions): New section.
* doc/extend.texi (Raw read/write Functions): New section.
	* testsuite/gcc.target/frv/all-builtin-read8.c: New.
	* testsuite/gcc.target/frv/all-builtin-read16.c: New.
	* testsuite/gcc.target/frv/all-builtin-read32.c: New.
	* testsuite/gcc.target/frv/all-builtin-read64.c: New.
	* testsuite/gcc.target/frv/all-builtin-write8.c: New.
	* testsuite/gcc.target/frv/all-builtin-write16.c: New.
	* testsuite/gcc.target/frv/all-builtin-write32.c: New.
	* testsuite/gcc.target/frv/all-builtin-write64.c: New.
	* config/frv/frv.c: Add bdesc_loads global.
	Add bdesc_stores global.
	(frv_init_builtins): Add support for __builtin_{read/write}*.
	(frv_volatile_memref): New.
	(frv_expand_load_builtin): New.
	(frv_expand_store_builtin): New.
	* config/frv/frv.h (frv_builtins): Add FRV_BUILTIN_SCAN,
	FRV_BUILTIN_READ8, FRV_BUILTIN_READ16, FRV_BUILTIN_READ32,
	FRV_BUILTIN_READ64, FRV_BUILTIN_WRITE8, FRV_BUILTIN_WRITE16,
	FRV_BUILTIN_WRITE32, FRV_BUILTIN_WRITE64.
	* config/frv/frv.md (unspecs): Add UNSPEC_BUILTIN_LOAD,
	UNSPEC_BUILTIN_STORE, UNSPEC_OPTIONAL_MEMBAR.
	(builtin_read_<mode>): New.
	(builtin_write_<mode>): New.
	(builtin_write64): New.
	(optional_membar_<mode>): New.

From-SVN: r102388
2005-07-26 15:41:49 +00:00
J"orn Rennecke
db48745242 emit-rtl.c (gen_lowpart_common): Compare size of MODE in bits (rather than units) against HOST_BITS_PER_WIDE_INT.
* emit-rtl.c (gen_lowpart_common): Compare size of MODE in bits
	(rather than units) against HOST_BITS_PER_WIDE_INT.

From-SVN: r102387
2005-07-26 15:58:43 +01:00
Andrew Pinski
84fd360ddc re PR libobjc/22606 (Exceptions cannot be thrown from -forward::)
2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>

        PR libobjc/22606
        * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>

        PR libobjc/22606
        * objc.dg/try-catch-11.m: New test.

From-SVN: r102386
2005-07-26 07:27:33 -07:00
Kazu Hirata
a4174ebf41 calls.c, [...]: Fix comment typos.
* calls.c, fold-const.c, ipa-reference.c, ipa-type-escape.c,
	tree-ssa-reassoc.c, tree-ssa-structalias.c, vec.h,
	config/crx/crx.c, config/m32c/m32c.c, config/m32c/m32c.h: Fix
	comment typos.
	* doc/c-tree.texi, doc/tree-ssa.texi: Fix typos.

From-SVN: r102385
2005-07-26 13:53:54 +00:00
Kazu Hirata
783455db8d ipa-pure-const.c, [...]: Update FSF address.
* ipa-pure-const.c, ipa-reference.c, ipa-reference.h,
	ipa-type-escape.c, ipa-type-escape.h, ipa-utils.c,
	ipa-utils.h, treestruct.def, config/crx/crx-protos.h,
	config/crx/crx.c, config/crx/crx.h, config/crx/crx.md: Update
	FSF address.

From-SVN: r102384
2005-07-26 12:29:15 +00:00
Richard Guenther
46c0a59dfb re PR tree-optimization/22486 (Upcasts are not folded away)
2005-07-26  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/22486
	* fold-const.c (fold_unary): Fold away useless component
	references of the form (T *)&T.x, if the address
	doesn't change.

	* gcc.dg/tree-ssa/upcast-1.c: New testcase.

From-SVN: r102381
2005-07-26 07:34:58 +00:00
James E Wilson
3e2844cb07 Better debug info for inlined functions.
* dwarf2out.c (add_call_src_coords_attributes): New.
(gen_inlined_subroutine_die): Call it.
(maybe_emit_file, init_file_table): Add comments.
(prune_unused_types_walk_attribs): Pass DW_AT_call_file through
maybe_emit_file.
* tree-inline.c (remap_block): Copy BLOCK_SOURCE_LOCATION.
(expand_call_inline): Set BLOCK_SOURCE_LOCATION.
* tree.h (BLOCK_SOURCE_LOCATION): New.
(struct tree_block): New field locus.

From-SVN: r102379
2005-07-25 19:56:44 -07:00
Ian Lance Taylor
dd4f41c377 ptree.c (cxx_print_identifier): Print a leading space if the indent level is 0.
* ptree.c (cxx_print_identifier): Print a leading space if the
	indent level is 0.

From-SVN: r102378
2005-07-26 02:38:20 +00:00
GCC Administrator
9bbf1357c8 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r102376.2
2005-07-26 00:16:16 +00:00
Andreas Schwab
9275de65ab re PR rtl-optimization/23043 ([m68k-linux] bootstrap error on m68k-linux)
PR rtl-optimization/23043
	* postreload-gcse.c (eliminate_partially_redundant_load): Fix typo
	when allocating a struct unoccr.

From-SVN: r102374
2005-07-25 23:22:05 +00:00
Richard Henderson
5306ec31f5 re PR middle-end/22626 (ICE with optimization turned on while trying to exand complex multiply)
PR 22626
        * tree-complex.c (gate_no_optimization): True if errors.
        * Makefile.in (tree-complex.o): Update dependencies.

From-SVN: r102373
2005-07-25 16:04:33 -07:00
Dave Odell
7f50ddeef6 re PR libstdc++/23053 (Const-correctness issue in TR1 hashtable)
2005-07-25  Dave Odell  <evilalias@hotmail.com>

	PR libstdc++/23053
	* include/tr1/hashtable (hashtable<>::find_node): Const-ify.
	* testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.

From-SVN: r102372
2005-07-25 22:46:48 +00:00
Aldy Hernandez
bfa653b399 predicates.md (integer_register_operand): Use GPR_AP_OR_PSEUDO_P.
* config/frv/predicates.md (integer_register_operand): Use
	GPR_AP_OR_PSEUDO_P.

From-SVN: r102371
2005-07-25 21:44:21 +00:00
Andrew Pinski
43e364dd78 re PR tree-optimization/22484 (ICE: verify_stmts failed with -O3)
2005-07-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/22484
        * tree-ssa-ccp.c (fold_stmt_inplace): Strip useless type conversions
        after fold.
        * tree-ssa-propagate.c (set_rhs): Reject invalid conditional operands.
2005-07-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/22484
        * testsuite/g++.dg/opt/loop2.C: New test.

From-SVN: r102369
2005-07-25 13:27:56 -07:00
Andrew Pinski
c72f711f8a tree-ssa-reassoc.c (reassociate_expr): Allow scaler floating point types when flag_unsafe_math_optimizations is true.
2005-07-25  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-reassoc.c (reassociate_expr): Allow scaler floating point
        types when flag_unsafe_math_optimizations is true.

2005-07-25  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/tree-ssa/reassoc-3.c: New test.
        * gcc.dg/tree-ssa/reassoc-4.c: New test.

From-SVN: r102368
2005-07-25 13:23:50 -07:00