1. 15 Mar, 2007 6 commits
    • re PR target/31167 (ICE wnen using __int128_t on x86_64) · 68b8830a
              PR target/31167
              * config/i386/i386.md (*addti3_1, *addti3_1 splitter): Use
              x86_64_general_operand as operand[2] predicate.  Remove "iF"
              from operand constraints and use "e" constraint instead.
              (*subti3_1, *subti3_1 splitter): Ditto.
              (*negti2_1, *negti2_1 splitter): Use nonimmediate_operand as
              operand[1] predicate.
      
      testsuite/ChangeLog
      
             PR target/31167
             * gcc.target/i386/pr31167.c: New test.
      
      From-SVN: r122945
      Uros Bizjak committed
    • [multiple changes] · 36d3fb4c
      2007-03-15  Tobias Burnus  <burnus@gcc.gnu.org>
      	    Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/30922
      	* decl.c (gfc_match_import): If the parent of the current name-
      	space is null, try looking for an imported symbol in the parent
      	of the proc_name interface.
      	* resolve.c (resolve_fl_variable): Do not check for blocking of
      	host association by a same symbol, if the symbol is in an
      	interface body.
      
      2007-03-15  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/30879
      	* decl.c (match_data_constant): Before going on to try to match
      	a name, try to match a structure component.
      
      
      	PR fortran/30870
      	* resolve.c (resolve_actual_arglist): Do not reject a generic
      	actual argument if it has a same name specific interface.
      
      	PR fortran/31163
      	* trans-array.c (parse_interface): Do not nullify allocatable
      	components if the symbol has the saved attribute.
      
      
      2007-03-15  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/30922
      	* gfortran.dg/import5.f90.f90: New test.
      
      
      	PR fortran/30879
      	* gfortran.dg/data_components_1.f90: New test.
      
      
      	PR fortran/30870
      	* gfortran.dg/generic_13.f90: New test.
      
      	PR fortran/31163
      	* gfortran.dg/alloc_comp_basics_5.f90: New test.
      
      From-SVN: r122944
      Paul Thomas committed
    • re PR fortran/31051 ([4.2 Only] gfortran bug with x and t format descriptors.) · 23dd7383
      2007-03-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/31051
      	* gfortran.dg/fmt_t_4.f90: New
      
      From-SVN: r122942
      Jerry DeLisle committed
    • re PR c++/31165 (Error: symbol `an_empty_string' is already defined) · 344bd5a8
      2007-03-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR c++/31165
              * call.c  (convert_default_arg): Instead of copying the node,
              unshare it.
      2007-03-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR C++/31165
              * g++.dg/other/default7.C: New test.
      
      From-SVN: r122941
      Andrew Pinski committed
    • re PR fortran/31051 ([4.2 Only] gfortran bug with x and t format descriptors.) · 22cbc707
      2007-03-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/31051
      	* io/transfer.c (formatted_transfer_scalar): Adjust position for pending
      	spaces when in writing mode.  Clean up some formatting.
      
      From-SVN: r122940
      Jerry DeLisle committed
    • Daily bump. · 15ce86a7
      From-SVN: r122938
      GCC Administrator committed
  2. 14 Mar, 2007 29 commits
    • tree-loop-linear.c (gather_interchange_stats): For multidimensional arrays... · c4d8f83b
      	* tree-loop-linear.c (gather_interchange_stats): For multidimensional
      	arrays, multiply the access strides by the size of the sub-array.
      	* testsuite/gcc.dg/tree-ssa/ltrans-5.c: New.
      
      From-SVN: r122935
      Sebastian Pop committed
    • re PR c++/30860 (Should warn about boolean constant false used in pointer context) · 1f7f19c4
      2007-03-15  Dirk Mueller  <dmueller@suse.de>
      
              PR c++/30860
              * call.c (convert_conversion_warnings): New..
              (convert_like_real): .. factored out from here.
              (convert_conversion_warnings): Add warning about
              false being converted to NULL in argument passing.
      
              * g++.dg/warn/Wconversion2.C: New.
      
      From-SVN: r122934
      Dirk Mueller committed
    • Fix 31018 -- move TARGET_xxx in i386.md to tuning options · ddff69b9
      From-SVN: r122933
      Michael Meissner committed
    • ssp-1.c: New. · d33d6db0
      2007-03-14  Eric Christopher  <echristo@apple.com>
      
      	* gcc.dg/ssp-1.c: New.
              * gcc.dg/ssp-2.c: Ditto.
      
      From-SVN: r122932
      Eric Christopher committed
    • configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether the configured… · 38ca3765
      configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether the configured assembler supports the sahf mnemonic.
      
              * configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether
              the configured assembler supports the sahf mnemonic.
              * configure: Regenerate.
              * config.in: Regenerate.
      
              * config/i386/i386.md (x86_sahf_1): Depending on HAVE_AS_IX86_SAHF,
              emit "sahf" or ".byte\t0x9e" as asm template.
      
      From-SVN: r122931
      Uros Bizjak committed
    • Fix 31018 -- move TARGET_xxx in i386.md to tuning options · e9f64629
      From-SVN: r122929
      Michael Meissner committed
    • c-common.h (empty_body_warning): Rename to empty_if_body_warning. · 62e00e94
      2007-03-14  Dirk Mueller  <dmueller@suse.de>
      
              * c-common.h (empty_body_warning): Rename to empty_if_body_warning.
              * c-common.c (empty_if_body_warning): Rephrase diagnostic message.
              * c-parser.c (c_parser_if_body): Always add an empty statement in case
              of empty body.
              * c-parser.c (c_parser_do_statement): Warn about empty body in
              do/while statement.
              * c-typeck (c_finish_if_stmt): Call empty_if_body_warning.
              * doc/invoke.texi (-Wempty-body): Update documentation.
      
              * cp/semantics.c (c_finish_if_stmt): Call empty_if_body_warning.
              (finish_do_body): Warn about empty body in do/while statement.
      
              * g++.dg/warn/do-empty.C: New.
              * gcc.dg/do-empty.c: New.
              * gcc.dg/if-empty-1.c: Update.
              * gcc.dg/20001116-1.c: Update.
              * gcc.dg/pr23165.c: Update.
      
      From-SVN: r122928
      Dirk Mueller committed
    • re PR libfortran/30690 ([4.2, 4.1 only] Clean up m4 files) · adea5e16
      2007-03-14  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR libfortran/30690
      	* all.m4: Quote everything, except for m4 macros.
      	* any.m4: Likewise.
      	* count.m4: Likewise.
      	* cshift1.m4: Likewise.
      	* eoshift1.m4: Likewise.
      	* eoshift3.m4: Likewise.
      	* exponent.m4: Likewise.
      	* fraction.m4: Likewise.
      	* in_pack.m4: Likewise.
      	* in_unpack.m4: Likewise.
      	* matmul.m4: Likewise.
      	* matmull.m4: Likewise.
      	* nearest.m4: Likewise.
      	* pow.m4: Likewise.
      	* product.m4: Likewise.
      	* reshape.m4: Likewise.
      	* rrspacing.m4: Likewise.
      	* set_exponent.m4: Likewise.
      	* shape.m4: Likewise.
      	* spacing.m4: Likewise.
      	* transpose.m4: Likewise.
      
      From-SVN: r122927
      Thomas Koenig committed
    • class.c (warn_hidden): Add OPT_Woverloaded_virtual to warning. · 286d12f9
      2007-03-14  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      cp/
      	* class.c (warn_hidden): Add OPT_Woverloaded_virtual to warning.
      
      From-SVN: r122926
      Manuel López-Ibáñez committed
    • re PR c/21438 (Warning about division by zero depends on lexical form) · 2e9cb75e
      2007-03-14  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c/21438
      	* c-common.h (warn_for_div_by_zero): Declare.
      	* c-common.c (warn_for_div_by_zero): Define.
      	* c-typeck.c (build_binary_op): Call warn_for_div_zero instead of
      	warning.
      cp/
      	* typeck.c (build_binary_op): Call warn_for_div_zero instead of
      	warning.
      
      From-SVN: r122925
      Manuel López-Ibáñez committed
    • Makefile.in (PREPROCESSOR_DEFINES): Add directory terminators to PREFIX and STANDARD_PREFIX. · 925af765
      gcc/
      	* Makefile.in (PREPROCESSOR_DEFINES): Add directory terminators
      	to PREFIX and STANDARD_PREFIX.
      
      From-SVN: r122924
      Richard Sandiford committed
    • 200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> · ac0d72f6
      gcc/
      200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
      	    Phil Edwards  <phil@codesourcery.com>
      
      	* gthr-vxworks.h: Add an extern "C" wrapper for C++.
      	(__gthread_once_t): Remove busy field for RTPs.
      	(__GTHREAD_ONCE_INIT): Update accordingly.
      
      Co-Authored-By: Phil Edwards <phil@codesourcery.com>
      
      From-SVN: r122923
      Richard Sandiford committed
    • invoke.texi: Document VxWorks options. · cd773ac4
      gcc/
      	* doc/invoke.texi: Document VxWorks options.
      
      From-SVN: r122922
      Richard Sandiford committed
    • trans-array.c (gfc_trans_auto_array_allocation): Replace fold(convert()) by fold_convert(). · 19ee2065
      	* trans-array.c (gfc_trans_auto_array_allocation): Replace
      	fold(convert()) by fold_convert().
      	(gfc_duplicate_allocatable): Likewise.
      	* trans-intrinsic.c (gfc_conv_intrinsic_dot_product): Use
      	build_int_cst instead of converting an integer_zero_node
      	to the final type.
      
      From-SVN: r122921
      Francois-Xavier Coudert committed
    • Makefile.am (AM_MAKEFLAGS): Pass through mandir. · 28c3de64
      	* Makefile.am (AM_MAKEFLAGS): Pass through mandir.
      	* Makefile.in: Rebuilt.
      
      From-SVN: r122919
      Jakub Jelinek committed
    • module.c (mio_typespec): Don't look at ts->cl if not BT_CHARACTER. · 3ea04f08
      	* module.c (mio_typespec): Don't look at ts->cl if not BT_CHARACTER.
      
      	* gfortran.dg/module_implicit_conversion.f90: New test.
      
      From-SVN: r122915
      Jakub Jelinek committed
    • unix.c (regular_file): For ACTION_UNSPECIFIED retry with O_RDONLY even if errno is EROFS. · d70d13ac
      	* io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
      	O_RDONLY even if errno is EROFS.
      
      From-SVN: r122914
      Jakub Jelinek committed
    • libstdc++.exp (check_v3_target_fileio, [...]): New. · 0c20e4ec
      	* testsuite/lib/libstdc++.exp (check_v3_target_fileio,
              check_v3_target_time): New.
      	* testsuite/lib/dg-options.exp (dg-require-fileio,
              dg-require-time): New.
      	* testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Use it.
      	* testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Use it.
      	* testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Use it.
      	* testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Use it.
      	* testsuite/ext/stdio_sync_filebuf/char/1.cc: Use it.
      	* testsuite/ext/stdio_filebuf/char/2.cc: Use it.
      	* testsuite/ext/stdio_filebuf/char/10063-1.cc: Use it.
      	* testsuite/ext/stdio_filebuf/char/10063-2.cc: Use it.
      	* testsuite/ext/stdio_filebuf/char/10063-3.cc: Use it.
      	* testsuite/22_locale/time_put/put/char/12439_1.cc: Use it.
      	* testsuite/22_locale/time_put/put/char/12439_3.cc: Use it.
      	* testsuite/27_io/basic_ofstream/open/char/1.cc: Use it.
      	* testsuite/27_io/basic_ofstream/cons/char/2.cc: Use it.
      	* testsuite/27_io/objects/char/12048-2.cc: Use it.
      	* testsuite/27_io/objects/char/12048-4.cc: Use it.
      	* testsuite/27_io/objects/char/12048-1.cc: Use it.
      	* testsuite/27_io/objects/char/12048-3.cc: Use it.
      	* testsuite/27_io/objects/char/10.cc: Use it.
      	* testsuite/27_io/objects/char/12048-5.cc: Use it.
      	* testsuite/27_io/basic_istream/get/char/2.cc: Use it.
      	* testsuite/27_io/basic_istream/ignore/char/2.cc: Use it.
      	* testsuite/27_io/basic_istream/ignore/char/3.cc: Use it.
      	* testsuite/27_io/basic_istream/getline/char/5.cc: Use it.
      	* testsuite/27_io/basic_istream/seekg/char/sstream.cc: Use it.
      	* testsuite/27_io/basic_istream/seekg/char/fstream.cc: Use it.
      	* testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Use it.
      	* testsuite/27_io/basic_istream/extractors_other/char/2.cc: Use it.
      	* testsuite/27_io/basic_istream/tellg/char/sstream.cc: Use it.
      	* testsuite/27_io/basic_istream/tellg/char/1.cc: Use it.
      	* testsuite/27_io/basic_istream/tellg/char/fstream.cc: Use it.
      	* testsuite/27_io/basic_istream/extractors_character/char/4.cc: Use it.
      	* testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Use it.
      	* testsuite/27_io/basic_ostream/tellp/char/1.cc: Use it.
      	* testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Use it.
      	* testsuite/27_io/basic_ifstream/open/char/1.cc: Use it.
      	* testsuite/27_io/basic_ifstream/cons/char/1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Use it.
      	* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Use it.
      	* testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Use it.
      	* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Use it.
      	* testsuite/27_io/basic_filebuf/is_open/char/1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/open/12790-1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/open/char/1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/open/char/2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/open/char/3.cc: Use it.
      	* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Use it.
      	* testsuite/27_io/basic_filebuf/overflow/char/2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Use it.
      	* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Use it.
      	* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/close/12790-1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/close/char/1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/close/char/2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Use it.
      	* testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Use it.
      	* testsuite/27_io/basic_filebuf/close/char/4.cc: Use it.
      	* testsuite/27_io/basic_filebuf/underflow/10096.cc: Use it.
      	* testsuite/27_io/basic_filebuf/underflow/char/2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Use it.
      	* testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Use it.
      	* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Use it.
      	* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: Use it.
      	* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: Use it.
      	* testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: Use it.
      
      From-SVN: r122913
      Nathan Sidwell committed
    • pass59-frag.c (main): Fix casting of arg. · 132f5e5f
              * testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg.
      
      From-SVN: r122911
      Uros Bizjak committed
    • invoke.texi (i386 and x86-64 Options): Clarify -msahf option. · 8c5fd59f
             * doc/invoke.texi (i386 and x86-64 Options): Clarify -msahf option.
      
      From-SVN: r122910
      Uros Bizjak committed
    • re PR tree-optimization/30590 (tree-nrv optimization clobbers return variable) · e31657e8
      2007-03-13  Seongbae Park <seongbae.park@gmail.com>
      
      	PR tree-optimization/30590
      	* tree-nrv.c (tree_nrv): Check for the partial update of the
      	return value.
      
      From-SVN: r122909
      Seongbae Park committed
    • Fixed pr-number typo in last ChangeLog entry. · 05033949
      From-SVN: r122908
      Brooks Moses committed
    • re PR fortran/30922 (IMPORT fails for same symbol in multiple interface bodies… · ec77243f
      re PR fortran/30922 (IMPORT fails for same symbol in multiple interface bodies of same interface block)
      
      PR fortran/30922
      PR fortran/30948
      PR fortran/30953
      * intrinsics.texi (CHDIR): Fix argument names, note
      that STATUS must be a default integer.
      (CTIME): Fix argument names, note that RESULT must
      be a default integer.
      (EXIT): Note that STATUS must be a default integer.
      
      From-SVN: r122905
      Brooks Moses committed
    • re PR fortran/28068 (Non-standard intrinsics should be documented) · 6f50a76a
      PR fortran/28068
      * intrinsic.texi: General whitespace cleanup, remove
      comment about missing intrinsics.
      (menu): Add lines for new entries listed below.
      (ACOSH): Mention specific function DACOSH, correct
      description phrasing.
      (ASINH): Mention specific function DASINH, correct
      description phrasing.
      (ATANH): Mention specific function DATANH, correct
      description phrasing.
      (COS): Add index entry for CCOS.
      (CPU_TIME): Correct "REAL" to "REAL(*)".
      (EXP): Add index entry for CEXP.
      (INT): Correct argument name to "A".
      (INT2): New entry.
      (INT8): New entry.
      (LONG): New entry.
      (MAX): Add index entries for specific variants.
      (MCLOCK): New entry.
      (MCLOCK8): New entry.
      (SECNDS): Adjust to a more standard form.
      (SECOND): New entry.
      (TIME): Add cross-reference to MCLOCK.
      (TIME8): Add cross-reference to MCLOCK8.
      
      From-SVN: r122902
      Brooks Moses committed
    • flags.h (flag_random_seed): Remove declaration, in favor of... · 403d4851
      gcc/ChangeLog:
      * flags.h (flag_random_seed): Remove declaration, in favor of...
      * toplev.h (get_random_seed, set_random_seed): ... these.
      * tree.c (get_file_function_name): Use the former.
      * opts.c (common_handle_option): Use the latter.
      * toplev.c
      gcc/cp/ChangeLog:
      * cp/repo.c (init_repo): Initialize random_seed saved options.
      (finish_repo): Adjust.
      
      From-SVN: r122901
      Alexandre Oliva committed
    • re PR middle-end/31127 (ICE in cse_find_path, at cse.c:5930) · 481e0a49
      gcc/ChangeLog:
      PR middle-end/31127
      * cse.c (cse_find_path): Do not bail out if a basic block that
      we already visited now becomes part of a path that starts at a
      different basic block.  Just disallow this, to make sure we
      visit each basic block at most once.
      gcc/testsuite/ChangeLog:
      PR middle-end/31127
      * gcc.dg/pr31127.c: New.
      
      From-SVN: r122900
      Alexandre Oliva committed
    • ipa-inline.c (cgraph_maybe_hot_edge_p): Look for hot/cold attributes... · 4cdb798f
      	* ipa-inline.c (cgraph_maybe_hot_edge_p): Look for hot/cold attributes,
      	when profile esitmate is present, calls with very low frequency are
      	cold.
      
      From-SVN: r122898
      Jan Hubicka committed
    • re PR tree-optimization/30730 (-Wunsafe-loop-optimizations gives too many warnings) · b3ce5b6e
      	PR tree-optimization/30730
      	PR tree-optimization/26900
      	* tree-ssa-loop-niter.c: Include gmp.h.
      	(bounds): New type.
      	(mpz_set_double_int, get_type_bounds, mpz_to_double_int,
      	split_to_var_and_offset, determine_value_range,
      	bound_difference_of_offsetted_base, refine_bounds_using_guard,
      	bound_difference, bounds_add, bounds_negate,
      	number_of_iterations_ne_max, dump_affine_iv): New functions.
      	(number_of_iterations_ne, number_of_iterations_lt_to_ne,
      	assert_loop_rolls_lt, assert_loop_rolls_le): Use bounds on the
      	difference of initial and final value of control iv to validate
      	results.
      	(number_of_iterations_cond): Add loop parameter.  Determine bounds
      	on the difference of the extremes of the control iv.  Add dumps.
      	(expand_simple_operations): Handle phi nodes.
      	(simplify_using_initial_conditions): Do not record used conditions.
      	(number_of_iterations_exit): Pass loop to number_of_iterations_cond.
      	Do not set additional_info.
      	(implies_nonnegative_p, implies_ge_p): Removed.
      	(derive_constant_upper_bound): Do not use parameter `additional'.
      	(record_estimate): Parameter `additional' removed.  Parameter
      	`i_bound' added.  Do not call derive_constant_upper_bound.
      	(record_nonwrapping_iv): Use derive_constant_upper_bound to
      	bound the number of iterations estimate.
      	(estimate_numbers_of_iterations_loop): Pass the estimate from
      	the number of iterations analysis to record_estimate.
      	* tree.h (multiple_of_p): Declare.
      	* tree-scalar-evolution.c (expression_expensive_p): Removed.
      	(scev_const_prop): Do not check expression_expensive_p.
      	* fold-const.c (multiple_of_p): Exported.
      	* double-int.c (double_int_mask): Exported.
      	* double-int.h (double_int_mask): Declare.
      	* tree-flow.h (struct tree_niter_desc): Removed additional_info
      	field.  Added max field.
      
      	* gcc.dg/tree-ssa/loop-26.c: New test.
      
      From-SVN: r122896
      Zdenek Dvorak committed
    • Daily bump. · ec34c4e4
      From-SVN: r122894
      GCC Administrator committed
  3. 13 Mar, 2007 5 commits