summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-timehubicka2003-02-1214-48/+742
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (OBJS): Add callgraph.o (callgraph.o): New. * c-decl.c (expand_body_1): Break out from ... (expand_body): This one; change calling convention (finish_function): Move some of expand_body logic here. (c_expand_deferred_function): Update call of expand_body (c_expand_stmt): Use c_expand_body_1. * c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define. * c-objc-commin.c (c_objc_common_finish_file): Use callgraph code. * c-tree.h (c_expand_body): Declare. * callgraph.c: New file. * flags.h (flag_unit_at_a_time): Declare. * langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION, LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION, LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros. * langhooks.h (struct lang_hooks_for_callgraph): New. (struct lang_hooks): Add callgraph field. * toplev.c (flag_unit_at_a_time): New. (lang_independent_options): Add flag_unit_at_a_time. (process_options): Disable unit-at-a-time mode for frontends not supporting callgraph. * tree-inline.c (typedef struct inline_data): Add "decl" (expand_call_inline): Update callgraph. (optimize_inline_calls): Set id.decl. * tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit, cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call cgraph_calls_p): Declare. * invoke.texi (-funit-at-a-time): Document git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62789 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Aldy Hernandez <aldyh@redhat.com>aldyh2003-02-122-163/+104
| | | | | | | | | | | * config/rs6000/spe.h: Fix misc formatting. (__ev_create_ufix32_fs): Cast ev argument. (__ev_create_sfix32_fs): Same. (__ev_get_sfix32_fs_internal): Cast arguments to builtins. (__ev_get_ufix32_fs_internal): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62788 138bc75d-0d04-0410-961f-82ee72b054a4
* * parser.c (cp_parser_postfix_expression): Set idk properly forjason2003-02-121-0/+21
| | | | | | | object->scope::member. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62784 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Paolo Carlini <pcarlini@unitus.it>paolo2003-02-123-4/+51
| | | | | | | | | | PR libstdc++/9563 * include/bits/ostream.tcc (sentry::sentry): Check the state of the stream after the preparation. * testsuite/27_io/ostream_sentry.cc (test02): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62779 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-123-1/+31
| | | | | | | | * doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document. * config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62776 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplib.c (do_include_common): Move warnings forzack2003-02-122-55/+68
| | | | | | | | | | | #include_next and #import out to callers. Use early-return instead of nested ifs. Don't do check_eol here. (parse_include): Do check_eol here with the rest of the parsing stuff. (do_include_next, do_import): Now handle warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62772 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi (Specific): Update AVR- and Darwin-related URLs.gerald2003-02-122-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62767 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/20030209-1.c: Disable the test ifkazu2003-02-122-0/+19
| | | | | | | STACK_SIZE is too small. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62766 138bc75d-0d04-0410-961f-82ee72b054a4
* * predict.c (estimate_probability): Fix roundoff error.hubicka2003-02-122-3/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62765 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (a peephole2): Don't handle 65535.kazu2003-02-122-2/+52
| | | | | | | (two peephole2): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62764 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (several peephole2): Replacekazu2003-02-122-6/+11
| | | | | | | find_regno_note with peep2_reg_dead_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62763 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Michael Koch <konqueror@gmx.de>mkoch2003-02-124-1/+140
| | | | | | | | | | * java/nio/channels/Channels.java: New file. * Makefile.am (ordinary_java_source_files): Added java/nio/channels/Channels.java. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62762 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Michael Koch <konqueror@gmx.de>mkoch2003-02-123-51/+191
| | | | | | | | | | | | | | | | | | | | * java/nio/ByteBuffer.java (allocate): Implemented. (wrap): Implemented. * java/nio/CharBuffer.java: Some documentation added and reworked. (endian): Removed. (allocate): Implemented. (wrap): Implemented. (array): Throw exceptions. (arrayOffset): Throw exceptions. (toString): Implemented. (length): Implemented. (put): Implemented. (charAt): Implemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62760 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcse.c (lookup_set): Remove unused argument PAT. Updaterth2003-02-122-18/+13
| | | | | | | both callers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62759 138bc75d-0d04-0410-961f-82ee72b054a4
* Wrote better ChangeLog entrytromey2003-02-121-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62757 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 John Leuner <jewel@debian.org>tromey2003-02-122-1/+7
| | | | | | | * java/util/zip/ZipInputStream.java: idem git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62754 138bc75d-0d04-0410-961f-82ee72b054a4
* * diagnostic.c (real_abort): New.geoffk2003-02-125-2/+62
| | | | | | | | | | | | (diagnostic_report_diagnostic): Call real_abort on error. * diagnostic.h (diagnostic_abort_on_error): New. (struct diagnostic_context): Add abort_on_error field. * toplev.c (setup_core_dumping): New. (decode_d_option): Handle 'H' case. * doc/invoke.texi (Debugging Options): Document -dH. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62753 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-02-1212-1439/+1430
| | | | | | | | * include/Makefile.am (stamp-std-precompile): Add rule. * include/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62752 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2003-02-122-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62751 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnuneroden2003-02-112-1/+6
| | | | | | | which refers to obsolete directories. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62738 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New.rth2003-02-112-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62736 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.rth2003-02-111-1/+2
| | | | | | | * doc/invoke.texi: Extra alias. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62735 138bc75d-0d04-0410-961f-82ee72b054a4
* * i386.c (contains_128bit_aligned_vector_p): New function.hubicka2003-02-112-2/+86
| | | | | | | (ix86_function_arg_boundary): Properly align vector modes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62732 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Jerry Quinn <jlquinn@optonline.net>bkoz2003-02-115-220/+425
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Benjamin Kosnik <benjamin@redhat.com> * include/bits/locale_facets.h (__num_base): Add _S_atoms_out. Add indexes into this array. (__num_base::_S_atoms): To _S_atoms_in. (num_put::_M_insert): Rename to _M_pad. (num_put::_M_convert_int): Adjust remove __mod, __modl arguments. (num_put::_M_widen_int): Rename to _M_group_int. (num_put::_M_widen_float): Rename to _M_group_float. * include/bits/locale_facets.tcc (__int_to_char): New inline function and adapter functions. (num_put::_M_group_int): Streamline. (num_put::_M_group_float): Streamline. (num_put::_M_convert_int): Remove unused parameter names. Choose large enough buffer for text. Use __int_to_char instead of __convert_from_v. Formatted text is now at the end of the buffer. (num_put::_M_convert_float): Preliminary fixups. * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef. (__int_to_char<unsigned long long>): Same. (__int_to_char<char, unsigned long>): New. (__int_to_char<char, unsigned long long>): New. (__int_to_char<wchar_t, unsigned long>): New. (__int_to_char<wchar_t, unsigned long long>): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62731 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.bwilson2003-02-113-4/+11
| | | | | | | | * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP as a SET pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62730 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing log entry from commit.danglin2003-02-111-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62729 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix double applied patch.rth2003-02-111-6/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62728 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c: Fix failures caused by commit of the wrong patch.sayle2003-02-112-3/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62727 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Dale Johannesen <dalej@apple.com>dalej2003-02-113-5/+19
| | | | | | | | | * ra-build.c (compare_and_free_webs): Relax checking. * config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME): Define. (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62724 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-112-3/+22
| | | | | | | | | * java/io/natFileDescriptorWin32.cc (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( ) returns with Win32 error code ERROR_BROKEN_PIPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62722 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (hpux_long_double, hpux10_ctype_declarations1,danglin2003-02-114-3/+383
| | | | | | | | | | hpux10_ctype_declarations2, hpux_ctype_macros): New hacks. * fixincl.x: Rebuilt. * tests/base/stdlib.h: Update. * tests/base/ctype.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62718 138bc75d-0d04-0410-961f-82ee72b054a4
* PR optimization/9651rth2003-02-112-0/+17
| | | | | | | * rtlanal.c (may_trap_p): Handle FIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62717 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.rth2003-02-112-0/+6
| | | | | | | * doc/invoke.texi: Extra alias. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62716 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/host-darwin.c: Fix comment.geoffk2003-02-112-5/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62715 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.md (divmodsi4): Use register_operanddje2003-02-112-3/+8
| | | | | | | predicate for mod result. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62714 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Scott Snyder <snyder@fnal.gov>paolo2003-02-112-3/+12
| | | | | | | | | PR libstdc++/9659 * include/bits/fstream.tcc (seekoff): Avoid operator+ for pos_type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62712 138bc75d-0d04-0410-961f-82ee72b054a4
* * emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.hubicka2003-02-112-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62711 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edirth2003-02-113-1/+19
| | | | | | | | | appropriated as globals. (ix86_expand_clrstr): Similarly. * config/i386/i386.md (cmpstrsi): Similarly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62710 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (a peephole2): Add a case of 255.kazu2003-02-112-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62709 138bc75d-0d04-0410-961f-82ee72b054a4
* * optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2.sayle2003-02-116-31/+203
| | | | | | | | | | | | | | | | | | | | (pow_optab, atan2_optab): Define corresponding macros. * optabs.c (init_optabs): Initialize pow_optab and atan2_optab. * genopinit.c (optabs): Implement pow_optab and atan2_optab using pow?f3 and atan2?f3 patterns. * builtins.c (expand_errno_check): New function to update errno if necessary, split out from expand_builtin_mathfn. (expand_builtin_mathfn): Use expand_errno_check. (expand_builtin_mathfn_2): New function to handle expanding binary math functions, reusing the code in expand_errno_check. (expand_builtin): Handle the pow and atan2 math built-ins, BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function expand_builtin_mathfn_2. * doc/md.texi: Document new pow?f3 and atan2?f3 patterns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62708 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Andreas Tobler <a.tobler@schweiz.ch>andreast2003-02-112-1/+5
| | | | | | | * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62705 138bc75d-0d04-0410-961f-82ee72b054a4
* * combine.c (combine_simplify_rtx): Fix folding ofhubicka2003-02-112-1/+6
| | | | | | | nested float_truncates. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62702 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (a peephole2): Fix a typo.kazu2003-02-112-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62701 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-112-1/+5
| | | | | | | | * Makefile.in (libgcj_la_OBJECTS): Removed natSelctorImpl.la. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62700 138bc75d-0d04-0410-961f-82ee72b054a4
* * arm.mc (return_address_mask): Use CC_REGNUM for the condition coderearnsha2003-02-112-1/+6
| | | | | | | register number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62699 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300-protos.h: Add a prototype forkazu2003-02-115-1/+58
| | | | | | | | | | gtuleu_operator. * config/h8300/h8300.c (gtuleu_operator): New. * config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator. * config/h8300/h8300.md (a peephole2): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62696 138bc75d-0d04-0410-961f-82ee72b054a4
* * sched-ebb.c (schedule_ebbs): Do not verify_flow_info.hubicka2003-02-112-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62694 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-1110-506/+753
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/ByteBufferImpl.java: Reformated and removed some code. (backing_buffer): Removed. (array_offset): Removed. (ro): Renamed to readOnly. (ByteBufferImpl): Use parent constructor, initialize readOnly. * gnu/java/nio/CharBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (CharBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * gnu/java/nio/DoubleBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (DoubleBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * gnu/java/nio/FloatBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (FloatBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * gnu/java/nio/IntBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (IntBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * gnu/java/nio/LongBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (LongBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * gnu/java/nio/ShortBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (ShortBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * Makefile.am (ordinary_java_source_files): Added the following files: gnu/java/nio/ByteBufferImpl.java gnu/java/nio/CharBufferImpl.java gnu/java/nio/DoubleBufferImpl.java gnu/java/nio/FloatBufferImpl.java gnu/java/nio/IntBufferImpl.java gnu/java/nio/LongBufferImpl.java gnu/java/nio/ShortBufferImpl.java java/nio/DoubleBuffer.java java/nio/FloatBuffer.java java/nio/IntBuffer.java java/nio/LongBuffer.java java/nio/ShortBuffer.java (nat_source_files): Added the following files: gnu/java/nio/natByteBufferImpl.cc gnu/java/nio/natCharBufferImpl.cc gnu/java/nio/natDoubleBufferImpl.cc gnu/java/nio/natFloatBufferImpl.cc gnu/java/nio/natIntBufferImpl.cc gnu/java/nio/natLongBufferImpl.cc gnu/java/nio/natShortBufferImpl.cc * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62692 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Paolo Carlini <pcarlini@unitus.it>paolo2003-02-114-7/+57
| | | | | | | | | | | | | | | PR libstdc++/9320 * include/ext/stdio_filebuf.h (stdio_filebuf(int, std::ios_base::openmode, bool, int_type), stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)): Change to take a __size parameter of type size_t, not of type (template parameter dependent) int_type. * src/ios.cc (ios_base::Init::_S_ios_create): Change type of size vars to size_t. * testsuite/ext/stdio_filebuf.cc: Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62691 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Paolo Carlini <pcarlini@unitus.it>paolo2003-02-113-3/+58
| | | | | | | | | | | | Petur Runolfsson <peturr02@ru.is> PR libstdc++/9318 * include/bits/streambuf.tcc (__copy_streambufs): Don't conditionalize the copy to __testput. * testsuite/27_io/streambuf_members.cc (test09, test10): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62689 138bc75d-0d04-0410-961f-82ee72b054a4