aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-05-03expr.c (expand_expr, [...]): Don't use gen_lowpart on non-integer modes.Richard Kenner2-3/+8
* expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use gen_lowpart on non-integer modes. From-SVN: r66430
2003-05-03emit-rtl.c (last_call_insn, [...]): New functions.Olivier Hainque11-95/+188
* emit-rtl.c (last_call_insn, add_function_usage_to): New functions. * rtl.h (last_call_insn, add_function_usage_to): New prototypes. * builtins.c (expand_builtin_apply): Use the new emit-rtl functions. * calls.c (emit_call_1): Likewise. (expand_call): For calls initializing constant memory, replace emission of standalone mem /u clobber with function usage entry. * expr.c (emit_block_move_via_libcall): Likewise. * cse.c (count_reg_usage, case EXPR_LIST): New case. * flow.c (propagate_one_insn): Pass entire operand of CALL_INSN_FUNCTION_USAGE to mark_used_regs. * integrate.c (try_constants): For CALL_INSNs, substitute constants within the FUNCTION_USAGE also. * loop.c (prescan_loop): Note clobbers of const mem mentioned in FUNCTION_USAGE lists. * reload1.c (replace_pseudos_in): Renamed. (reload): Use it for clobbers surviving until the end of the reload. From-SVN: r66429
2003-05-03stor-layout.c (place_field): When adjusting offset_align, use desired_align, ↵Richard Kenner2-1/+6
not DECL_ALIGN. * stor-layout.c (place_field): When adjusting offset_align, use desired_align, not DECL_ALIGN. From-SVN: r66428
2003-05-03cp-demangle.c: Fix typo in "char_traints" string-literal.Carlo Wood2-1/+5
2003-05-03 Carlo Wood <carlo@alinoe.com> * cp-demangle.c: Fix typo in "char_traints" string-literal. From-SVN: r66427
2003-05-03* gcc.dg/m-un-2.c: Fix the typedef of size_t.Kazu Hirata2-1/+5
From-SVN: r66426
2003-05-03c-decl.c (pending_invalid_xref_file): Remove.Nathan Sidwell9-41/+42
* c-decl.c (pending_invalid_xref_file): Remove. (pending_invalid_xref_line): Remove. (pending_invalid_xref_location): New. (lookup_label): Use location_t and input_location directly. (lookup_tag): Likewise. (pending_xref_error): Likewise. (c_expand_body_1): Likewise. * c-common.c (x_expand_start_cond): Likewise. * c-semantics.c (genrtl_for_stmt): Likewise. (find_reachable_label): Likewise. * expr.c (expand_expr): Likewise. * integrate.c (output_inline_function): Likewise. * tree-inline.c (find_alloca_call): Likewise. (find_builtin_longjmp_call): Likewise. * gcc.c (input_filename): Make static. From-SVN: r66425
2003-05-03PR c++/9364, c++/10553, c++/10586Kriang Lerdsuwanakij5-0/+35
PR c++/9364, c++/10553, c++/10586 * decl.c (make_typename_type): Don't crash on illegal code. * g++.dg/parse/typename4.C: New test. * g++.dg/parse/typename5.C: Likewise. From-SVN: r66424
2003-05-03class.c (finish_struct): Use location_t and input_location directly.Nathan Sidwell10-98/+83
* class.c (finish_struct): Use location_t and input_location directly. * decl.c (make_label_decl): Likewise. (use_label): Likewise. * decl2.c (warn_if_unknown_interface): Likewise. (start_static_initialization_or_destruction): Likewise. (generate_ctor_or_dtor_function): Likewise. (finish_file): Likewise. * error.c (print_instantiation_full_context): Likewise. * init.c (create_temporary_var): Likewise. * method.c (synthesize_method): Likewise. * parser.c (cp_token): Likewise. (cp_lexer_set_source_position_from_token): Likewise. (cp_lexer_get_preprocessor_token): Likewise. (cp_parser_statement): Likewise. * pt.c (tsubst_friend_function): Likewise. (instantiate_class_template): Likewise. (tsubst_decl): Likewise. (tsubst): Likewise. (instantiate_decl): Likewise. * semantics.c (begin_class_definition): Likewise. (expand_body): Likewise. From-SVN: r66423
2003-05-03* ansify.c (die_unless): Revert lineno change here.Nathan Sidwell2-1/+5
From-SVN: r66422
2003-05-03* gcc.c-torture/compile/20030503-1.c: New test.Richard Sandiford2-0/+16
From-SVN: r66421
2003-05-03* config/mips/mips.md: Fix comment typo.Richard Sandiford2-1/+3
From-SVN: r66420
2003-05-03mips.c (mips_integer_op): New structure.Richard Sandiford2-10/+199
* config/mips/mips.c (mips_integer_op): New structure. (MIPS_MAX_INTEGER_OPS): Define. (mips_const_insns): Use mips_build_integer to determine the number of instructions needed to load a CONST_INT. (move_operand): Reject compound CONST_INTs. (mips_build_shift, mips_build_lower, mips_build_integer): New fns. (mips_move_integer): New fn. (mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer. (mips_legitimize_move): Only legitimize constants when moving word or subword values. From-SVN: r66419
2003-05-03* testsuite/thread/pthread1.cc: Remove special case for FreeBSD.Loren J. Rittle2-8/+4
From-SVN: r66418
2003-05-03* Makefile.in (gcov-iov.h): Use move-if-change and a stamp.Matt Kraai2-2/+9
From-SVN: r66417
2003-05-03re PR java/10491 (gcjh should make enclosing class a "friend" of inner classes)Tom Tromey2-0/+38
PR java/10491: * gjavah.c (HANDLE_INNERCLASSES_ATTRIBUTE): New macro. (handle_inner_classes): New function. From-SVN: r66416
2003-05-02Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later.Chris Demetriou3-4/+9
2003-05-02 Chris Demetriou <cgd@broadcom.com> * Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later. * Makefile.in: Regenerate. From-SVN: r66415
2003-05-03re PR java/10459 (ICE with certain expressions as 3rd clause of for loop)Tom Tromey2-7/+21
PR java/10459: * parse.y (finish_for_loop): Do nothing if update expression is a EXPR_WFL_NODE wrapping nothing. (java_complete_lhs) <COMPOUND_EXPR>: Likewise. From-SVN: r66411
2003-05-03re PR java/10459 (ICE with certain expressions as 3rd clause of for loop)Tom Tromey3-0/+26
PR java/10459: * libjava.compile/pr10459_2.java: New file. * libjava.compile/pr10459.java: New file. From-SVN: r66410
2003-05-03builtins.c (expand_builtin_stpcpy): Copy `arglist' before modifying it.Kaveh R. Ghazi2-2/+9
* builtins.c (expand_builtin_stpcpy): Copy `arglist' before modifying it. From-SVN: r66409
2003-05-03Daily bump.GCC Administrator2-2/+2
From-SVN: r66407
2003-05-02contrib.texi (Contributors): Add Zdenek Dvorak, Aldy Hernandez, and Kazu Hirata.Falk Hueffner2-1/+17
* doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy Hernandez, and Kazu Hirata. Update Richard Henderson. Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> From-SVN: r66405
2003-05-02Makefile.am (CLEANFILES): Remove PCH files in target directory.Benjamin Kosnik3-23/+282
2003-05-02 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (CLEANFILES): Remove PCH files in target directory. * include/Makefile.in: Regenerate. From-SVN: r66403
2003-05-02std_sstream.h (str()): Tidy.Paolo Carlini2-8/+8
2003-05-02 Paolo Carlini <pcarlini@unitus.it> * include/std/std_sstream.h (str()): Tidy. From-SVN: r66402
2003-05-02Remove myself as ARC maintainer.Richard Kenner1-1/+0
From-SVN: r66397
2003-05-02rs6000.c (rs6000_attribute_table): Add 'extern' to tentative declaration.Geoffrey Keating2-1/+4
* config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern' to tentative declaration. From-SVN: r66396
2003-05-02streambuf.tcc (__copy_streambufs): Rewrote.Nathan Myers2-46/+23
2003-05-02 Nathan Myers <ncm@cantrip.org> Paolo Carlini <pcarlini@unitus.it> * include/bits/streambuf.tcc (__copy_streambufs): Rewrote. Co-Authored-By: Paolo Carlini <pcarlini@unitus.it> From-SVN: r66395
2003-05-02sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.Geoffrey Keating3-38/+14
* config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete. (SYMBOL_FLAG_SMALL_V4): Delete. * config/rs6000/rs6000.c (small_data_operand): Use SYMBOL_REF_SMALL_P. (rs6000_elf_encode_section_info): Don't set SYMBOL_FLAG_SMALL_V4. (rs6000_elf_in_small_data_p): Add extra section names. Add comment about TREE_PUBLIC test. From-SVN: r66393
2003-05-02c-semantics.c (genrtl_switch_stmt, [...]): Call expand_stmt on result of ↵Geoffrey Keating2-7/+13
expand_unreachable_stmt. * c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call expand_stmt on result of expand_unreachable_stmt. From-SVN: r66392
2003-05-02MAINTAINERS (GNATS only): Add Falk Hueffner.Wolfgang Bangerth2-0/+5
2003-05-02 Wolfgang Bangerth <bangerth@dealii.org> * MAINTAINERS (GNATS only): Add Falk Hueffner. From-SVN: r66390
2003-05-02basic_string.h (swap): Remove redundant template parameters from declaration ↵Jonathan Wakely2-1/+6
of non-template member... 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org> * include/bits/basic_string.h (swap): Remove redundant template parameters from declaration of non-template member function. From-SVN: r66389
2003-05-02* doc/contrib.texi (Contributors): Add Daniel Berlin.Gerald Pfeifer2-0/+8
From-SVN: r66388
2003-05-02{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease number of automata.David Edelsohn8-23/+30
* config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease number of automata. * config/rs6000/rs6000.c (symbol_ref_operand): Check SYMBOL_REF_FUNCTION_P on AIX. (current_file_function_operand): Same. * config/rs6000/rs6000.md (call,call_value): Force non-function symbol_ref into register on AIX. From-SVN: r66385
2003-05-022003-05-02 Michael Koch <konqueror@gmx.de>Michael Koch2-60/+128
* java/net/URI.java (create): Doesnt throws any exceptions. * java/net/URLConnection.java (URLConnection): Commend added. (getExpiration): The header field is called "expires" not "expiration". (getHeaderField): Merged documentation with classpath. (getHeaderFieldInt): Likewise. (getHeaderFieldDate): Likewise. (getHeaderFieldKey): Likewise. (getPermission): Likewise. (setDefaultUseCaches): Likewise. (setRequestProperty): Likewise. (addRequestProperty): Likewise. (getRequestProperty): Likewise. (getRequestProperties): Likewise. (setDefaultRequestProperty): Likewise. (getDefaultRequestProperty): Likewise. (guessContentTypeFromStream): Likewise. (getFileNameMap): Likewise. (setFileNameMap): Likewise. (setDoInput): Merged implementation and documentation with classpath. (setDoOutput): Likewise. (setAllowUserInteraction): Likewise. (setDefaultAllowUserInteraction): Likewise. (setContentHandlerFactory): Made it synchronized, merged documentation with classpath. (guessContentTypeFromName): Renamed argument fname to filename to match classpath, merged documentation with classpath. From-SVN: r66384
2003-05-02calls.c (struct arg_data): Move offset, slot_offset, size and alignment_pad ↵Alan Modra4-251/+264
to struct locate_and_pad_arg_data. * calls.c (struct arg_data): Move offset, slot_offset, size and alignment_pad to struct locate_and_pad_arg_data. Update all refs. (initialize_argument_information): Adjust call to locate_and_pad_parm. Delete alignment_pad var. Don't calculate slot_offset here. (emit_library_call_value_1): Delete alignment_pad, offset and size vars. Use struct locate_and_pad_arg_data instead. Adjust refs. Adjust call to locate_and_pad_parm. Don't tweak arg size for partial in-regs here. Formatting fixes. * expr.h (struct locate_and_pad_arg_data): New struct. (locate_and_pad_parm): Adjust declaration. * function.c (assign_parms): Localize vars. Use "locate" instead of other arg location vars. Don't invoke FUNCTION_ARG or FUNCTION_INCOMING_ARG unless pretend_named is different from named_arg. Heed MUST_PASS_IN_STACK and set up "partial" before calling locate_and_pad_parm. Adjust locate_and_pad_parm call. Use slot_offset for stack home of reg parms. Correct test for parm passed in memory. Formatting fixes. (locate_and_pad_parm): Add "partial" to params. Replace offset_ptr arg_size_ptr and alignment pad with "locate". Set slot_offset here. Correct initial_offset_ptr handling. Localize vars. Always pad locate->offset even when in_regs. From-SVN: r66383
2003-05-02Clarify the comment before the abort we hit when a translated string ↵Wolfgang Bangerth1-1/+3
contains invalid formats. From-SVN: r66381
2003-05-02* g++.dg/lookup/using5.C: Fix testcase error.Kriang Lerdsuwanakij2-1/+5
From-SVN: r66380
2003-05-022003-05-02 Michael Koch <konqueror@gmx.de>Michael Koch4-69/+276
* java/net/JarURLConnection.java (JarURLConnection): Class documentation merged with classpath. (getJarFileURL): Moved and documentation merged with classpath. (getEntryName): Likewise. (JarURLConnection): Documentation merged with classpath. (getJarEntry): Likewise. (getJarFile): Likewise. * java/net/PlainDatagramSocketImpl.java: Class documentation moved. * java/net/URLConnection.java (fileNameMap): Moved and documentation merged with classpath. (factory): Likewise. (defaultAllowUserInteraction): Likewis. (defaultUseCaches): Likewise. (allowUserInteraction): Likewise. (connected): Likewise. (url): Likewise. (connect): Documentation merged with classpath. (getURL): Likewise. (getContentLength): Likewise. (getContentType): Likewise. (getContentEncoding): Likewise. (getExpiration): Likewise. (getDate): Likewise. (getLastModified): Likewise. (getHeaderField): Likewise. (getContent): Likewise. (getPermission): Likewise. (getInputStream): Likewise. (getOutputStream): Likewise. (toString): Likewise. (getDoInput): Likewise. (getDoOutput): Likewise. (setAllowUserInteraction): Likewise. (getAllowUserInteraction): Likewise. (setDefaultAllowUserInteraction): Likewise. (getDefaultAllowUserInteraction): Likewise. (setUseCaches): Likewise. (getUseCaches): Likewise. (setIfModifiedSince): Likewise. (getIfModifiedSince): Likewise. (setDefaultRequestProperty): Likewise. (getDefaultRequestProperty): Likewise. (setContentHandlerFactory): Likewise. (setFileNameMap): Likewise. From-SVN: r66379
2003-05-02Makefile.in (TREE_H): Replace location.h with input.h.Nathan Sidwell14-99/+85
* Makefile.in (TREE_H): Replace location.h with input.h. (GTFILES) Remove location.h (gt-lists.h): Replace gt-location.h with gt-input.h * input.h (input_filename, input_line): Remove variables. (location_s, location_t): Move from location.h. (input_location): New. (input_filename, input_line): New #defines. * location.h: Remove. * tree.h: Replace location.h with input.h. (input_filename, input_line): Remove. * diagnostic.h: Replace location.h with input.h. * gcc.h (input_filename, input_filename_length): Remove declarations. * toplev.c (input_filename, input_line): Remove. (input_location): Define. (push_srcloc, pop_srcloc): Adjust. * diagnostic.c (diagnostic_report_current_module): Adjust. f: * lex.c (ffelex_file_pop_): Adjust file_stack member use. (ffelex_file_push_): Likewise. (ffelex_hash_): Likewise. java: * lex.h (input_lineno): Remove declaration. * parse-scan.y: #include input.h. (input_filename): Remove declaration. (input_location): Add definition. (input_line): Remove definition. From-SVN: r66378
2003-05-02update_version (IGNORE_BRANCHES): Add.Gerald Pfeifer2-2/+10
* update_version (IGNORE_BRANCHES): Add. (BRANCHES): Do not consider branches matching $IGNORE_BRANCHES. From-SVN: r66377
2003-05-02InetAddress.java: Merged class documentation with classpath.Michael Koch6-18/+126
2003-05-02 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java: Merged class documentation with classpath. * java/net/JarURLConnection.java: Explicitely import all used classes. * java/net/URL.java: Reformatting. * java/net/ServerSocket.java, java/net/Socket.java: New versions from classpath. From-SVN: r66376
2003-05-02update_version: Add a trace of which branch we are currently working on.Gerald Pfeifer2-1/+6
* update_version: Add a trace of which branch we are currently working on. From-SVN: r66375
2003-05-02Add xstormy16 to list of targets that has a nop instruction and hence which ↵Nick Clifton3-352/+370
can... Add xstormy16 to list of targets that has a nop instruction and hence which can be tested to see if the assembler supports the --gdwarf2 switch. From-SVN: r66374
2003-05-022003-05-02 Michael Koch <konqueror@gmx.de>Michael Koch5-42/+130
* gnu/java/nio/FileChannelImpl.java (read): New implementation. (implRead): New methods. (write): New implementation, call other write insteal of read method. (implWrite): New methods. (map): Added comment. (transferFrom): Implemented. (transferTo): Implemented. (lock): Added checks to throw exceptions. (truncate): Added check to throw exception. * gnu/java/nio/natFileChannelImpl.cc (implRead): New method. (implWrite): New method. * java/nio/ByteBuffer.java (hashCode): Fixed comment. (get): Fixed exception documentation. (put): Fixed exception documentation. * java/nio/CharBuffer.java: Added comment for later optimizations. From-SVN: r66373
2003-05-02acconfig.h (_GLIBCPP_USE_NLS): New symbol.Phil Edwards8-1203/+1257
2003-05-01 Phil Edwards <pme@gcc.gnu.org> * acconfig.h (_GLIBCPP_USE_NLS): New symbol. * configure.in: Move libintl.h header test... * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all the NLS-related test results into one symbol. * src/functexcept.cc: Use it here. * aclocal.m4, config.h.in, configure: Regenerated. From-SVN: r66372
2003-05-01mips-abi.exp (is_meabi_config): Remove, since MEABI is no longer supported.Chris Demetriou2-19/+11
2003-05-01 Chris Demetriou <cgd@broadcom.com> * gcc.dg/special/mips-abi.exp (is_meabi_config): Remove, since MEABI is no longer supported. Remove all vestiges of MEABI from the test. From-SVN: r66370
2003-05-01re PR target/8257 ([Alpha] frame pointer computation wrong on alpha ↵Falk Hueffner2-24/+31
(cross-compiler)) PR target/8257 * config/alpha/alpha.c (alpha_sa_mask, alpha_expand_prologue, alpha_start_function, alpha_expand_epilogue, unicosmk_gen_dsib): Avoid undefined shifts by making the shift operand unsigned. From-SVN: r66367
2003-05-01reload.c (find_reloads): Also check that all of a multi-reg value is in the ↵DJ Delorie2-1/+16
class. * reload.c (find_reloads): Also check that all of a multi-reg value is in the class. From-SVN: r66366
2003-05-02Daily bump.GCC Administrator2-2/+2
From-SVN: r66365
2003-05-02sstream.tcc (overflow): Instead of calling str()...Paolo Carlini2-2/+13
2003-05-01 Paolo Carlini <pcarlini@unitus.it> * include/bits/sstream.tcc (overflow): Instead of calling str(), then _M_string.reserve, thus copying the contents of the current buffer two times, just copy the latter in a temporary, then use the 'swap trick'. From-SVN: r66358
2003-05-01std_sstream.h (str()): Revert the best of the previous 'improvement'...Paolo Carlini2-7/+8
2003-05-01 Paolo Carlini <pcarlini@unitus.it> * include/std/std_sstream.h (str()): Revert the best of the previous 'improvement', incorrect due to the COW nature of v3 basic_string; simplify. From-SVN: r66357