aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-03-30regmove.c: Move all of pass_stack_adjustments from here...Steven Bosscher4-444/+506
* regmove.c: Move all of pass_stack_adjustments from here... * combine-stack-adj.c: ...to this new file. * Makefile.in: Add rules for combine-stack-adj.o. From-SVN: r123363
2007-03-30re PR libstdc++/31401 (string find behaves strange when searching from npos)Paolo Carlini4-1/+95
2007-03-30 Paolo Carlini <pcarlini@suse.de> PR libstdc++/31401 * include/bits/basic_string.tcc (find(const _CharT*, size_type, size_type)): Avoid unsigned overflow. * testsuite/21_strings/basic_string/find/char/4.cc: New. * testsuite/21_strings/basic_string/find/wchar_t/4.cc: Likewise. From-SVN: r123361
2007-03-30re PR tree-optimization/31383 (ICE with -O2 -ftree-vectorize (regression))Zdenek Dvorak2-1/+8
PR tree-optimization/31383 * tree-data-ref.c (affine_function_equal_p): Do not require the vectors to have the same length. From-SVN: r123359
2007-03-30PR middle-end/PR30700Jan Hubicka2-1/+20
PR middle-end/PR30700 * dwarf2out.c (reference_to_unused): Ask cgraph for functions availablility; add more sanity checking; ask varpool only about VAR_DECL. From-SVN: r123358
2007-03-30re PR libgcj/29869 (LogManager class loading failure with Tomcat)Tom Tromey7-7/+32
libjava PR libgcj/29869: * java/util/logging/LogManager.java (readConfiguration): Handle comma-separated 'handlers'. Don't try to add a non-existing handler. libgcj/classpath PR libgcj/29869: * gnu/java/util/jar/JarUtils.java (log): Commented out. (readSFManifest): Don't log. From-SVN: r123356
2007-03-30symbol.c (gfc_find_gsymbol): Simplify, don't unconditionally descend into ↵Tobias Schlüter2-9/+13
all branches. * symbol.c (gfc_find_gsymbol): Simplify, don't unconditionally descend into all branches. From-SVN: r123355
2007-03-29unwind-generic.h (_sleb128_t, _uleb128_t): Don't use HAVE_LONG_LONG to ↵Richard Henderson2-7/+10
decide, but __SIZEOF_LONG_LONG__. * unwind-generic.h (_sleb128_t, _uleb128_t): Don't use HAVE_LONG_LONG to decide, but __SIZEOF_LONG_LONG__. From-SVN: r123352
2007-03-29emutls.c (struct __emutls_array): New.Richard Henderson2-18/+31
* emutls.c (struct __emutls_array): New. (emutls_destroy): Use it instead of casting element 0 from void*. (__emutls_get_address): Likewise. From-SVN: r123351
2007-03-29Daily bump.GCC Administrator1-1/+1
From-SVN: r123349
2007-03-30intrinsic.c (conv_name): Let gfc_get_string handle the format.Tobias Schlüter2-8/+17
* intrinsic.c (conv_name): Let gfc_get_string handle the format. (find_conv): Compare pointers instead of calling strcmp. (find_sym): Likewise, but ensure that the compared pointer is in the global string table. From-SVN: r123346
2007-03-29pedantic2.C: New testcase.Dirk Mueller2-0/+10
2007-03-29 Dirk Mueller <dmueller@suse.de> * g++.dg/warn/pedantic2.C: New testcase. From-SVN: r123345
2007-03-29varasm.c (initializer_constant_valid_p): Don't deny DECL_DLLIMPORT_P on ↵Richard Henderson11-362/+386
functions. * varasm.c (initializer_constant_valid_p): Don't deny DECL_DLLIMPORT_P on functions. * config/i386/cygming.h: Remove function declarations. (SUBTARGET_ENCODE_SECTION_INFO): Don't undef first. (ASM_OUTPUT_LABELREF): Remove. (COMMON_ASM_OP): Remove. (ASM_OUTPUT_COMMON): Remove. (ASM_OUTPUT_ALIGNED_DECL_COMMON): New. (ASM_DECLARE_OBJECT_NAME): Use i386_pe_maybe_record_exported_symbol. (ASM_DECLARE_FUNCTION_NAME): Likewise. * config/i386/i386-interix.h (SUBTARGET_ENCODE_SECTION_INFO): Rename from TARGET_ENCODE_SECTION_INFO. * config/i386/netware.h: Likewise. * config/i386/i386-protos.h: Update. * config/i386/i386.c (ix86_function_ok_for_sibcall): Turn ifdef of TARGET_DLLIMPORT_DECL_ATTRIBUTES into straight if. (legitimate_constant_p): Reject dllimports. (dllimport_map, get_dllimport_decl): New. (legitimize_dllimport_symbol): New. (legitimize_address, ix86_expand_move): Use it. (TARGET_BINDS_LOCAL_P): Redefine for TARGET_DLLIMPORT_DECL_ATTRIBUTES. * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Remove. (SYMBOL_FLAG_DLLIMPORT, SYMBOL_REF_DLLIMPORT_P): New. (SYMBOL_FLAG_DLLEXPORT, SYMBOL_REF_DLLEXPORT_P): New. * config/i386/predicates.md (constant_call_address_operand): Only accept symbols; reject dllimport_p symbols. * config/i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Use i386_pe_maybe_record_exported_symbol. * config/i386/winnt.c (DLL_IMPORT_PREFIX, DLL_EXPORT_PREFIX): Remove. (i386_pe_determine_dllexport_p): Rename from i386_pe_dllexport_p. (i386_pe_determine_dllimport_p): Rename from i386_pe_dllimport_p; trust the setting of DECL_DLLIMPORT_P. (i386_pe_dllexport_name_p, i386_pe_dllimport_name_p): Remove. (i386_pe_mark_dllexport, i386_pe_mark_dllimport): Remove. (gen_stdcall_or_fastcall_suffix): Return NULL if no change required; tidy the argument scanning loop. (i386_pe_encode_section_info): Set SYMBOL_FLAG_DLLIMPORT and SYMBOL_FLAG_DLLEXPORT in SYMBOL_REF_FLAGS. (i386_pe_strip_name_encoding): Remove. (i386_pe_binds_local_p): New. (i386_pe_strip_name_encoding_full): Use default_strip_name_encoding. (i386_pe_output_labelref): Remove. (i386_pe_asm_output_aligned_decl_common): New. (i386_pe_maybe_record_exported_symbol): Rename from i386_pe_record_exported_symbol; check for dllexported symbols. From-SVN: r123344
2007-03-29filenames.h (FILENAME_CMP): Adjust define to call filename_cmp regardless of ↵Joel Brobecker2-3/+9
the type of file system. * filenames.h (FILENAME_CMP): Adjust define to call filename_cmp regardless of the type of file system. From-SVN: r123343
2007-03-29filename_cmp.c: New file.Joel Brobecker4-5/+108
* filename_cmp.c: New file. * Makefile.in (CFILES): Add filename_cmp.c. (REQUIRED_OFILES): Add filename_cmp.o (filename_cmp.o): New rule. * functions.texi: Regenerate. From-SVN: r123342
2007-03-29size_dim.f90: Fix dg directive.Francois-Xavier Coudert27-76/+103
* size_dim.f90: Fix dg directive. * pr16433.f: Likewise. * use_6.f90: Likewise. * use_7.f90: Likewise. * entry_9.f90: Likewise. * pointer_intent_2.f90: Likewise. * protected_1.f90: Likewise. * fmt_missing_period_2.f: Likewise. * pointer_intent_3.f90: Likewise. * protected_2.f90: Likewise. * protected_3.f90: Likewise. * pr15754.f90: Likewise. * protected_4.f90: Likewise. * protected_5.f90: Likewise. * initialization_2.f90: Likewise. * protected_6.f90: Likewise. * continuation_7.f90: Likewise. * derived_function_interface_1.f90: Likewise. * der_pointer_4.f90: Likewise. * fmt_zero_precision.f90: Likewise. * blockdata_3.f90: Likewise. * fmt_missing_period_1.f: Likewise. * real_const_3.f90: Likewise. * use_4.f90: Likewise. * fmt_missing_period_3.f: Likewise. * use_5.f90: Likewise. From-SVN: r123341
2007-03-29* config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Fix typo.Mike Stump1-2/+2
From-SVN: r123339
2007-03-29* config/rs6000/darwin.h (ASM_OUTPUT_ALIGNED_COMMON): Removed #undef.Mike Stump2-2/+1
From-SVN: r123337
2007-03-29gengtype.c (oprintf): Mostly revert changes from 2007-03-26...Zack Weinberg2-24/+20
* gengtype.c (oprintf): Mostly revert changes from 2007-03-26; add comment explaining why vsnprintf cannot be used. From-SVN: r123332
2007-03-29re PR middle-end/30666 (warning: canonical types differ for identical types ↵Douglas Gregor2-16/+14
double __complex__ and double __complex__) 2007-03-29 Douglas Gregor <doug.gregor@gmail.com> PR tree-optimization/30666 * tree.c (build_complex_type): When creating type names for DWARF2 debug info, create TYPE_DECLs for TYPE_NAME instead of IDENTIFIER_NODEs. (build_common_tree_nodes_2): Use build_complex_type when building predefined complex types, to preserve canonical types. From-SVN: r123330
2007-03-29tree.c (cp_walk_subtrees): Do not set input_location.Richard Guenther2-9/+4
2007-03-29 Richard Guenther <rguenther@suse.de> * tree.c (cp_walk_subtrees): Do not set input_location. From-SVN: r123329
2007-03-29ifcvt.c (struct noce_if_info): Add then_else_reversed field.Steven Bosscher2-6/+24
* ifcvt.c (struct noce_if_info): Add then_else_reversed field. (noce_get_alt_condition): Look at it to determine whether to reverse the condition or not. (noce_get_condition): Substitute the truth for lies. (noce_find_if_block): Set the then_else_reversed field. From-SVN: r123327
2007-03-29fr30.md (movdi): Do not accept immediates as the destination of this insn.Lars Poeschel3-25/+36
* config/fr30/fr30.md (movdi): Do not accept immediates as the destination of this insn. * config/fr30/fr30.c (fr30_move_double): Use emit_move_insn rather than calling gen_rtx_SET directly. Use r0 to hold the value of 'address + 4' rather than a stack based temporary which can be mis-optimized away. From-SVN: r123326
2007-03-29s390.c (s390_secondary_input_reload_class, [...]): Functions removed.Andreas Krebbel4-146/+99
2007-03-29 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_secondary_input_reload_class, s390_secondary_output_reload_class): Functions removed. (s390_secondary_reload): New function. (TARGET_SECONDARY_RELOAD): Target macro defined. * config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS): Macro definitions removed. * config/s390/s390.md ("reload_outti", "reload_outdi", "reload_indi", "reload_insi", "reload_out<mode>", "reload_in<mode>", "reload_out<mode>"): Expanders removed. ("reload<mode>_plus", "reload<mode>_nonoffmem_in", "reload<mode>_nonoffmem_out"): Expanders added. From-SVN: r123324
2007-03-29regmove.c (optimize_reg_copy_1): Don't perform DEST->SRC repair action if ↵Andreas Krebbel2-8/+13
SRC->DEST replacement failed anyway. 2007-03-29 Andreas Krebbel <krebbel1@de.ibm.com> * regmove.c (optimize_reg_copy_1): Don't perform DEST->SRC repair action if SRC->DEST replacement failed anyway. From-SVN: r123323
2007-03-29darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Add.Mike Stump5-3/+27
* config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Add. * config/darwin.h (MAX_OFILE_ALIGNMENT): Fix. testsuite: * gcc.dg/darwin-comm.c: Add. From-SVN: r123321
2007-03-28Daily bump.GCC Administrator1-1/+1
From-SVN: r123317
2007-03-28target-supports.exp (check_effective_target_fstack_protector): New.Eric Christopher4-9/+27
2007-03-28 Eric Christopher <echristo@apple.com> * lib/target-supports.exp (check_effective_target_fstack_protector): New. * gcc.dg/ssp-1.c: Use. * gcc.dg/ssp-2.c: Ditto. From-SVN: r123314
2007-03-28Adding barcelona as a variant of amdfam10 architectureDwarakanath Rajagopal4-8/+18
From-SVN: r123313
2007-03-28re PR c++/29077 (Incorrect error message for destructor in wrong namespace)Simon Martin4-6/+40
2007-03-28 Simon Martin <simartin@users.sourceforge.net> PR c++/29077 * decl.c (grokfndecl): Properly setup decl if it is a constructor or a destructor. From-SVN: r123312
2007-03-28tree-dfa.c (get_ref_base_and_extent): Do not expect positive offsets for ↵Eric Botcazou5-13/+49
BIT_FIELD_REF and COMPONENT_REF. * tree-dfa.c (get_ref_base_and_extent): Do not expect positive offsets for BIT_FIELD_REF and COMPONENT_REF. From-SVN: r123311
2007-03-28gfc-internals.texi: Fix output filename.Tobias Schlüter2-1/+57
2007-03-28 Tobias Schlter <tobi@gcc.gnu.org> * gfc-internals.texi: Fix output filename. Merge type index into concept index. Start documentation of gfc_code structure. From-SVN: r123309
2007-03-28ClientHandshake.java (RSAGen.implRun): check keyEncipherment bit of the ↵Casey Marshall4-1/+13
certificate... 2007-03-28 Casey Marshall <csm@gnu.org> * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun): check keyEncipherment bit of the certificate, and just pass the public key to the cipher. From-SVN: r123307
2007-03-28Added <dwarak.rajagopal@amd.com> to MAINTAINERS file with Write After ↵Dwarakanath Rajagopal2-0/+5
Approval access From-SVN: r123306
2007-03-28tree.c (is_global_var): Move ...Richard Guenther4-12/+17
2007-03-28 Richard Guenther <rguenther@suse.de> * tree.c (is_global_var): Move ... * tree-flow-inline.h (is_global_var): ... here. * tree.h (is_global_var): Remove declaration. From-SVN: r123303
2007-03-28parser.c (struct cp_parser): Update comment for greater_than_is_operator_p.Douglas Gregor7-12/+161
2007-03-28 Douglas Gregor <doug.gregor@gmail.com> * parser.c (struct cp_parser): Update comment for greater_than_is_operator_p. (cp_parser_primary_expression): In C++0x mode, a cast operator can be terminated with a `>>' token when !GREATER_THAN_IS_OPERATOR_P. (TOKEN_PRECEDENCE): In C++0x mode, `>>' is treated like `>' when !GREATER_THAN_IS_OPERATOR_P. (cp_parser_binary_expression): When -Wc++0x-compat, warn about `>>' operators that will become two `>' tokens in C++0x. (cp_parser_parameter_declaration): Treat `>>' like `>' in C++0x mode, allowing it to terminate default arguments. (cp_parser_enclosed_template_argument_list): In C++0x mode, treat `>>' like two consecutive `>' tokens. (cp_parser_skip_to_end_of_template_parameter_list): Ditto. (cp_parser_next_token_ends_template_argument_p): In C++0x, `>>' ends a template argument. 2007-03-28 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/cpp0x/bracket1.C: New. * g++.dg/cpp0x/bracket2.C: New. * g++.dg/cpp0x/bracket3.C: New. * g++.dg/cpp0x/bracket4.C: New. From-SVN: r123302
2007-03-28i386.h (X86_TUNE_PROMOTE_HIMODE_IMUL): New tuning option.Uros Bizjak4-30/+45
* config/i386/i386.h (X86_TUNE_PROMOTE_HIMODE_IMUL): New tuning option. (TARGET_TUNE_PROMOTE_HIMODE_IMUL): New define. Use new tuning option. * config/i386/i386.c (ix86_tune_features): Initialize new tuning option. * config/i386/predicates.md (promotable_binary_operator): Use TARGET_TUNE_PROMOTE_HIMODE_IMUL. From-SVN: r123301
2007-03-28decl.c (redeclaration_error_message): Complain when redeclaring a friend ↵Douglas Gregor10-36/+200
function with default template arguments... 2007-03-28 Douglas Gregor <doug.gregor@gmail.com> * decl.c (redeclaration_error_message): Complain when redeclaring a friend function with default template arguments (C++0x mode only). * cp-tree.h (check_default_tmpl_args): Declare. * pt.c (check_default_tmpl_args): In C++0x mode, permit default template arguments in function templates. Add support for checking the default template arguments of friend templates. (push_template_decl_real): Fix call to check_default_tmpl_args. (type_unification_real): If a template parameter has not been deduced but provides a default template argument, substitute into that default template argument. * parser.c (cp_parser_init_declarator): When declaring (but not defining!) a function template in C++0x mode, check for default template arguments. 2007-03-28 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/cpp0x/temp_default1.C: New. * g++.dg/cpp0x/temp_default3.C: New. * g++.dg/cpp0x/temp_default2.C: New. * g++.dg/cpp0x/temp_default4.C: New. From-SVN: r123300
2007-03-28re PR target/31380 ([4.1/4.2]: Typo in gcc/config/i386/sse.md)Grigory Zagorodnev2-1/+6
2007-03-28 Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com> PR target/31380 * config/i386/sse.md (uminv16qi3): Use UMIN instead of UMAX. From-SVN: r123299
2007-03-28Fix dates on recent entriesNick Clifton1-2/+2
From-SVN: r123298
2007-03-28fr30.md (movsi_internal): Change destination constraint from m to V and add ↵Lars Poeschel2-4/+10
m to the end. * config/fr30/fr30.md (movsi_internal): Change destination constraint from m to V and add m to the end. From-SVN: r123297
2007-03-28sh.md (movsi_i): Fix type attribute.Christian Bruel2-1/+5
* config/sh/sh.md (movsi_i): Fix type attribute. From-SVN: r123296
2007-03-28sh.md (movsi_ie): Fix memory constraints attribute length.Christian Bruel2-2/+7
* config/sh/sh.md (movsi_ie): Fix memory constraints attribute length. (movsf_ie): Likewise. From-SVN: r123295
2007-03-28[multiple changes]Douglas Gregor4-6/+36
2007-03-28 Douglas Gregor <doug.gregor@gmail.com> PR c++/29993 * decl.c (grokdeclarator): Deal with cv-qualified function type typedefs in the same way for member and non-member functions. 2007-03-28 Douglas Gregor <doug.gregor@gmail.com> PR c++/29993 * g++.dg/other/cv_func2.C: New. From-SVN: r123294
2007-03-28config.gcc: Add sh4-300 to multilib.Christian Bruel2-2/+7
* config.gcc: Add sh4-300 to multilib. * config/sh/t-mlib-sh4-300: New file. From-SVN: r123292
2007-03-28s390.md ("fix_trunc<mode>di2"): New expander.Andreas Krebbel2-8/+29
2007-03-28 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md ("fix_trunc<mode>di2"): New expander. ("fix_trunc<DFP:mode>di2_dfp"): New insn definition renamed from fix_trunc<mode>di2. ("fixuns_truncdddi2", "fixuns_trunctddi2"): Use fix_trunc<DFP:mode>di2_dfp instead of fix_trunc<mode>di2. ("fix_truncdfsi2", "fix_truncsfsi2", "fixuns_truncdddi2", "fixuns_trunctddi2"): Whitespace fix. From-SVN: r123291
2007-03-28sh.h (CALL_COOKIE_RET_TRAMP_SHIFT): Move after the definition of struct sh_args.Kaz Kojima2-6/+14
* config/sh/sh.h (CALL_COOKIE_RET_TRAMP_SHIFT): Move after the definition of struct sh_args. (CALL_COOKIE_RET_TRAMP, CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_INT_REG_GET): Likewise. From-SVN: r123290
2007-03-28ifcvt.c (cond_exec_find_if_block): Return FALSE if no transformations are ↵Steven Bosscher2-0/+7
applied successfully. * ifcvt.c (cond_exec_find_if_block): Return FALSE if no transformations are applied successfully. From-SVN: r123289
2007-03-28sources.am, [...]: Rebuilt.Tom Tromey11-654/+10
* sources.am, Makefile.in: Rebuilt. * scripts/mime.types: Removed. * scripts/MakeDefaultMimeTypes.java: Removed. * gnu/gcj/io/MimeTypes.java: Removed. * gnu/gcj/io/MimeTypes.h: Removed. * gnu/gcj/io/DefaultMimeTypes.java: Removed. * gnu/gcj/io/DefaultMimeTypes.h: Removed. From-SVN: r123288
2007-03-28tree.c (tree_contains_struct): Permit 512 tree codes.Douglas Gregor3-4/+14
2007-03-27 Douglas Gregor <doug.gregor@gmail.com> * tree.c (tree_contains_struct): Permit 512 tree codes. * tree.h (tree_contains_struct): Ditto. (MAX_TREE_CODES): Ditto. (struct tree_base): Make CODE 16 bits, instead of 8 bits. Add SPARE member to store remaining padding bits. From-SVN: r123287
2007-03-28re PR classpath/31302 (Exception in SSLSocketImpl)Casey Marshall3-131/+54
2007-03-27 Casey Marshall <csm@gnu.org> PR classpath/31302: * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl): Always make a new socket. (bind, connect, getInetAddress, getLocalAddress, getPort, getLocalPort, getRemoteSocketAddress, getLocalSocketAddress, setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger, setOOBInline, getOOBInline, setSoTimeout, getSoTimeout, setSendBufferSize, getSendBufferSize, setReceiveBufferSize, getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass, getTrafficClass, setReuseAddress, getReuseAddress, close, shutdownInput, shutdownOutput, isConnected, isBound, isClosed, isInputShutdown, isOutputShutdown): Always use 'underlyingSocket'. From-SVN: r123285