- 11 Sep, 2003 4 commits
-
-
From-SVN: r71293
Ian Lance Taylor committed -
* combine.c (force_to_mode): Set fuller_mask based only on mask, not op_mode. From-SVN: r71292
Ian Lance Taylor committed -
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
Daniel Jacobowitz committed -
From-SVN: r71287
GCC Administrator committed
-
- 10 Sep, 2003 17 commits
-
-
* decl2.c (var_finalized_p): New. (maybe_emit_vtables, write_out_vars, finish_file): Use it. From-SVN: r71284
Jan Hubicka committed -
c-objc-common.c (c_cannot_inline_tree_fn): Warn on why function is not 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
Jan Hubicka committed -
* 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
Richard Henderson committed -
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
Michael Koch committed -
Arrays.java (equals(all variants)): Quit using NullPointerException catching 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
David Daney committed -
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
Michael Koch committed -
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
Jeffrey D. Oldham committed -
fstream.tcc (basic_filebuf::seekoff): Use codecvt::length to handle 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
Petur Runolfsson committed -
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
Eric Botcazou committed -
* config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode rather than or'ing. From-SVN: r71265
Alan Modra committed -
* 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
Richard Henderson committed -
* semantics.c (expand_or_defer_fn): Use cgraph_finalize_function always. From-SVN: r71262
Richard Henderson committed -
* decl2.c (finish_file): Avoid out-of-bounds array reference during memmove. From-SVN: r71261
Richard Henderson committed -
gcc * config/darwin.h (LINK_SPEC): Pass -nofixprebinding to linker. * doc/invoke.texi: Document new Darwin linker option -nofixprebinding. testsuite * gcc.dg/darwin-ld-6.c: New test. From-SVN: r71259
Devang Patel committed -
From-SVN: r71257
GCC Administrator committed -
2003-09-09 Eric Christopher <echristo@redhat.com> * configure.in: Change usage of 'head' to 'sed 1q'. * configure: Regenerate. From-SVN: r71255
Eric Christopher committed -
* except.c: Include cgraph.h. (output_function_exception_table): Invoke cgraph_varpool_mark_needed_node. * Makefile.in (except.o): Update. * decl2.c (mark_member_pointers): Rename from mark_member_pointers_and_eh_handlers and don't check eh handlers. From-SVN: r71254
Richard Henderson committed
-
- 09 Sep, 2003 19 commits
-
-
* Makefile.in: Define REMAKEFLAGS for LANGUAGES & BOOT_CFLAGS and use it throughout. From-SVN: r71253
Kelley Cook committed -
* builtins.c (real_dconstp, fold_builtin_logarithm, fold_builtin_exponent): New, split out from fold_builtin. Also generalize to add log2, log10, exp2 and exp10/pow10 equivalents. * emit-rtl.c (dconst3, dconst10, dconstthird): New. (init_emit_once): Initialize new dconsts, use ARRAY_SIZE in lieu of hardcoded array size. * fold-const.c (fold): Add cases for exp2, exp10 and pow10. (tree_expr_nonnegative_p): Likewise. * real.h (dconst3, dconst10, dconstthird): New. testsuite: * gcc.dg/torture/builtin-explog-1.c: New testcase. From-SVN: r71252
Kaveh R. Ghazi committed -
From-SVN: r71246
Ian Lance Taylor committed -
* cgraphunit.c (cgraph_finalize_function): Fix handling of extern inline functions. (cgraph_finalize_compilation_unit): Fix crash when dealing with lost DECL_SAVED_TREE. From-SVN: r71245
Jan Hubicka committed -
* builtins.c (fold_builtin_cabs): Protect the complex argument against multiple evaluation when optimizing cabs* into sqrt*. From-SVN: r71242
Roger Sayle committed -
* src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct passing correctly. From-SVN: r71238
Andreas Tobler committed -
From-SVN: r71236
Jan Hubicka committed -
From-SVN: r71235
Kelley Cook committed -
PR bootstrap/12168 * method.c (use_thunk): Clear DECL_RTL of copied nodes. From-SVN: r71234
Christian Ehrhardt committed -
* config/m68k/coff.h (REGISTER_NAMES): Add fake register `argptr' * config/m68k/hp320.h (REGISTER_NAMES): Likewise. * config/m68k/linux.h (REGISTER_NAMES): Likewise. * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise. * gcc/config/m68k/sgs.h (REGISTER_NAMES): Likewise. * config/m68k/m68k-protos.h (m68k_initial_elimination_offset): Add prototype. * config/m68k/m68k.c (m68k_frame): New struct, simular to ix86 back-end. (m68k_compute_frame_layout): New function. (m68k_initial_elimination_offset): New function. (m68k_output_function_prologue): ColdFire-specific movem handling. (m68k_output_function_epilogue): Likewise. * config/m68k/m68k.h (FIRST_PSEOUDO_REGISTER): Make room for argptr reg. (ARG_POINTER_REGNUM): Add new definition. (INITIAL_FRAME_POINTER_OFFSET): Remove macro. (ELIMINABLE_REGS): Define new macro, like in ix86 back-end. (CAN_ELIMINATE): Likewise. (INITIAL_ELIMINATION_OFFSET): Likewise. Co-Authored-By: Peter Barada <peter@baradas.org> From-SVN: r71231
Bernardo Innocenti committed -
* config/m68k/m68k.c (m68k_output_function_prologue): Simplify by removing redundant variable cfa_store_offset. From-SVN: r71230
Bernardo Innocenti committed -
From-SVN: r71229
Alan Modra committed -
From-SVN: r71228
Mark Mitchell committed -
* langhooks-def.h (lhd_register_builtin_type): New function. (LANG_HOOKS_REGISTER_BUILTIN_TYPE): New macro. (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. * langhooks.h (lang_hooks_for_types): Add register_builtin_type. * langhooks.c (lhd_register_builtin_type): New function. * c-common.h (c_register_builtin_type): Declare. * c-common.c (c_register_builtin_type): New function. * c-lang.c (LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define to c_register_builtin_type. * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Remove __fpreg, __float80, and __float128 macros. * config/ia64/ia64.c (ia64_init_builtins): Create __fpreg, __float80, and __float128 types. * cp-lang.c (LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define to c_register_builtin_type. * gcc.dg/ia64-types1.c: New test. * gcc.dg/ia64-types2.c: Likewise. From-SVN: r71227
Mark Mitchell committed -
* builtin-types.def (BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE_COMPLEX_DOUBLE, BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT_COMPLEX_FLOAT): New. * builtins.def (BUILT_IN_CACOS, BUILT_IN_CACOSF, BUILT_IN_CACOSH, BUILT_IN_CACOSHF, BUILT_IN_CACOSHL, BUILT_IN_CACOSL, BUILT_IN_CARG, BUILT_IN_CARGF, BUILT_IN_CARGL, BUILT_IN_CASIN, BUILT_IN_CASINF, BUILT_IN_CASINH, BUILT_IN_CASINHF, BUILT_IN_CASINHL, BUILT_IN_CASINL, BUILT_IN_CATAN, BUILT_IN_CATANF, BUILT_IN_CATANH, BUILT_IN_CATANHF, BUILT_IN_CATANHL, BUILT_IN_CATANL, BUILT_IN_CCOS, BUILT_IN_CCOSF, BUILT_IN_CCOSH, BUILT_IN_CCOSHF, BUILT_IN_CCOSHL, BUILT_IN_CCOSL, BUILT_IN_CEXP, BUILT_IN_CEXPF, BUILT_IN_CEXPL, BUILT_IN_CPOW, BUILT_IN_CPOWF, BUILT_IN_CPOWL, BUILT_IN_CPROJ, BUILT_IN_CPROJF, BUILT_IN_CPROJL, BUILT_IN_CSIN, BUILT_IN_CSINF, BUILT_IN_CSINH, BUILT_IN_CSINHF, BUILT_IN_CSINHL, BUILT_IN_CSINL, BUILT_IN_CSQRT, BUILT_IN_CSQRTF, BUILT_IN_CSQRTL, BUILT_IN_CTAN, BUILT_IN_CTANF, BUILT_IN_CTANH, BUILT_IN_CTANHF, BUILT_IN_CTANHL, BUILT_IN_CTANL): New. * doc/extend.texi: Document new builtins. testsuite: * gcc.dg/builtins-1.c: Add more _Complex tests. * gcc.dg/torture/builtin-attr-1.c: Likewise. From-SVN: r71226
Kaveh R. Ghazi committed -
* gcc.dg/builtins-1.c: Test existing _Complex functions. * gcc.dg/torture/builtin-attr-1.c: Likewise. From-SVN: r71225
Kaveh R. Ghazi committed -
* src/ios.cc (ios_base::Init::Init): Remove unnecessary qualifier from _S_synced_with_stdio. From-SVN: r71224
David Edelsohn committed -
* cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated finalization. * cgraphunit.c (decide_is_fnction_needed): Avoid special case of nested functions, check for COMDAT. (cgraph_assemble_pending_functions): Break out from... (cgraph_finalize_function): ... here; allow redefinig of extern inline functions. (record_call_1): Record function references only in non-unit-at-a-time mode. (cgraph_analyze_function): Reset current_function_decl. (cgraph_finalize_compilation_unit): Assemble pending functions. From-SVN: r71221
Jan Hubicka committed -
From-SVN: r71219
GCC Administrator committed
-