OSDN Git Service
burnus [Fri, 27 Feb 2009 06:44:59 +0000 (06:44 +0000)]
2009-02-27 Tobias Burnus <burnus@net-b.de>
PR fortran/39309
* module.c (read_md5_from_module_file): Include mod version
in had-changed test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144461
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 27 Feb 2009 00:16:41 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144460
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 26 Feb 2009 19:59:38 +0000 (19:59 +0000)]
gcc/cp
2009-02-26 H.J. Lu <hongjiu.lu@intel.com>
PR c++/37789
* parser.c (cp_parser_mem_initializer): Return error_mark_node
if cp_parser_mem_initializer_id returns error_mark_node.
gcc/testsuite/
2009-02-26 H.J. Lu <hongjiu.lu@intel.com>
PR c++/37789
* other/pr37789.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144451
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 26 Feb 2009 18:48:34 +0000 (18:48 +0000)]
* config/alpha/alpha.h (alpha_expand_mov): Return false if
force_const_mem returns NULL_RTX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144450
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Thu, 26 Feb 2009 18:43:50 +0000 (18:43 +0000)]
2009-02-26 Paul Thomas <pault@gcc.gnu.org>
PR fortran/39295
* interface.c (compare_type_rank_if): Return 1 if the symbols
are the same and deal with external procedures where one is
identified to be a function or subroutine by usage but the
other is not.
2009-02-26 Paul Thomas <pault@gcc.gnu.org>
PR fortran/39295
* gfortran.dg/interface_25.f90: New test.
* gfortran.dg/interface_26.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144449
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 26 Feb 2009 15:31:11 +0000 (15:31 +0000)]
Split ChangeLog to ChangeLog-2007 and ChangeLog-2008.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144448
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 26 Feb 2009 15:26:52 +0000 (15:26 +0000)]
Correct year.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144447
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Thu, 26 Feb 2009 06:23:42 +0000 (06:23 +0000)]
2009-02-26 Paul Thomas <pault@gcc.gnu.org>
PR fortran/39292
* trans-array.c (gfc_conv_array_initializer): Convert all
expressions rather than ICEing.
2009-02-26 Paul Thomas <pault@gcc.gnu.org>
PR fortran/39292
* gfortran.dg/initialization_22.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144444
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 26 Feb 2009 00:16:58 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144442
138bc75d-0d04-0410-961f-
82ee72b054a4
gandalf [Wed, 25 Feb 2009 22:26:47 +0000 (22:26 +0000)]
Add missing class file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144437
138bc75d-0d04-0410-961f-
82ee72b054a4
gandalf [Wed, 25 Feb 2009 21:40:28 +0000 (21:40 +0000)]
Sync libgcj with GNU Classpath 0.98.
2009-02-13 Andrew John Hughes <ahughes@redhat.com>
Import GNU Classpath (classpath-0_98-release).
* Makefile.am: Add natVMSecureRandom.cc.
* Makefile.in: Regenerated.
* classpath/ChangeLog,
* classpath/Makefile.am: Merged.
* classpath/Makefile.in: Regenerated.
* classpath/NEWS: Merged.
* classpath/config.guess,
* classpath/config.sub,
* classpath/configure: Regenerated.
* classpath/configure.ac: Merged.
* classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
* classpath/gnu/java/security/jce/prng/SecureRandomAdapter.java,
* classpath/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
* classpath/gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
* classpath/gnu/javax/crypto/jce/prng/FortunaImpl.java,
* classpath/gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
* classpath/gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
* classpath/gnu/javax/crypto/prng/ICMGenerator.java,
* classpath/gnu/xml/stream/XMLParser.java,
* classpath/java/security/SecureRandom.java,
* classpath/native/jni/native-lib/cpproc.c,
* classpath/native/plugin/gcjwebplugin.cc,
* classpath/tools/gnu/classpath/tools/gjdoc/Main.java: Merged.
* configure: Regenerated.
* configure.ac: Add symlink for natVMSecureRandomPosix.cc to natVMSecureRandom.cc
* gnu/classpath/Configuration.java: Change version to 0.98.
* gnu/java/security/jce/prng/SecureRandomAdapter.h: Regenerated.
* gnu/java/security/jce/prng/VMSecureRandom.h: Generated.
* gnu/java/security/jce/prng/VMSecureRandom.java: Added native implementation.
* gnu/java/security/jce/prng/natVMSecureRandomPosix.cc: Wrapper around /dev/random.
* gnu/javax/crypto/jce/prng/CSPRNGSpi.h,
* gnu/javax/crypto/jce/prng/FortunaImpl.h,
* java/security/SecureRandom.h: Regenerated.
* java/security/VMSecureRandom$Spinner.h,
* java/security/VMSecureRandom.h,
* java/security/VMSecureRandom.java: Removed.
* sources.am: Move VMSecureRandom to gnu.java.security.jce.prng.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144434
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Wed, 25 Feb 2009 20:14:34 +0000 (20:14 +0000)]
Fixed location of libgomp.exp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144433
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 25 Feb 2009 18:49:28 +0000 (18:49 +0000)]
gcc/
2008-02-25 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/39241
* jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls
to subreg_offset_representable_p.
gcc/testsuite/
2008-02-25 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/39241
* gcc.dg/torture/pr39241.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144430
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 25 Feb 2009 18:12:29 +0000 (18:12 +0000)]
2009-02-25 Paolo Bonzini <bonzini@gnu.org>
* regmove.c (regmove_optimize): Conform to struct rtl_opt_pass
execute function prototype. Get f and nregs from max_reg_num
and get_insns. Remove the first backward pass as it's dead,
guard the forward pass by flag_expensive_optimizations.
(rest_of_handle_regmove): Delete.
(pass_regmove): Replace it with regmove_optimize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144429
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Wed, 25 Feb 2009 17:34:40 +0000 (17:34 +0000)]
2009-02-25 Martin Jambor <mjambor@suse.cz>
* tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and
alls_alloca function flags.
(copy_bb): Set calls_setjmp and alls_alloca function flags if such
calls are detected.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144428
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Wed, 25 Feb 2009 17:22:58 +0000 (17:22 +0000)]
2009-02-25 Laurent GUERBY <laurent@guerby.net>
* a-teioed.adb (Expand): Fix Result overflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144427
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Wed, 25 Feb 2009 16:59:13 +0000 (16:59 +0000)]
2009-02-25 Laurent GUERBY <laurent@guerby.net>
* gcc-interface/Makefile.in: Fix multilib handling for
sparc64-linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144426
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 25 Feb 2009 14:08:14 +0000 (14:08 +0000)]
2009-02-25 Paolo Bonzini <bonzini@gnu.org>
* regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones,
flags_set_1_rtx, flags_set_1_set): Delete.
(regmove_optimize): Do not call mark_flags_life_zones.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144425
138bc75d-0d04-0410-961f-
82ee72b054a4
dougkwan [Wed, 25 Feb 2009 07:18:01 +0000 (07:18 +0000)]
2009-02-24 Julian Brown <julian@codesourcery.com>
PR target/35965
* config/arm/arm.c (require_pic_register): Only set
cfun->machine->pic_reg once per function.
Patch commited by Doug Kwan <dougkwan@google.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144424
138bc75d-0d04-0410-961f-
82ee72b054a4
sandra [Wed, 25 Feb 2009 01:44:45 +0000 (01:44 +0000)]
2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/invoke.texi (Link Options): Document an easier way to pass
options that take arguments to the GNU linker using -Xlinker and
-Wl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144423
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 25 Feb 2009 00:17:07 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144421
138bc75d-0d04-0410-961f-
82ee72b054a4
eager [Wed, 25 Feb 2009 00:12:42 +0000 (00:12 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144418
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Tue, 24 Feb 2009 16:28:07 +0000 (16:28 +0000)]
PR target/33785
* doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144411
138bc75d-0d04-0410-961f-
82ee72b054a4
eager [Tue, 24 Feb 2009 16:20:22 +0000 (16:20 +0000)]
Add self to MAINTAINERS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144410
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 24 Feb 2009 14:50:30 +0000 (14:50 +0000)]
2009-02-24 Richard Guenther <rguenther@suse.de>
PR c++/39242
* pt.c (instantiate_decl): Do not instantiate extern, non-inline
declared functions.
* g++.dg/template/instantiate10.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144408
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 24 Feb 2009 14:47:30 +0000 (14:47 +0000)]
2009-02-24 Richard Guenther <rguenther@suse.de>
PR debug/39285
* dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144407
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 24 Feb 2009 11:05:15 +0000 (11:05 +0000)]
2009-02-24 Richard Guenther <rguenther@suse.de>
Zdenek Dvorak <ook@ucw.cz>
PR tree-optimization/39233
* tree-ssa-loop-ivopts.c (add_candidate_1): Do not except pointers
from converting them to a generic type.
* gcc.c-torture/execute/pr39233.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144405
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Tue, 24 Feb 2009 06:47:56 +0000 (06:47 +0000)]
2009-02-23 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/39260
* graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block
contains a condition with a real type.
(build_scop_conditions_1): Conditions are always last_stmt of a bb.
* gcc.dg/graphite/pr39260.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144403
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 24 Feb 2009 05:29:04 +0000 (05:29 +0000)]
2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
* g++.dg/init/static-init1.C: Replace int with __PTRDIFF_TYPE__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144402
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 24 Feb 2009 00:16:42 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144399
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 23 Feb 2009 22:34:50 +0000 (22:34 +0000)]
gcc/cp
2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
PR c++/36411
* pt.c (coerce_template_template_parms): Return 0 if parameter
is error_mark_node.
gcc/testsuite/
2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
PR c++/36411
* g++.dg/template/void14.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144396
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 23 Feb 2009 21:23:58 +0000 (21:23 +0000)]
PR c++/38880
* varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check
narrowing_initializer_constant_valid_p.
(narrowing_initializer_constant_valid_p): Don't return
null_pointer_node for adding a pointer to itself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144395
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Mon, 23 Feb 2009 20:42:53 +0000 (20:42 +0000)]
* testsuite/libstdc++-abi/abi.exp: Add multilib support.
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove MULTISUBDIR
from baseline_dir.
* configure: Regenerate.
* testsuite/Makefile.am (baseline_file): Remove variable.
(site.exp): Set baseline_dir rather than baseline_file.
(check-abi): Pass AM_RUNTESTFLAGS and RUNTESTFLAGS to runtest.
* testsuite/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144394
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 23 Feb 2009 20:28:50 +0000 (20:28 +0000)]
* pt.c (unify): Call maybe_adjust_types_for_deduction when
deducing from an initializer list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144392
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 23 Feb 2009 16:46:32 +0000 (16:46 +0000)]
PR c/12245
* ggc.h (htab_create_ggc): Use ggc_free to free hashtable when resizing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144384
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Mon, 23 Feb 2009 16:37:20 +0000 (16:37 +0000)]
* s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144382
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 23 Feb 2009 13:10:53 +0000 (13:10 +0000)]
PR tree-optimization/37709
* tree.c (block_ultimate_origin): Move here from dwarf2out.
* tree.h (block_ultimate_origin): Declare.
* dwarf2out.c (block_ultimate_origin): Move to tree.c
* tree-ssa-live.c (remove_unused_scope_block_p):
Eliminate blocks containig no instructions nor live variables nor
nested blocks.
(dump_scope_block): New function.
(remove_unused_locals): Enable removal of dead blocks by default;
enable dumping at TDF_DETAILS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144381
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 23 Feb 2009 00:16:38 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144379
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 22 Feb 2009 18:43:30 +0000 (18:43 +0000)]
* make-temp-file.c (<windows.h>): Include on Windows.
(choose_tmpdir): On Windows, use GetTempPath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144375
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 22 Feb 2009 17:04:04 +0000 (17:04 +0000)]
* zh_CN.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144374
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sun, 22 Feb 2009 01:10:29 +0000 (01:10 +0000)]
2008-02-21 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (classify_argument): Don't allow COImode
and OImode.
(function_arg_advance_32): Don't allow OImode.
(function_arg_32): Likewise.
(function_value_32): Likewise.
(return_in_memory_32): Likewise.
(function_arg_64): Remove OImode comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144367
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sun, 22 Feb 2009 00:44:23 +0000 (00:44 +0000)]
2008-02-21 H.J. Lu <hongjiu.lu@intel.com>
PR target/39261
* config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
ix86_expand_vector_set for V4DImode in 64bit mode only.
(ix86_expand_vector_init_one_var): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144366
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 22 Feb 2009 00:16:48 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144365
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sat, 21 Feb 2009 22:25:06 +0000 (22:25 +0000)]
2008-02-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/38914
* array.c (ref_dimen_size): Rename to gfc_ref_dimen_size,
make global. Change function name in error messages.
(ref_size): Change ref_dimen_size to gfc_ref_dimen_size.
(gfc_array_ref_shape): Likewise.
* gfortran.h: Add prototype for gfc_ref_dimen_size.
* simplify.c (simplify_bound_dim): Add ref argument.
If the reference isn't a full array, return one for
the lower bound and the extent for the upper bound.
(simplify_bound): For array sections, take as from the
argument. Add reference to all to simplify_bound_dim.
2008-02-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/38914
* bound_simplification_2.f90: New test case.
* bound_7.f90: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144362
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 21 Feb 2009 21:25:39 +0000 (21:25 +0000)]
libcpp:
* lex.c (lex_string): Return a CPP_LESS token for missing '>' in a
header name.
(_cpp_lex_direct): Handle this.
gcc/testsuite:
* gcc.dg/cpp/include4.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144361
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sat, 21 Feb 2009 19:08:44 +0000 (19:08 +0000)]
Mention PR bootstrap/39257.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144360
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Sat, 21 Feb 2009 17:09:35 +0000 (17:09 +0000)]
2009-02-21 Sebastian Pop <sebastian.pop@amd.com>
* graphite.c (graphite_trans_loop_block): Adjust tile size to 51.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144358
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 21 Feb 2009 16:48:05 +0000 (16:48 +0000)]
Revert last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144357
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sat, 21 Feb 2009 15:55:53 +0000 (15:55 +0000)]
gcc/
2008-02-21 H.J. Lu <hongjiu.lu@intel.com>
PR target/39256
* config/i386/i386.c (type_natural_mode): Remove an extra
space in the warning message.
(function_value_32): Handle 32-byte vector modes.
(return_in_memory_32): Likewise.
gcc/testsuite/
2008-02-21 Uros Bizjak <ubizjak@gmail.com>
PR target/39256
* gcc.target/i386/abi-2.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144355
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Sat, 21 Feb 2009 12:33:00 +0000 (12:33 +0000)]
* gcc.c-torture/execute/pr39228.x: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144353
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Sat, 21 Feb 2009 11:12:28 +0000 (11:12 +0000)]
* update_version_svn (ADD_BRANCHES): Remove autovect-branch
and document format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144352
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sat, 21 Feb 2009 09:34:36 +0000 (09:34 +0000)]
* gcc.target/i386/abi-1.c: Use scan-assembler-times "..." 1 instead of
scan-assembler to check for xmm0 register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144349
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 21 Feb 2009 09:15:13 +0000 (09:15 +0000)]
gcc/
* loop-iv.c (truncate_value): New function.
(iv_subreg, get_iv_value, iv_number_of_iterations): Use it instead
of lowpart_subreg.
(lowpart_subreg): Move to...
* emit-rtl.c: ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144348
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 21 Feb 2009 03:56:21 +0000 (03:56 +0000)]
2009-02-20 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/30_threads/thread/this_thread: Move...
* testsuite/30_threads/this_thread: ...here.
* testsuite/20_util/unique_ptr/assign/assign.cc: Move...
* testsuite/20_util/unique_ptr/assign/assign_neg.cc: ...here.
* testsuite/20_util/ratio/cons/cons_overflow.cc: Move...
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: ...here.
* testsuite/20_util/ratio/operations/ops_overflow.cc: Move...
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144346
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Sat, 21 Feb 2009 03:21:44 +0000 (03:21 +0000)]
* config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert
accidental And undocumented change at revision 140860.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144345
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 21 Feb 2009 02:18:01 +0000 (02:18 +0000)]
* config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to
take gimple_seq * arguments.
(arm_mangle_type): Use CONST_CAST_TREE on type argument passed to
types_compatible_p langhook.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144344
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 21 Feb 2009 00:45:21 +0000 (00:45 +0000)]
2009-02-20 Benjamin Kosnik <bkoz@redhat.com>
* doc/doxygen/user.cfg.in: Tweaks.
* doc/doxygen/doxygroups.cc: Prefer markup that can be elsewhere,
be elsewhere.
* include/tr1_impl/unordered_map: Just use most specialized
container module.
* include/tr1_impl/unordered_set: Same.
* include/tr1_impl/array: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/stl_stack.h: Same.
* include/bits/forward_list.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_vector.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/stl_bvector.h: Same.
* include/backward/binders.h: Change binder module to binders.
* include/std/complex: Add complex_numers module.
* include/tr1_impl/complex: Same.
* include/std/valarray: Add numeric_arrays module.
* include/bits/gslice_array.h: Same.
* include/bits/gslice.h: Same.
* include/bits/mask_array.h: Same.
* include/bits/slice_array.h: Same.
* include/bits/indirect_array.h: Same.
* include/bits/allocator.h: Add allocators module.
* include/ext/throw_allocator.h
* include/ext/pool_allocator.h
* include/ext/bitmap_allocator.h
* include/ext/new_allocator.h
* include/ext/malloc_allocator.h
* include/ext/array_allocator.h
* include/ext/mt_allocator.h
* include/ext/debug_allocator.h
* include/ext/extptr_allocator.h
* include/tr1_impl/functional: Move namespace markup here.
* include/tr1_impl/regex: Same.
* include/tr1_impl/type_traits: Add metaprogramming module.
* include/std/type_traits: Same.
* include/std/memory: Add memory module.
* include/std/ratio: Add ratio module.
* include/std/chrono: Move namespace markup here, add time module.
* include/std/thread: Move namespace markup here, add concurrency
module.
* include/std/mutex: Use concurrency module.
* include/std/condition_variable: Same.
* include/bits/ios_base.h: Refine io module.
* include/bits/basic_ios.h: Same.
* include/std/fstream: Same.
* include/std/istream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/ext/vstring.h: Correct parameter markup.
* include/bits/shared_ptr.h: Add pointer_abstractions module.
* include/bits/unique_ptr.h: Same.
* include/bits/algorithmfwd.h: Add mutating_algorithms,
non_mutating_algorithms, sorting_algorithms. Adjust nesting.
* include/bits/stl_heap.h: Add markup for new groupings.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_algo.h: Same.
* include/c_compatibility/stdatomic.h: Add atomics module.
* include/c_global/cstdatomic: Same.
* libsupc++/exception: Add exceptions module.
* libsupc++/typeinfo: Same.
* libsupc++/new: Same.
* libsupc++/exception_ptr.h: Same.
* include/std/system_error: Same.
* include/std/stdexcept: Same.
* libsupc++/cxxabi.h: Move doxygroups.cc markup here.
* libsupc++/cxxabi-forced.h: Same.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Fix up line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Same.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
* testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
* testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
* testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
* testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
* testsuite/30_threads/thread/cons/assign_neg.cc: Same.
* testsuite/30_threads/thread/cons/copy_neg.cc: Same.
* testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
* testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
* testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
* testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
* testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
* testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/20_util/duration/cons/1_neg.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
* testsuite/20_util/unique_ptr/assign/assign.cc: Same.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/ratio/cons/cons_overflow.cc: Same.
* testsuite/20_util/ratio/operations/ops_overflow.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144343
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 21 Feb 2009 00:16:48 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144341
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 20 Feb 2009 15:20:38 +0000 (15:20 +0000)]
Update Copyright years for files modified in 2008 and/or 2009.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144324
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 20 Feb 2009 15:19:38 +0000 (15:19 +0000)]
2009-02-20 Mark Mitchell <mark@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* config/arm/arm.c (arm_builtin_va_list): New function.
(arm_expand_builtin_va_start): Likewise.
(arm_gimplify_va_arg_expr): Likewise.
(TARGET_BUILD_BUILTIN_VA_LIST): Define.
(TARGET_BUILD_BUILTIN_VA_START): Likewise.
(TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise.
(va_list_type): New variable.
(arm_mangle_type): Mangle va_list_type appropriately.
testsuite:
* gcc.target/arm/va_list.c: New test.
* g++.dg/abi/arm_va_list.C: Likewise.
* lib/target-supports.exp (check_effective_target_arm_eabi): New
function.
* g++.dg/cpp0x/temp-va-arg-bug.C, g++.dg/other/stdarg1.C,
g++.dg/warn/miss-format-1.C, g++.dg/warn/miss-format-3.C,
g++.dg/warn/miss-format-4.C, g++.dg/warn/miss-format-5.C,
g++.dg/warn/miss-format-6.C, g++.old-deja/g++.other/vaarg2.C,
g++.old-deja/g++.other/vaarg3.C, g++.old-deja/g++.other/vaarg4.C,
g++.old-deja/g++.pt/builtin.C: Use -Wno-abi on ARM EABI targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144323
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 20 Feb 2009 12:56:01 +0000 (12:56 +0000)]
PR middle-end/39157
* Makefile.in (loop-invariant.o): Depend on $(PARAMS_H).
* params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define.
* params.def (loop-invariant-max-bbs-in-loop): New parameter.
* opts.c (decode_options): Set loop-invariant-max-bbs-in-loop
parameter to 1000 for -O1 by default.
* doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new
parameter.
* loop-invariant.c: Include params.h.
(move_loop_invariants): Don't call move_single_loop_invariants on
very large loops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144320
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 20 Feb 2009 11:25:42 +0000 (11:25 +0000)]
PR testsuite/38164
* gcc.target/i386/amd64-abi-3.c: Add -fomit-frame-pointer
to dg-options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144318
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 20 Feb 2009 11:19:34 +0000 (11:19 +0000)]
* calls.c (emit_library_call_value_1): Use slot_offset instead of
offset when calculating bounds for indexing stack_usage_map. Fixes
a buffer overflow with certain target setups.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144317
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 20 Feb 2009 10:13:17 +0000 (10:13 +0000)]
PR target/39240
* calls.c (expand_call): Clear try_tail_call if caller and callee
disagree in promotion of function return value.
* gcc.c-torture/execute/pr39240.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144316
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 20 Feb 2009 05:32:40 +0000 (05:32 +0000)]
PR c++/39225
* decl.c (grokdeclarator): Handle ~identifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144314
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 20 Feb 2009 00:16:49 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144311
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Feb 2009 21:33:38 +0000 (21:33 +0000)]
* gcc.c-torture/execute/
20090219-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144307
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Thu, 19 Feb 2009 21:26:34 +0000 (21:26 +0000)]
* gcc.target/mips/mips.exp: Comment !CPU in the isa* pseudo-options.
(mips-dg-options): When matching isa* pseudo-options make
'value' optional and accept ! entries. Use $spec instead of
$isa_spec in the isa pseudo-option error message. Only
perform the ISA-range check when 'value' is set. If arch is
matching any CPU in the ! entries switch to its generic ISA.
* gcc.target/mips/branch-1.c: Pass isa=!octeon.
* gcc.target/mips/dmult-1.c: Pass isa=64!octeon rather than
-mips64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144306
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 19 Feb 2009 21:15:12 +0000 (21:15 +0000)]
PR target/39175
* c-common.c (c_determine_visibility): If visibility changed and
DECL_RTL has been already set, call make_decl_rtl to update symbol
flags.
* decl2.c (determine_visibility): If visibility changed and
DECL_RTL has been already set, call make_decl_rtl to update symbol
flags.
* gcc.dg/visibility-20.c: New test.
* g++.dg/ext/visibility/visibility-11.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144305
138bc75d-0d04-0410-961f-
82ee72b054a4
dfranke [Thu, 19 Feb 2009 18:23:20 +0000 (18:23 +0000)]
2009-02-19 Daniel Franke <franke.daniel@gmail.com>
* scanner.c (load_line): At end of line, skip '\r' without setting
the truncation flag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144303
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 19 Feb 2009 15:22:28 +0000 (15:22 +0000)]
gcc/
2009-02-19 H.J. Lu <hongjiu.lu@intel.com>
PR c++/39188
* varasm.c (assemble_variable): Don't check DECL_NAME when
globalizing a variable.
gcc/cp/
2009-02-19 H.J. Lu <hongjiu.lu@intel.com>
PR c++/39188
* cp-tree.h (maybe_commonize_var): New.
* decl.c (maybe_commonize_var): Make it extern.
* decl2.c (finish_anon_union): Call maybe_commonize_var.
gcc/testsuite/
2009-02-19 H.J. Lu <hongjiu.lu@intel.com>
PR c++/39188
* g++.dg/abi/pr39188-1a.C: New.
* g++.dg/abi/pr39188-1b.C: Likewise.
* g++.dg/abi/pr39188-1.h: Likewise.
* g++.dg/abi/pr39188-2a.C: Likewise.
* g++.dg/abi/pr39188-2b.C: Likewise.
* g++.dg/abi/pr39188-2.h: Likewise.
* g++.dg/abi/pr39188-3a.C: Likewise.
* g++.dg/abi/pr39188-3b.C: Likewise.
* g++.dg/abi/pr39188-3.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144297
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 19 Feb 2009 13:56:00 +0000 (13:56 +0000)]
PR c/38483
* builtins.c (gimplify_va_arg_expr): Evaluate the va_list
expression before any __builtin_trap call.
* c-typeck.c (build_function_call): Convert and check function
arguments before generating a call to a trap. Evaluate the
function arguments before the trap.
testsuite:
* gcc.c-torture/execute/call-trap-1.c,
gcc.c-torture/execute/va-arg-trap-1.c, gcc.dg/call-diag-1.c: New
tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144296
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 19 Feb 2009 10:51:04 +0000 (10:51 +0000)]
PR target/39228
* config/i386/i386.md (isinfxf2): Split from isinf<mode>2.
(UNSPEC_FXAM_MEM): New unspec.
(fxam<mode>2_i387_with_temp): New insn and split pattern.
(isinf<mode>2): Use MODEF mode iterator. Force operand[1] through
memory using fxam<mode>2_i387_with_temp to remove excess precision.
testsuite/ChangeLog:
PR target/39228
* gcc.c-torture/execute/pr39228.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144293
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 19 Feb 2009 10:12:25 +0000 (10:12 +0000)]
2009-02-19 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39207
PR tree-optimization/39074
* tree-ssa-structalias.c (storedanything_id, var_storedanything,
storedanything_tree): New.
(do_ds_constraint): Simplify ANYTHING shortcutting. Update
the STOREDANYTHING solution if the lhs solution contains
ANYTHING.
(build_succ_graph): Add edges from STOREDANYTHING to all
non-direct nodes.
(init_base_vars): Initialize STOREDANYTHING.
(compute_points_to_sets): Free substitution info after
building the succ graph.
(ipa_pta_execute): Likewise.
* gcc.dg/torture/pr39074.c: New testcase.
* gcc.dg/torture/pr39074-2.c: Likewise.
* gcc.dg/torture/pr39074-3.c: Likewise.
* tree-ssa-structalias.c (struct variable_info): Add may_have_pointers
field.
(do_ds_constraint): Do not add to special var or non-pointer
field solutions.
(type_could_have_pointers): Split out from ...
(could_have_pointers): ... here. For arrays use the element type.
(create_variable_info_for): Initialize may_have_pointers.
(new_var_info): Likewise.
(handle_lhs_call): Make the HEAP variable unknown-sized.
(intra_create_variable_infos): Use a type with pointers for
PARM_NOALIAS, make it unknown-sized.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144292
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 19 Feb 2009 08:15:15 +0000 (08:15 +0000)]
2009-02-18 Benjamin Kosnik <bkoz@redhat.com>
* doc/doxygen/doxygroups.cc: Move algorithm groups into algorithmfwd.h.
* doc/doxygen/user.cfg.in: Update.
* scripts/run_doxygen: Adjust for new group names.
* include/tr1_impl/random: Update doxygen group markup.
* include/tr1_impl/unordered_map: Same.
* include/tr1_impl/unordered_set: Same.
* include/tr1_impl/array: Same.
* include/std/numeric: Same.
* include/std/utility: Same.
* include/std/bitset: Same.
* include/std/iosfwd: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/stl_stack.h: Same.
* include/bits/stl_iterator_base_types.h: Same.
* include/bits/forward_list.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_vector.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/stl_algo.h: Same.
* include/bits/stl_bvector.h: Same.
* include/bits/algorithmfwd.h: Same.
* include/bits/stl_function.h: Same.
* include/tr1/cmath: Same.
* include/backward/binders.h: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144290
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 19 Feb 2009 01:58:15 +0000 (01:58 +0000)]
gcc/cp
2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
PR c++/39219
* parser.c (cp_parser_enum_specifier): Apply all attributes.
gcc/testsuite/
2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
PR c++/39219
* g++.dg/parse/attr3.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144284
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 19 Feb 2009 00:16:37 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144282
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Wed, 18 Feb 2009 23:17:56 +0000 (23:17 +0000)]
2009-02-18 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/38165
* g++.dg/pubtypes.C: Adopt Radar
4535968 fix to testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144277
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Wed, 18 Feb 2009 22:19:26 +0000 (22:19 +0000)]
2009-02-18 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/38166
* g++.dg/ext/visibility/class1.C: Revert revision 122348
and skip on Darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144274
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 18 Feb 2009 21:40:08 +0000 (21:40 +0000)]
2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
PR target/39224
* config/i386/i386.c (ix86_return_in_memory): Properly check
ABI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144272
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Feb 2009 21:03:05 +0000 (21:03 +0000)]
revert accidental commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144271
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Feb 2009 21:01:03 +0000 (21:01 +0000)]
PR target/39179
* tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero
value if DECL_EXTERNAL.
* tree-sra.c (sra_walk_gimple_assign): Likewise.
* target.h (gcc_target::binds_local_p): Clarify module.
* tree.h (TREE_PUBLIC): Clarify module.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144270
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Feb 2009 20:59:38 +0000 (20:59 +0000)]
fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144269
138bc75d-0d04-0410-961f-
82ee72b054a4
domob [Wed, 18 Feb 2009 18:54:41 +0000 (18:54 +0000)]
2009-02-18 Daniel Kraft <d@domob.eu>
* gfortran.texi: New chapter about compiler characteristics.
(Compiler Characteristics): Document KIND type parameters here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144268
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 18 Feb 2009 18:37:00 +0000 (18:37 +0000)]
2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
* gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144267
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Wed, 18 Feb 2009 18:09:38 +0000 (18:09 +0000)]
2009-02-18 Tobias Burnus <burnus@net-b.de>
* intrinsic.texi (MALLOC): Make example more portable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144266
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 18 Feb 2009 17:06:33 +0000 (17:06 +0000)]
2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
* gcc.dg/callabi/callabi.exp: Moved to ...
* gcc.target/x86_64/abi/callabi/callabi.exp: Here. Only run
in 64bit mode.
* gcc.target/x86_64/abi/callabi/func-1.c: Don't check target.
* gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise.
* gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise.
* gcc.target/x86_64/abi/callabi/pr38891.c: Likewise.
* gcc.target/x86_64/abi/callabi/vaarg-1.c: Likewise.
* gcc.target/x86_64/abi/callabi/vaarg-2.c: Likewise.
* gcc.target/x86_64/abi/callabi/vaarg-3.c: Likewise.
* gcc.dg/callabi/callabi.h: Moved to ...
* gcc.target/x86_64/abi/callabi/callabi.h: Here.
* gcc.dg/callabi/func-1.c: Moved to ...
* gcc.target/x86_64/abi/callabi/func-1.c: Here.
* gcc.dg/callabi/func-indirect.c: Moved to ...
* gcc.target/x86_64/abi/callabi/func-indirect.c: Here.
* gcc.dg/callabi/pr38891.c: Moved to ...
* gcc.target/x86_64/abi/callabi/pr38891.c: Here.
* gcc.dg/callabi/vaarg-1.c: Moved to ...
* gcc.target/x86_64/abi/callabi/vaarg-1.c: Here.
* gcc.dg/callabi/vaarg-2.c: Moved to ...
* gcc.target/x86_64/abi/callabi/vaarg-2.c: Here.
* gcc.dg/callabi/vaarg-3.c: Moved to ...
* gcc.target/x86_64/abi/callabi/vaarg-3.c: Here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144264
138bc75d-0d04-0410-961f-
82ee72b054a4
meibf [Wed, 18 Feb 2009 09:55:15 +0000 (09:55 +0000)]
2009-02-18 Bingfeng Mei <bmei@broadcom.com>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144260
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 18 Feb 2009 07:35:36 +0000 (07:35 +0000)]
2009-02-17 Benjamin Kosnik <bkoz@redhat.com>
* include/std/system_error (system_category): To system_category().
(generic_category): To generic_category. DR 890.
* src/system_error.cc: Define.
* include/bits/functexcept.h: Only one __throw_system_error.
* src/functexcept.cc: Same.
* include/std/mutex: Fixup for changes above.
* testsuite/19_diagnostics/error_condition/cons/1.cc: Same.
* testsuite/19_diagnostics/error_code/cons/1.cc: Same.
* testsuite/19_diagnostics/system_error/cons-1.cc: Same.
* config/abi/pre/gnu.ver: Clean up exports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144259
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 18 Feb 2009 06:17:52 +0000 (06:17 +0000)]
gcc/
2009-02-17 Xuepeng Guo <xuepeng.guo@intel.com>
PR target/38891
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of
initialization for MS_ABI prior to the hunk of !TARGET_MMX.
gcc/testsuite
2009-02-17 Xuepeng Guo <xuepeng.guo@intel.com>
PR target/38891
* gcc.dg/callabi/pr38891.c: New.
2009-02-17 H.J. Lu <hongjiu.lu@intel.com>
* gcc.dg/callabi/callabi.exp: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144258
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 18 Feb 2009 02:16:03 +0000 (02:16 +0000)]
gcc/
2009-02-17 H.J. Lu <hongjiu.lu@intel.com>
PR target/39082
* c.opt (Wabi): Support C and ObjC.
(Wpsabi): New.
* c-opts.c (c_common_handle_option): Handle OPT_Wabi.
* config/i386/i386.c (classify_argument): Warn once about the ABI
change when passing union with long double.
* doc/invoke.texi: Update -Wabi for warning psABI changes.
gcc/testsuite/
2009-02-17 H.J. Lu <hongjiu.lu@intel.com>
PR target/39082
* g++.dg/compat/struct-layout-1_generate.c (dg_options): Add
-Wno-abi for x86.
* gcc.dg/compat/struct-layout-1_generate.c (dg_options): Likewise.
* gcc.target/i386/pr39082-1.c: New.
* gcc.target/x86_64/abi/abi-x86_64.exp (additional_flags): Add
-Wno-abi.
* gcc.target/x86_64/abi/args.h (XMM_T): Add _m64 and _m128 if
CHECK_M64_M128 is defined.
(check_f_arguments): Add "do".
(check_vector_arguments): New.
(check_m64_arguments): Likewise.
(check_m128_arguments): Likewise.
* gcc.target/x86_64/abi/defines.h: Include <xmmintrin.h>.
(CHECK_M64_M128): Define.
* gcc.target/x86_64/abi/test_m64m128_returning.c: New. Based
on abitest.
* gcc.target/x86_64/abi/test_passing_m64m128.c: Likewise.
* gcc.target/x86_64/abi/test_passing_structs.c: Define __m128
tests only if CHECK_M64_M128 is defined.
* gcc.target/x86_64/abi/test_passing_structs.c (m128_struct): New.
(m128_2_struct): Likewise.
(check_struct_passing5): Likewise.
(check_struct_passing6): Likewise.
(main): Test struct with __m128 if CHECK_M64_M128 is defined.
* gcc.target/x86_64/abi/test_passing_unions.c (un4): New.
(un5): Likewise.
(check_union_passing4): Likewise.
(main): Test union with __m128 if CHECK_M64_M128 is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144257
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 18 Feb 2009 00:38:28 +0000 (00:38 +0000)]
PR c/35447
* c-parser.c (c_parser_compound_statement): Always enter and leave
a scope.
testsuite:
* gcc.dg/noncompile/pr35447-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144256
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 18 Feb 2009 00:16:49 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144254
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Tue, 17 Feb 2009 23:42:44 +0000 (23:42 +0000)]
PR target/34587
* config/darwin.h (SUPPORTS_INIT_PRIORITY): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144251
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 17 Feb 2009 23:21:23 +0000 (23:21 +0000)]
PR tree-optimization/36922
* tree-data-ref.c (initialize_matrix_A): Handle BIT_NOT_EXPR.
* tree-scalar-evolution.c (interpret_rhs_expr, instantiate_scev_1):
Likewise.
* gfortran.dg/pr36922.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144250
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 17 Feb 2009 21:10:43 +0000 (21:10 +0000)]
gcc/
* config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm
to 0 for EABI64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144247
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 17 Feb 2009 20:52:58 +0000 (20:52 +0000)]
gcc/
* config/mips/mips.md (type): Reclassify lui_movf as "unknown".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144246
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 17 Feb 2009 20:46:01 +0000 (20:46 +0000)]
gcc/
* config/mips/mips.c (mips_gimplify_va_arg_expr): Fix invalid
tree sharing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144244
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 17 Feb 2009 20:26:22 +0000 (20:26 +0000)]
gcc/
2009-02-xx Ruan Beihong <ruanbeihong@gmail.com>
Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c (CODE_FOR_loongson_biadd): Delete.
* config/mips/loongson.md (reduc_uplus_<mode>): Rename to...
(loongson_biadd): ...this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144243
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 17 Feb 2009 18:45:27 +0000 (18:45 +0000)]
* examples: New directory.
* examples/gcc-svn-env: New.
* examples/reg-watch: New.
* examples/reg-watch.awk: New.
* examples/common.config: New.
* examples/testall: New.
* examples/28970.config: New.
* examples/28970.list: New.
* examples/28970.c: New.
* examples/28970.log: New.
* examples/29106.config: New.
* examples/29106.list: New.
* examples/29106.test: New.
* examples/29106.cc: New.
* examples/29106.log: New.
* examples/29478.config: New.
* examples/29478.list: New.
* examples/29478.c: New.
* examples/29478.log: New.
* examples/29906a.config: New.
* examples/29906a.list: New.
* examples/29906a.cc: New.
* examples/29906a.log: New.
* examples/29906b.config: New.
* examples/29906b.list: New.
* examples/29906b.cc: New.
* examples/29906b.log: New.
* examples/30643.config: New.
* examples/30643.list: New.
* examples/30643.c: New.
* examples/30643.test: New.
* examples/30643.log: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144242
138bc75d-0d04-0410-961f-
82ee72b054a4