Commit Graph

74077 Commits

Author SHA1 Message Date
Mark Wielaard
8aa540d2f7 Imported GNU Classpath 0.90
Imported GNU Classpath 0.90
       * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
       * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
       * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
       * java/lang/Math.java: New override file.
       * java/lang/Character.java: Merged from Classpath.
       (start, end): Now 'int's.
       (canonicalName): New field.
       (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
       (UnicodeBlock): Added argument.
       (of): New overload.
       (forName): New method.
       Updated unicode blocks.
       (sets): Updated.
       * sources.am: Regenerated.
       * Makefile.in: Likewise.

From-SVN: r111942
2006-03-10 21:46:48 +00:00
Aldy Hernandez
27079765d0 configure.in: Handle --disable-<component> generically.
* configure.in: Handle --disable-<component> generically.
	* configure: Regenerate.

From-SVN: r111941
2006-03-10 21:32:39 +00:00
Adam Nemet
a859786636 genpreds.c (write_insn_constraint_len): Change definition of insn_constraint_len to return size_t to match the declaration.
* genpreds.c (write_insn_constraint_len): Change definition of
	insn_constraint_len to return size_t to match the declaration.

From-SVN: r111940
2006-03-10 20:22:05 +00:00
DJ Delorie
8e4edce73f m32c.c (m32c_const_ok_for_constraint_p): Bit numbers start at zero.
* config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Bit numbers
start at zero.
(m32c_expand_insv): Fix test for an AND mask.

From-SVN: r111937
2006-03-10 12:49:02 -05:00
Richard Guenther
891c0eeed7 re PR middle-end/26565 (Unaligned accesses with __attribute__(packed) and memcpy)
2006-03-10  Richard Guenther  <rguenther@suse.de>

	PR middle-end/26565
	* builtins.c (get_pointer_alignment): Handle component
	references for field alignment.

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

From-SVN: r111934
2006-03-10 16:44:01 +00:00
J"orn Rennecke
8c1aaf261b config.gcc (sh*-superh-elf, [...]): Use newlib.h when building with libgloss.
* config.gcc (sh*-superh-elf, sh*elf (newlib)): Use newlib.h
	when building with libgloss.
	(sh*elf): Implement --without-fp option.
	(sh64-superh-linux*): Don't multilib.

From-SVN: r111933
2006-03-10 16:07:29 +00:00
Paolo Carlini
9a7ab578fb cmath: Add atan2 and pow bits; add using declarations.
2006-03-10  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/cmath: Add atan2 and pow bits; add using declarations.	
	* include/tr1/math.h: Add using declarations.
	* include/tr1/complex: Add using declarations.
	* testsuite/tr1/8_c_compatibility/cmath/functions.cc: Fully
	qualify calls.
	* testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Likewise;
	add atan2 and pow bits.
	* testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise.
	* testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Likewise;
	adjust polar bits.

	* acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add checks for double_t
	and float_t typedefs.
	* include/tr1/cmath: Add double_t and float_t.
	* testsuite/tr1/8_c_compatibility/cmath/types.cc: New.

	* include/tr1/ctgmath: New.
	* include/tr1/tgmath.h: Likewise.
	* include/Makefile.am: Add.
	* testsuite/tr1/headers.cc: Update.

	* include/Makefile.in: Regenerate.
	* configure: Likewise.

	* docs/html/ext/tr1.html: Update.

From-SVN: r111931
2006-03-10 13:24:57 +00:00
J"orn Rennecke
7a6164d4fe * struct-equiv.c (rtx_equiv_p): Fix POST_MODIFY case.
From-SVN: r111929
2006-03-10 10:58:22 +00:00
Jerry DeLisle
5d54b732db re PR libfortran/26499 (gfortran - End of File incorrectly positioned after binary I/O.)
2006-03-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/26499
	* gfortran.dg/write_back.f: New test.
	* gfortran.dg/write_rewind_1.f: New test.
	* gfortran.dg/write_rewind_2.f: New test.

From-SVN: r111925
2006-03-10 03:23:28 +00:00
Jerry DeLisle
99c6db71de re PR libfortran/26499 (gfortran - End of File incorrectly positioned after binary I/O.)
2006-03-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/26499
	* io/file_pos (st_rewind): Flush always.
	* io/unix.c (fd_truncate): Return SUCCESS rather than FAILURE for
	special files like /dev/null.
	* io/transfer.c (st_write_done): Remove broken logic that prevented
	calling fd_truncate.

From-SVN: r111924
2006-03-10 03:15:36 +00:00
Eric Christopher
d1781ab0f5 20060309-1.c: New.
2006-03-09  Eric Christopher  <echristo@apple.com>
        * gcc.c-torture/compile/20060309-1.c: New.

From-SVN: r111922
2006-03-10 01:53:32 +00:00
Andrew Pinski
3e0a08d711 tree-ssa-phiopt.c (tree_ssa_phiopt): Add cfgchanged variable.
2006-03-09  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-phiopt.c (tree_ssa_phiopt): Add cfgchanged variable.
        Set it when one of the replacement functions returned true.
        Return TODO_cleanup_cfg if cfgchanged is true.
        (pass_phiopt) <todo_flags_finish>: Remove TODO_cleanup_cfg.

From-SVN: r111920
2006-03-09 17:22:54 -08:00
Tom Tromey
0ade2ddf23 re PR libgcj/23495 (java.lang.String.equals is suboptimal)
PR libgcj/23495:
	* java/lang/natString.cc (_Jv_NewString): Use memcpy.
	(equals): Use memcmp.
	(contentEquals): Likewise.
	(getChars): Use memcpy.
	(toCharArray): Likewise.
	(regionMatches): Use memcmp.
	(regionMatches): Likewise.
	(startsWith): Likewise.
	(concat): Use memcpy.
	(valueOf): Likewise.

From-SVN: r111919
2006-03-10 00:39:49 +00:00
GCC Administrator
1e65f95848 Daily bump.
From-SVN: r111917
2006-03-10 00:17:42 +00:00
Tom Tromey
dfd8572bf7 configure: Rebuilt.
* configure: Rebuilt.
	* configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
	well.

From-SVN: r111912
2006-03-09 23:49:58 +00:00
Adam Nemet
f243cee6f1 combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate instead of gen_lowpart.
* combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate
	instead of gen_lowpart.

From-SVN: r111911
2006-03-09 23:05:50 +00:00
Erik Edelmann
17029ac2c3 trans-expr.c (gfc_add_interface_mapping): Copy 'allocatable' attribute from sym to new_sym.
fortran/
2006-03-09  Erik Edelmann  <eedelman@gcc.gnu.org>

        * trans-expr.c (gfc_add_interface_mapping): Copy 'allocatable'
        attribute from sym to new_sym.  Call build_fold_indirect_ref()
        for allocatable arguments.

testsuite/
2006-03-09  Erik Edelmann  <eedelman@gcc.gnu.org>

        * gfortran.dg/allocatable_dummy_1.f90: Test for functions returning
        arrays too.

From-SVN: r111910
2006-03-09 21:46:14 +00:00
Richard Sandiford
a8c1d5f80e mips-protos.h (mips_output_conditional_branch): Change interface.
* config/mips/mips-protos.h (mips_output_conditional_branch): Change
	interface.
	(mips_output_order_conditional_branch): Declare.
	* config/mips/mips.h (MIPS_BRANCH): New macro.
	* config/mips/mips.c (gen_conditional_branch): Use VOIDmode
	for the comparison.  Use gen_condjump.
	(mips_output_conditional_branch): Rework interface to take the
	asm templates for a direct branch and the inverse of a direct branch.
	(mips_output_order_conditional_branch): New function.
	(mips_builtin_branch_and_move): New function.
	(mips_expand_builtin_compare): Use it.  Use VOIDmode for the
	branch condition.  Use gen_single_cc as the condition for
	__builtin_mips_upper_* or __builtin_mips_lower_*.
	(mips_expand_builtin_bposge): Use mips_builtin_branch_and_move.
	Use VOIDmode for the branch condition.
	* config/mips/predicates.md (order_operator): New predicate.
	* config/mips/mips.md (UNSPEC_SINGLE_CC): New constant.
	(branch_fp): Rename to...
	(*branch_fp): ...this.  Remove mode from comparison operator.
	Use new mips_output_conditional_branch interface.
	(branch_fp_inverted): Rename to...
	(*branch_fp_inverted): ...this and update as for *branch_fp.
	(*branch_zero<mode>): Rename to...
	(*branch_order<mode>): ...this.  Remove mode from comparison operator.
	Use mips_output_order_conditional_branch.  Only accept ordered
	comparisons.  
	(*branch_zero<mode>_inverted): Rename to...
	(*branch_order<mode>_inverted): ...this and update as for
	*branch_order<mode>.
	(*branch_equality<mode>): Accept zero as the second operand to
	the equality operator.  Use the new mips_output_conditional_branch
	interface.
	(*branch_equality<mode>_inverted): Likewise.
	(condjump): New expander.
	* config/mips/mips-dsp.md (mips_bposge): Remove mode from comparison
	operator.
	* config/mips/mips-ps-3d.md (bc1any4t, bc1any4f): Likewise.
	(bc1any2t, bc1any2f): Likewise.
	(single_cc): New expander.
	(*branch_upper_lower, *branch_upper_lower_inverted): New patterns.

From-SVN: r111909
2006-03-09 21:03:17 +00:00
Tom Tromey
1fea4e6c43 re PR libgcj/24461 (array access in either GZIPInputStream, Inflater, natInflate.cc, or zlib)
PR libgcj/24461:
	* java/util/zip/InflaterInputStream.java (fill): Throw exception
	if stream is truncated.

From-SVN: r111870
2006-03-09 20:21:58 +00:00
Tom Tromey
e59a1e40f3 win32.cc (_Jv_platform_nanotime): New function.
* win32.cc (_Jv_platform_nanotime): New function.
	* include/win32.h (_Jv_platform_nanotime): Declare.
	* posix.cc (_Jv_platform_nanotime): New function.
	* include/posix.h (_Jv_platform_nanotime): Declare.
	* java/lang/natSystem.cc (nanoTime): New method.
	* java/lang/System.java (nanoTime): Declare.
	* include/config.h.in, configure: Rebuilt.
	* configure.ac: Check for clock_gettime.

From-SVN: r111869
2006-03-09 18:47:54 +00:00
Richard Sandiford
cbbb5b6da1 md.texi: Update documentation of MIPS constraints.
* doc/md.texi: Update documentation of MIPS constraints.
	* config/mips/constraints.md: New file.
	* config/mips/mips.md: Include it.
	* config/mips/mips.c (mips_char_to_class): Delete.
	(override_options): Don't initialize mips_char_to_class.
	* config/mips/mips.h (mips_char_to_class): Delete.
	(REG_CLASS_FROM_LETTER): Delete.
	(CONST_OK_FOR_LETTER_P): Delete.
	(CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
	(EXTRA_CONSTRAINT_Y): Delete.
	(EXTRA_CONSTRAINT_STR): Delete.
	(CONSTRAINT_LEN): Delete.
	(EXTRA_MEMORY_CONSTRAINT): Delete.

From-SVN: r111868
2006-03-09 18:31:08 +00:00
Richard Henderson
1799e5d5ca Merge C++ from gomp-20050608-branch.
From-SVN: r111867
2006-03-09 10:14:39 -08:00
Eric Botcazou
f8fe05458d fold-const.c (build_range_check): Make sure to use a valid type to apply the "(c>=low) && (c<=high) into...
* fold-const.c (build_range_check): Make sure to use a valid type to
	apply the "(c>=low) && (c<=high) into (c-low>=0) && (c-low<=high-low)"
	transformation.

	(range_predecessor): New static function.
	(range_successor): Likewise.
	(merge_ranges): Use them to compute predecessors and successors of
	range bounds.

From-SVN: r111866
2006-03-09 16:11:00 +00:00
Roger Sayle
d56ee62bfe re PR middle-end/26561 (ACATS failures c34004a, c46033a and cxg2024 at -O0)
2006-03-09  Roger Sayle  <roger@eyesopen.com>
	    Eric Botcazou  <ebotcazou@libertysurf.fr>

	PR middle-end/26561
	* fold-const.c (fold_div_compare): When optimizing X/C1 op C2 as
	X op C3, consider whether C3 overflows towards +Inf or -Inf.

	* gcc.c-torture/execute/divcmp-5.c: New test case.


Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>

From-SVN: r111862
2006-03-09 14:54:11 +00:00
Paul Thomas
ad5dd90de0 re PR fortran/26257 (internal compiler error: Segmentation fault, on function call with assumed shape array parameter)
2006-03-09 Paul Thomas <pault@gcc.gnu.org>

	PR fortran/26257
	* trans-array.c (gfc_conv_expr_descriptor): Exclude calculation of
	the offset and data when se->data_not_needed is set.
	* trans.h: Include the data_not_need bit in gfc_se.
	* trans-intrinsic.c (gfc_conv_intrinsic_size): Set it for SIZE.

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

	* PR fortran/26257
	gfortran.dg/auto_char_len_3.f90: New test

From-SVN: r111860
2006-03-09 05:52:06 +00:00
DJ Delorie
07127a0a3b addsub.md (addqi3): Disparage a0/a1.
* config/m32c/addsub.md (addqi3): Disparage a0/a1.
(addpsi3): Expand to include memory operands.  Remove
reload-specific splits.
* config/m32c/bitops.md (bset_qi, bset_hi, bclr_qi): New.
(andqi3_16, andhi3_16, iorqi3_16, iorhi3_16): New.
(andqi3_24, andhi3_24, iorqi3_24, iorhi3_24): New.
(andqi3, andhi3, iorqi3, iorhi3): Convert to expanders.
(shift1_qi, shift1_hi, insv): New.
* config/m32c/cond.md (cbranchqi4, cbranchhi4): Remove.
(cbranch<mode>4, stzx_16, stzx_24_<mode>, stzx_reversed,
cmp<mode>, b<code>, s<code>, s<code>_24, movqicc, movhicc,
cond_to_int): New.
* config/m32c/m32c-protos.h: Update as needed.
* config/m32c/m32c.c (m32c_reg_class_from_constraint): Don't
default the Rcr, Rcl, Raw, and Ral constraints.  Add Ra0 and Ra1.
Fail for unrecognized R* constraints.
(m32c_cannot_change_mode_class): Be more picky about pseudos.
(m32c_const_ok_for_constraint_p): Add Imb, Imw, and I00.
(m32c_extra_constraint_p2): Allow (mem (plus (plus fb int) int)).
Add Sp constraint.
(m32c_init_libfuncs): New.
(m32c_legitimate_address_p): Add debug wrapper.
(m32c_rtx_costs): New.
(m32c_address_cost): New.
(conversions): Add 'B' prefix.
(m32c_print_operand): 'h' and 'H' pick lower and upper halves of
operands, or word regnames for QI operands.  'B' prints bit
position.
(m32c_expand_setmemhi): New.
(m32c_expand_movmemhi): New.
(m32c_expand_movstr): New.
(m32c_expand_cmpstr): New.
(m32c_prepare_shift): Shift counts are limited to 16 bits at a time.
(m32c_expand_neg_mulpsi3): Handle non-ints.
(m32c_cmp_flg_0): New.
(m32c_expand_movcc): New.
(m32c_expand_insv): New.
(m32c_scc_pattern): New.
* config/m32c/m32c.h (reg classes): Add AO_REGS and A1_REGS.  Take
a0/a1 out of SIregs.
(STORE_FLAG_VALUE): New.
* config/m32c/m32c.md: Add unspecs for string moves.  Define various mode and
code macros.
(no_insn): New.
* config/m32c/mov.md: Make constraints more liberal.
(zero_extendqihi2): Optimize r0/r1 case.
* config/m32c/muldiv.md (mulpsi3): Check for intvals.
* config/m32c/predicates.md (m32c_any_operand): New.
(m32c_nonimmediate_operand): New.
(m32c_hl_operand): New.
(m32c_r3_operand): New.
(ap_operand): New.
(ma_operand): New.
(memsym_operand): New.
(memimmed_operand): New.
(a_qi_operand): New.
(m32c_eqne_operator): New.
(m32c_1bit8_operand): New.
(m32c_1bit16_operand): New.
(m32c_1mask8_operand): New.
(m32c_1mask16_operand): New.
* config/m32c/blkmov.md: New file.
* config/m32c/t-m32c (MD_FILES): Add blkmov.

From-SVN: r111859
2006-03-08 22:09:37 -05:00
GCC Administrator
8b3a0b7198 Daily bump.
From-SVN: r111855
2006-03-09 00:17:33 +00:00
Andreas Tobler
8f4fc766fe dwarf2out.c (expand_builtin_dwarf_sp_column): Make dwarf_regnum unsigned to fix signed/unsigned comparison issue in...
2006-03-08  Andreas Tobler  <a.tobler@schweiz.ch>

	* dwarf2out.c (expand_builtin_dwarf_sp_column): Make dwarf_regnum
	unsigned to fix signed/unsigned comparison issue in
	DWARF2_FRAME_REG_OUT.
	(expand_builtin_init_dwarf_reg_sizes): Make i unsigned to fix signed/
	unsigned comparison issue in DWARF2_FRAME_REG_OUT.

From-SVN: r111850
2006-03-09 00:00:12 +01:00
Andreas Tobler
6677e18970 tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration of ptr into the ENABLE_CHECKING section.
2006-03-08  Andreas Tobler  <a.tobler@schweiz.ch>

	* tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration
	of ptr into the ENABLE_CHECKING section.

From-SVN: r111849
2006-03-08 23:58:50 +01:00
Jeff Law
60c9ad4691 tree-vrp.c (infer_value_range): Only count pointer uses and dereferences if -fdelete-null-pointer-checks is enabled.
* tree-vrp.c (infer_value_range): Only count pointer uses
	and dereferences if -fdelete-null-pointer-checks is enabled.

	* tree-vrp.c (find_assert_locations): Infer value ranges for
	single use pointers, but do not create ASSERT_EXPRs for them.
	When a non-null range is inferred for a pointer, backwards
	propagate that range to other equivalent pointers through the
	use-def chain.

	* gcc.dg/tree-ssa/20030730-1.c: No longer expected to fail.
	* gcc.dg/tree-ssa/20030730-2.c: No longer expected to fail.
	* g++.dg/tree-ssa/pr26406.C: New test.

From-SVN: r111848
2006-03-08 15:07:37 -07:00
David Daney
d6c122f73b gcj.texi: Document -static-libgcj option.
gcc/java/
2006-03-08  David Daney  <ddaney@avtrex.com>

	* gcj.texi: Document -static-libgcj option.

libjava/
2006-03-08  David Daney  <ddaney@avtrex.com>

	* configure.ac (LD): Add AC_CHECK_TOOL for ld.
	(LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
	(LD_FINISH_STATIC_SPEC): Ditto
	* configure: Regenerated.
	* libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
	LD_FINISH_STATIC_SPEC.

From-SVN: r111847
2006-03-08 20:22:02 +00:00
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