aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10revert: longlong.h (count_leading_zeros): Replace '{' and '}' with '%{' and ↵Kazu Hirata5-71/+110
'%}', respectively. Revert: 2007-10-09 Kazu Hirata <kazu@codesourcery.com> * longlong.h (count_leading_zeros): Replace '{' and '}' with '%{' and '%}', respectively. Revert: 2007-10-09 Kazu Hirata <kazu@codesourcery.com> * config/m68k/m68k.c (print_operand): Handle '{' and '}'. * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '{' and '}'. * config/m68k/m68k.md: Replace '{' with '%{' where '{' is meant to be output. Revert: 2007-10-07 Kazu Hirata <kazu@codesourcery.com> * config/m68k/m68k.c, config/m68k/m68k.md: Use the assembly syntax for ASSEMBLER_DIALECT. * config/m68k/m68k.h (ASSEMBLER_DIALECT): New. From-SVN: r129202
2007-10-10SMS: Add dump infoRevital Eres2-13/+68
From-SVN: r129200
2007-10-10fixed date on last commit.Kenneth Zadeck1-1/+1
From-SVN: r129194
2007-10-10re PR rtl-optimization/33669 (Revision 128957 miscompiles 481.wrf)Kenneth Zadeck2-9/+17
2007-10-07 Kenneth Zadeck <zadeck@naturalbridge.com> PR middle-end/33669 * ra-conflict.c (record_one_conflict_between_regnos, set_conflicts_for_earlyclobber, global_conflicts): Improved logging. (global_conflicts): Enhanced incorrect check. From-SVN: r129193
2007-10-10Daily bump.GCC Administrator1-1/+1
From-SVN: r129191
2007-10-09Index: gcc/ChangeLogGeoffrey Keating5-27/+36
2007-10-09 Geoffrey Keating <geoffk@apple.com> * dwarf2out.c (output_call_frame_info): FDEs are always emitted if flag_exceptions is not set. * config/darwin.c (darwin_emit_unwind_label): Rewrite to use assemble_name rather than incorrectly emulating it. Index: gcc/testsuite/ChangeLog 2007-10-09 Geoffrey Keating <geoffk@apple.com> * gcc.dg/unwind-1.c: New. From-SVN: r129187
2007-10-09extend.texi (Deprecated Features): Mention that <?Geoffrey Keating2-2/+7
* doc/extend.texi (Deprecated Features): Mention that <? and >? and friends are removed from G++. From-SVN: r129186
2007-10-09c-opts.c (c_common_handle_option): -Wnontemplate-friend...Manuel López-Ibáñez2-6/+8
2007-10-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * c-opts.c (c_common_handle_option): -Wnontemplate-friend, -Wwrite-strings and -Wmultichar are enabled by default, so Wall enabling them is redundant. Don't check two times for c_dialect_cxx. From-SVN: r129183
2007-10-09re PR libfortran/33683 (calculating lgamma instead of gamma)Thomas Koenig2-1/+7
2007-10-09 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/33683 * gfortran.dg/gamma_5.f90: Adjust tolerance to avoid failure on some common systems. From-SVN: r129174
2007-10-09ra-conflict.c (record_one_conflict_between_regnos): Revert the last change.H.J. Lu2-6/+13
2007-10-09 H.J. Lu <hongjiu.lu@intel.com> * ra-conflict.c (record_one_conflict_between_regnos): Revert the last change. (set_conflicts_for_earlyclobber): Likewise. (global_conflicts): Likewise. From-SVN: r129170
2007-10-09longlong.h (count_leading_zeros): Replace '{' and '}' with '%{' and '%}', ↵Kazu Hirata2-1/+6
respectively. * longlong.h (count_leading_zeros): Replace '{' and '}' with '%{' and '%}', respectively. From-SVN: r129169
2007-10-09m68k.c (print_operand): Handle '{' and '}'.Kazu Hirata4-17/+34
* config/m68k/m68k.c (print_operand): Handle '{' and '}'. * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '{' and '}'. * config/m68k/m68k.md: Replace '{' with '%{' where '{' is meant to be output. From-SVN: r129168
2007-10-09re PR middle-end/33692 (Type checking error with address-of and volatile)Richard Guenther4-4/+41
2007-10-09 Richard Guenther <rguenther@suse.de> PR middle-end/33692 * gimplify.c (canonicalize_component_ref): Honor qualifiers of referenced structure and component. * gcc.dg/pr33692.c: New testcase. From-SVN: r129167
2007-10-09re PR rtl-optimization/33669 (Revision 128957 miscompiles 481.wrf)Kenneth Zadeck4-6/+59
gcc/ 2007-10-09 Kenneth Zadeck <zadeck@naturalbridge.com> PR middle-end/33669 * ra-conflict.c (record_one_conflict_between_regnos, set_conflicts_for_earlyclobber, global_conflicts): Improved logging. (global_conflicts): Removed incorrect check. gcc/testsuite/ 2007-10-09 Kenneth Zadeck <zadeck@naturalbridge.com> PR middle-end/33669 * gcc.c-torture/execute/pr33669.c: New. From-SVN: r129166
2007-10-09re PR tree-optimization/33615 (Hoisting of potentially-throwing values for ↵Richard Sandiford4-4/+36
-fnon-call-exceptions) gcc/ PR tree-optimization/33615 * tree-ssa-pre.c (compute_avail): Don't call make_values_for_stmt if the statement might throw. Fix formatting. gcc/testsuite/ PR tree-optimization/33615 * g++.dg/tree-ssa/pr33615-2.C: New test. From-SVN: r129164
2007-10-09re PR tree-optimization/33615 (Hoisting of potentially-throwing values for ↵Richard Sandiford4-1/+33
-fnon-call-exceptions) gcc/ PR tree-optimization/33615 * tree-ssa-loop-im.c (movement_possibility): Return MOVE_IMPOSSIBLE if the rhs might throw. gcc/testsuite/ PR tree-optimization/33615 * g++.dg/tree-ssa/pr33615.C: New test. From-SVN: r129163
2007-10-09invoke.texi (align-threshold, [...]): Document.Jan Hubicka5-7/+81
* invoke.texi (align-threshold, align-loop-iterations): Document. * final.c: Include cfgloop.h, params.h (compute_alignments): Dump decisions and compare them with loop structure; honor given parameters. (pass_compute_alignments): New dump file. * params.def (PARAM_ALIGN_THRESHOLD, PARAM_ALIGN_LOOP_ITERATIONS): New. * Makefile.in (final.o): Add dependency on cfgloop.h and params.h From-SVN: r129162
2007-10-09re PR tree-optimization/33655 (ICE in bitfield_overlaps_p, at tree-sra.c:2901)James E Wilson2-1/+9
PR tree-optimization/33655 PR middle-end/22156 * tree-sra.c (bitfield_overlaps_p): When fld->element is INTEGER_CST, convert it to bitsizetype before size_binop call. From-SVN: r129152
2007-10-09re PR tree-optimization/33572 (wrong code with -O)Alexandre Oliva2-1/+8
PR tree-optimization/33572 * tree-inline.c (update_ssa_across_abnormal_edges): Tolerate the absence of a corresponding edge from the exit block. From-SVN: r129151
2007-10-09re PR middle-end/22156 (bit-field copying regressed)Alexandre Oliva2-16/+36
PR middle-end/22156 * tree-sra.c (instantiate_element): Use BYTES_BIG_ENDIAN for bit-field layout. (sra_build_assignment): Likewise. Set up mask depending on precision, not type. (sra_build_bf_assignment): Use BYTES_BIG_ENDIAN. Don't overflow computing bit masks. (sra_build_elt_assignment): Don't view-convert from signed to unsigned. (sra_explode_bitfield_assignment): Use bit-field type if possible. Use BYTES_BIG_ENDIAN. From-SVN: r129150
2007-10-09Add missing hunk in r129143 check in. Add references to PR 22156.Alexandre Oliva1-0/+4
From-SVN: r129149
2007-10-09Daily bump.GCC Administrator1-1/+1
From-SVN: r129147
2007-10-08re PR tree-optimization/33572 (wrong code with -O)Alexandre Oliva2-27/+12
PR tree-optimization/33572 * g++.dg/torture/pr33572.C: Replace with complete test. From-SVN: r129144
2007-10-08tree-sra.c (scalarize_lsdt): Fix thinko in testing whether the original stmt ↵Alexandre Oliva2-2/+7
can throw. * tree-sra.c (scalarize_lsdt): Fix thinko in testing whether the original stmt can throw. From-SVN: r129143
2007-10-08re PR fortran/33689 ([Regression 4.3] Array with constant bound rejected as ↵Tobias Schlüter4-28/+38
automatic array) PR fortran/33689 fortran/ * resolve.c (gfc_resolve_expr): Fix indentation. (resolve_fl_variable_derived): Rename argument. (resolve_fl_variable): Fix case in message. Clarify logic. Correctly simplify array bounds. testsuite/ * gfortran.dg/spec_expr_5.f90: New. From-SVN: r129139
2007-10-08darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Register '#pragma mark' to be ↵Geoffrey Keating4-1/+35
executed at preprocessing time. * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Register '#pragma mark' to be executed at preprocessing time. From-SVN: r129134
2007-10-08varasm.c (compare_constant): Removed call to lang_hooks.expand_constant.Ollie Wild11-65/+60
gcc/ * varasm.c (compare_constant): Removed call to lang_hooks.expand_constant. (copy_constants): Removed call to lang_hooks.expand_constant. (compute_reloc_for_constant): Removed call to lang_hooks.expand_constant. (output_addressed_constants): Removed call to lang_hooks.expand_constant. (constructor_static_from_elts_p): Removed call to lang_hooks.expand_constant. (output_constant): Removed calls to lang_hooks.expand_constant. * langhooks.h (struct lang_hooks): Removed field expand_constant. * langhooks-def.h (lhd_return_tree): Removed. (LANG_HOOKS_EXPAND_CONSTANT): Removed. (LANG_HOOKS_INITIALIZER): Removed LANG_HOOKS_EXPAND_CONSTANT. * langhooks.c (lhd_return_tree): Removed. gcc/cp/ * typeck2.c (digest_init): Call cplus_expand_constant after convert_for_initialization. * cp-objcp-common.h (LANG_HOOKS_EXPAND_CONSTANT): Removed. * expr.c (cplus_expand_constant): Updated function description. gcc/ada/ * misc.c (LANG_HOOKS_PUSHDECL): Replaced lhd_return_tree with gnat_return_tree. (gnat_init_gcc_eh): Replaced gnat_eh_runtime_type with gnat_return_tree. (gnat_eh_runtime_type): Removed. (gnat_return_tree): New function. From-SVN: r129133
2007-10-08combine.c (setup_incoming_promotions): Ensure that arguments that have not ↵Mark Shinwell2-4/+12
undergone mode promotions do not... gcc/ * combine.c (setup_incoming_promotions): Ensure that arguments that have not undergone mode promotions do not incorrectly get marked as being sign- or zero-extended. From-SVN: r129131
2007-10-08re PR middle-end/33693 (Type checking error with bitwise xor/and)Richard Guenther6-6/+52
2007-10-08 Richard Guenther <rguenther@suse.de> PR middle-end/33693 PR middle-end/33695 PR middle-end/33697 * fold-const.c (fold_binary): Use correct types in folding of a * (1 << b) to (a << b). Likewise for ~A & ~B to ~(A | B) and building of RROTATE_EXPR. * gcc.dg/pr33693.c: New testcase. * gcc.dg/pr33695.c: Likewise. * gcc.dg/pr33697.c: Likewise. From-SVN: r129130
2007-10-08re PR middle-end/33691 (Type checking error with bitwise and/or)Richard Guenther6-11/+69
2007-10-08 Richard Guenther <rguenther@suse.de> PR middle-end/33691 PR middle-end/33694 PR middle-end/33696 * fold-const.c (fold_binary): Use the correct types when folding (A | CST1) & CST2 to (A & CST2) | (CST1 & CST2). (fold_binary): Use the correct types when folding (-A) - B to (-B) - A. (fold_unary): Use the correct types when folding ~(X). * gcc.dg/pr33691.c: New testcase. * gcc.dg/pr33694.c: Likewise. * gcc.dg/pr33696.c: Likewise. From-SVN: r129128
2007-10-08invoke.texi (Wall): fix formatting issues.Manuel López-Ibáñez2-28/+32
2007-10-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * doc/invoke.texi (Wall): fix formatting issues. contrib/ * texi2pod.pl: Handle @asis. (postprocess): Move @gccoptlist{} after all formatting commands. From-SVN: r129125
2007-10-08re PR ada/33454 (Wrong system.ads for --with-cpu=default32)Ben Elliston3-160/+12
PR ada/33454 Revert: 2007-08-31 Ben Elliston <bje@au.ibm.com> * Makefile.in (LIBGNAT_TARGET_PAIRS): Use system-linux-ppc64.ads when compiling for powerpc64-*-linux. * system-linux-ppc64.ads: New file. From-SVN: r129121
2007-10-08Daily bump.GCC Administrator1-1/+1
From-SVN: r129119
2007-10-07re PR libfortran/33683 (calculating lgamma instead of gamma)Thomas Koenig4-1/+54
2007-10-07 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/33683 * mathbuiltins.def (GAMMA): Change function name to "tgamma" instad of "gamma". 2007-10-07 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/33683 * gfortran.dg/gamma_5.f90: New test case From-SVN: r129116
2007-10-07simplify-rtx.c (simplify_binary_operation_1): Canonicalize truncated shift ↵Richard Sandiford2-2/+14
counts. gcc/ * simplify-rtx.c (simplify_binary_operation_1): Canonicalize truncated shift counts. From-SVN: r129072
2007-10-07m68k.c, m68k.md: Use the assembly syntax for ASSEMBLER_DIALECT.Kazu Hirata4-72/+51
* config/m68k/m68k.c, config/m68k/m68k.md: Use the assembly syntax for ASSEMBLER_DIALECT. * config/m68k/m68k.h (ASSEMBLER_DIALECT): New. From-SVN: r129070
2007-10-07re PR fortran/20851 (dummy argument may not appear in specification ↵Tobias Schlüter8-20/+94
expression in elemental procedure) PR fortran/20851 fortran/ * expr.c (check_inquiry): Typo fix in error message. (check_init_expr): Same * 3. (check_restricted): Verify that no dummy arguments appear in restricted expressions in ELEMENTAL procedures. * resolve.c (resolve_fl_variable): Exchange order of checks to avoid side-effect. testsuite/ * initialization_1.f90: Fix dg-error annotations. * initialization_14.f90: New. * initialization_7.f90: Fix dg-error annotations. * initialization_9.f90: Likewise. From-SVN: r129069
2007-10-07Fix address.Eric Botcazou1-1/+1
From-SVN: r129067
2007-10-07dwarf2out.c (dwarf2out_frame_init): Check for DWARF2_FRAME_INFO when ↵Eric Botcazou2-1/+7
determining whether to record... * dwarf2out.c (dwarf2out_frame_init): Check for DWARF2_FRAME_INFO when determining whether to record INCOMING_RETURN_ADDR_RTX. Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com> From-SVN: r129066
2007-10-07Daily bump.GCC Administrator1-1/+1
From-SVN: r129064
2007-10-06error_recovery_4.f90: New test.Jerry DeLisle2-0/+9
2007-10-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.dg/error_recovery_4.f90: New test. From-SVN: r129060
2007-10-06re PR fortran/33609 (ICE on arithmetic overflow)Jerry DeLisle2-0/+9
2007-10-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/33609 * simplify.c (range_check): Return gfc_bad_expr if incoming expression is NULL. From-SVN: r129059
2007-10-06default_format_denormal_2.f90: New test.Francois-Xavier Coudert7-126/+177
* gfortran.dg/default_format_denormal_2.f90: New test. * gfortran.dg/default_format_2.inc: New test. * gfortran.dg/default_format_denormal_1.f90: New test. * gfortran.dg/default_format_1.inc: New test. * gfortran.dg/default_format_1.f90: Don't test for denormalized numbers. * gfortran.dg/default_format_2.f90: Don't test for denormalized numbers. From-SVN: r129057
2007-10-06Revert:Eric Botcazou3-18/+10
2007-02-12 Eric Botcazou <ebotcazou@adacore.com> * tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL. * cgraphunit.c (cgraph_expand_function): If DECL_IGNORED_P is set on the function, temporarily point the debug interface to the null one. From-SVN: r129056
2007-10-06namelist_15.f90: Revise test.Jerry DeLisle2-7/+15
2007-10-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.dg/namelist_15.f90: Revise test. From-SVN: r129055
2007-10-06* simplify.c (gfc_simplify_size): Fix typo.Tobias Schlüter2-1/+5
From-SVN: r129053
2007-10-06re PR tree-optimization/33655 (ICE in bitfield_overlaps_p, at tree-sra.c:2901)Alexandre Oliva4-0/+30
gcc/ChangeLog: PR tree-optimization/33655 * tree-sra.c (bitfield_overlaps_p): Handle array and complex elements. gcc/testsuite/ChangeLog: PR tree-optimization/33655 * gcc.dg/torture/pr33655.c: New. From-SVN: r129052
2007-10-06re PR tree-optimization/33572 (wrong code with -O)Alexandre Oliva5-73/+112
gcc/ChangeLog: PR tree-optimization/33572 * tree-cfg.c (verify_stmts): Check for missing PHI defs. * tree-inline.c (update_ssa_across_eh_edges): Renamed to... (update_ssa_across_abnormal_edges): ... this. Set slots in the return PHI node. (copy_edges_for_bb): Handle nonlocal label edges. (make_nonlocal_label_edges): Deleted. (optimize_inline_calls): Don't call it. gcc/testsuite/ChangeLog: PR tree-optimization/33572 * g++.dg/torture/pr33572.C: New. From-SVN: r129051
2007-10-06re PR fortran/25076 (FORALL triplet subscript must not reference any index-name)Tobias Schlüter4-143/+199
PR fortran/25076 fortran/ * resolve.c (gfc_find_forall_index): Move towards top, renaming to ... (find_forall_index): ... this. Add check for NULL expr. (resolve_forall_iterators): Verify additional constraint. (resolve_forall): Remove checks obsoleted by new code in resolve_forall_iterators. testsuite/ * gfortran.dg/forall_11.f90: New. From-SVN: r129050
2007-10-06Daily bump.GCC Administrator1-1/+1
From-SVN: r129045