- Jan 05, 2007
-
-
Ian Lance Taylor authored
./: * c-common.c (decl_with_nonnull_addr_p): New function. (c_common_truthvalue_conversion): Call it. * c-typeck.c (build_binary_op): Likewise. * c-common.h (decl_with_nonnull_addr_p): Declare. cp/: * typeck.c (build_binary_op): Warn about comparing a non-weak address to NULL. testsuite/: * gcc.dg/Walways-true-1.c: New test. * gcc.dg/Walways-true-2.c: New test. * g++.dg/warn/Walways-true-1.C: New test. * g++.dg/warn/Walways-true-2.C: New test. From-SVN: r120493
-
Daniel Jacobowitz authored
From-SVN: r120492
-
Jakub Jelinek authored
PR c/30360 * libgcc2.c (__divdc3): Compare c and d against 0.0 instead of denom against 0.0. * gcc.dg/pr30360.c: New test. From-SVN: r120486
-
Paul Thomas authored
2007-01-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/23232 * decl.c (gfc_in_match_data, gfc_set_in_match_data): New functions to signal that a DATA statement is being matched. (gfc_match_data): Call gfc_set_in_match_data on entry and on exit. * gfortran.h : Add prototypes for above. * expr.c (check_init_expr): Avoid check on parameter or variable if gfc_in_match_data is true. (gfc_match_init_expr): Do not call error on non-reduction of expression if gfc_in_match_data is true. PR fortran/27996 PR fortran/27998 * decl.c (gfc_set_constant_character_len): Add boolean arg to flag array constructor resolution. Warn if string is being truncated. Standard dependent error if string is padded. Set new arg to false for all three calls to gfc_set_constant_character_len. * match.h : Add boolean arg to prototype for gfc_set_constant_character_len. * gfortran.h : Add warn_character_truncation to gfc_options. * options.c (set_Wall): Set warn_character_truncation if -Wall is set. * resolve.c (resolve_code): Warn if rhs string in character assignment has to be truncated. * array.c (gfc_resolve_character_array_constructor): Set new argument to true for call to gfc_set_constant_character_len. 2007-01-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/23232 * gfortran.dg/data_implied_do_1.f90: New test. PR fortran/27996 PR fortran/27998 * gfortran.dg/char_length_1.f90: New test. From-SVN: r120485
-
Joel Brobecker authored
* doc/install.texi (Final install): Document the fact that the GNAT runtime should not be stripped. From-SVN: r120484
-
Douglas Gregor authored
2007-01-04 Douglas Gregor <doug.gregor@gmail.com> * pt.c (tsubst): Propagate the need for structural equality checks when reducing the level of template parameters. From-SVN: r120483
-
Richard Biener authored
2007-01-05 Richard Guenther <rguenther@suse.de> PR middle-end/28116 * g++.dg/opt/pr28116.C: New testcase. From-SVN: r120482
-
Jan Hubicka authored
* tree-inline.c (fold_marked_statements): Update operand caches and EH after folding From-SVN: r120477
-
Tobias Burnus authored
fortran/ 2007-01-05 Tobias Burnus <burnus@net-b.de> PR fortran/29624 * interface.c (compare_parameter_intent): New function. (check_intents): Support pointer intents. * symbol.c (check_conflict): Support pointer intents, better conflict_std message. * expr.c (gfc_check_assign,gfc_check_pointer_assign): Support pointer intents. * resolve.c (resolve_deallocate_expr,resolve_allocate_expr): Support pointer intents. testsuite/ 2006-01-05 Tobias Burnus <burnus@net-b.de> PR fortran/29624 * gfortran.dg/alloc_alloc_expr_1.f90: Add check for invalid deallocate. * gfortran.dg/allocatable_dummy_2.f90: Update dg-error. * gfortran.dg/protected_4.f90: Add pointer intent check. * gfortran.dg/protected_6.f90: Add pointer intent check. * gfortran.dg/pointer_intent_1.f90: New test. * gfortran.dg/pointer_intent_2.f90: New test. * gfortran.dg/pointer_intent_3.f90: New test. From-SVN: r120472
-
Gerald Pfeifer authored
* crontab: Spread snapshots more evenly throughout the week, and in "ascending" order. Build all at the same time of the day. From-SVN: r120471
-
Ian Lance Taylor authored
From-SVN: r120470
-
Jan Hubicka authored
* tree-optimize.c (execute_fixup_cfg): Correct previously mistakely comitted older version of patch. (pass_fixup_cfg): Add TODOs to verify flow and statements, dump function, celanup cfg and collect garbage. From-SVN: r120469
-
Brooks Moses authored
PR 30371 * check.c (gfc_check_kill_sub): Add checks for non-scalar arguments. From-SVN: r120468
-
Brooks Moses authored
* intrinsic.texi: Minor cleanup, reflowing overlong paragraphs, and correcting whitespace. From-SVN: r120467
-
Brooks Moses authored
* intrinsic.texi (LBOUND): Add documentation. (LGE): Add documentation. (LGT): Add documentation. (LINK): Add documentation. (LLE): Add documentation. (LLT): Add documentation. (LNBLNK): Add documentation. (UBOUND): Add documentation. (UNLINK): Add documentation. From-SVN: r120466
-
Mike Stump authored
* Makefile.in (mostlyclean): Don't remove libgcc anymore. (clean): Likewise. From-SVN: r120465
-
GCC Administrator authored
From-SVN: r120463
-
Ben Elliston authored
From-SVN: r120458
-
- Jan 04, 2007
-
-
Ben Elliston authored
strstream.cc (strstreambuf::seekoff): Add parentheses around truth expression to eliminate a new warning from g++. * src/strstream.cc (strstreambuf::seekoff): Add parentheses around truth expression to eliminate a new warning from g++. From-SVN: r120457
-
Brooks Moses authored
From-SVN: r120456
-
Brooks Moses authored
From-SVN: r120455
-
Eric Christopher authored
2007-01-04 Eric Christopher <echristo@apple.com> * libgcc2.c (__bswapsi2): Use SItype. (__bswapdi2): Use DItype. * libgcc2.h: Update for above. From-SVN: r120454
-
Paul Brook authored
2007-01-04 Paul Brook <paul@codesourcery.com> * config/arm/arm.md (arm_mulsi3, thumb_mulsi3, mulsi3_compare0, mulsi_compare0_scratch, mulsi3addsi, mulsi3addsi_compare0, mulsi3addsi_compare0_scratch, mulsidi3adddi, mulsidi3, umulsidi3, umulsidi3adddi, smulsi3_highpart, umulsi3_highpart): Make conditional on !arm_arch6. (arm_mulsi3_v6, thumb_mulsi3_v6, mulsi3_compare0_v6, mulsi_compare0_scratch_v6, mulsi3addsi_v6, mulsi3addsi_compare0_v6, mulsi3addsi_compare0_scratch_v6, mulsidi3adddi_v6, mulsidi3_v6, umulsidi3_v6, umulsidi3adddi_v6, smulsi3_highpart_v6, umulsi3_highpart_v6): New insns. From-SVN: r120453
-
Brooks Moses authored
* intrinsic.texi (IAND): Clarify argument specifications. (IBCLR): Add documentation. (IBITS): Add documentation. (IBSET): Add documentation. (IEOR): Add documentation. (IERRNO): Add documentation. (INDEX): Add documentation. (IOR): Add documentation. (ISHFT): Add documentation. (ISHFTC): Add documentation. (KILL): Add documentation. (LEN_TRIM): Add documentation. From-SVN: r120452
-
Roger Sayle authored
* fold-const.c (fold_convert): When casting an expression to void, fold_ignored_result may discover a GIMPLE_MODIFY_STMT which doesn't have a type. Instead of attempting to build a NOP_EXPR, return these "special" trees directly. From-SVN: r120451
-
Mike Stump authored
* Makefile.in (MAKEINFO): Remove. (PERL): Likewise. From-SVN: r120450
-
Paolo Bonzini authored
2007-01-04 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Add GCC_TOPLEV_SUBDIRS. * configure: Regenerate. * Makefile.in (host_subdir): Substitute it. (gcc_objdir): Use it. From-SVN: r120449
-
Brooks Moses authored
re PR fortran/30235 ([4.1 only] missing alternate return argument with explicit interface causes segfault) fortran/ PR 30235 * interface.c (compare_actual_formal): check for alternate returns when iterating over non-present arguments. testsuite/ PR 30235 * gfortran.dg/altreturn_2.f90: new test. From-SVN: r120447
-
Brooks Moses authored
From-SVN: r120445
-
Brooks Moses authored
* gfortran.texi: Update copyright to include 2007. * intrinsic.texi: Update copyright to include 2007. * invoke.texi: Update copyright to include 2007. From-SVN: r120444
-
Daniel Jacobowitz authored
From-SVN: r120443
-
Joseph Myers authored
* config/rs6000/rs6000.c (rs6000_rtx_costs): Make adjustment for MULT inside MINUS as either argument. Use rs6000_cost->dmul - rs6000_cost->fp not 0 as adjustment for outer NEG. From-SVN: r120442
-
Tom Tromey authored
libcpp PR preprocessor/28165: * internal.h (cpp_in_primary_file): New function. * directives.c (do_include_next): Use cpp_in_primary_file. (do_pragma_once): Likewise. (do_pragma_system_header): Likewise. gcc/testsuite PR preprocessor/28165: * gcc.dg/cpp/pr28165.c: New file. From-SVN: r120441
-
Daniel Jacobowitz authored
From-SVN: r120440
-
Paolo Bonzini authored
From-SVN: r120439
-
Jan Hubicka authored
* cgraph.c (cgraph_release_function_body): New function. (cgraph_remove_node): Use it. * cgraph.h (cgraph_release_function_body): Declare. * cgraphunit.c (cgraph_expand_function): Use it. * ipa.c (cgraph_remove_unreahchable_nodes): Use it. * tree-ssa.c (delete_tree_ssa): Allow to be called before aliasing is initialized and while compilation of other function is running. * tree-optimize.c (execute_free_cfg_annotations): Move code to clear statement CFG annotations from here to ... * tree-cfg.c (delete_tree_cfg_annotations): ... here. From-SVN: r120437
-
Zdenek Dvorak authored
* cfgloop.h (enum li_flags): Make the constants powers of two. From-SVN: r120433
-
Paolo Bonzini authored
2007-01-04 Paolo Bonzini <bonzini@gnu.org> * configure.in: Use DEV-PHASE to detect the default for --enable-werror. * configure: Regenerate. From-SVN: r120432
-
Tobias Burnus authored
2007-01-02 Tobias Burnus <burnus@net-b.de> Jakub Jelinek <jakub@redhat.com> PR fortran/30276 * scanner.c (open_included_file): Revert patch. (gfc_open_included_file): Support absolute pathnames. (gfc_open_intrinsic_module): Support absolute pathnames. Co-Authored-By:
Jakub Jelinek <jakub@redhat.com> From-SVN: r120431
-
Jan Hubicka authored
* tree-inline.c (copy_bb): Insert new statements to statements_to_fold set. (fold_marked_statements): New function. (optimize_inline_calls, tree_function_versioning): Fold new statements. * tree-inline.h (copy_body_data): Add statemetns_to_fold. From-SVN: r120430
-