aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-01-23 * fixinc/inclhack.def (bad_lval): Renamed to ...Rainer Orth
(alpha_bad_lval): ... this. Removed file list. Restrict to alpha*-dec-osf*. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/dirent.h: Remove, moving test ... * fixinc/tests/base/testing.h: ... here, reflecting new name. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76450 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Zack Weinberg <zack@codesourcery.com>Zack Weinberg
PR c/13814 * c-decl.c (diagnose_mismatched_decls): Also discard a built-in if we encounter an old-style definition with the same name. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76445 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * gcc.dg/builtins-29.c: New test case.Roger Sayle
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76444 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 PR 18314Zack Weinberg
* c-decl.c (diagnose_mismatched_decls): Also discard a built-in if we encounter an old-style definition with the same name. testsuite: * gcc.dg/builtins-30.c: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76441 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it wasJakub Jelinek
set to default{32,64}. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76439 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR)Jakub Jelinek
[!__powerpc64__]: Corrected to handle kernels with changed ucontext. * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the header. For __powerpc64__ provide the default-signal.h definitions for now. * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h instead of the dummy definitions. * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC. (powerpc64*-*): Remove with_libffi_default. Only add -mminimal-toc for 64-bit compilations. * configure.in: Use powerpc-signal.h on powerpc64 as well. (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX. Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h. * configure: Rebuilt. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76437 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * fold-const.c (fold_binary_op_with_conditional_arg): OnlyEric Botcazou
build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76434 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Paolo Carlini <pcarlini@suse.de>Paolo Carlini
PR libstdc++/13831 * include/bits/fstream.tcc (underflow): Remove unused variable. * include/bits/streambuf_iterator.h (equal): Ditto. * include/bits/locale_facets.h (_M_convert_from_char): Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76433 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 PR c/13814Kaveh Ghazi
* config/linker-map.gnu (nan): Delete. * libmath/mathconf.h (NAN, nan): Delete. * linkage.m4 (nan): Don't check for it. * libmath/nan.c: Delete file. * config.h.in, configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76431 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * config/arm/arm.c (arm_legitimate_address_p): Don't check the modeDaniel Jacobowitz
size for minipool references. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76429 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * real.c (real_floor, real_ceil): Tweak to allow input and outputRoger Sayle
arguments to overlap. (real_round): New function to implement round(3m) semantics. * real.h (real_round): Prototype here. * builtins.c (fold_builtin_round): New function to constant fold round, roundf and roundl. (fold_builtin): Call fold_builtin_round for BUILT_IN_ROUND{,F,L}. * gcc.dg/builtins-29.c: New test case. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76428 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* gnu/java/nio/FileLockImpl.java: Compile fixes. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76427 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* java/lang/VMClassLoader.java: Reworked imports. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76426 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23PR optimization/13819Alexandre Oliva
* config/sh/sh.c (sh_reorg): Compensate for sharing of CLOBBERs introduced by 2004-01-20's Jan Hubicka's copy_insn change. (sh_handle_sp_switch_attribute): Remove warning. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76425 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* javax/swing/AbstractAction.java: Reformated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76424 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* java/text/CollationElementIterator.java: (setText): New method. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76423 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* gnu/java/nio/FileLockImpl.java: Fixed filename in copyright. (released): Removed. (finalize): New method. * gnu/java/nio/natFileLockImpl.cc (releaseImpl): Implemented. * java/nio/channels/FileChannelImpl.java: Reworked imports. (lock): Implemented. (lockImpl): New method. (tryLock): Implemented. (tryLockImpl): New method. * java/nio/channels/natFileChannelImpl.cc (lockImpl): New method. (tryLockImpl): New method. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76422 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* java/io/FileDescriptor.java (lock): New method. (tryLock): New method. (unlock): New method. * java/io/natFileDescriptorEcos.cc (lock): New method. (tryLock): New method. (unlock): New method. * java/io/natFileDescriptorPosix.cc (lock): New method. (tryLock): New method. (unlock): New method. * java/io/natFileDescriptorWin32.cc (lock): New method. (tryLock): New method. (unlock): New method. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76421 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Paolo Carlini <pcarlini@suse.de>Paolo Carlini
* include/bits/basic_string.h (push_back(_CharT)): Call _M_replace_aux. (insert(size_type, const basic_string&)): Trivial tweak. (insert(size_type, size_type, _CharT)): Call _M_replace_aux. (insert(iterator, _CharT)): Ditto. (erase(size_type, size_type)): Ditto. (erase(iterator)): Ditto. (erase(iterator, iterator)): Ditto. (replace(size_type, size_type, size_type, _CharT)): Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76420 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* java/io/FileDescriptor.java (sync): Moved around, added javadoc. (valid): Likewise. (open): Likewise. (write): Likewise. (close): Likewise. (setLength): Likewise. (seek): Likewise. (getLength): Likewise. (getFilePointer): Likewise. (read): Likewise. (available): Likewise. (finalize): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76419 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets.Jan Hubicka
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76416 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OPJ"orn Rennecke
may or may not return non-NIL. * postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code, check CANNOT_CHANGE_MODE_CLASS git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76415 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* javax/swing/AbstractAction.java: Reformated. (getPropertyChangeListeners): New method. * javax/swing/AbstractCellEditor.java: Reformated. (getCellEditorListeners): New method. * javax/swing/DefaultListSelectionModel.java (listenerList): New field. (listeners): Removed. (get_listeners): Removed. (addListSelectionListener): Rewritten. (removeListSelectionListener): Rewritten. (getListSelectionListeners): New method. (getListeners): New method. * javax/swing/JComboBox.java: Imports reworked. (addActionListener): Implemented. (removeActionListener): Implemented. (addItemListener): Implemented. (removeItemListener): Implemented. (addPopupMenuListener): Implemented. (removePopupMenuListener): Implemented. (getActionListeners): New method. (getItemListeners): New method. (getPopupMenuListeners): New method. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76413 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* gnu/java/net/protocol/http/Connection.java (connect): Don't initialize bufferedOutputStream if not needed. (sendRequest): Set property for content length if content is present. Write content only if present. (getOutputStream): Check if already connected, dont connect, initalize bufferedOutputStream if needed. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76412 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* java/io/FileDescriptor.java (in, out, err): Added javadoc. (static): Merged loading code. (fd, position): Moved around. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76411 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* gnu/java/awt/doc-files/BitwiseXORComposite-1.png: New file. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76410 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* java/lang/Class.java, java/lang/Object.java, java/lang/Thread.java: Merged copyright with classpath. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76409 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch
* java/io/FileDescriptor.java: Merged copyright with classpath to start merging this class. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76408 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * basic-block.h (PROP_POSTRELOAD): New macro.Jan Hubicka
(CLEANUP_LOG_LINKS): New. * cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to. * toplev.c (rest_of_handle_life): Preserve LOG_LINKS trought cleanup_cfg. * cselib.c (value_pool): New. (new_cselib_val): Use pool. (cselib_init): Initialize value_pool (cselib_finish): Free pool. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76405 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,Arnaud Charlet
1ssecsta.ads: Removed, unused. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76404 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Robert Dewar <dewar@gnat.com>Arnaud Charlet
* exp_aggr.adb: Minor reformatting * exp_ch9.adb: Minor code clean up Minor reformatting Fix bad character in comment * targparm.adb (Get_Target_Parameters): Give clean abort error on unexpected end of file, along with more detailed message. 2004-01-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of PAT. * decl.c (copy_alias_set): New function. (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it. 2004-01-23 Doug Rupp <rupp@gnat.com> * Makefile.in (install-gnatlib): Change occurrences of lib$$file to lib$${file} in case subsequent character is not a separator. 2004-01-23 Vincent Celier <celier@gnat.com> * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc when the GCC version is at least 3. * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches Remove all "Opt.", to prepare for opt split * prj-part.adb (Parse_Single_Project): New Boolean out parameter Extends_All. Set to True when the project parsed is an extending all project. Fails for importing an extending all project only when the imported project is an extending all project. (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause, depending on the value of Extends_All returned. * prj-proc.adb (Process): Check that no project shares its object directory with a project that extends it, directly or indirectly, including a virtual project. Check that no project extended by another project shares its object directory with another also extended project. * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for Kind = N_With_Clause * prj-tree.ads: Minor reformatting Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All). 2004-01-23 Ed Schonberg <schonberg@gnat.com> * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute applies to a type with an incomplete view, use full view in Name of clause, for consistency with uses of Get_Attribute_Definition_Clause. 2004-01-23 Arnaud Charlet <charlet@act-europe.fr> * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using SCHED_RR, since other values are not supported by this policy. (Initialize): Move initialization of mutex attribute to package elaboration, to prevent early access to this variable. * Makefile.in: Remove mention of Makefile.adalib, unused. * Makefile.adalib: Removed, unused. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76403 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 PR ada/13471Arnaud Charlet
* targparm.adb (Get_Target_Parameters): Give clean abort error on unexpected end of file, along with more detailed message. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76402 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * config/sparc/sparc.c (scan_record_type): New function.Eric Botcazou
(function_arg_slotno): Use it to determine which kinds of registers the record can be passed in. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76400 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 libstdc++/13823Loren J. Rittle
* testsuite/performance/allocator_map_thread.cc: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76398 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-23 Andreas Tobler <a.tobler@schweiz.ch>Andreas Tobler
* g++.dg/compat/compat.exp: Add LD_LIBRARY_PATH_32/64 for Solaris. * lib/g77.exp: Likewise. * lib/objc.exp: Likewise. * lib/g++.exp: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76397 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-22 James A. Mmorrison <ja2morri@uwaterloo.ca>James A. Morrison
* config/pa/fptr.c: Fix old-style definition. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76396 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 PR libgcj/13107:Tom Tromey
* testsuite/libjava.lang/pr13107_2.xfail: New file. * testsuite/libjava.lang/pr13107_3.xfail: New file. * testsuite/libjava.lang/pr13107_3.java: New file. * testsuite/libjava.lang/pr13107_3.out: New file. * testsuite/libjava.lang/pr13107_2.java: New file. * testsuite/libjava.lang/pr13107_2.out: New file. * testsuite/libjava.lang/pr13107.java: New file. * testsuite/libjava.lang/pr13107.out: New file. * verify.cc (jsr_ptrs): Removed. (entry_points): Likewise. (struct subr_info): Likewise. (struct subr_entry_info): Likewise. (type_val::unused_by_subroutine_type): Likewise. (type::merge): Don't handle unused_by_subroutine_type. (type::print): Likewise. (state::flags): Removed. (state::subroutine): Likewise. (state::seen_subrs): Likewise. (state::NO_STACK): Likewise. (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise. (state): Updated all methods. (state::clean_subrs): Removed. (state::state): Removed `ret_semantics' flag. (state::copy): Likewise. (state::add_subr): Removed. (state::enter_subroutine): Likewise. (type::set_return_address): New method. (handle_jsr_insn): Set return address on the type. Always invalidate PC after call. (check_nonrecursive_call): Removed. (~_Jv_BytecodeVerifier): Updated. (branch_prepass): Removed special handling of jsr. (note_branch_target): Likewise. (get_subroutine): Removed. (state::merge): Don't merge subroutines and don't handle NO_STACK. Removed ret_semantics and jsr_semantics arguments. (state::note_variable): Removed. (state::is_unmerged_ret_state): Likewise. (state::print): Updated. (set_variable): Likewise. (merge_into): Renamed from push_jump_merge. Removed ret_semantics and jsr_semantics arguments. Updated for new reverification list. (pop_jump): Rewrote. (construct_primitive_array_type): Updated. (state::next): Removed. (INVALID_STATE): New define. (state::INVALID): Removed. (state::NO_NEXT): New value. (state::pc, state::next): New fields. (state::get_pc): New method. (next_verify_pc): Removed. (next_verify_state): New field. (verify_instructions_0): Always check for falling off end. (linked): New type. (linked_utf8): Removed. (states): Changed type. (type::state_mergeable_p): New method. (state::state_mergeable_p): Likewise. (handle_ret_insn): Removed most code. (state::reverify): New method. (add_new_state): Likewise. (state::set_pc): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76395 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-232004-01-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
PR optimization/13724 * cse.c (fold_rtx) <SUBREG>: Fold a SUBREG to zero if it represents the zero bits produced by a ZERO_EXTEND operation. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76394 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 PR optimization/13821Roger Sayle
* simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset to correctly calculate the lowpart offset of the contracted subreg. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76393 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23Removed testsuite/ChangeLog again; put entry into top-level ChangeLogJeff Sturm
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76392 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23 * doc/invoke.texi (Optimize Options): Note that --param argumentsIan Lance Taylor
are subject to change without notice. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76391 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23PR java/13733Jeff Sturm
* libjava.compile/PR13733.java: New file. * libjava.compile/PR13733.xfail: New file. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76389 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-23Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76386 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-22PR java/13733Jeff Sturm
* parse.y (patch_assignment): Don't modify lhs_type for reference assignments. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76382 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-22 * testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Treat resultUlrich Weigand
value as of type ffi_arg, not unsigned int. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76377 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-22 * config.gcc (mips-sgi-irix6*o32): Removed.Rainer Orth
* config/mips/iris6-o32-as.h: Likewise. * config/mips/iris6-o32-gas.h: Likewise. * config/mips/iris6-o32.h: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76376 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-22 * cfgcleanup.c (first_pass): New static variable.Jan Hubicka
(try_forward_edges): Add work limiting check for threading. (try_crossjump_bb): Add work limiting check for crossjumping. (try_optimize_cfg): Maintain first pass variable. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76375 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-22 * config/xtensa/xtensa.c (function_arg): Generalize logic so that itBob Wilson
handles complex and vector modes. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76373 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-222004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>Arnaud Vandyck
Michael Koch <konqueror@gmx.de> * javax/swing/table/DefaultTableCellRenderer.java (DefaultTableCellRenderer): Added javadoc for the class and for the constructor, Border instance, create an EmptyBorder. (UIResource): Removed the comment at the end of the class (setForeground): New method. (setBackground): New method. (updateUI): New method. (getTableCellRendererComponent): Rewritten with the help of dvholten and Stephane Meslin-Weber. (validate): New method. (repaint): New method. (firePropertyChange): New method. (setValue): New method. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76372 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-22 * config/h8300/h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.Kazu Hirata
(REG_OK_FOR_BASE_P_STRICT): Likewise. (STRICT): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76370 138bc75d-0d04-0410-961f-82ee72b054a4