aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-09-13run_doxygen: Clear GENERATE_TAGFILE entirely if man pages are on.Phil Edwards3-10/+23
2003-09-13 Phil Edwards <phil@codesourcery.com> * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely if man pages are on. * docs/doxygen/user.cfg.in: And here. From-SVN: r71363
2003-09-13cgraphunit.c (cgraph_assemble_pending_functions): Export.Richard Henderson5-4/+30
* cgraphunit.c (cgraph_assemble_pending_functions): Export. (cgraph_finalize_function): Revert TREE_ASM_WRITTEN check. * cgraph.h: Update. * decl2.c (finish_file): Check cgraph_assemble_pending_functions during relaxation loop. From-SVN: r71360
2003-09-13Fix still another typo.Dale Johannesen1-1/+1
From-SVN: r71352
2003-09-13Fix typos in previous.Dale Johannesen2-2/+5
From-SVN: r71351
2003-09-13Daily bump.GCC Administrator2-2/+2
From-SVN: r71349
2003-09-12pretty-print.c (pp_construct): Use xcalloc instead of xmalloc when ↵Ziemowit Laski2-1/+6
allocating pp->buffer. 2003-09-12 Ziemowit Laski <zlaski@apple.com> * pretty-print.c (pp_construct): Use xcalloc instead of xmalloc when allocating pp->buffer. From-SVN: r71346
2003-09-12darwin.c (machopic_select_rtx_section): Use const_data_section for things ↵Geoffrey Keating2-0/+10
that might require relocation. * config/darwin.c (machopic_select_rtx_section): Use const_data_section for things that might require relocation. From-SVN: r71345
2003-09-12re PR bootstrap/12264 (Mainline faield to bootstrap)H.J. Lu2-1/+7
PR bootstrap/12264 * tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree. From-SVN: r71343
2003-09-12elf.h (ASM_SPEC): Remove no-density option.Bob Wilson5-265/+59
* config/xtensa/elf.h (ASM_SPEC): Remove no-density option. Reformat. * config/xtensa/linux.h (ASM_SPEC): Likewise. * config/xtensa/xtensa.h (TARGET_SWITCHES): Remove -mbig-endian, -mlittle-endian, -m[no-]density, -m[no-]abs, -m[no-]addx, -m[no-]mac16, -m[no-]mul16, -m[no-]mul32, -m[no-]nsa, -m[no-]minmax, -m[no-]sext, -m[no-]booleans, -mhard-float, -msoft-float, -m[no-]hard-float-div, -m[no-]hard-float-recip, -m[no-]hard-float-sqrt, and -m[no-]hard-float-rsqrt options. Delete corresponding MASK_* macros and redefine corresponding TARGET_* macros with constants from the xtensa-config.h header. * doc/invoke.texi (Option Summary, Xtensa Options): Remove documention for the options listed above. From-SVN: r71339
2003-09-12Use ISO C90 prototypes.Dale Johannesen5-956/+530
From-SVN: r71336
2003-09-12* loop.c: Move comments describing BIV's and GIV's to top of fileChris Lattner2-10/+14
From-SVN: r71333
2003-09-12re PR rtl-optimization/8967 (Making class data members `const' pessimizes code)Roger Sayle4-22/+44
PR optimization/8967 * alias.c (write_dependence_p): Modify to take an additional constp argument that controls whether the UNCHANGING_RTX_P flags are used. (anti_dependence, output_dependence): Adjust write_dependence_p callers to pass this additional argument, to return the same result. (unchanging_anti_dependence): New variant of anti_dependence that ignores the UNCHANGING_RTX_P property on memory references. * rtl.h (unchaning_anti_dependence): Prototype here. * flow.c (init_propagate_block): Place fake constant mem writes on the mem_set_list so that dead writes to const variables are deleted. (insn_dead_p): Change anti_dependence to unchanging_anti_dependence. (mark_used_regs): Likewise. From-SVN: r71332
2003-09-12mcore-protos.h (mcore_r15_operand_p): Declare.Richard Sandiford5-324/+108
* config/mcore/mcore-protos.h (mcore_r15_operand_p): Declare. (mcore_secondary_reload_class): Declare. (mcore_output_inline_const_forced): Remove. * config/mcore/mcore.md (movsi): Remove the code that forced non-inlineable constants into a register if the target was r15 or the stack pointer. Remove constant restrictions from the main define_insn. Remove r <- I, r <- M and r <- N alternatives in favor of an r <- P alternative. Remove fallback define_insn for reload. (movhi, movqi): Use gen_lowpart rather than gen_SUBREG. Remove reload define_insn. Use mcore_output_move in the remaining define_insn. Adjust condition and constraints in the way as for movsi. (movdi): Always split unacceptable constants into two. Use simplify_gen_subreg instead of operand_subword{,_force}. * config/mcore/mcore.c (mcore_output_inline_const_forced): Remove. (mcore_output_move): Support HImode and QImode moves as well. (mcore_m15_operand_p): New function. (mcore_reload_class): Use it to detect cases where LRW_REGS are better. (mcore_secondary_reload_class): New function. * config/mcore/mcore.h (SECONDARY_RELOAD_CLASS): Redefine in terms of mcore_secondary_reload_class. From-SVN: r71330
2003-09-11* c-lex.c (fe_file_change): Don't transform to_line with SOURCE_LINE.Mike Stump2-4/+6
From-SVN: r71328
2003-09-12URLStreamHandler.java (parseURL): If original file ends with "/", so must ↵Tom Tromey3-2/+14
canonical result. * java/net/URLStreamHandler.java (parseURL): If original file ends with "/", so must canonical result. * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus with nul-termination and finding previous "/". From-SVN: r71327
2003-09-12Daily bump.GCC Administrator2-2/+2
From-SVN: r71325
2003-09-12prep_cif.c (initialize_aggregate): Include tail padding in structure size.Alan Modra4-3/+21
* src/prep_cif.c (initialize_aggregate): Include tail padding in structure size. * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Correct placement of float result. * testsuite/libffi.special/unwindtest.cc (closure_test_fn1): Correct cast of "resp" for big-endian 64 bit machines. From-SVN: r71323
2003-09-11builtins.c (fold_builtin_logarithm): if N can't be truncated to MODE exactly...Kaveh R. Ghazi2-5/+14
* builtins.c (fold_builtin_logarithm): if N can't be truncated to MODE exactly, then only convert logN(N) -> 1.0 if flag_unsafe_math_optimizations is set. From-SVN: r71322
2003-09-11builtins.c (builtin_dconsts_init, [...]): Delete.Kaveh R. Ghazi4-28/+19
* builtins.c (builtin_dconsts_init, dconstpi, dconste, init_builtin_dconsts): Delete. * emit-rtl.c (dconstpi, dconste): Define. (init_emit_once): Initialize dconstpi & dconste. * real.h (dconstpi, dconste): Declare. From-SVN: r71320
2003-09-11* decl2.c (var_finalized_p): Swap arms of conditional.David Edelsohn2-2/+6
From-SVN: r71319
2003-09-11Capitalize my name in an old ChangeLog entry.Bernardo Innocenti1-1/+1
From-SVN: r71310
2003-09-11acconfig.h: Removed most items.Michael Koch4-352/+226
2003-09-11 Michael Koch <konqueror@gmx.de> * acconfig.h: Removed most items. * configure.in: Added descriptions to AC_DEFINE macros that where in acconfig.h before. * include/config.h.in: Regenerated. From-SVN: r71309
2003-09-11Toolkit.java (getSystemEventQueue): Call SecurityManager if one is installed.Sascha Brawer2-5/+46
2003-09-11 Sascha Brawer <brawer@dandelis.ch> * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager if one is installed. Improve Javadoc. (getSystemEventQueueImpl): Improve Javadoc. From-SVN: r71308
2003-09-11natFilePosix.cc (getCanonicalPath): Handle case where file does not exist.Tom Tromey2-1/+68
* java/io/natFilePosix.cc (getCanonicalPath): Handle case where file does not exist. From-SVN: r71307
2003-09-11re PR c++/11788 (missing implicit instantiation of static member function)Nathan Sidwell5-47/+121
cp: PR c++/11788 * typeck.c (build_address): If it is a function, mark it used. (build_unary_op): Do not lose object's side-effects when taking address of static member function. * class.c (resolve_address_of_overloaded_function): Use tsubst_flags_t parameter. Only expect overload sets. Adjust. (instantiate_type): Adjust flags passing. Do not lose object's side-effects when taking address of static member function. testsuite: PR c++/11788 * g++.dg/overload/addr1.C: New test. From-SVN: r71304
2003-09-11re PR fortran/11522 (g77 dwarf-2 ICE in add_abstract_origin_attribute)Alexandre Oliva2-4/+14
PR fortran/11522 * dwarf2out.c (gen_inlined_subroutine_die): Emit abstract function for ultimate origin even if block is abstract. From-SVN: r71301
2003-09-11combine.c (combine_simplify_rtx): Move several NOT and NEG optimizations ↵Roger Sayle3-98/+113
from here... * combine.c (combine_simplify_rtx): Move several NOT and NEG optimizations from here... * simplify-rtx.c (simplify_unary_operation): to here. Recursively simplify expressions using simplify_gen_*ary instead of gen_rtx_*. From-SVN: r71300
2003-09-11Fix mingw32 builds.Anthony Green3-3/+10
From-SVN: r71299
2003-09-11cgraphunit.c (cgraph_finalize_function): Add nested arg.Richard Henderson8-23/+48
* cgraphunit.c (cgraph_finalize_function): Add nested arg. Tweek tests for function already generated. (cgraph_expand_function): Don't double announce in !unit-at-a-time. * cgraph.h (cgraph_finalize_function): Update for extra arg. * c-decl.c (finish_function): Likewise. * semantics.c (expand_or_defer_fn): Update for new cgraph_finalize_function argument. * parse.y (source_end_java_method): Update for new cgraph_finalize_function argument. From-SVN: r71298
2003-09-10* c-decl.c (poplevel): Eliminate use of |= in function_body assignment.Joe Buck2-1/+6
From-SVN: r71297
2003-09-10* decl2.c (cxx_callgraph_analyze_expr): Mark argument unused.Richard Henderson2-1/+5
From-SVN: r71296
2003-09-11types.c (double, longdouble): Merge identical SH and ARM typedefs, and add ↵Alan Modra4-13/+17
POWERPC64. * src/types.c (double, longdouble): Merge identical SH and ARM typedefs, and add POWERPC64. * src/powerpc/ffi.c (ffi_prep_args64): Correct next_arg calc for struct split over gpr and rest. (ffi_prep_cif_machdep): Correct intarg_count for structures. * src/powerpc/linux64.S (ffi_call_LINUX64): Fix gpr offsets. From-SVN: r71295
2003-09-10real.c: Update URL to VAX floating point docs.Jerry Quinn2-2/+7
* real.c: Update URL to VAX floating point docs. (decode_vax_d): Extract 8 exponent bits instead of 7. From-SVN: r71294
2003-09-11* gcc.dg/20030909-1.c: New test.Ian Lance Taylor2-0/+9
From-SVN: r71293
2003-09-11combine.c (force_to_mode): Set fuller_mask based only on mask, not op_mode.Ian Lance Taylor2-7/+10
* combine.c (force_to_mode): Set fuller_mask based only on mask, not op_mode. From-SVN: r71292
2003-09-11re PR libstdc++/12189 (abi_check fails to build)Daniel Jacobowitz4-36/+54
PR libstdc++/12189 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build abi_check if cross compiling. * aclocal.m4: Regenerated. * configure: Regenerated. Co-Authored-By: Andreas Jaeger <aj@suse.de> From-SVN: r71291
2003-09-11Daily bump.GCC Administrator2-2/+2
From-SVN: r71287
2003-09-10decl2.c (var_finalized_p): New.Jan Hubicka2-9/+19
* decl2.c (var_finalized_p): New. (maybe_emit_vtables, write_out_vars, finish_file): Use it. From-SVN: r71284
2003-09-10c-objc-common.c (c_cannot_inline_tree_fn): Warn on why function is not ↵Jan Hubicka3-178/+184
inlinable; do not check the body. * c-objc-common.c (c_cannot_inline_tree_fn): Warn on why function is not inlinable; do not check the body. (inline_forbidden_p): Move to... * tree-inline.c (inline_forbidden_p_1): ... here; Add warnings; deal with alloca, longjmp. (inline_forbidden_p): New static function. (find_alloca_call_1, find_alloca_call, find_builtin_longjmp_call_1, find_builtin_longjmp_call): Kill. From-SVN: r71283
2003-09-10cgraph.h (struct cgraph_node): Rename lowered to analyzed.Richard Henderson10-70/+115
* cgraph.h (struct cgraph_node): Rename lowered to analyzed. * cgraphunit.c: Update to match. (record_call_1): Rearrange. Call lang hook for language nodes. (cgraph_analyze_function): Don't call lower_function. * langhooks.h (struct lang_hooks_for_callgraph): Replace lower_function with analyze_expr. * langhooks-def.h: Update to match. * langhooks.c (lhd_callgraph_analyze_expr): New. * decl2.c (cxx_callgraph_analyze_expr): New, from corpse of mark_member_pointers. (lower_function): Remove. * cp-tree.h: Update to match. * cp-lang.c (LANG_HOOKS_CALLGRAPH_ANALYZE_EXPR): New. (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION): Remove. From-SVN: r71277
2003-09-10acconfig.h (__NO_MATH_INLINES): Removed.Michael Koch5-114/+81
2003-09-10 Michael Koch <konqueror@gmx.de> * acconfig.h (__NO_MATH_INLINES): Removed. * configure.in: Removed check for g++ math inlining bug from 2000. * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and libgcj_cxxflags. * configure: Regenerated. From-SVN: r71276
2003-09-10Arrays.java (equals(all variants)): Quit using NullPointerException catching ↵David Daney2-128/+96
to detect null valued parameters. 2003-09-10 David Daney <ddaney@avtrex.com> * java/util/Arrays.java (equals(all variants)): Quit using NullPointerException catching to detect null valued parameters. From-SVN: r71275
2003-09-10DatagramSocket.java, [...]: Use gnu.java.net.Plain*SocketImpl instead of ↵Michael Koch21-897/+955
java.net.PlainSocketImpl. 2003-09-10 Michael Koch <konqueror@gmx.de> * java/net/DatagramSocket.java, java/net/MulticastSocket.java, java/net/ServerSocket.java, java/net/Socket.java: Use gnu.java.net.Plain*SocketImpl instead of java.net.PlainSocketImpl. * java/net/PlainDatagramSocketImpl.java, java/net/PlainSocketImpl.java, java/net/SocketInputStream.java, java/net/SocketOutputStream.java, java/net/natPlainDatagramSocketImplNoNet.cc, java/net/natPlainDatagramSocketImplPosix.cc, java/net/natPlainDatagramSocketImplWin32.cc, java/net/natPlainSocketImplNoNet.cc, java/net/natPlainSocketImplPosix.cc, java/net/natPlainSocketImplWin32.cc: Removed. * gnu/java/net/PlainDatagramSocketImpl.java, gnu/java/net/PlainSocketImpl.java, gnu/java/net/SocketInputStream.java, gnu/java/net/SocketOutputStream.java, gnu/java/net/natPlainDatagramSocketImplNoNet.cc, gnu/java/net/natPlainDatagramSocketImplPosix.cc, gnu/java/net/natPlainDatagramSocketImplWin32.cc, gnu/java/net/natPlainSocketImplNoNet.cc, gnu/java/net/natPlainSocketImplPosix.cc, gnu/java/net/natPlainSocketImplWin32.cc: New files (moved from java/net). * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc instead of java/net/natPlain*SocketImpl.cc. * configure: Regenerated. * Makefile.am: Moved files from java/net to gnu/java/net. * Makefile.in: Regenerated. From-SVN: r71274
2003-09-10vec.cc (__cxa_vec_new2): If the allocator returns NULL, return NULL.Jeffrey D. Oldham2-2/+12
2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com> * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05. (__cxa_vec_new3): Likewise. From-SVN: r71273
2003-09-10fstream.tcc (basic_filebuf::seekoff): Use codecvt::length to handle ↵Petur Runolfsson4-3/+249
variable-width stateless encodings correctly. 2003-09-10 Petur Runolfsson <peturr02@ru.is> * include/bits/fstream.tcc (basic_filebuf::seekoff): Use codecvt::length to handle variable-width stateless encodings correctly. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test. From-SVN: r71271
2003-09-10re PR target/11965 (invalid assembler code for a shift << 32 operation)Eric Botcazou5-6/+69
PR target/11965 * config/sparc/sparc.c (sparc_v8plus_shift): Protect against constants greater than 63. * config/sparc/sparc.md (ashlsi3, ashrsi3, lshrsi3): Protect against constants greater than 31. (*ashldi3_sp64, *ashrdi3_sp64, *lshrdi3_sp64): Protect against constants greater than 63. From-SVN: r71266
2003-09-10basic_file_stdio.cc (_M_open_mode): Assign __p_mode rather than or'ing.Alan Modra2-6/+11
* config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode rather than or'ing. From-SVN: r71265
2003-09-09cgraphunit.c (cgraph_finalize_function): Remove unused argument.Richard Henderson8-5/+18
* cgraphunit.c (cgraph_finalize_function): Remove unused argument. * cgraph.h (cgraph_finalize_function): Update. * c-decl.c (finish_function): Update. cp/ * semantics.c (expand_or_defer_fn): Update call to cgraph_finalize_function. java/ * parse.y (source_end_java_method): Update call to cgraph_finalize_function. From-SVN: r71263
2003-09-09semantics.c (expand_or_defer_fn): Use cgraph_finalize_function always.Richard Henderson1-0/+3
* semantics.c (expand_or_defer_fn): Use cgraph_finalize_function always. From-SVN: r71262
2003-09-09decl2.c (finish_file): Avoid out-of-bounds array reference during memmove.Richard Henderson3-60/+15
* decl2.c (finish_file): Avoid out-of-bounds array reference during memmove. From-SVN: r71261