Eric Botcazou
7d01864f1b
Makefile.in (cygwin/mingw): Revert accidental EH_MECHANISM change in r130816.
...
* gcc-interface/Makefile.in (cygwin/mingw): Revert accidental
EH_MECHANISM change in r130816.
From-SVN: r144488
2009-02-28 17:29:55 +00:00
GCC Administrator
e91f17c00d
Daily bump.
...
From-SVN: r144479
2009-02-28 00:16:57 +00:00
Eric Botcazou
f10a1c6cae
Fix long lines.
...
From-SVN: r144476
2009-02-27 20:17:29 +00:00
Jan Hubicka
cff7525fb0
re PR debug/39267 (gdb testsuite regressions)
...
PR debug/39267
* tree.h (TREE_PROTECTED): Fix comment.
(BLOCK_HANDLER_BLOCK): Remove.
(struct tree_block): Remove handler_block add body_block.
(inlined_function_outer_scope_p): New.
(is_body_block): Remove.
* dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK.
* dwarf2out.c (is_inlined_entry_point): Remove.
(add_high_low_attributes): Use inlined_function_outer_scope_p.
(gen_block_die): Use is_inlined_entry_point check; remove body block code.
* langhooks.h (struct lang_hooks): Remove no_bodu_blocks.
* gimplify.c (gimplify_expr): Gimplify body blocks.
* tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper block
with multiple subblocks.
(dump_scope_block): Prettier output; dump more flags and info.
(dump_scope_blocks): New.
(remove_unused_locals): Use dump_scope_blocks.
* tree-flow.h (dump_scope_blocks): Declare.
* tree-cfg.c (execute_build_cfg): Dump scope blocks.
* stmt.c (is_body_block): Remove.
* tree-inline.c (remap_block): Copy BODY_BLOCK info.
* langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove.
From-SVN: r144474
2009-02-27 19:49:42 +00:00
Sebastian Pop
c20993b995
re PR middle-end/39308 (ICE when compiling with -O[s123] -floop-interchange)
...
2009-02-27 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/39308
* graphite.c (graphite_loop_normal_form): Do not call
number_of_iterations_exit from a gcc_assert.
From-SVN: r144470
2009-02-27 16:42:38 +00:00
Andreas Krebbel
e3cba5e5af
s390.c: (s390_swap_cmp): Look for conditional jumps if COND is NULL.
...
2009-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc/config/s390/s390.c: (s390_swap_cmp): Look for conditional
jumps if COND is NULL.
(find_cond_jump): New function.
(s390_z10_optimize_cmp): Handling for reg-reg compares added.
* gcc/config/s390/s390.md: Remove z10_cobra attribute value.
From-SVN: r144466
2009-02-27 14:56:19 +00:00
Andreas Schwab
c9e9e11f46
Update e-mail address.
...
From-SVN: r144465
2009-02-27 14:44:33 +00:00
Andreas Schwab
4c354194b4
Add PR ref.
...
From-SVN: r144464
2009-02-27 09:56:42 +00:00
Andreas Schwab
a760c9774c
Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
...
gcc/ada/:
* Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
* gcc-interface/Makefile.in: Change all uses of $(srcdir),
$(fsrcdir) and $(fsrcpfx) to add ada subdir.
(AWK): Substitute.
(target_cpu_default): Substitute.
gnattools/:
* Makefile.in (fsrcdir): Point to gcc directory, not gcc/ada.
(INCLUDES_FOR_SUBDIR): Adjust.
(ADA_INCLUDES_FOR_SUBDIR): Adjust.
From-SVN: r144463
2009-02-27 09:54:25 +00:00
Tobias Burnus
30929a13ef
re PR fortran/39309 (.mod file versioning causes error instead of overwritting the file)
...
2009-02-27 Tobias Burnus <burnus@net-b.de>
PR fortran/39309
* module.c (read_md5_from_module_file): Add missing quote.
From-SVN: r144462
2009-02-27 08:45:47 +01:00
Tobias Burnus
99b54b33b4
re PR fortran/39309 (.mod file versioning causes error instead of overwritting the file)
...
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.
From-SVN: r144461
2009-02-27 07:44:59 +01:00
GCC Administrator
ba9b914485
Daily bump.
...
From-SVN: r144460
2009-02-27 00:16:41 +00:00
H.J. Lu
aad5badd41
re PR c++/37789 (ICE with __FUNCTION__)
...
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.
From-SVN: r144451
2009-02-26 11:59:38 -08:00
Uros Bizjak
9dadeeb83c
alpha.h (alpha_expand_mov): Return false if force_const_mem returns NULL_RTX.
...
* config/alpha/alpha.h (alpha_expand_mov): Return false if
force_const_mem returns NULL_RTX.
From-SVN: r144450
2009-02-26 19:48:34 +01:00
Paul Thomas
489ec4e3bd
re PR fortran/39295 (Too strict interface conformance check)
...
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.
From-SVN: r144449
2009-02-26 18:43:50 +00:00
H.J. Lu
ebb9cc41a8
Split ChangeLog to ChangeLog-2007 and ChangeLog-2008.
...
From-SVN: r144448
2009-02-26 07:31:11 -08:00
H.J. Lu
38432148f9
Correct year.
...
From-SVN: r144447
2009-02-26 07:26:52 -08:00
Paul Thomas
c1cfed038a
re PR fortran/39292 (ICE in gfc_conv_array_initializer, at fortran/trans-array.c:3884)
...
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.
From-SVN: r144444
2009-02-26 06:23:42 +00:00
GCC Administrator
1a46aef0bd
Daily bump.
...
From-SVN: r144442
2009-02-26 00:16:58 +00:00
Andrew John Hughes
8570e38d8d
Add missing class file.
...
From-SVN: r144437
2009-02-25 22:26:47 +00:00
Andrew John Hughes
dc6a0b2d94
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.
From-SVN: r144434
2009-02-25 21:40:28 +00:00
Adam Nemet
a16b68bb66
Fixed location of libgomp.exp.
...
From-SVN: r144433
2009-02-25 20:14:34 +00:00
H.J. Lu
8592acaf3c
re PR rtl-optimization/39241 (ICE in subreg_get_info, at rtlanal.c:3104)
...
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.
From-SVN: r144430
2009-02-25 10:49:28 -08:00
Paolo Bonzini
62d049cf1e
regmove.c (regmove_optimize): Conform to struct rtl_opt_pass execute function prototype.
...
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.
From-SVN: r144429
2009-02-25 18:12:29 +00:00
Martin Jambor
f618d33ef1
tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and alls_alloca function flags.
...
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.
From-SVN: r144428
2009-02-25 18:34:40 +01:00
Laurent GUERBY
054efbba9d
a-teioed.adb (Expand): Fix Result overflow.
...
2009-02-25 Laurent GUERBY <laurent@guerby.net>
* a-teioed.adb (Expand): Fix Result overflow.
From-SVN: r144427
2009-02-25 17:22:58 +00:00
Laurent GUERBY
2692d7f533
Makefile.in: Fix multilib handling for sparc64-linux.
...
2009-02-25 Laurent GUERBY <laurent@guerby.net>
* gcc-interface/Makefile.in: Fix multilib handling for
sparc64-linux.
From-SVN: r144426
2009-02-25 16:59:13 +00:00
Paolo Bonzini
c8a05f7c57
regmove.c (discover_flags_reg, [...]): Delete.
...
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.
From-SVN: r144425
2009-02-25 14:08:14 +00:00
Julian Brown
6d2538f5f9
re PR target/35965 ([4.3 only] -fstack-protector produces segfaulting binaries on arm/armel)
...
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>
From-SVN: r144424
2009-02-25 07:18:01 +00:00
Sandra Loosemore
a2fa6772d2
invoke.texi (Link Options): Document an easier way to pass options that take arguments to the GNU linker...
...
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.
From-SVN: r144423
2009-02-24 20:44:45 -05:00
GCC Administrator
c6fddadf2a
Daily bump.
...
From-SVN: r144421
2009-02-25 00:17:07 +00:00
Michael Eager
5e8c155263
Fix typo.
...
From-SVN: r144418
2009-02-25 00:12:42 +00:00
Steve Ellcey
5472de36b6
re PR target/33785 (TARGET_C99_FUNCTIONS default wrong in tm.texi)
...
PR target/33785
* doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.
From-SVN: r144411
2009-02-24 16:28:07 +00:00
Michael Eager
b48d5f6888
Add self to MAINTAINERS.
...
From-SVN: r144410
2009-02-24 16:20:22 +00:00
Richard Guenther
ccfbd8805b
re PR c++/39242 (Inconsistent reject / accept of code)
...
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.
From-SVN: r144408
2009-02-24 14:50:30 +00:00
Richard Guenther
844216f381
re PR debug/39285 (Missing debug info for enum members in C++)
...
2009-02-24 Richard Guenther <rguenther@suse.de>
PR debug/39285
* dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs.
From-SVN: r144407
2009-02-24 14:47:30 +00:00
Richard Guenther
71adbef3ea
re PR tree-optimization/39233 (ivopts + vrp miscompilation)
...
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.
Co-Authored-By: Zdenek Dvorak <ook@ucw.cz>
From-SVN: r144405
2009-02-24 11:05:15 +00:00
Sebastian Pop
f1a558e048
re PR middle-end/39260 (Failed to build lame-3.98-2 source with graphite)
...
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.
From-SVN: r144403
2009-02-24 06:47:56 +00:00
H.J. Lu
e62a4cc1b9
static-init1.C: Replace int with __PTRDIFF_TYPE__.
...
2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
* g++.dg/init/static-init1.C: Replace int with __PTRDIFF_TYPE__.
From-SVN: r144402
2009-02-23 21:29:04 -08:00
GCC Administrator
7bdf151b41
Daily bump.
...
From-SVN: r144399
2009-02-24 00:16:42 +00:00
H.J. Lu
8c8d4a46a8
re PR c++/36411 (ICE with invalid template template parameter)
...
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.
From-SVN: r144396
2009-02-23 14:34:50 -08:00
Jason Merrill
d8028f2cc3
re PR c++/38880 (g++.dg/init/const7.C XFAILed)
...
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.
From-SVN: r144395
2009-02-23 16:23:58 -05:00
Adam Nemet
68c512f66d
abi.exp: Add multilib support.
...
* 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.
From-SVN: r144394
2009-02-23 20:42:53 +00:00
Jason Merrill
2604de9d9f
pt.c (unify): Call maybe_adjust_types_for_deduction when deducing from an initializer list.
...
* pt.c (unify): Call maybe_adjust_types_for_deduction when
deducing from an initializer list.
From-SVN: r144392
2009-02-23 15:28:50 -05:00
Jan Hubicka
9283b51332
re PR c/12245 (Uses lots of memory when compiling large initialized arrays)
...
PR c/12245
* ggc.h (htab_create_ggc): Use ggc_free to free hashtable when resizing.
From-SVN: r144384
2009-02-23 16:46:32 +00:00
Rainer Orth
ea675ec341
* s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6.
...
From-SVN: r144382
2009-02-23 16:37:20 +00:00
Jan Hubicka
61e043223d
re PR tree-optimization/37709 (inlining causes explosion in debug info)
...
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.
From-SVN: r144381
2009-02-23 13:10:53 +00:00
GCC Administrator
791c5e4821
Daily bump.
...
From-SVN: r144379
2009-02-23 00:16:38 +00:00
Mark Mitchell
8c9abf1f38
make-temp-file.c (<windows.h>): Include on Windows.
...
* make-temp-file.c (<windows.h>): Include on Windows.
(choose_tmpdir): On Windows, use GetTempPath.
From-SVN: r144375
2009-02-22 18:43:30 +00:00
Joseph Myers
1f20025aa2
* zh_CN.po: Update.
...
From-SVN: r144374
2009-02-22 17:04:04 +00:00