Commit Graph

74096 Commits

Author SHA1 Message Date
Paolo Bonzini
dedfa46611 re PR bootstrap/26500 (info/gfortran.info is no longer being installed)
2006-03-08  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/26500
	* Makefile.in (dvi, html, install-info): Invoke the corresponding
	language hook targets.
	* ada/Make-lang.in, cp/Make-lang.in, objc/Make-lang.in,
	objcp/Make-lang.in: Create stub rules for dvi, html, install-info
	if language hook targets were missing.

From-SVN: r111845
2006-03-08 16:10:44 +00:00
Tom Tromey
7932e89ee1 re PR libgcj/24183 (xmlj code not properly built)
PR libgcj/24183:
	* native/jni/xmlj/Makefile.in: Rebuilt.
	* native/jni/xmlj/Makefile.am (nativelib_LTLIBRARIES): Renamed
	(reverted local patch).

From-SVN: r111844
2006-03-08 15:03:48 +00:00
Zdenek Dvorak
ac574e1b47 tree-ssa-opfinalize.h: Removed.
* tree-ssa-opfinalize.h: Removed.
	* Makefile.in (tree-ssa-operands.o): Remove tree-ssa-opfinalize.h
	dependency.
	* tree-ssa-operands.c: Do not include tree-ssa-opfinalize.h.
	(ALLOC_OPTYPE, APPEND_OP_AFTER, MOVE_HEAD_AFTER, MOVE_HEAD_TO_FREELIST,
	INITIALIZE_USE, add_def_op, add_use_op, add_vuse_op, add_maydef_op,
	add_mustdef_op, finalize_ssa_def_ops, finalize_ssa_use_ops,
	finalize_ssa_v_may_def_ops, finalize_ssa_vuse_ops,
	finalize_ssa_v_must_def_ops): New.

From-SVN: r111843
2006-03-08 13:09:15 +00:00
Paolo Carlini
634a11f7bf Implement the resolution of DR 455, [DR].
2006-03-08  Paolo Carlini  <pcarlini@suse.de>

	Implement the resolution of DR 455, [DR].
	* src/ios_init.cc (ios_base::Init::Init()): Do it.
	* testsuite/27_io/objects/char/dr455.cc: New.
	* testsuite/27_io/objects/wchar_t/dr455.cc: Likewise.
	* docs/html/ext/howto.html: Add an entry for DR 455.

From-SVN: r111842
2006-03-08 09:44:56 +00:00
Kenneth Zadeck
50d5ff7d8f df-scan.c: (df_bb_refs_record): Fix obvious typo with wrong block as parameter.
2006-03-07  Kenneth Zadeck <zadeck@naturalbridge.com>

    * df-scan.c: (df_bb_refs_record): Fix obvious typo with wrong
    block as parameter.

From-SVN: r111837
2006-03-08 02:29:18 +00:00
Geoffrey Keating
cd55445430 * varasm.c (assemble_end_function): Say that 'fnname' is unused.
From-SVN: r111836
2006-03-08 01:26:21 +00:00
GCC Administrator
fa03273115 Daily bump.
From-SVN: r111831
2006-03-08 00:17:50 +00:00
Geoffrey Keating
dbde310dda i386.c (ix86_delegitimize_address): Handle Darwin addresses with offsets; reorganize.
* config/i386/i386.c (ix86_delegitimize_address): Handle Darwin
	addresses with offsets; reorganize.

From-SVN: r111826
2006-03-08 00:14:54 +00:00
Geoffrey Keating
fb638355db dwarf2out.c (DWARF2_FRAME_REG_OUT): Move up in file.
* dwarf2out.c (DWARF2_FRAME_REG_OUT): Move up in file.
	(expand_builtin_dwarf_sp_column): Call DWARF2_FRAME_REG_OUT.
	(expand_builtin_init_dwarf_reg_sizes): Likewise.

From-SVN: r111825
2006-03-08 00:03:32 +00:00
David Billinghurst
0f04768574 re PR target/26588 (gfortran -fopenmp passes unrecognised -pthread)
2006-03-08  David Billinghurst <David.Billinghurst@riotinto.com>
 
	PR target/26588
	* config/i386/cygwin.h (GOMP_SELF_SPECS): Define.

From-SVN: r111824
2006-03-07 23:51:34 +00:00
Ben Elliston
c18f0c265d * config/fp-bit.h (CMPtype): Typedef to a word mode integer.
From-SVN: r111823
2006-03-08 10:41:00 +11:00
Tom Tromey
9fe2e733d2 re PR libgcj/26103 (Wrong exception thrown)
PR libgcj/26103:
	* java/lang/ClassLoader.java (loadClass): Don't throw
	StringIndexOutOfBoundsException if name is empty.
	* java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
	if class not found.

From-SVN: r111820
2006-03-07 21:39:44 +00:00
Aldy Hernandez
48fa302999 re PR middle-end/26238 (passes.texi does not document the openMP lowering pass)
PR gomp/26238
	* doc/passes.texi (Tree-SSA passes): Document omp lowering and
	expansion.

From-SVN: r111818
2006-03-07 19:20:32 +00:00
David Daney
7049584f1a * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
From-SVN: r111816
2006-03-07 18:40:06 +00:00
David Daney
1cfdf07f8e * link.cc: Include ffi.h if USE_LIBFFI defined.
From-SVN: r111815
2006-03-07 18:04:04 +00:00
Paolo Carlini
3577e3eafb cmath: Add C99 overloads.
2006-03-07  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/cmath: Add C99 overloads.
	* include/tr1/common.h (struct __promote_3): Add.
	* testsuite/tr1/8_c_compatibility/cmath/overloads.cc: New.

	* testsuite/tr1/8_c_compatibility/cmath/functions.cc: Tweak.
	* testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise.

From-SVN: r111813
2006-03-07 16:53:44 +00:00
Jeff Law
43e12534bf 20030730-1.c: Temporarily xfail.
* gcc.dg/tree-ssa/20030730-1.c: Temporarily xfail.
        * gcc.dg/tree-ssa/20030730-2.c: Likewise.
        * gcc.dg/tree-ssa/20030807-2.c: Likewise.

From-SVN: r111812
2006-03-07 09:42:08 -07:00
Richard Guenther
6f1be8e1f4 re PR tree-optimization/26587 (strict aliasing incorrectly pre-loads an array element with loops)
2006-03-07  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/26587
	* tree-ssa-structalias.c (handle_ptr_arith): Handle MINUS_EXPR.

	* gcc.dg/torture/pr26587.c: New testcase.

From-SVN: r111808
2006-03-07 16:23:38 +00:00
Richard Sandiford
6410fb814b * varasm.c (assemble_variable): Fix setting of DECL_IN_TEXT_SECTION.
From-SVN: r111805
2006-03-07 13:56:31 +00:00
Richard Sandiford
1d3dbd99b6 hooks.c (hook_bool_mode_rtx_true): New function.
* hooks.c (hook_bool_mode_rtx_true): New function.
	* hooks.h (hook_bool_mode_rtx_true): Declare.
	* toplev.c (compile_file): Call output_shared_constant_pool.
	* varasm.c (shared_constant_pool): New variable.
	(assemble_start_function, assemble_end_function): Remove arguments
	from call to output_constant_pool.
	(create_constant_pool): New function, split out from...
	(init_varasm_status): ...here.
	(force_const_mem): Choose between the shared and per-function constant
	pools.  Set current_function_uses_const_pool when reusing old entries
	as well as when creating new ones.
	(mark_constant): Ignore data argument.
	(mark_constants): Remove pool argument.
	(mark_constant_pool): Likewise.  Use current_function_uses_const_pool
	to decide whether the function uses a constant pool.
	(output_constant_pool_contents): New function, split out from...
	(output_constant_pool): ...here.
	(output_shared_constant_pool): New function.
	(init_varasm_once): Initialize shared_constant_pool.
	* output.h (output_constant_pool): Delete.
	(output_shared_constant_pool): Declare.
	* config/s390/s390-protos.h (s390_output_constant_pool): Delete.
	* config/i386/i386.c (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Override.

From-SVN: r111804
2006-03-07 07:41:39 +00:00
Erik Edelmann
06af4f5d20 Corrected dates in recent ChangeLog entries in fortran/Changelog and
testsuite/Changelog.

From-SVN: r111803
2006-03-07 00:45:23 +00:00
GCC Administrator
e85d6e22a0 Daily bump.
From-SVN: r111801
2006-03-07 00:17:35 +00:00
Paul Thomas
42a0e16c2d trans-array.c (gfc_trans_dealloc_allocated): New function.
fortran/
2005-03-06  Paul Thomas  <pault@gcc.gnu.org>
            Erik Edelmann  <eedelman@gcc.gnu.org>

        * trans-array.c (gfc_trans_dealloc_allocated): New function.
        (gfc_trans_deferred_array): Use it, instead of inline code.
        * trans-array.h: Prototype for gfc_trans_dealloc_allocated().
        * trans-expr.c (gfc_conv_function_call): Deallocate allocated
        ALLOCATABLE, INTENT(OUT) arguments upon procedure entry.


testsuite/
2005-03-06  Paul Thomas  <pault@gcc.gnu.org>
            Erik Edelmann  <eedelman@gcc.gnu.org>

        * gfortran.dg/allocatable_dummy_1.f90: Take into account that
        INTENT(OUT) arguments shall be deallocated upon procedure entry.


Co-Authored-By: Erik Edelmann <eedelman@gcc.gnu.org>

From-SVN: r111795
2006-03-06 23:12:41 +00:00
Paul Thomas
c09a1bf1a2 Remove svn:executable from gfortran.dg/parent_result_ref_3.f90
From-SVN: r111794
2006-03-06 23:04:20 +00:00
Paul Thomas
5f20c93a30 re PR fortran/26107 (ICE after error message on invalid code)
2006-03-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/26107
	* resolve.c (resolve_function): Add name after test for pureness.

	PR fortran/19546
	* trans-expr.c (gfc_conv_variable): Detect reference to parent result,
	store current_function_decl, replace with parent, whilst calls are
	made to gfc_get_fake_result_decl, and restore afterwards. Signal this
	to gfc_get_fake_result_decl with a new argument, parent_flag.
	* trans-stmt.c (gfc_trans_return): gfc_get_fake_result_decl 2nd arg
	is set to zero.
	* trans.h: Add parent_flag to gfc_get_fake_result_decl prototype.
	* trans-decl.c (gfc_get_fake_result_decl): On parent_flag, being set,
	add decl to parent function. Replace refs to current_fake_result_decl
	with refs to this_result_decl.
	(gfc_generate_function_code): Null parent_fake_result_decl before the
	translation of code for contained procedures. Set parent_flag to zero
	in call to gfc_get_fake_result_decl.
	* trans-intrinsic.c (gfc_conv_intrinsic_len): The same.

2006-03-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/26107
	* pure_dummy_length_1.f90: New test.

	PR fortran/19546
	* gfortran.dg/parent_result_ref_1.f90: New test.
	* gfortran.dg/parent_result_ref_2.f90: New test.
	* gfortran.dg/parent_result_ref_3.f90: New test.
	* gfortran.dg/parent_result_ref_4.f90: New test.

From-SVN: r111793
2006-03-06 22:56:39 +00:00
Steven G. Kargl
9202989a98 simplify.c (gfc_simplify_verify): Fix return when SET=''.
2006-03-06  Steven G. Kargl  <kargls@comcast.net>

        * simplify.c (gfc_simplify_verify):  Fix return when SET=''.
        * gfortran.dg/verify_2.f90:  New test.

From-SVN: r111791
2006-03-06 20:43:22 +00:00
Steven G. Kargl
8ffe548822 equiv_1.f90: Replace tab(s) with spaces.
2006-03-06  Steven G. Kargl  <kargls@comcast.net>

    * gfortran.dg/equiv_1.f90: Replace tab(s) with spaces.
    * gfortran.dg/arrayio_1.f90: Ditto. 
    * gfortran.dg/pr25603.f: Ditto.
    * gfortran.dg/assumed_dummy_2.f90: Ditto.
    * gfortran.dg/equiv_2.f90: Ditto.
    * gfortran.dg/arrayio_2.f90: Ditto.
    * gfortran.dg/namelist_14.f90: Ditto.
    * gfortran.dg/g77/cpp6.f: Ditto.
    * gfortran.dg/g77/cpp5inc.h: Ditto.
    * gfortran.dg/g77/cpp5.F: Ditto.
    * gfortran.dg/g77/cpp5.h: Ditto.
    * gfortran.dg/namelist_15.f90: Ditto.
    * gfortran.dg/badline.f: Ditto.
    * gfortran.dg/sibling_dummy_procedure_1.f90: Ditto.
    * gfortran.dg/sibling_dummy_procedure_2.f90: Ditto.
    * gfortran.dg/backspace_6.f: Ditto.
    * gfortran.dg/altreturn_1.f90: Ditto.
    * gfortran.dg/entry_4.f90: Ditto.
    * gfortran.dg/implicit_5.f90: Ditto.

From-SVN: r111790
2006-03-06 20:39:05 +00:00
Paolo Carlini
e3dfd6d555 re PR target/26532 (libmudflap failures on ia64)
2006-03-06  Paolo Carlini  <pcarlini@suse.de>

	PR target/26532
	* config/io/c_io_stdio.h (struct __ios_flags): Remove.
	* include/bits/ios_base.h: Adjust consistently.
	(ios_base::_S_local_word_size): Change to an anonymous enum.
	* src/ios.cc: Do not define static const data of __ios_flags,
	likewise for ios_base::_S_local_word_size.	
	* include/bits/locale_classes.h (locale::_S_categories_size):
	Change to an anonymous enum.
	* src/locale.cc: Don't define.

From-SVN: r111789
2006-03-06 18:06:47 +00:00
Nick Clifton
7d14f0fcec * config/m32r/m32r.h (OPTIMIZATION_OPTIONS): Remove reference to flag_strength_reduce.
From-SVN: r111786
2006-03-06 11:13:25 +00:00
Volker Reichelt
a3c5267cab re PR c++/15759 (ICE with function pointers)
PR c++/15759
	* tree.c (bot_manip): Don't call mark_used.

	* g++.dg/other/default4.C: New test.

From-SVN: r111754
2006-03-06 02:01:29 +00:00
Ben Elliston
c92f986f5f * config/dfp-bit.h (LIBGCC2_WORDS_BIG_ENDIAN): Define.
From-SVN: r111753
2006-03-06 12:34:05 +11:00
Ben Elliston
8c82d48427 Comment tweak/update.
From-SVN: r111752
2006-03-06 12:24:20 +11:00
Ben Elliston
45b9a4e849 config.gcc: Add t-dfprules to $tmake_file for i*86-*-linux* and x86_64-*-linux* configurations.
* config.gcc: Add t-dfprules to $tmake_file for i*86-*-linux* and
	x86_64-*-linux* configurations.

From-SVN: r111751
2006-03-06 12:23:17 +11:00
Ben Elliston
d9b9633d19 * config/dfp-bit.h (CMPtype): Typedef to a word mode integer.
From-SVN: r111750
2006-03-06 11:49:58 +11:00
GCC Administrator
150eda7050 Daily bump.
From-SVN: r111748
2006-03-06 00:19:16 +00:00
Erik Edelmann
aa08038dda re PR fortran/16136 (Conflicting attributes ALLOCATABLE, DUMMY (F2003))
fortran/
2005-03-05  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/16136
        * symbol.c (conf_std): New macro.
        (check_conflict): Use it to allow ALLOCATABLE dummy
        arguments for F2003.
        * trans-expr.c (gfc_conv_function_call): Pass the
        address of the array descriptor when dummy argument is
        ALLOCATABLE.
        * interface.c (compare_allocatable): New function.
        (compare_actual_formal): Use it.
        resolve.c (resolve_deallocate_expr,
        resolve_allocate_expr): Check that INTENT(IN) variables
        aren't (de)allocated.
        * gfortran.texi (Fortran 2003 status): List ALLOCATABLE
        dummy arguments as supported.

testsuite/
2005-03-05  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/16136
        * allocatable_dummy_1.f90: New.
        * allocatable_dummy_2.f90: New.

From-SVN: r111741
2006-03-05 19:24:48 +00:00
Jerry DeLisle
68c9b7d60a re PR fortran/26554 ([gfortran] incorrect behaviour when reading a logical variable from a string)
2006-03-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/26554
	* gfortran.dg/read_logical.f90: New test.

From-SVN: r111739
2006-03-05 18:00:22 +00:00
Jerry DeLisle
03e957f8c8 re PR fortran/26554 ([gfortran] incorrect behaviour when reading a logical variable from a string)
2006-03-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/26554
	* io/list_read.c (read_logical): Return the value if not in namelist
	mode.

From-SVN: r111738
2006-03-05 17:54:07 +00:00
Kazu Hirata
0bf8477d98 function.c (use_return_register): Make it static.
* function.c (use_return_register): Make it static.
	* function.h: Remove the prototype.

From-SVN: r111737
2006-03-05 17:42:47 +00:00
Kazu Hirata
a678e384b9 flow.c (recompute_reg_usage): Make it static.
* flow.c (recompute_reg_usage): Make it static.
	* rtl.h: Remove the prototype for recompute_reg_usage.

From-SVN: r111736
2006-03-05 17:41:48 +00:00
Kazu Hirata
b00bf1661f cfgloop.c (cancel_loop): Make it static.
* cfgloop.c (cancel_loop): Make it static.
	* cfgloop.h: Remove the prototype for cancel_loop.

From-SVN: r111735
2006-03-05 17:40:40 +00:00
Kazu Hirata
acfc4f0a85 tree-ssa-threadupdate.c (rediscover_loops_after_threading): Remove.
* tree-ssa-threadupdate.c (rediscover_loops_after_threading):
	Remove.
	* basic-block.h: Remove the extern for
	rediscover_loops_after_threading.

From-SVN: r111734
2006-03-05 17:31:20 +00:00
Kazu Hirata
d42ee77ad0 recog.c (volatile_mem_p, [...]): Remove.
* recog.c (volatile_mem_p, validate_change_maybe_volatile):
	Remove.
	* recog.h: Remove the prototype for
	validate_change_maybe_volatile.

From-SVN: r111731
2006-03-05 06:01:33 +00:00
Kazu Hirata
dc782dcd16 rtlanal.c (replace_reg): Remove.
* rtlanal.c (replace_reg): Remove.
	* rtl.h: Remove the prototype for replace_reg.

From-SVN: r111730
2006-03-05 05:59:55 +00:00
Kazu Hirata
3c491cab15 regclass.c (reg_scan_update): Remove.
* regclass.c (reg_scan_update): Remove.
	(reg_scan_mark_refs): Remove the last argument.
	* rtl.h: Remove the prototype for reg_scan_update.

From-SVN: r111729
2006-03-05 05:58:50 +00:00
GCC Administrator
76ddc688ca Daily bump.
From-SVN: r111727
2006-03-05 00:18:30 +00:00
Kazu Hirata
c0220ea4c5 builtins.c, [...]: Fix comment typos.
* builtins.c, c-pragma.h, c-typeck.c, cgraph.c, cgraphunit.c,
	combine.c, common.opt, config/dfp-bit.c, config/i386/i386.c,
	config/m68k/m68k.c, config/m68k/m68k.md, config/mt/mt.c,
	config/mt/mt.h, config/s390/s390.md, df-core.c, df-problems.c,
	df-scan.c, df.h, diagnostic.c, expr.c, function.h, gimplify.c,
	loop-invariant.c, omp-low.c, opts.c, passes.c,
	rtl-factoring.c, rtlanal.c, struct-equiv.c, tree-cfgcleanup.c,
	tree-ssa-loop-niter.c, tree-ssa-loop-prefetch.c,
	tree-ssa-structalias.c, tree-ssa-threadedge.c,
	tree-ssa-threadupdate.c, tree-vect-patterns.c,
	tree-vect-transform.c, tree-vectorizer.h, tree-vrp.c,
	unwind-dw2.c: Fix comment typos.  Follow spelling conventions.

From-SVN: r111721
2006-03-04 23:05:24 +00:00
Laurent GUERBY
8156c8b0b9 norun.lst: cdd2a03 now passes.
2006-03-04  Laurent GUERBY <laurent@guerby.net>

        * ada/acats/norun.lst: cdd2a03 now passes.

From-SVN: r111719
2006-03-04 22:26:21 +00:00
Andrew Pinski
00fee132a4 re PR testsuite/25177 (gcc.target/powerpc/pr18096-1.c fails on PPC)
2006-03-04  Andrew Pinski  <pinskia@physics.uc.edu>

        PR testsuite/25177
        * gcc.target/powerpc/pr18096-1.c: Change where the error
        would match.

From-SVN: r111717
2006-03-04 12:24:17 -08:00
Kazu Hirata
ae3b9f19a2 dwarf2out.c (dwarf2out_add_library_unit_info): Remove.
* dwarf2out.c (dwarf2out_add_library_unit_info): Remove.
	* dwarf2out.h: Remove the prototype for
	dwarf2out_add_library_unit_info.

From-SVN: r111716
2006-03-04 20:07:18 +00:00