bernie [Thu, 11 Sep 2003 19:49:02 +0000 (19:49 +0000)]
Capitalize my name in an old ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71310
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 11 Sep 2003 17:25:47 +0000 (17:25 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71309
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 11 Sep 2003 16:45:10 +0000 (16:45 +0000)]
2003-09-11 Sascha Brawer <brawer@dandelis.ch>
* java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
if one is installed. Improve Javadoc.
(getSystemEventQueueImpl): Improve Javadoc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71308
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 11 Sep 2003 16:44:39 +0000 (16:44 +0000)]
* java/io/natFilePosix.cc (getCanonicalPath): Handle case where
file does not exist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71307
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 11 Sep 2003 15:18:52 +0000 (15:18 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71304
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 11 Sep 2003 13:41:56 +0000 (13:41 +0000)]
PR fortran/11522
* dwarf2out.c (gen_inlined_subroutine_die): Emit abstract function
for ultimate origin even if block is abstract.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71301
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 11 Sep 2003 13:01:32 +0000 (13:01 +0000)]
* 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_*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71300
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Thu, 11 Sep 2003 12:30:05 +0000 (12:30 +0000)]
Fix mingw32 builds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71299
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Sep 2003 07:14:12 +0000 (07:14 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71298
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 11 Sep 2003 06:45:20 +0000 (06:45 +0000)]
* c-decl.c (poplevel): Eliminate use of |= in function_body assignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71297
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Sep 2003 05:55:16 +0000 (05:55 +0000)]
* decl2.c (cxx_callgraph_analyze_expr): Mark argument unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71296
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Thu, 11 Sep 2003 05:17:57 +0000 (05:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71295
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 11 Sep 2003 05:08:22 +0000 (05:08 +0000)]
* real.c: Update URL to VAX floating point docs.
(decode_vax_d): Extract 8 exponent bits instead of 7.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71294
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 11 Sep 2003 04:45:11 +0000 (04:45 +0000)]
* gcc.dg/
20030909-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71293
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 11 Sep 2003 04:44:23 +0000 (04:44 +0000)]
* combine.c (force_to_mode): Set fuller_mask based only on mask,
not op_mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71292
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [Thu, 11 Sep 2003 03:11:31 +0000 (03:11 +0000)]
PR libstdc++/12189
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
abi_check if cross compiling.
* aclocal.m4: Regenerated.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71291
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 11 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71287
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 10 Sep 2003 23:46:26 +0000 (23:46 +0000)]
* decl2.c (var_finalized_p): New.
(maybe_emit_vtables, write_out_vars, finish_file): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71284
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 10 Sep 2003 23:45:05 +0000 (23:45 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71283
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 10 Sep 2003 19:16:20 +0000 (19:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71277
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 10 Sep 2003 18:50:47 +0000 (18:50 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71276
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 10 Sep 2003 18:11:05 +0000 (18:11 +0000)]
2003-09-10 David Daney <ddaney@avtrex.com>
* java/util/Arrays.java (equals(all variants)): Quit using
NullPointerException catching to detect null valued parameters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71275
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 10 Sep 2003 17:39:20 +0000 (17:39 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71274
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Wed, 10 Sep 2003 15:41:48 +0000 (15:41 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71273
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 10 Sep 2003 13:43:15 +0000 (13:43 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71271
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 10 Sep 2003 12:59:36 +0000 (12:59 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71266
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Wed, 10 Sep 2003 12:02:51 +0000 (12:02 +0000)]
* config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
rather than or'ing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71265
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 10 Sep 2003 03:06:32 +0000 (03:06 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71263
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 10 Sep 2003 02:46:35 +0000 (02:46 +0000)]
* semantics.c (expand_or_defer_fn): Use cgraph_finalize_function
always.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71262
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 10 Sep 2003 02:41:43 +0000 (02:41 +0000)]
* decl2.c (finish_file): Avoid out-of-bounds array reference
during memmove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71261
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Wed, 10 Sep 2003 00:43:38 +0000 (00:43 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71259
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 10 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71257
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Wed, 10 Sep 2003 00:13:11 +0000 (00:13 +0000)]
2003-09-09 Eric Christopher <echristo@redhat.com>
* configure.in: Change usage of 'head' to 'sed 1q'.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71255
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 10 Sep 2003 00:09:09 +0000 (00:09 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71254
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 9 Sep 2003 22:19:56 +0000 (22:19 +0000)]
* Makefile.in: Define REMAKEFLAGS for LANGUAGES & BOOT_CFLAGS
and use it throughout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71253
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 9 Sep 2003 22:10:32 +0000 (22:10 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71252
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 9 Sep 2003 20:30:34 +0000 (20:30 +0000)]
* MAINTAINERS: Update my e-mail address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71246
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 9 Sep 2003 20:27:52 +0000 (20:27 +0000)]
* cgraphunit.c (cgraph_finalize_function): Fix handling of extern
inline functions.
(cgraph_finalize_compilation_unit): Fix crash when dealing with lost
DECL_SAVED_TREE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71245
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 9 Sep 2003 19:20:42 +0000 (19:20 +0000)]
* builtins.c (fold_builtin_cabs): Protect the complex argument
against multiple evaluation when optimizing cabs* into sqrt*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71242
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 9 Sep 2003 17:37:53 +0000 (17:37 +0000)]
2003-09-09 Andreas Tobler <a.tobler@schweiz.ch>
* src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct
passing correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71238
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 9 Sep 2003 13:37:17 +0000 (13:37 +0000)]
* varasm.c (notice_global_symbol): Properly deal with weak symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71236
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 9 Sep 2003 11:44:03 +0000 (11:44 +0000)]
Revert change from yesterday due to parallel make issues.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71235
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 9 Sep 2003 08:47:35 +0000 (08:47 +0000)]
PR bootstrap/12168
* method.c (use_thunk): Clear DECL_RTL of copied nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71234
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Tue, 9 Sep 2003 06:47:19 +0000 (06:47 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71231
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Tue, 9 Sep 2003 06:40:46 +0000 (06:40 +0000)]
* config/m68k/m68k.c (m68k_output_function_prologue): Simplify
by removing redundant variable cfa_store_offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71230
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 9 Sep 2003 06:24:39 +0000 (06:24 +0000)]
* libtool.m4 (LD): Correct powerpc64 host match.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71229
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 9 Sep 2003 03:51:56 +0000 (03:51 +0000)]
Fix thinko in last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71228
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 9 Sep 2003 03:35:31 +0000 (03:35 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71227
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 9 Sep 2003 03:29:18 +0000 (03:29 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71226
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 9 Sep 2003 03:13:45 +0000 (03:13 +0000)]
* gcc.dg/builtins-1.c: Test existing _Complex functions.
* gcc.dg/torture/builtin-attr-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71225
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 9 Sep 2003 01:08:48 +0000 (01:08 +0000)]
* src/ios.cc (ios_base::Init::Init): Remove unnecessary
qualifier from _S_synced_with_stdio.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71224
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 9 Sep 2003 00:31:39 +0000 (00:31 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71221
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 9 Sep 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71219
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 8 Sep 2003 23:48:58 +0000 (23:48 +0000)]
* mklibgcc.in (libcc.a): Depend on stmp-dirs.
(libgov.a): Likewise.
(libgcc_eh.a): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71217
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 8 Sep 2003 18:57:32 +0000 (18:57 +0000)]
* fold-const.c (operand_equal_p): Clarify documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71214
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 8 Sep 2003 18:46:20 +0000 (18:46 +0000)]
PR c++/11786
* decl2.c (add_function): Do not complain about seeing the same
non-function twice.
* semantics.c (perform_koenig_lookup): Improve documentation.
PR c++/11786
* g++.dg/lookup/koenig2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71213
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 8 Sep 2003 16:54:13 +0000 (16:54 +0000)]
* optimize.c (maybe_clone_body): Inc/dec function_depth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71210
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 8 Sep 2003 16:53:05 +0000 (16:53 +0000)]
PR c++/5296
* pt.c (try_one_overload): Add addr_p parameter.
(resolve_overloaded_unification): Pass it.
PR c++/5296
* g++.dg/rtti/typeid2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71209
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 8 Sep 2003 15:56:27 +0000 (15:56 +0000)]
gcc/
* c-decl.c (c_expand_body_1): Push and pop function context here.
* tree-optimize.c (tree_rest_of_compilation): ... not here. Take
nested argument instead of computing nesting ourselves.
gcc/cp/
* decl.c (finish_function): Clear current_function_decl.
* decl2.c (mark_used): Don't push/pop gc context.
* optimize.c (optimize_function): Likewise.
* tree.c (cp_cannot_inline_tree_fn): Likewise.
* pt.c (instantiate_decl): Inc/dec function_depth instead.
* semantics.c (expand_body): Update for tree_rest_of_compilation
nested argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71208
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 8 Sep 2003 07:23:34 +0000 (07:23 +0000)]
* toplev.c (rest_of_compilation): Call split_all_insns before
regstack if optimizing but not scheduling after reload.
* gcc.c-torture/compile/
20030904-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71203
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 8 Sep 2003 06:57:05 +0000 (06:57 +0000)]
* config/sparc/sparc.c (struct machine_function): New type.
(TARGET_HAVE_TLS, TARGET_CANNOT_FORCE_CONST_MEM): Define.
(sparc_override_options): Initialize init_machine_status.
(tls_symbolic_operand, tgd_symbolic_operand, tld_symbolic_operand,
tie_symbolic_operand, tle_symbolic_operand): New functions.
(symbolic_operand): Disallow tls_symbolic_operand.
(symbolic_memory_operand): Likewise.
(tls_call_delay, sparc_cannot_force_const_mem, legitimate_constant_p,
constant_address_p, legitimate_pic_operand_p, legitimate_address_p):
New functions.
(sparc_tls_symbol): New variable.
(sparc_tls_get_addr, sparc_tls_got, legitimize_tls_address,
legitimize_address): New functions.
(print_operand): Handle %&.
(sparc_init_machine_status, get_some_local_dynamic_name,
get_some_local_dynamic_name_1): New functions.
(sparc_output_dwarf_dtprel): New function.
* config/sparc/sparc.h (CONSTANT_ADDRESS_P): Moved into
constant_address_p.
(LEGITIMATE_PIC_OPERAND_P): Moved into legitimate_pic_operand_p.
(LEGITIMATE_CONSTANT_P): Moved into legitimate_constant_p.
(GO_IF_LEGITIMATE_ADDRESS): Moved into legitimate_address_p.
(LEGITIMIZE_ADDRESS): Moved into legitimize_address.
(PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
(TARGET_TLS, TARGET_SUN_TLS, TARGET_GNU_TLS): Define.
(ASM_OUTPUT_DWARF_DTPREL): Define.
(PREDICATE_CODES): Add tgd_symbolic_operand, tld_symbolic_operand,
tie_symbolic_operand, tle_symbolic_operand.
* config/sparc/sparc.md (UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_TLSLDO,
UNSPEC_TLSIE, UNSPEC_TLSLE, UNSPEC_TLSLD_BASE): New constants.
(tls_call_delay): New attribute.
(in_call_delay): Use it.
(movqi, movhi, movsi, movdi): Call legitimize_tls_address if needed.
(tgd_hi22, tgd_lo10, tgd_add32, tgd_add64, tgd_call32, tgd_call64,
tldm_hi22, tldm_lo10, tldm_add32, tldm_add64, tldm_call32, tldm_call64,
tldo_hix22, tldo_lox10, tldo_add32, tldo_add64, tie_hi22, tie_lo10,
tie_ld32, tie_ld64, tie_add32, tie_add64, tle_hix22_sp32,
tle_lox10_sp32, tle_hix22_sp64, tle_lox10_sp64): New insns.
(tldo_ldub_sp32, tldo_ldub1_sp32, tldo_ldub2_sp32, tldo_ldsb1_sp32,
tldo_ldsb2_sp32, tldo_ldub_sp64, tldo_ldub1_sp64, tldo_ldub2_sp64,
tldo_ldub3_sp64, tldo_ldsb1_sp64, tldo_ldsb2_sp64, tldo_ldsb3_sp64,
tldo_lduh_sp32, tldo_lduh1_sp32, tldo_ldsh1_sp32, tldo_lduh_sp64,
tldo_lduh1_sp64, tldo_lduh2_sp64, tldo_ldsh1_sp64, tldo_ldsh2_sp64,
tldo_lduw_sp32, tldo_lduw_sp64, tldo_lduw1_sp64, tldo_ldsw1_sp64,
tldo_ldx_sp64, tldo_stb_sp32, tldo_stb_sp64, tldo_sth_sp32,
tldo_sth_sp64, tldo_stw_sp32, tldo_stw_sp64, tldo_stx_sp64): New
insns.
* config/sparc/sparc-protos.h (legitimate_constant_p,
constant_address_p, legitimate_pic_operand_p, legitimate_address_p,
legitimize_tls_address, legitimize_address, tls_symbolic_operand,
tls_call_delay, sparc_output_dwarf_dtprel): New prototypes.
* config/sparc/linux.h (TARGET_GNU_TLS, TARGET_SUN_TLS): Define.
* config/sparc/linux64.h (TARGET_GNU_TLS, TARGET_SUN_TLS): Likewise.
* configure.in (sparc*-*-*): Add TLS check.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71202
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 8 Sep 2003 06:41:49 +0000 (06:41 +0000)]
PR target/11689
* config/i386/i386.c (memory_address_length): Fix computation when
the base is esp or ebp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71198
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 8 Sep 2003 06:00:46 +0000 (06:00 +0000)]
* g++.dg/template/crash10.C: Only compile it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71197
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 8 Sep 2003 03:05:52 +0000 (03:05 +0000)]
2003-09-07 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/11665
* gcc.c-torture/compile/
20030907-1.c: New test.
* g++.dg/init/array11.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71193
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 8 Sep 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71191
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 7 Sep 2003 23:48:33 +0000 (23:48 +0000)]
PR c++/11852
* varasm.c (initializer_constant_valid_p): Correct logic for
CONSTRUCTORs.
PR c++/11852
* g++.dg/init/struct1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71187
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 7 Sep 2003 20:54:11 +0000 (20:54 +0000)]
PR c++/12181
* g++.dg/expr/comma1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71182
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 7 Sep 2003 20:34:13 +0000 (20:34 +0000)]
* expr.c (expand_operands): New function to expand an operand pair.
(expand_expr): Call expand_operands whenever we need to expand both
operands of a binary operator.
(do_store_flag): Likewise for operands of comparison operations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71179
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 7 Sep 2003 20:32:16 +0000 (20:32 +0000)]
* combine.c (combine_simplify_rtx): Don't convert -(A*B) into
(-A)*B if we care about sign-dependent rounding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71178
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 7 Sep 2003 19:21:05 +0000 (19:21 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71177
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 7 Sep 2003 18:52:53 +0000 (18:52 +0000)]
* c-pretty-print.h (pp_c_left_brace): Declare.
(pp_c_right_brace): Likewise.
* c-pretty-print.c (pp_c_left_brace): Now a function
(pp_c_right_brace): Likewise.
cp/
PR c++/11762
* error.c (dump_decl): Handle namespace-alias-definition.
* decl.c (warn_extern_redeclared_static): There is no point in
checking changes in storage class specifier for a namespace
declaration.
(duplicate_decls): Tidy diagnostic message.
* cxx-pretty-print.c (pp_cxx_left_brace): New macro.
(pp_cxx_right_brace): Likewise.
(pp_cxx_original_namespace_definition): New function.
(pp_cxx_namespace_alias_definition): Likewise.
(pp_cxx_declaration): Use them. Handle NAMESPACE_DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71175
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 7 Sep 2003 16:23:41 +0000 (16:23 +0000)]
* cfgcleanup.c (try_simplify_condjump): Fix again the preivous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71172
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 7 Sep 2003 11:59:52 +0000 (11:59 +0000)]
* diagnostic.c (warn_deprecated_use): Move to toplev.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71168
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 7 Sep 2003 11:15:46 +0000 (11:15 +0000)]
* decl2.c (maybe_emit_vtables, write_out_vars, finish_file):
Avoid re-emitting variables in unit-at-a-time mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71167
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 7 Sep 2003 10:11:28 +0000 (10:11 +0000)]
* langhooks.c (lhd_print_error_function): Move from diagnostic.c.
* Makefile.in (langhooks.o): Depend on diagnostic.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71165
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sun, 7 Sep 2003 05:57:10 +0000 (05:57 +0000)]
Forgot to commit the Changelog for the new tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71162
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sun, 7 Sep 2003 05:52:40 +0000 (05:52 +0000)]
* MAINTAINTERS: Update my affiliation and email address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71161
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sun, 7 Sep 2003 05:21:35 +0000 (05:21 +0000)]
* loop.c (loop_regs_update): Delete else clause for PATTERN rtx and
simplify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71160
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 7 Sep 2003 04:10:10 +0000 (04:10 +0000)]
PR c++/11687
* call.c (standard_conversion): Improve comments.
(perform_direct_initialization): Make sure we return an expression
of the correct type.
* typeck.c (build_static_cast): Check for ambiguity and
accessibility when performing conversions.
PR c++/11687
* g++.dg/expr/static_cast5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71157
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sun, 7 Sep 2003 03:43:15 +0000 (03:43 +0000)]
2003-09-06 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/11507
* g++.dg/lookup/scoped7.C: New test.
PR c++/9574
* g++.dg/other/static1.C: New test.
PR c++/11490
* g++.dg/warn/template-1.C: New test.
PR c++/11432
* g++.dg/template/crash10.C: New test.
PR c++/2478
* g++.dg/overload/VLA.C: New test.
PR c++/10804
* g++.dg/template/call1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71156
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Sun, 7 Sep 2003 02:11:40 +0000 (02:11 +0000)]
2003-09-07 Kelley Cook <kelleycook@wideopenwest.com>
* Makefile.in: Define $REMAKE to be $MAKE with LANGUAGES & BOOT_CFLAGS
and use it throughout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71155
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 7 Sep 2003 00:51:53 +0000 (00:51 +0000)]
* cfgcleanup.c (try_simplify_condjump): Fix my previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71153
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 7 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71151
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 6 Sep 2003 22:47:19 +0000 (22:47 +0000)]
* cgraph.c (cgraph_mark_reachable_node): Only enqueue finalized
functions.
(cgraph_varpool_finalize_decl): Notice global symbol when needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71149
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 6 Sep 2003 22:23:51 +0000 (22:23 +0000)]
* toplev.c (rest_of_decl_compilation): Do not finalize external
virables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71148
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 6 Sep 2003 21:50:20 +0000 (21:50 +0000)]
PR target/12070
* calls.c (emit_library_call_value_1): Fix saving of BLKmode arguments.
PR opt/12082
* cfgcleanup.c (try_simplify_condjump): Avoid unreachable code warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71147
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 6 Sep 2003 21:33:46 +0000 (21:33 +0000)]
* diagnostic.c (announce_function): Move to toplev.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71146
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 6 Sep 2003 19:03:44 +0000 (19:03 +0000)]
* cp-tree.h (add_binding): Remove declaration.
* name-lookup.h (supplement_binding): Declare.
* decl.c (add_binding): Move to name-lookup.c.
(push_local_binding): Adjust.
(push_class_binding): Likewise.
(set_identifier_type_value_with_scope): Likewise.
* name-lookup.c (supplement_binding): Rename from add_binding.
Return a bool. Improve documentation.
(set_namespace_binding): Adjust.
* Make-lang.in (cp/name-lookup.o): Depend on toplev.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71144
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sat, 6 Sep 2003 18:37:57 +0000 (18:37 +0000)]
cp:
PR c++/11794
* class.c (pushclass): Push dependent using decls for nested
classes of templates too.
testsuite:
PR c++/11794
* g++.dg/parse/using3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71143
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sat, 6 Sep 2003 17:37:09 +0000 (17:37 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71142
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sat, 6 Sep 2003 17:05:02 +0000 (17:05 +0000)]
* gcse.c (expr_equiv_p): Don't consider anything to be equal to
volatile mem.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71140
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 6 Sep 2003 16:14:30 +0000 (16:14 +0000)]
PR c++/11409
* class.c (resolve_address_of_overloaded_function): When building
list of matching non-template function decls, ignore anticipated
declarations of undeclared or shadowed GCC builtins.
* g++.dg/overload/builtin3.C: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71139
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sat, 6 Sep 2003 15:44:34 +0000 (15:44 +0000)]
PR c++/11595
* decl.c (define_label): Remove unreachable timevar pop.
Always return the decl, even if the definition is invalid.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71138
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 6 Sep 2003 15:06:36 +0000 (15:06 +0000)]
* ggc-common.c (init_ggc_heuristics): Don't use the heuristics
when gc checking is enabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71137
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sat, 6 Sep 2003 13:34:00 +0000 (13:34 +0000)]
PR c/9862
* c-decl.c (c_expand_body_1): Move return warning from here...
(finish_function): ...to here.
* gcc.dg/
20030906-1.c: New test.
* gcc.dg/
20030906-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71134
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sat, 6 Sep 2003 11:29:17 +0000 (11:29 +0000)]
cp:
PR c++/12167
* parser.c (cp_parser_late_parsing_default_args): Push & pop the
unparsed functions queue.
testsuite:
PR c++/12167
* g++.dg/parse/defarg5.C: New test.
* g++.dg/template/non-type-template-argument-1.C: Tweak expected error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71133
138bc75d-0d04-0410-961f-
82ee72b054a4
zlomek [Sat, 6 Sep 2003 05:28:03 +0000 (05:28 +0000)]
* fibheap.c (fibheap_replace_key_data): Change type of OKEY to
FIBHEAPKEY_T.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71129
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sat, 6 Sep 2003 04:07:18 +0000 (04:07 +0000)]
* config/rs6000/darwin.h (PREFERRED_RELOAD_CLASS): Always return
a subset of the input class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71128
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 6 Sep 2003 01:01:01 +0000 (01:01 +0000)]
* include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71127
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 6 Sep 2003 00:22:49 +0000 (00:22 +0000)]
* config/i860/i860.c: Follow spelling conventions.
* config/i860/i860.h: Likewise.
* config/sh/sh.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71126
138bc75d-0d04-0410-961f-
82ee72b054a4