aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2008-12-09Daily bump.GCC Administrator1-1/+1
From-SVN: r142572
2008-12-08ia64.md (UNSPECV_GOTO_RECEIVER): New constant.Steve Ellcey2-0/+17
* config/ia64/ia64.md (UNSPECV_GOTO_RECEIVER): New constant. (nonlocal_goto_receiver): New instruction. From-SVN: r142568
2008-12-08ChangeLog: Fix small typo.Uros Bizjak2-4/+3
* ChangeLog: Fix small typo. * testsuite/ChangeLog: Ditto. From-SVN: r142565
2008-12-08fix-r10000-6.c: Add dg-message to look for the note about changed semantics ↵Uros Bizjak4-4/+19
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* decl2.c (mark_used): Remove assemble_external call.Steve Ellcey2-2/+4
From-SVN: r142563
2008-12-08re PR debug/38390 (Missing DW_TAG_imported_module)Dodji Seketeli4-1/+31
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* g++.dg/other/packed1.C: Remove ia64-hp-hpux* XFAIL.Steve Ellcey2-1/+5
From-SVN: r142561
2008-12-08versionid-1.c (dg-final): Fix syntax.Steve Ellcey3-2/+7
* gcc.target/ia64/versionid-1.c (dg-final): Fix syntax. * gcc.target/ia64/versionid-2.c (dg-final): Ditto. From-SVN: r142560
2008-12-08re PR c/35443 (Completely broken diagnostic with bind_expr)Jakub Jelinek4-0/+21
PR c/35443 * c-pretty-print.c (pp_c_expression): Handle BIND_EXPR. * gcc.dg/pr35443.c: New test. From-SVN: r142559
2008-12-08re PR c/35442 (Completely broken diagnostic with view_convert_expr)Jakub Jelinek4-0/+24
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-08re PR middle-end/38240 (Vector type definitions not compatible with ↵Richard Henderson11-50/+135
attribute target) PR 38240 * tree.h (TYPE_MODE): Invoke vector_type_mode when needed. (SET_TYPE_MODE): New. * c-decl.c (parser_xref_tag): Use it. (finish_enum): Likewise. * tree.c (build_pointer_type_for_mode): Likewise. (build_reference_type_for_mode, build_index_type): Likewise. (build_range_type, make_vector_type): Likewise. (build_common_tree_nodes_2): Likewise. * stor-layout.c (compute_record_mode): Likewise. (finalize_type_size, layout_type, make_fract_type): Likewise. (make_accum_type, initialize_sizetypes): Likewise. (vector_type_mode): New. * function.c (allocate_struct_function): Call invoke_set_current_function_hook before querying anything else. * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Add avx. cp/ * class.c (finish_struct_bits): Use SET_TYPE_MODE. * decl.c (record_unknown_type): Likewise. (start_enum, finish_enum): Likewise. From-SVN: r142556
2008-12-08alias.c (find_base_term): Synch LO_SUM handling with what find_base_value does.Luis Machado2-0/+8
2008-12-08 Luis Machado <luisgpm@br.ibm.com> * alias.c (find_base_term): Synch LO_SUM handling with what find_base_value does. From-SVN: r142553
2008-12-08gimple.h (gimple_build_try): Fix declaration.Andrew Haley5-7/+31
2008-12-08 Andrew Haley <aph@redhat.com> Kamaraju Kusumanchi <raju.mailinglists@gmail.com> * gimple.h (gimple_build_try): Fix declaration. * builtins.c (fold_builtin_sqrt): Don't use a conditional operator. * fixed-value.c (do_fixed_add): Likewise. * tree-ssa-loop-ivopts.c (iv_ca_cost): Likewise. Co-Authored-By: Kamaraju Kusumanchi <raju.mailinglists@gmail.com> From-SVN: r142549
2008-12-08re PR middle-end/36802 (pop_gimplify_context ICE using openmp task construct)Jakub Jelinek2-2/+8
PR middle-end/36802 * omp-low.c (use_pointer_for_field): Only call maybe_lookup_decl on parallel and task contexts. * testsuite/libgomp.c/pr36802-1.c: New test. * testsuite/libgomp.c/pr36802-2.c: New test. * testsuite/libgomp.c/pr36802-3.c: New test. From-SVN: r142546
2008-12-08Daily bump.GCC Administrator1-1/+1
From-SVN: r142544
2008-12-07* gimple.c (recalculate_side_effects) <tcc_constant>: New case.Eric Botcazou4-1/+22
From-SVN: r142541
2008-12-07re PR tree-optimization/38405 ((silent failure) handling bitfield in ternary)Richard Guenther2-0/+12
2008-12-07 Richard Guenther <rguenther@suse.de> PR tree-optimization/38405 * tree-vrp.c (simplify_truth_ops_using_ranges): Make sure to not sign-extend truth values. From-SVN: r142539
2008-12-07re PR tree-optimization/38405 ((silent failure) handling bitfield in ternary)H.J. Lu2-0/+34
2008-12-07 H.J. Lu <hongjiu.lu@intel.com> PR tree-optimization/38405 * gcc.dg/torture/pr38405.c: New. From-SVN: r142538
2008-12-07tree-sra.c (scalarize_use): Create another temporary with the proper type ↵Eric Botcazou5-6/+65
for signed types in the use_all... * tree-sra.c (scalarize_use): Create another temporary with the proper type for signed types in the use_all && !is_output bitfield case. From-SVN: r142537
2008-12-07re PR fortran/38425 (I/O: POS= compile-time diagnostics)Jerry DeLisle2-0/+28
2008-12-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/38425 * gfortran.dg/io_constraints_5.f90: New test. From-SVN: r142535
2008-12-07re PR fortran/38425 (I/O: POS= compile-time diagnostics)Jerry DeLisle2-5/+19
2008-12-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/38425 * io.c (check_io_constraints): Check constraints on REC=, POS=, and internal unit with POS=. Fix punctuation on a few error messages. From-SVN: r142534
2008-12-07Daily bump.GCC Administrator1-1/+1
From-SVN: r142532
2008-12-06re PR rtl-optimization/36365 (Hang in df_analyze)Steven Bosscher3-84/+15
PR rtl-optimization/36365 * df-core.c (df_worklist_dataflow_overeager): Remove. (df_worklist_dataflow): Don't call it, use double-queue only. * params.def (PARAM_DF_DOUBLE_QUQUQ_THRESHOLD_FACTOR): Remove. From-SVN: r142529
2008-12-06re PR middle-end/38428 (ice for Linux kernel code with -O2)Jakub Jelinek4-0/+33
PR middle-end/38428 * tree-ssa-operands.c (get_expr_operands) <case BIT_FIELD_REF>: Set gimple_set_has_volatile_ops if the BIT_FIELD_REF is volatile. * gcc.c-torture/compile/pr38428.c: New test. From-SVN: r142527
2008-12-06* id.po: Update.Joseph Myers2-582/+586
From-SVN: r142524
2008-12-07gthr-single.h (__gthread_once): Adjust prototype to match all other gthreads ↵Ben Elliston2-1/+6
models. * gthr-single.h (__gthread_once): Adjust prototype to match all other gthreads models. From-SVN: r142523
2008-12-06i386.c (override_options): Use CPU_AMDFAM10 instead of PROCESSOR_AMDFAM10 ↵Jakub Jelinek2-1/+4
for barcelona's schedule. * config/i386/i386.c (override_options): Use CPU_AMDFAM10 instead of PROCESSOR_AMDFAM10 for barcelona's schedule. From-SVN: r142522
2008-12-06re PR middle-end/38422 (union/bitfield causes cc1/cc1plus to run out of memory.)Jakub Jelinek4-5/+45
PR middle-end/38422 * fold-const.c (fold_unary) <CASE_CONVERT>: Don't convert MULT_EXPR operands to mult_type if it isn't narrower than op0's type. * gcc.c-torture/execute/pr38422.c: New test. From-SVN: r142521
2008-12-06re PR fortran/38415 (procedure pointer assignment to abstract interface)Janus Weil5-2/+34
2008-12-06 Janus Weil <janus@gcc.gnu.org> PR fortran/38415 * expr.c (gfc_check_pointer_assign): Added a check for abstract interfaces in procedure pointer assignments, removed check involving gfc_compare_interfaces until PR38290 is fixed completely. 2008-12-06 Janus Weil <janus@gcc.gnu.org> PR fortran/38415 * gfortran.dg/proc_ptr_2.f90: Extended. * gfortran.dg/proc_ptr_11.f90: Modified. From-SVN: r142520
2008-12-06re PR middle-end/38074 (missed inlining on Core2 Duo due to apparent wrong ↵Jan Hubicka3-6/+52
branch prediction/profile) PR tree-optimization/38074 * cgraphbuild.c (compute_call_stmt_bb_frequency): Fix handling of 0 entry frequency. * predict.c (combine_predictions_for_bb): Ignore predictor predicting in both dirrection for first match heuristics. (tree_bb_level_predictions): Disable noreturn heuristic when there is no returning path. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r142517
2008-12-06re PR fortran/38291 (Rejects I/O with POS= if FMT=*)Jerry DeLisle2-0/+24
2008-12-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/38291 * gfortran.dg/streamio_16.f90: New test. From-SVN: r142516
2008-12-06re PR fortran/38291 (Rejects I/O with POS= if FMT=*)Jerry DeLisle2-2/+10
2008-12-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/38291 * io.c (match_dt_element): Use dt->pos in matcher. (gfc_free_dt): Free dt->pos after use. (gfc_resolve_dt): Use dt->pos in resolution of stream position tag. 2008-12-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/38291 * io/transfer.c (data_transfer_init): Add checks for POS= valid range. Add check for unit opened with ACCESS="stream". Flush and seek if current stream position does not match. Check ENDFILE on read. From-SVN: r142515
2008-12-05re PR rtl-optimization/38272 (Revision 142207 caused ↵Bernd Schmidt2-0/+7
libgomp.fortran/threadprivate2.f90) 2008-12-05 Bernd Schmidt <bernd.schmidt@analog.com> PR rtl-optimization/38272 * reload1.c (choose_reload_regs): Keep reload_spill_index correct in all cases. From-SVN: r142514
2008-12-06Daily bump.GCC Administrator1-1/+1
From-SVN: r142511
2008-12-05re PR c++/35336 (Broken diagnostic: 'bit_field_ref' not supported by dump_expr)Jakub Jelinek6-0/+62
PR c++/35336 * c-pretty-print.c (pp_c_postfix_expression): Handle BIT_FIELD_REF. (pp_c_expression): Likewise. * error.c (dump_expr): Handle BIT_FIELD_REF. * g++.dg/other/error30.C: New test. From-SVN: r142497
2008-12-05target-supports.exp (check_effective_target_hard_dfp): New.Janis Johnson5-0/+19
* lib/target-supports.exp (check_effective_target_hard_dfp): New. * gcc.dg/dfp/convert-dfp-round.c: Skip for hard_dfp. * gcc.dg/dfp/fe-binop.c: Ditto. * gcc.dg/dfp/fe-convert-1.c: Ditto. From-SVN: r142494
2008-12-05PR c/38416, make pragma_kind 8 bitsMichael Meissner2-1/+6
From-SVN: r142493
2008-12-05mips-nonpic: New testsuite.Catherine Moore30-0/+442
2008-12-05 Catherine Moore <clm@codesourcery.com> * gcc-target/mips/mips-nonpic: New testsuite. From-SVN: r142492
2008-12-05re PR middle-end/28614 (gcc.c-torture/compile/20001226-1.c times out)Steve Ellcey3-0/+12
PR other/28614 * gcc.c-torture/compile/20001226-1.c: Add dg-timeout-factor. * g++.dg/torture/pr31863.C: Ditto. From-SVN: r142485
2008-12-05re PR middle-end/37248 (regression transformation bitfield to individual bytes)Jakub Jelinek6-6/+461
PR middle-end/37248 * fold-const.c (make_bit_field_ref): Change bitpos and bitsize arguments to HOST_WIDE_INT. If type has different signedness than unsignedp or different precision from bitsize, create the right type for BIT_FIELD_REF and cast to type. (fold_truthop): Change first_bit and end_bit to HOST_WIDE_INT. Revert: 2008-03-05 Richard Guenther <rguenther@suse.de> PR c++/35336 * fold-const.c (fold_truthop): Remove code generating BIT_FIELD_REFs of structure bases. (fold_binary): Likewise. (make_bit_field_ref): Remove. (optimize_bit_field_compare): Remove. (all_ones_mask_p): Remove. * gcc.target/i386/pr37248-1.c: New test. * gcc.target/i386/pr37248-2.c: New test. * gcc.target/i386/pr37248-3.c: New test. From-SVN: r142484
2008-12-05tree-sra.c (sra_explode_bitfield_assignment): Always call unsigned_type_for...Jakub Jelinek2-4/+6
* tree-sra.c (sra_explode_bitfield_assignment): Always call unsigned_type_for, if the precision is higher than needed, call build_nonstandard_integer_type. From-SVN: r142483
2008-12-05re PR debug/38367 (Wrong debug information for big endian function parameters)Jakub Jelinek2-1/+16
PR debug/38367 * function.c (assign_parm_find_stack_rtl): If promoted_mode is wider than DECL_MODE, adjust MEM_OFFSET (stack_parm) for big endian. From-SVN: r142481
2008-12-05re PR middle-end/38338 (__builtin_apply causes an ICE on x86)Jakub Jelinek4-2/+37
PR middle-end/38338 * builtins.c (expand_builtin_apply_args): Put before parm_birth_insn only if internal_arg_pointer is a non-virtual pseudo. * gcc.dg/pr38338.c: New test. From-SVN: r142480
2008-12-05rs6000.md (move_from_CR_gt_bit): Enable for TARGET_HARD_FLOAT && ↵Joseph Myers5-2/+19
!TARGET_FPRS, not TARGET_E500. * config/rs6000/rs6000.md (move_from_CR_gt_bit): Enable for TARGET_HARD_FLOAT && !TARGET_FPRS, not TARGET_E500. * config/rs6000/spe.md (e500_cr_ior_compare): Likewise. testsuite: * gcc.target/powerpc/20081204-1.c: New test. From-SVN: r142477
2008-12-05re PR tree-optimization/37716 (ice for legal C++ code with -O2 on 20080926)Jakub Jelinek2-2/+8
PR tree-optimization/37716 * gimplify.c (gimplify_expr): Allow COND_EXPR if gimplify_ctxp->allow_rhs_cond_expr. From-SVN: r142476
2008-12-05* Remove unintended commits.Uros Bizjak4-29/+7
From-SVN: r142475
2008-12-05alpha.c (alpha_fold_vector_minmax): Create VIEW_CONVERT_EXPR to convert ↵Uros Bizjak6-11/+40
output to long_integer_type_node. * config/alpha/alpha.c (alpha_fold_vector_minmax): Create VIEW_CONVERT_EXPR to convert output to long_integer_type_node. (alpha_emit_conditional_branch): Do not generate direct branch for UNORDERED comparisons. From-SVN: r142474
2008-12-05linux-unwind.h (frob_update_context): Check for NULL lr.Andreas Schwab2-60/+65
* config/rs6000/linux-unwind.h (frob_update_context): Check for NULL lr. From-SVN: r142473
2008-12-05re PR testsuite/38406 (Revision 142437 caused ↵Richard Guenther2-2/+8
gcc.dg/Wstrict-aliasing-converted-assigned.c) 2008-12-05 Richard Guenther <rguenther@suse.de> PR testsuite/38406 * gcc.dg/Wstrict-aliasing-converted-assigned.c: Restrict PTA alias warning to lp64 targets. From-SVN: r142471
2008-12-05Fix dates.Eric Botcazou7-7/+7
From-SVN: r142470