Commit Graph

91107 Commits

Author SHA1 Message Date
Jason Merrill
07523e7c08 re PR c++/35319 (ICE throwing fixed-point types)
PR c++/35319
        * mangle.c (write_builtin_type): Add mangling for decimal floating
        point and fixed point types.
        (write_type): Pass FIXED_POINT_TYPE along.
        * cp-demangle.c (cplus_demangle_type): Support fixed-point types.
        (d_print_comp, d_dump): Likewise.

From-SVN: r142661
2008-12-10 17:11:44 -05:00
Daniel Berlin
615cb001bb re PR tree-optimization/36792 (Revision 137631 causes many failures)
2008-12-10  Daniel Berlin  <dberlin@dberlin.org>

	PR tree-optimization/36792
	* tree-ssa-pre.c (compute_avail): Don't insert defs into maximal
	set.

From-SVN: r142659
2008-12-10 20:13:39 +00:00
Alexandre Oliva
db89a3be51 re PR target/37033 (Revision 138733 breaks -g vs -g0 for PCH)
gcc/ChangeLog:
PR target/37033
* dwarf2out.c (saved_do_cfi_asm): New.
(dwarf2out_do_frame): Take it into account.
(dwarf2out_d_cfi_asm): Likewise.  Set it when appropriate.
libcpp/ChangeLog:
PR target/37033
* pch.c (cpp_valid_state): Improve message for poisoned symbols.
Allow for differences in __GCC_HAVE_DWARF2_CFI_ASM.

From-SVN: r142652
2008-12-10 17:31:07 +00:00
Alexandre Oliva
aee91ff0bd re PR middle-end/38271 (Spurious / missing "... used uninitialized in this function" warning)
gcc/ChangeLog:
PR middle-end/38271
* tree-sra.c (sra_build_bf_assignment): Avoid warnings for
variables initialized from SRAed bit fields.
gcc/testsuite/ChangeLog:
PR middle-end/38271
* gcc.dg/torture/pr38271.c: New.

From-SVN: r142651
2008-12-10 17:20:50 +00:00
Martin Guy
7ce8451d98 Martin Guy <martinwguy@yahoo.it> PR target/37668
Martin Guy <martinwguy@yahoo.it>
PR target/37668
* arm.c (arm_size_rtx_costs, case NEG): Don't fall through if the
result will be in an FPU register.

From-SVN: r142647
2008-12-10 14:57:18 +00:00
Ira Rosen
7f51c86c61 re PR tree-optimization/37416 (Failure to return number of loop iterations)
PR tree-optimization/37416
	* gcc.dg/vect/pr36630.c: Expect 1 vectorized loop.

From-SVN: r142643
2008-12-10 11:47:22 +01:00
Eric Botcazou
0462b9b502 re PR target/37170 (gcc.dg/weak/weak-1.c)
PR target/37170
	PR target/38448
	* final.c (output_addr_const) <SYMBOL_REF>: Call assemble_external
	on the associated SYMBOL_REF_DECL node, if any.

From-SVN: r142640
2008-12-10 08:46:40 +00:00
Uros Bizjak
53f37b01ef 20020919-1.c: Correct target selector to alpha*-*-*.
* gcc.dg/20020919-1.c: Correct target selector to alpha*-*-*.
	* gcc.dg/pr31866.c: Ditto.
	* gcc.dg/torture/type-generic-1.c: Add -mieee for alpha*-*-* targets.
	* g++.dg/torture/type-generic-1.C: Ditto.
	* gfortran.dg/boz_9.f90: Ditto.
	* gfortran.dg/boz_14.f90: Ditto.
	* gfortran.dg/init_flag_3.f90: Ditto.
	* gfortran.dg/init_flag_4.f90: Ditto.
	* gfortran.dg/init_flag_5.f90: Ditto.
	* gfortran.dg/integer_exponentiation_1.f90: Ditto.
	* gfortran.dg/integer_exponentiation_5.F90: Ditto.
	* gfortran.dg/isnan_1.f90: Ditto.
	* gfortran.dg/isnan_2.f90: Ditto.
	* gfortran.dg/module_nan.f90: Ditto.
	* gfortran.dg/nan_1.f90: Ditto.
	* gfortran.dg/nan_2.f90: Ditto.
	* gfortran.dg/nan_3.f90: Ditto.
	* gfortran.dg/nan_4.f90: Ditto.
	* gfortran.dg/namelist_42.f90: Ditto.
	* gfortran.dg/namelist_43.f90: Ditto.
	* gfortran.dg/nearest_1.f90: Ditto.
	* gfortran.dg/nearest_2.f90: Ditto.
	* gfortran.dg/nearest_3.f90: Ditto.
	* gfortran.dg/pr37243.f: Ditto.
	* gfortran.dg/real_const_3.f90: Ditto.
	* gfortran.dg/transfer_simplify_2.f90: Ditto.
	* gfortran.fortran-torture/execute/intrinsic_spacing.x: New file.

	* gfortran.dg/default_format_denormal_1.f90: XFAIL on alpha.

From-SVN: r142639
2008-12-10 08:49:40 +01:00
David Daney
be3fbe5309 sync.md (sync_<optab>_12): Replace MIPS_SYNC_OP_12_NOT_NOP with MIPS_SYNC_OP_12_AND.
* config/mips/sync.md (sync_<optab>_12): Replace
	MIPS_SYNC_OP_12_NOT_NOP with MIPS_SYNC_OP_12_AND.
	(sync_old_<optab>_12): Remove third paramater to
	MIPS_SYNC_OLD_OP_12 macro, replace MIPS_SYNC_OLD_OP_12_NOT_NOP
	with MIPS_SYNC_OLD_OP_12_AND.
	(sync_new_<optab>_12): Replace MIPS_SYNC_NEW_OP_12_NOT_NOP
	with MIPS_SYNC_NEW_OP_12_AND.
	(sync_nand_12): Replace MIPS_SYNC_OP_12_NOT_NOT with
	MIPS_SYNC_OP_12_XOR, reduce length attribute to 40.
	(sync_old_nand_12): Remove third paramater to MIPS_SYNC_OLD_OP_12
	macro, replace MIPS_SYNC_OLD_OP_12_NOT_NOT with
	MIPS_SYNC_OLD_OP_12_XOR and reduce length attribute to 40.
	(sync_new_nand_12): Replace MIPS_SYNC_NEW_OP_12_NOT_NOT with
	MIPS_SYNC_NEW_OP_12_XOR.
	* config/mips/mips.h (MIPS_SYNC_OP_12, MIPS_SYNC_OP_12_NOT_NOP,
	MIPS_SYNC_OP_12_NOT_NOT,MIPS_SYNC_OLD_OP_12_NOT_NOP,
	MIPS_SYNC_OLD_OP_12_NOT_NOT, MIPS_SYNC_NEW_OP_12,
	MIPS_SYNC_NEW_OP_12_NOT_NOP, MIPS_SYNC_NEW_OP_12_NOT_NOT,
	MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND, MIPS_SYNC_NEW_NAND): Rewritten
	to implement new __sync_nand semantics.
	(MIPS_SYNC_OLD_OP_12): Implement new __sync_nand semantics, and
	remove third parameter.
	(MIPS_SYNC_OLD_OP_12_NOT_NOP_REG,
	MIPS_SYNC_OLD_OP_12_NOT_NOT_REG): Removed.
	(MIPS_SYNC_OP_12_NOT_NOP): Renamed to MIPS_SYNC_OP_12_AND.
	(MIPS_SYNC_OP_12_NOT_NOT): Renamed to MIPS_SYNC_OP_12_XOR.
	(MIPS_SYNC_OLD_OP_12_NOT_NOP): Renamed to MIPS_SYNC_OLD_OP_12_AND.
	(MIPS_SYNC_OLD_OP_12_NOT_NOT): Renamed to MIPS_SYNC_OLD_OP_12_XOR.
	(MIPS_SYNC_NEW_OP_12_NOT_NOP): Renamed to MIPS_SYNC_NEW_OP_12_AND.
	(MIPS_SYNC_NEW_OP_12_NOT_NOT): Renamed to MIPS_SYNC_NEW_OP_12_XOR

From-SVN: r142638
2008-12-10 05:08:50 +00:00
Tobias Grosser
c34a77fd2f graphite.c (graphite_transform_loops): Always call find_transform () in ENABLE_CHECKING.
2008-12-09  Tobias Grosser  <grosser@fim.uni-passau.de>

	* graphite.c (graphite_transform_loops): Always call find_transform ()
	in ENABLE_CHECKING.  So we test these code paths, even if we do not
	generate code.

From-SVN: r142630
2008-12-10 01:24:44 +00:00
Mark Mitchell
88376272bd Fix typo in comment
From-SVN: r142629
2008-12-10 01:24:18 +00:00
Mark Mitchell
248e1b22b2 re PR c++/37971 (Rejects default argument that is a template via access failure)
PR c++/37971
	* class.c (resolve_address_of_overloaded_function): Check
	accessibility of member functions unless FLAGS indicates
	otherwise.
	* call.c (standard_conversion): Adjust flags passed to
	instantiate_type.
	(convert_default_arg): Do not perform access checks.
	* cp-tree.h (tsubst_flags_t): Add tf_no_access_control.

	PR c++/37971
	* g++.dg/overload/defarg2.C: New test.
	* g++.dg/overload/defarg3.C: Likewise.

From-SVN: r142628
2008-12-10 01:23:28 +00:00
Tobias Grosser
3725c2e302 graphite.c (print_graphite_bb): Fix printing to file != dump_file.
2008-12-09  Tobias Grosser  <grosser@fim.uni-passau.de>

	* graphite.c (print_graphite_bb): Fix printing to file != dump_file.

From-SVN: r142626
2008-12-10 00:35:51 +00:00
GCC Administrator
76d3363a5f Daily bump.
From-SVN: r142623
2008-12-10 00:17:19 +00:00
Jason Merrill
8afd015aab gimplify.c (gimplify_init_constructor): Revert to using < rather than <= for sparseness test.
* gimplify.c (gimplify_init_constructor): Revert to using < rather
        than <= for sparseness test.

From-SVN: r142618
2008-12-09 18:04:01 -05:00
Jakub Jelinek
0889e9bc68 re PR middle-end/38454 (memcpy folding breaks -D_FORTIFY_SOURCE=2 protection)
PR middle-end/38454
	* function.h (struct function): Add always_inline_functions_inlined.
	* ipa-inline.c (cgraph_early_inlining): Set it to true.
	* tree-optimize.c (execute_fixup_cfg): Likewise.
	* builtins.c (avoid_folding_inline_builtin): New function.
	(fold_call_expr): Don't optimize always_inline builtins before
	inlining.
	(fold_call_stmt): Likewise.
	(fold_builtin_call_array): Likewise.  Don't call
	fold_builtin_varargs for BUILT_IN_MD builtins.

	* gcc.dg/memset-1.c: New test.
	* gcc.dg/memcpy-2.c: New test.

From-SVN: r142617
2008-12-10 00:01:15 +01:00
Jakub Jelinek
218d1c24bb re PR tree-optimization/37416 (Failure to return number of loop iterations)
PR tree-optimization/37416
	* tree-scalar-evolution.c (follow_ssa_edge_in_rhs): Handle NOP_EXPR.

From-SVN: r142616
2008-12-09 23:47:20 +01:00
Janis Johnson
e2f08cac7b * doc/sourcebuild.texi (Test Directives): Fix formatting.
From-SVN: r142611
2008-12-09 22:09:43 +00:00
Vladimir Makarov
7db7ed3cbd tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
2008-12-09  Vladimir Makarov  <vmakarov@redhat.com>

	* doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.

	* doc/invoke.texi (-fira-region): Describe new option.
	(-fira-algorithm): Change the values.

	* ira-conflicts.c (build_conflict_bit_table,
	build_allocno_conflicts): Use ira_reg_classes_intersect_p.
	(ira_build_conflicts): Use flag flag_ira_region instead of
	flag_ira_algorithm.  Prohibit usage of callee-saved likely spilled
	base registers for allocnos crossing calls.

	* flags.h (enum ira_algorithm): Redefine.
	(enum ira_region): New.
	(flag_ira_region): New.

	* cfgloopanal.c (estimate_reg_pressure_cost): Use flag_ira_region
	instead of flag_ira_algorithm.

	* toplev.c (flag_ira_algorithm): Change the initial value.
	(flag_ira_region): New.

	* ira-int.h (ira_reg_classes_intersect_p,
	ira_reg_class_super_classes): New.

	* ira-color.c (update_copy_costs): Use
	ira_reg_classes_intersect_p.  Use right class to find hard reg
	index.
	(update_conflict_hard_regno_costs): Ditto.  Add a new parameter.
	(assign_hard_reg): Ditto.  Pass additional argument to
	update_conflict_hard_regno_costs.  Do not uncoalesce for priority
	coloring.
	(allocno_priorities, setup_allocno_priorities,
	allocno_priority_compare_func): Move before color_allocnos.
	(color_allocnos): Add priority coloring.  Use flag flag_ira_region
	instead of flag_ira_algorithm.
	(move_spill_restore): Check classes of the same reg allocno from
	different regions.
	(update_curr_costs): Use ira_reg_classes_intersect_p.
	(ira_reassign_conflict_allocnos): Ditto.

	* opts.c (decode_options): Always set up flag_ira.  Set up
	flag_ira_algorithm.  Warn CB can not be used for architecture.
	(common_handle_option): Modify code for -fira-algorithm.  Add code
	to process -fira-region.

	* ira-lives.c (update_allocno_pressure_excess_length): Process
	superclasses too.
	(set_allocno_live, clear_allocno_live, mark_reg_live,
	mark_reg_dead, process_bb_node_lives): Ditto.

	* ira-emit.c (ira_emit): Fix insn codes.
	
	* ira-build.c (propagate_allocno_info): Use flag flag_ira_region
	instead of flag_ira_algorithm.
	(allocno_range_compare_func): Ignore classes for priority
	coloring.
	(setup_min_max_conflict_allocno_ids): Ditto.
	(ira_flattening): Use ira_reg_classes_intersect_p.

	* genpreds.c (write_enum_constraint_num): Output
	CONSTRAINT__LIMIT.
	
	* common.opt (fira-algorithm): Modify.
	(fira-region): New.

	* ira.c (setup_class_hard_regs): Initialize.
	(setup_cover_and_important_classes): Modify code setting class
	related info for priority coloring.
	(setup_class_translate): Ditto.
	(ira_reg_classes_intersect_p, ira_reg_class_super_classes): New.
	(setup_reg_class_intersect_union): Rename to
	setup_reg_class_relations.  Add code for setting up new variables.
	(find_reg_class_closure): Do not check targetm.ira_cover_classes.
	(ira): Use flag flag_ira_region instead of flag_ira_algorithm.

	* ira-costs.c (common_classes): New.
	(print_costs): Use flag flag_ira_region instead of
	flag_ira_algorithm.
	(find_allocno_class_costs): Ditto.  Use common_classes.  Translate
	alt_class.
	(ira_costs): Allocate/deallocate common_classes.
	
	* config/m32c/m32.h (REG_ALLOC_ORDER): Add reg 19.
	(REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): New entries for
	R02A_REGS.

	* reload1.c (choose_reload_regs): Use MODE_INT for partial ints in
	smallest_mode_for_size.

From-SVN: r142610
2008-12-09 21:25:11 +00:00
Ben Elliston
2e5d002a9e * config/rs6000/linux-unwind.h (get_regs): Constify casts.
From-SVN: r142609
2008-12-10 08:08:03 +11:00
Daniel Franke
c907186351 re PR fortran/36376 (-cpp -save-temps passes unknown options to f951)
2008-12-09  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/36376
        PR fortran/37468
	* lang-specs.h: Pass on -i* options to f951 to (probably) report
        them as unknown. Duplicate gcc.c (cpp_options), but omit
        -fpch-preprocess on -save-temps.

From-SVN: r142608
2008-12-09 14:53:02 -05:00
Daniel Franke
c328064352 re PR fortran/36457 (preprocessing: option -idirafter undefined for fortran)
2008-12-09  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/36457
        * lang.opt: Added option idirafter.
        * cpp.h (gfc_cpp_add_include_path_after): New prototype.
	* cpp.c (gfc_cpp_handle_option): Recognize and handle OPT_dirafter.
        (gfc_cpp_add_include_path_after): New, adds user-defined search path
        after any other paths.
        * invoke.texi (idirafter): New.
        (no-range-check): Fixed entry in option-index.

From-SVN: r142607
2008-12-09 14:25:55 -05:00
Mikael Morin
138b3340e6 re PR fortran/37469 (invalid GMP usage on gfortran.dg/parameter_array_init_3.f90)
2008-12-09  Mikael Morin  <mikael.morin@tele2.fr>

	PR fortran/37469
	* expr.c (find_array_element): Simplify array bounds.
	Assert that both bounds are constant expressions.

From-SVN: r142606
2008-12-09 19:20:18 +00:00
Mikael Morin
fe7a047c75 re PR fortran/35983 (C_LOC in derived type constructor gives weird result)
2008-12-09  Mikael Morin  <mikael.morin@tele2.fr>

	PR fortran/35983
	* trans-expr.c (gfc_trans_subcomponent_assign):
	Add se's pre and post blocks to current block.
	(gfc_trans_structure_assign): Remove specific handling
	of C_NULL_PTR and C_NULL_FUNPTR.

2008-12-09  Mikael Morin  <mikael.morin@tele2.fr>

	PR fortran/35983
	* gfortran.dg/pr35983.f90: New test.

From-SVN: r142605
2008-12-09 19:12:27 +00:00
H.J. Lu
b922b5ae32 re PR testsuite/38420 (gcc.target/i386/pr37248-2.c doesn't work on ia32)
2008-12-09  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/38420
	* gcc.target/i386/pr37248-2.c: Support hex dump on 32bit host.
	* gcc.target/i386/pr37248-3.c: Likewise.

From-SVN: r142601
2008-12-09 09:38:09 -08:00
Jan Hubicka
0e7f7d876b * predict.c (estimate_bb_frequencies): Fix test if profile is present.
From-SVN: r142600
2008-12-09 17:04:26 +00:00
Steve Ellcey
53873346f1 re PR testsuite/37326 (gcc.dg/tree-ssa/ssa-store-ccp-3.c scan-tree-dump-times optimized "conststaticvariable" 1)
PR testsuite/37326
	* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Skip on hppa*64-*-*.

From-SVN: r142599
2008-12-09 16:57:49 +00:00
Jakub Jelinek
bab4e8fbed re PR tree-optimization/35468 (LHS of assignment can be folded to a constant causing ICE)
PR tree-optimization/35468
	* tree-ssa-ccp.c (fold_stmt_r): Don't fold reads from constant
	string on LHS.

	* gcc.dg/pr35468.c: New test.
	* gcc.c-torture/compile/pr35468.c: New test.

From-SVN: r142598
2008-12-09 17:55:35 +01:00
Richard Guenther
b3b30b2401 re PR tree-optimization/38445 (ICE in tree-ssa-struct-alias when compiling grub-0.97)
2008-12-09  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/38445
	* tree-ssa-structalias.c (emit_pointer_definition): Only visit
	names once.
	(emit_alias_warning): Adjust.

From-SVN: r142590
2008-12-09 11:06:34 +00:00
Andrew Haley
30da611174 fixed-value.c (do_fixed_add): Add comment.
2008-12-09  Andrew Haley  <aph@redhat.com>

	* fixed-value.c (do_fixed_add): Add comment.
	* tree-ssa-loop-ivopts.c (iv_ca_cost): Likewise.
	* builtins.c (fold_builtin_sqrt): Likewise.

From-SVN: r142589
2008-12-09 10:42:41 +00:00
Jakub Jelinek
6f9f0ce349 re PR ada/38450 (ada bootstrap is broken)
PR ada/38450
	* gcc-interface/utils.c (finish_record_type): Use SET_TYPE_MODE.
	* gcc-interface/decl.c (gnat_to_gnu_entity, make_aligning_type):
	Likewise.

From-SVN: r142588
2008-12-09 11:35:15 +01:00
Kai Tietz
4576913435 function.c (aggregate_value_p): Get fntype from CALL_EXPR in any case.
2008-12-09  Kai Tietz  <kai.tietz@onevision.com>

	PR/38366
	* function.c (aggregate_value_p): Get fntype from CALL_EXPR in any
	case.
	* calls.c (nitialize_argument_information): Add fntype argument 
	and use it for calls.promote_function_args.
        (expand_call): Pass fntype to aggregate_value_p if no fndecl
	available and pass additional fntype to
	initialize_argument_information.
	* config/i386/i386.c (ix86_reg_parm_stack_space): Remove cfun part
	to get function abi type.
	(init_cumulative_args): Use for abi kind detection fntype, when no
	fndecl is available.

From-SVN: r142584
2008-12-09 10:14:28 +01:00
Andreas Krebbel
f2dc2f86ae 2008-12-09 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md (movti, movdi_64, movdi_31,
	  *movsi_zarch, *movhi, *movqi, *mov<mode>_64, *mov<mode>_31,
	  *mov<mode>_64dfp, *mov<mode>_64, *mov<mode>_31, mov<mode>): Remove
	  Q->Q alternative.
	  (Integer->BLKmode splitter): Removed.

From-SVN: r142583
2008-12-09 09:05:06 +00:00
Uros Bizjak
13a4e57765 alpha.c (alpha_set_memflags): Process memory references in full insn sequence.
* config/alpha/alpha.c (alpha_set_memflags): Process memory
	references in full insn sequence.

From-SVN: r142581
2008-12-09 08:16:57 +01:00
Jason Merrill
c69c7be10b re PR c++/38410 (g++.dg/eh/crossjump1.C (internal compiler error))
PR c++/38410
        * gimplify.c (gimplify_init_constructor): Don't write out a static
        copy of the CONSTRUCTOR for TREE_ADDRESSABLE types or small sparse
        initializers.

From-SVN: r142580
2008-12-09 01:04:50 -05:00
Ben Elliston
c6c2b18db9 emutls.c (__emutls_get_address): Prototype.
* emutls.c (__emutls_get_address): Prototype.
	(__emutls_register_common): Likewise.

From-SVN: r142579
2008-12-09 15:57:32 +11:00
Tobias Grosser
e45ade7e2e re PR middle-end/38084 ([graphite] ICE : in build_graphite_scops, at graphite.c:1829)
2008-12-09 Tobias Grosser  <grosser@fim.uni-passau.de>

	PR middle-end/38084
	Fix testsuite/gfortran.dg/graphite/id-3.f90.
	* graphite.c (scopdet_basic_block_info): Fix bug that found some
	regions more than once.
	* testsuite/gfortran.dg/graphite/id-3.f90: New.
	* gcc/testsuite/gcc.dg/graphite/pr38084.c: New.

From-SVN: r142578
2008-12-09 04:43:24 +00:00
Ben Elliston
b16ef77983 * config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.
From-SVN: r142577
2008-12-09 15:20:19 +11:00
Ben Elliston
b4679197db * config/rs6000/darwin-ldouble.c (fmsub): Remove unused variable, v.
From-SVN: r142576
2008-12-09 14:36:47 +11:00
Jerry DeLisle
9f309df283 re PR fortran/38430 (gfortran.dg/streamio_1.f90, 10, 14, 2, 6 now fails)
2008-12-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/38430
	* io/transfer.c (data_transfer_init): Move constraint check for REC=
	and STREAM access into condition for other REC= constraints to simplify.
	Comment out this constraint to avoid breaking compatibility with 4.3
	until later.  Added a TODO for above comment and this one.
	Fix test for max pos.

From-SVN: r142575
2008-12-09 03:19:09 +00:00
GCC Administrator
3033db1a6d Daily bump.
From-SVN: r142572
2008-12-09 00:17:18 +00:00
Steve Ellcey
39a5cfa492 ia64.md (UNSPECV_GOTO_RECEIVER): New constant.
* config/ia64/ia64.md (UNSPECV_GOTO_RECEIVER): New constant.
	(nonlocal_goto_receiver): New instruction.

From-SVN: r142568
2008-12-08 23:25:51 +00:00
Uros Bizjak
3e33a6b21c ChangeLog: Fix small typo.
* ChangeLog: Fix small typo.
	* testsuite/ChangeLog: Ditto.

From-SVN: r142565
2008-12-08 22:43:40 +01:00
Uros Bizjak
1f63d0598e fix-r10000-6.c: Add dg-message to look for the note about changed semantics of NAND builtin.
* gcc.target/mips/fix-r10000-6.c: Add dg-message to look for
	the note about changed semantics of NAND builtin.
	* gcc.target/mips/fix-r10000-6.c: Ditto.
	* gcc.target/mips/atomic-memory-1.c: Ditto.
	(main): Correct __sync_nand_and_fetch results.

From-SVN: r142564
2008-12-08 22:42:15 +01:00
Steve Ellcey
9bebdb76f2 * decl2.c (mark_used): Remove assemble_external call.
From-SVN: r142563
2008-12-08 19:27:26 +00:00
Dodji Seketeli
2ac1e975bc re PR debug/38390 (Missing DW_TAG_imported_module)
gcc/cp/ChangeLog:
2008-12-07  Dodji Seketeli  <dodji@redhat.com>

        PR debug/38390
        * name-lookup.c (kept_level_p): Don't forget the case of levels
          having using directives.

gcc/testsuite/ChangeLog:
2008-12-07  Dodji Seketeli  <dodji@redhat.com>

        PR debug/38390
        * g++.dg/debug/dwarf2/imported-module-2.C: New test.

From-SVN: r142562
2008-12-08 20:00:46 +01:00
Steve Ellcey
1869b827ec * g++.dg/other/packed1.C: Remove ia64-hp-hpux* XFAIL.
From-SVN: r142561
2008-12-08 18:34:59 +00:00
Steve Ellcey
f9b527fa9d versionid-1.c (dg-final): Fix syntax.
* gcc.target/ia64/versionid-1.c (dg-final): Fix syntax.
	* gcc.target/ia64/versionid-2.c (dg-final): Ditto.

From-SVN: r142560
2008-12-08 18:23:14 +00:00
Jakub Jelinek
fb38d8d2e3 re PR c/35443 (Completely broken diagnostic with bind_expr)
PR c/35443
	* c-pretty-print.c (pp_c_expression): Handle BIND_EXPR.

	* gcc.dg/pr35443.c: New test.

From-SVN: r142559
2008-12-08 19:04:58 +01:00
Jakub Jelinek
4e37eb44ce re PR c/35442 (Completely broken diagnostic with view_convert_expr)
PR c/35442
	* c-pretty-print.c (pp_c_cast_expression, pp_c_expression): Handle
	VIEW_CONVERT_EXPR the same as CASE_CONVERT.

	* gcc.dg/pr35442.c: New test.

From-SVN: r142558
2008-12-08 19:03:40 +01:00