85750 Commits

Author SHA1 Message Date
Joseph Myers
56cb4a2885 * sv.po: Update.
From-SVN: r131941
2008-01-29 16:07:21 +00:00
Bernhard Fischer
ea42975314 re PR c/35002 (Incorrect spelling of "hottest")
2008-01-29  Bernhard Fischer  <aldot@gcc.gnu.org>

	PR c/35002
	* ipa-struct-reorg.c: Fix spelling.
	* params.def: Ditto.

From-SVN: r131940
2008-01-29 16:56:20 +01:00
Richard Guenther
4f5c64b8ac re PR tree-optimization/35006 (Segfault in remove_unused_locals with nested functions)
2008-01-29  Richard Guenther  <rguenther@suse.de>

	PR middle-end/35006
	* tree-inline.h (struct copy_body_data): Add remapping_type_depth
	field.
	* tree-inline.c (remap_type): Increment remapping_type_depth
	around remapping types.
	(copy_body_r): Only add referenced variables if they are referenced
	from code, not types.

	* gcc.c-torture/compile/pr35006.c: New testcase.

From-SVN: r131939
2008-01-29 15:47:19 +00:00
Douglas Gregor
7b3e2d465d re PR c++/34055 (ICE with invalid specialization of variadic template)
2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/34055
	PR c++/34103
	PR c++/34219
	PR c++/34606
	PR c++/34753
	PR c++/34754
	PR c++/34755
	PR c++/34919
	PR c++/34961
	* c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print
	qualifiers for an ERROR_MARK_NODE or a NULL_TREE.


2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/34055
	PR c++/34103
	PR c++/34219
	PR c++/34606
	PR c++/34753
	PR c++/34754
	PR c++/34755
	PR c++/34919
	PR c++/34961
	* typeck.c (check_return_expr): Tweak call to
	check_for_bare_parameter_packs.
	* class.c (add_method): Be careful with error_mark_nodes.
	* cp-tree.h (check_for_bare_parameter_packs): Remove "*" from
	signature.
	* pt.c (struct find_parameter_pack_data): Remove
	SET_PACKS_TO_ERROR.
	(find_parameter_packs_r): Don't use SET_PACKS_TO_ERROR.
	(uses_parameter_packs): Don't set SET_PACKS_TO_ERROR.
	(make_pack_expansion): Ditto.
	(check_for_bare_parameter_packs): Parameter is now a tree, not a
	tree*.
	(process_template_parm): Tweak call to
	check_for_bare_parameter_packs.  
	(push_template_decl_real): Tweak calls to
	check_for_bare_parameter_packs. If bare parameter packs are found
	in the list of exceptions, clear out that list after giving an
	error.
	* semantics.c (finish_cond): Tweak call to
	check_for_bare_parameter_packs.
	(finish_expr_stmt): Ditto.
	(finish_for_expr): Ditto.
	(finish_switch_cond): Ditto.
	(finish_mem_initializers): Ditto.
	(finish_member_declaration): Ditto.
	(finish_static_assert): Check for bare parameter packs in the
	condition.
	* decl2.c (cplus_decl_attributes): Check for bare parameter packs in the
	attributes of a declaration.
	* parser.c (cp_parser_using_declaration): Tweak call to
	check_for_bare_parameter_packs.
	(cp_parser_base_clause): Ditto.
	

2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/34055
	PR c++/34103
	PR c++/34219
	PR c++/34606
	PR c++/34753
	PR c++/34754
	PR c++/34755
	PR c++/34919
	PR c++/34961
	* g++.dg/cpp0x/vt-34219-2.C: New.
	* g++.dg/cpp0x/pr32126.C: Tweak expected error messages.
	* g++.dg/cpp0x/vt-34961.C: New.
	* g++.dg/cpp0x/vt-34055.C: Tweak error messages; add new test
	cases from the re-opened PR.
	* g++.dg/cpp0x/vt-34753.C: New.
	* g++.dg/cpp0x/vt-34919.C: New.
	* g++.dg/cpp0x/vt-34754.C: New.
	* g++.dg/cpp0x/vt-34606.C: New.
	* g++.dg/cpp0x/vt-34219.C: New.
	* g++.dg/cpp0x/pr32125.C: Tweak expected error messages.
	* g++.dg/cpp0x/vt-34755.C: New.
	* g++.dg/cpp0x/pr31438.C: Ditto.
	* g++.dg/cpp0x/variadic81.C: Ditto.

From-SVN: r131938
2008-01-29 13:59:59 +00:00
Richard Sandiford
f66816e872 pr34641.C: Put the dg-do first.
gcc/testsuite/
	* g++.dg/torture/pr34641.C: Put the dg-do first.

From-SVN: r131937
2008-01-29 10:19:01 +00:00
Richard Sandiford
4f2b2b0dce lazy-binding-1.c: Skip for mips16.
gcc/testsuite/
	* gcc.target/mips/lazy-binding-1.c: Skip for mips16.

From-SVN: r131936
2008-01-29 10:17:29 +00:00
Jason Merrill
dc5554292f re PR c++/35007 (Firefox fails to build with affentry.cpp:94: error: ISO C++ forbids subscripting non-lvalue array)
PR c++/35007
        * class.c (build_base_path): Fix !want_pointer case.

From-SVN: r131931
2008-01-29 00:50:24 -05:00
GCC Administrator
43fe0f76a7 Daily bump.
From-SVN: r131928
2008-01-29 00:17:43 +00:00
Andy Hutchinson
127203175e re PR target/34412 (ICE in extract_insn, at recog.c:1990)
PR target/34412
	* config/avr/avr.c (expand_prologue): Use correct QI mode frame 
	pointer for tiny stack.

From-SVN: r131923
2008-01-29 01:39:11 +03:00
Bernhard Fischer
b814cc0a2e tree-ssa.texi: Add cindex PHI nodes and improve wording.
2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>

	* doc/tree-ssa.texi: Add cindex PHI nodes and improve wording.

From-SVN: r131921
2008-01-28 22:08:51 +01:00
Bernhard Fischer
f46ff79863 vx-common.h: Fix typo in comment.
2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>

	* config/vx-common.h: Fix typo in comment.

From-SVN: r131920
2008-01-28 21:59:04 +01:00
Bernhard Fischer
82ad59926b incomplete1.C: Fix typo in comment.
2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>

	* g++.old-deja/g++.pt/incomplete1.C: Fix typo in comment.

From-SVN: r131919
2008-01-28 21:54:34 +01:00
Ian Lance Taylor
e8b0eabccd re PR c++/34862 (operator new placement variant with reference arg not accepted by g++ 4.3)
PR c++/34862
	PR c++/33407
	* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
	coalesce pointers if they have different DECL_NO_TBAA_P values.
	* tree-ssa-copy.c (may_propagate_copy): Don't propagate copies
	between variables with different DECL_NO_TBAA_P values.

From-SVN: r131916
2008-01-28 19:43:51 +00:00
Thomas Koenig
bc81405676 re PR libfortran/34980 (Segfault in shape given a scalar)
2008-01-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/34980
	* m4/shape.m4:  If return array is empty, return early.
	* generated/shape_i4.c:  Regenerated.
	* generated/shape_i8.c:  Regenerated.
	* generated/shape_i16.c:  Regenerated.

From-SVN: r131915
2008-01-28 19:02:47 +00:00
Nathan Froyd
2aa42e6e3b re PR target/31535 (ICE on attempt to put SPE vector variables in SDA)
gcc/
	PR 31535
	* config/rs6000/rs6000.c (small_data_operand): Vectors and floats
	are not legitimate small data references on SPE targets.

gcc/testsuite/
	PR 31535
	* gcc.target/powerpc/spe-small-data-1.c: New test.
	* gcc.target/powerpc/spe-small-data-2.c: New test.

From-SVN: r131914
2008-01-28 18:31:19 +00:00
Tobias Burnus
64a96f5bc3 [multiple changes]
2008-01-28  Tobias Burnus  <burnus@net-b.de>

    PR libfortran/34980
    * simplify.c (gfc_simplify_shape): Simplify rank zero arrays.


2008-01-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR libfortran/34980
    * gfortran.dg/shape_3.f90:  New test.

From-SVN: r131913
2008-01-28 18:25:55 +01:00
Bernhard Fischer
a3a7c5df2e SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.
2008-01-27  Bernhard Fischer  <rep.dot.nop@gmail.com>

	* java/util/SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.
	* gnu/CORBA/GIOP/v1_2/RequestHeader.java (RequestHeader): Fix typo in
	exception message.

From-SVN: r131912
2008-01-28 17:08:39 +00:00
David Daney
4e2e9e9b01 install.texi (mips-*-*): Recommend binutils 2.18.
2008-01-28  David Daney  <ddaney@avtrex.com>

	* doc/install.texi (mips-*-*): Recommend binutils 2.18.

From-SVN: r131911
2008-01-28 17:01:05 +00:00
David Daney
a26c763258 install.texi (--disable-libgcj-bc): Reword documentation.
2008-01-28  David Daney  <ddaney@avtrex.com>

	* doc/install.texi (--disable-libgcj-bc):  Reword documentation.

From-SVN: r131910
2008-01-28 16:58:54 +00:00
Joseph Myers
7444c8717a gcc_release (build_sources): Pass --disable-multilib to gcc_build.
* gcc_release (build_sources): Pass --disable-multilib to
	gcc_build.
	(SVN): Don't use full path.

From-SVN: r131908
2008-01-28 16:38:40 +00:00
Tom Tromey
d2ab4e1520 Native2ASCII$3.class: Added.
* tools/classes/gnu/classpath/tools/native2ascii/Native2ASCII$3.class:
	Added.

From-SVN: r131906
2008-01-28 16:23:41 +00:00
Andreas Krebbel
606f57a9b8 20020926-1.c: Remove -m31.
2008-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>

	* gcc.target/s390/20020926-1.c: Remove -m31.

From-SVN: r131904
2008-01-28 14:51:31 +00:00
Andreas Krebbel
7a8b70cce7 20020926-1.c: Disable for s390x.
2008-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>

	* gcc.target/s390/20020926-1.c: Disable for s390x.

From-SVN: r131903
2008-01-28 14:45:26 +00:00
Nick Clifton
4288c86a67 * MAINTAINERS (xstormy16): Take over maintainership.
From-SVN: r131901
2008-01-28 11:25:03 +00:00
Jason Merrill
7a0b47e3fe re PR c++/27177 (ICE in build_simple_base_path, at cp/class.c:474)
PR c++/27177
        * class.c (build_base_path): Fix previous change.

From-SVN: r131899
2008-01-27 21:19:38 -05:00
Jerry DeLisle
ba54d89dc6 re PR fortran/34994 (gfortran.dg/missing_optional_dummy_5.f90 doesn't work)
2008-01-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/34994
	* gfortran.dg/missing_optional_dummy_5.f90: Fix matching regular
	expression.

From-SVN: r131898
2008-01-28 02:09:07 +00:00
GCC Administrator
5866542155 Daily bump.
From-SVN: r131896
2008-01-28 00:17:14 +00:00
Ralf Wildenhues
997fc59aa7 * doc/README.jaxp: Fix typos.
From-SVN: r131893
2008-01-27 21:29:02 +00:00
Jerry DeLisle
69f2e30bdf re PR fortran/34990 (ICE in gfc_typenode_for_spec, at fortran/trans-types.c:842)
2008-01-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/34990
	* gfortran.dg/array_constructor_22.f90: New test.

From-SVN: r131891
2008-01-27 19:50:16 +00:00
Jerry DeLisle
938f31f192 re PR fortran/34990 (ICE in gfc_typenode_for_spec, at fortran/trans-types.c:842)
2008-01-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/34990
	* array.c (gfc_check_constructor_type): Revert clearing the expression.

From-SVN: r131890
2008-01-27 19:38:59 +00:00
Joseph Myers
4f605349df config.gcc (strongarm*-*, [...]): Mark obsolete.
* config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*,
	m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*,
	*-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*,
	*-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout,
	hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
	i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*,
	i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*,
	vax-*-bsd*, vax-*-ultrix*): Mark obsolete.

From-SVN: r131889
2008-01-27 19:10:03 +00:00
Bernhard Fischer
9e148d6a0f basic-block.h (condjump_equiv_p): Fix comment.
2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>

	* basic-block.h (condjump_equiv_p): Fix comment.

From-SVN: r131888
2008-01-27 19:44:42 +01:00
Bernhard Fischer
f749d3c6c4 tree-pretty-print.c (print_generic_decl, [...]): Fix comment.
2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>
 
	* tree-pretty-print.c (print_generic_decl, print_generic_stmt,
	print_generic_stmt_indented): Fix comment.

From-SVN: r131885
2008-01-27 17:48:54 +01:00
Bernhard Fischer
fed6d62849 configure.ac (__stack_chk_fail): Add detecion for availability of SSP in uClibc by checking if...
2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>

	* configure.ac (__stack_chk_fail): Add detecion for availability
	of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined.
	* configure: Regenerate.

From-SVN: r131884
2008-01-27 17:43:07 +01:00
David Daney
e5df4fb1fa demangle.h (demangle_component_type): Add DEMANGLE_COMPONENT_JAVA_RESOURCE...
include/
2008-01-26  David Daney  <ddaney@avtrex.com>

	* demangle.h (demangle_component_type):  Add
	DEMANGLE_COMPONENT_JAVA_RESOURCE,
	DEMANGLE_COMPONENT_COMPOUND_NAME, and
	DEMANGLE_COMPONENT_CHARACTER as new enum values.
	(demangle_component): Add struct s_character to union u.

libiberty/
2008-01-26  David Daney  <ddaney@avtrex.com>

	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
	DEMANGLE_COMPONENT_COMPOUND_NAME, and
	DEMANGLE_COMPONENT_CHARACTER cases.
	(d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
	DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
	(d_make_character): New function.
	(d_java_resource): Same.
	(d_special_name): Handle "Gr" case.
	(d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
	DEMANGLE_COMPONENT_COMPOUND_NAME, and
	DEMANGLE_COMPONENT_CHARACTER cases.
	* testsuite/demangle-expected: Add test for java resource name
	mangling.

From-SVN: r131883
2008-01-27 06:01:00 +00:00
GCC Administrator
0d13ee0d41 Daily bump.
From-SVN: r131881
2008-01-27 00:17:25 +00:00
Maxim Kuvyrkov
c01e447905 re PR middle-end/34688 ([4.1/4.2] ICE: output_operand: invalid expression as operand)
PR middle-end/34688
	* final.c (output_addr_const): Handle TRUNCATE.

	* gcc.c-torture/compile/pr34688: New test.

From-SVN: r131878
2008-01-26 23:08:54 +00:00
Zdenek Dvorak
6e8c65f662 re PR target/34711 (g++.dg/tree-ssa/ivopts-1.C fails for power and arm)
PR target/34711
	* tree-ssa-loop-ivopts.c (comp_cost): New type.
	(zero_cost, infinite_cost): New constants.
	(struct cost_pair): Change type of cost to comp_cost.
	(struct iv_ca): Change type of cand_use_cost and cost to comp_cost.
	(new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p):
	New functions.
	(set_use_iv_cost, force_expr_to_var_cost, force_var_cost,
	split_address_cost, ptr_difference_cost, difference_cost,
	get_computation_cost_at, get_computation_cost,
	determine_use_iv_cost_generic, determine_use_iv_cost_address,
	determine_use_iv_cost_condition, determine_use_iv_costs,
	cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp,
	iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend,
	iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set):
	Change type of cost to comp_cost.
	(determine_iv_cost): Increase cost of non-original ivs, instead
	of decreasing the cost of original ones.
	(get_address_cost): Indicate the complexity of the addressing mode 
	in comp_cost.
	(try_add_cand_for): Prefer using ivs not specific to some object.
	* tree-flow.h (force_expr_to_var_cost): Declaration removed.

From-SVN: r131877
2008-01-26 22:44:19 +00:00
Tobias Burnus
2c80cb0ef7 re PR fortran/34848 (internal compiler error with optional argument of character type and array return type)
2008-01-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34848
        * trans-expr.c (gfc_conv_function_call): Don't call
        gfc_add_interface_mapping if the expression is NULL.

2008-01-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34848
        * gfortran.dg/missing_optional_dummy_5.f90: New.

From-SVN: r131876
2008-01-26 21:44:49 +01:00
Kaveh R. Ghazi
987dbd1ba6 20070302-1.c (baz): Mark with attribute noinline.
* gcc.dg/tree-ssa/20070302-1.c (baz): Mark with attribute
	noinline.  XFAIL test.

From-SVN: r131875
2008-01-26 20:25:12 +00:00
Jerry DeLisle
ce97da2242 re PR fortran/31610 (ICE with transfer, merge in gfc_conv_expr_descriptor)
2008-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/31610
	* gfortran.dg/array_3.f90: New test.

From-SVN: r131874
2008-01-26 19:05:15 +00:00
Jerry DeLisle
bdfc46af99 re PR fortran/31610 (ICE with transfer, merge in gfc_conv_expr_descriptor)
2008-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/31610
	* trans-array.c (gfc_trans_create_temp_array): Remove call to
	gcc_assert (integer_zerop (loop->from[n])).

From-SVN: r131873
2008-01-26 19:01:07 +00:00
Richard Sandiford
f0025d1d69 gcconfig.h (HBLKSIZE): Define for MIPS.
boehm-gc/
	* include/private/gcconfig.h (HBLKSIZE): Define for MIPS.

From-SVN: r131872
2008-01-26 18:24:37 +00:00
Peter Bergner
e41b2a33b3 re PR target/34814 (SDmode function args not passed according to ABI specification)
PR target/34814
	* doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document.
	(TARGET_INSTANTIATE_DECLS): Likewise.
	* target.h (expand_to_rtl_hook): New target hook.
	(instantiate_decls): Likewise.
	* function.c (instantiate_decl): Make non-static.  Rename to...
	(instantiate_decl_rtl): ... this.
	(instantiate_expr): Use instantiate_decl_rtl.
	(instantiate_decls_1): Likewise.
	(instantiate_decls): Likewise.
	(instantiate_virtual_regs: Call new instantiate_decls taget hook.
	* function.h (instantiate_decl_rtl): Add prototype.
	* cfgexpand.c (target.h): New include.
	(tree_expand_cfg): Call new expand_to_rtl_hook target hook.
	* target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define.
	(TARGET_INSTANTIATE_DECLS): Likewise.
	(TARGET_INITIALIZER): New target hooks added.
	* config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx):
	New prototype.
	* config/rs6000/rs6000.c (tree-flow.h): New include.
	(machine_function): Add sdmode_stack_slot field.
	(rs6000_alloc_sdmode_stack_slot): New function.
	(rs6000_instantiate_decls): Likewise.
	(rs6000_secondary_memory_needed_rtx): Likewise.
	(rs6000_check_sdmode): Likewise.
	(TARGET_EXPAND_TO_RTL_HOOK): Target macro defined.
	(TARGET_INSTANTIATE_DECLS): Likewise.
	(rs6000_hard_regno_mode_ok): Allow SDmode.
	(num_insns_constant): Likewise.  Handle _Decimal32 constants.
	(rs6000_emit_move): Handle SDmode.
	(function_arg_advance): Likewise.
	(function_arg): Likewise.
	(rs6000_gimplify_va_arg): Likewise.  Add special handling of
	SDmode var args for 32-bit compiles.
	(rs6000_secondary_reload_class): Handle SDmode.
	(rs6000_output_function_epilogue): Likewise.
	(rs6000_function_value): Simplify if statement.
	(rs6000_libcall_value): Likewise.
	* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode.
	(SECONDARY_MEMORY_NEEDED_RTX): Add define.
	* config/rs6000/dfp.md (movsd): New define_expand and splitter.
	(movsd_hardfloat): New define_insn.
	(movsd_softfloat): Likewise.
	(movsd_store): Likewise.
	(movsd_load): Likewise.
	(extendsddd2): Likewise.
	(extendsdtd2): Likewise.
	(truncddsd2): Likewise.
	(movdd_hardfloat64): Fixup comment.
	(UNSPEC_MOVSD_LOAD): New constant.
	(UNSPEC_MOVSD_STORE): Likewise.

Co-Authored-By: Janis Johnson <janis187@us.ibm.com>

From-SVN: r131869
2008-01-26 11:18:35 -06:00
Jakub Jelinek
6f536f74ed re PR c++/34965 (Broken diagnostic: 'truth_and_expr' not supported by dump_expr)
PR c++/34965
	* c-pretty-print.c (pp_c_exclusive_or_expression): Handle
	TRUTH_XOR_EXPR.
	(pp_c_logical_and_expression): Handle TRUTH_AND_EXPR.
	(pp_c_logical_or_expression): Handle TRUTH_OR_EXPR.
	(pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
	and TRUTH_XOR_EXPR.

	* error.c (dump_expr): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
	and TRUTH_XOR_EXPR.

	* gcc.dg/pr34965.c: New test.
	* g++.dg/other/error24.C: New test.

From-SVN: r131868
2008-01-26 18:04:54 +01:00
Jakub Jelinek
680f02e4b4 pr34966.c (atan): Only use asm on i?86/x86_64.
* gcc.c-torture/compile/pr34966.c (atan): Only use asm
	on i?86/x86_64.

From-SVN: r131867
2008-01-26 18:02:44 +01:00
David Edelsohn
62a37275fe re PR target/34794 (build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3/libmath/stubs.c:47)
PR target/34794
        * config/os/aix/os_defines.h: Define __COMPATMATH__.

From-SVN: r131866
2008-01-26 11:28:03 -05:00
David Edelsohn
ba6a1b78c0 re PR target/34794 (build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3/libmath/stubs.c:47)
PR target/34794
        * config.gcc: Separate AIX 5.3 from AIX 6.1.
        * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
        __LONGDOUBLE128 too.
        * config/rs6000/aix61.h: New file.

From-SVN: r131865
2008-01-26 11:26:27 -05:00
Thomas Koenig
6cac36304e re PR libfortran/34887 (reverse tabbing before slash descriptor (regression vs. g77))
2008-01-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfofortran/34887
	* io/transfer.c (next_record_w): Always move to the farthest
	position when completing the record (also when we are
	processing a slash edit descriptor).

2008-01-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfofortran/34887
	* gfortran.dg/x_slash_2.f:  New test.

From-SVN: r131864
2008-01-26 15:22:59 +00:00
Richard Sandiford
1230d7f8de re PR rtl-optimization/34959 (23_containers/bitset/ext/15361.cc fails for MIPS n64)
gcc/
	PR rtl-optimization/34959
	* optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz,
	popcount and parity rtxes the same mode as their operand.
	Truncate or extend the result to the return value's mode
	if necessary.

From-SVN: r131863
2008-01-26 11:34:41 +00:00