OSDN Git Service
jakub [Wed, 24 Jan 2001 18:44:40 +0000 (18:44 +0000)]
* cppfiles.c (_cpp_read_file): Add to dependencies if requested.
* cppinit.c (cpp_start_read): Remove deps_add_dep call.
* tradcpp.c (main): Add -imacros or -include'd dependencies
for -M*.
* cpp.texi (-M, -MM): Document -M -include behaviour.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39240
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 24 Jan 2001 18:40:46 +0000 (18:40 +0000)]
* config/i386/xm-i386.h: Make __i386__ a boolean macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39239
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 24 Jan 2001 17:43:25 +0000 (17:43 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (c_source_files): Added sf_fabs.c.
* java/lang/sf_fabs.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39238
138bc75d-0d04-0410-961f-
82ee72b054a4
wcohen [Wed, 24 Jan 2001 14:01:26 +0000 (14:01 +0000)]
2001-01-24 Will Cohen <wcohen@redhat.com>
* config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
whether registers are 32 bits or 64 bits in size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39237
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 24 Jan 2001 12:47:45 +0000 (12:47 +0000)]
2001-01-24 Ben Elliston <bje@redhat.com>
* config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39236
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 24 Jan 2001 11:31:40 +0000 (11:31 +0000)]
missed in
* call.c (add_builtin_candidate): Quote std properly, from
previous change.
commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39235
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 24 Jan 2001 11:25:28 +0000 (11:25 +0000)]
cp:
* pt.c (tsubst_decl): Remove IN_DECL parameter.
(tsubst_arg_types): Check parameter is not void.
(tsubst): Adjust tsubst_decl call.
testsuite:
* g++.old-deja/g++.pt/spec38.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39234
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 24 Jan 2001 11:21:29 +0000 (11:21 +0000)]
cp:
* call.c (add_builtin_candidate): Quote std properly, from
previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39233
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 24 Jan 2001 09:00:02 +0000 (09:00 +0000)]
* config/alpha/alpha.md (builtin_longjmp_internal): New.
(builtin_longjmp): Use it instead of emit_indirect_jump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39232
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 24 Jan 2001 08:45:12 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39231
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 24 Jan 2001 08:08:36 +0000 (08:08 +0000)]
2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class): Don't lay the superclass out if it's
already being laid out.
* jcf-parse.c (handle_innerclass_attribute): New function.
(HANDLE_INNERCLASSES_ATTRIBUTE): Invoke
handle_innerclasses_attribute.
(jcf_parse): Don't load an innerclasses if it's already being
laid out.
* jcf-write.c (append_innerclass_attribute_entry): Static
`anonymous_name' and its initialization deleted. `ocii' and `ini'
to be zero for anonymous classes.
2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (set_constant_value): Set DECL_FIELD_FINAL_IUD if
necessary.
* jcf-parse.c (set_source_filename): Use
MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC if necessary.
2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
* expr.c (build_jni_stub): Set DECL_CONTEXT on `meth_var' so it
gets a unique asm name.
2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jcf-parse.c (HANDLE_END_METHODS): Nullify current_method.
(HANDLE_START_FIELD): Invoke MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC
if necessary.
(HANDLE_SYNTHETIC_ATTRIBUTE): New macro.
* jcf-reader.c (get_attribute): Handle `Synthetic' attribute.
* parse.y (lookup_package_type_and_set_next): Deleted.
(resolve_package): Removed unnecessary code.
(find_applicable_accessible_methods_list): `finit$' can't be
inherited.
* verify.c (pop_argument_types): Added missing prototype.
(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01812.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39230
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Wed, 24 Jan 2001 07:06:07 +0000 (07:06 +0000)]
* pt.c (check_explicit_specialization): Clone constructors and
destructors.
* g++.old-deja/g++.pt/spec33.C: Change from "Build don't link" to
"Build don't run".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39229
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 24 Jan 2001 05:57:46 +0000 (05:57 +0000)]
* bb-reorder.c (make_reorder_chain_1): Handle case where
jump edge goes to the same block as the fallthru edge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39228
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 24 Jan 2001 04:30:47 +0000 (04:30 +0000)]
Eliminate IA-64 compiler warnings.
* dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
* frame.h (__ia64_personality_v1): Add prototype.
* libgcc2.c (ia64_throw_helper): Change personality declaration to
prototype form. Add void * cast to first argument to personality
call.
...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39227
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Wed, 24 Jan 2001 03:04:36 +0000 (03:04 +0000)]
2001-01-23 Chris Demetriou <cgd@broadcom.com>
* libsupc++/exception_support.cc (__terminate_func): Remove
declaration.
(__terminate_func_ptr): New typedef.
(__terminate, __terminate_set_func): New extern function
prototypes.
(std::terminate): Use __terminate function.
(std::set_terminate): Use __terminate_set_func function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39226
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Wed, 24 Jan 2001 03:04:04 +0000 (03:04 +0000)]
2001-01-23 Chris Demetriou <cgd@broadcom.com>
* exception.cc (__terminate_func): Remove declaration.
(__terminate_func_ptr): New typedef.
(__terminate, __terminate_set_func): New extern function
prototypes.
(std::terminate): Use __terminate function.
(std::set_terminate): Use __terminate_set_func function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39225
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Wed, 24 Jan 2001 03:03:12 +0000 (03:03 +0000)]
2001-01-23 Chris Demetriou <cgd@broadcom.com>
* libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
of EH symbols.
* libgcc2.c (__terminate_func): Make variable static.
(__terminate_set_func): New function to set __terminate_func.
* libgcc2.h (__terminate_func_ptr): New typedef.
(__terminate_set_func): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39224
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 24 Jan 2001 02:24:50 +0000 (02:24 +0000)]
* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
* libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39223
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 24 Jan 2001 02:23:54 +0000 (02:23 +0000)]
* flow.c (init_propagate_block_info): Don't consider unchanging
memories for dead frame store elimination.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39222
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 24 Jan 2001 02:23:23 +0000 (02:23 +0000)]
* varasm.c (UNIQUE_SECTION): Move default implementation ...
* defaults.h: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39221
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Wed, 24 Jan 2001 00:48:03 +0000 (00:48 +0000)]
Fix date.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39220
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Wed, 24 Jan 2001 00:45:42 +0000 (00:45 +0000)]
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/
20010123-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39219
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Wed, 24 Jan 2001 00:07:32 +0000 (00:07 +0000)]
Update copyright dates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39218
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Tue, 23 Jan 2001 23:22:30 +0000 (23:22 +0000)]
* c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39217
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Tue, 23 Jan 2001 23:20:30 +0000 (23:20 +0000)]
* libU77/ctime_.c: #include <sys/types.h> for time_t.
* libU77/datetime_.c: Likewise.
* libU77/fdate_.c: Likewise.
* libU77/gmtime_.c: Likewise.
* libU77/idate_.c: Likewise.
* libU77/itime_.c: Likewise.
* libU77/ltime_.c: Likewise.
* libU77/sys_clock_.c: Likewise.
* libU77/vxtidate_.c: Likewise.
* libU77/vxttime_.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39216
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 23 Jan 2001 23:18:43 +0000 (23:18 +0000)]
* c-lex.c (lex_charconst): Fix typo: s/p/str.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39215
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Tue, 23 Jan 2001 23:04:35 +0000 (23:04 +0000)]
* com.c: Don't explicitly include any time headers, the right ones are
already included by proj.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39214
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 23 Jan 2001 22:29:30 +0000 (22:29 +0000)]
* varasm.c (UNIQUE_SECTION): Move default implementation ...
* defaults.h: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39213
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 23 Jan 2001 22:17:31 +0000 (22:17 +0000)]
* configure.in: Enable libgcj on several additional platforms.
In gcc/java:
* config-lang.in: Disable java by default.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39212
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Tue, 23 Jan 2001 22:03:48 +0000 (22:03 +0000)]
2001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.h (rs6000_return_addr): Move prototype from here...
* rs6000-protos.h (rs6000_return_addr): ...to here.
(rs6000_init_expanders): Delete prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39211
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 23 Jan 2001 21:35:15 +0000 (21:35 +0000)]
Replace , with \, inside @gccoptlist macros.
Document %B and %j and %. and %v3 and %M and %{S*&T} spec switches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39210
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 23 Jan 2001 20:58:23 +0000 (20:58 +0000)]
2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
* configure.target: Just use os_include_dir always.
* configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
Link atomicity files and ctype files here.
* configure: Regenerate.
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
(GLIBCPP_ENABLE_ATOMICITY): Remove.
* aclocal.m4: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39209
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 23 Jan 2001 20:09:17 +0000 (20:09 +0000)]
* gcj.texi (Copying): New node.
Added copyright information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39208
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Tue, 23 Jan 2001 19:31:08 +0000 (19:31 +0000)]
* c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39207
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 23 Jan 2001 19:20:14 +0000 (19:20 +0000)]
* cpperror.c: Merge handlers of PEDWARN and WARNING.
Have -Werror make pedantic warnings errors, like the
rest of GCC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39206
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Tue, 23 Jan 2001 19:18:29 +0000 (19:18 +0000)]
2001-01-23 Chris Demetriou <cgd@broadcom.com>
* configure.in: Place definition of MULTISUBDIR in
libsupc++/Makefile as is done for src/Makefile.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39205
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Tue, 23 Jan 2001 18:36:53 +0000 (18:36 +0000)]
2001-01-23 Phil Edwards <pme@sources.redhat.com>
* c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39204
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 23 Jan 2001 18:36:06 +0000 (18:36 +0000)]
* integrate.h (struct inline_remap): Add compare_src, compare_mode.
* integrate.c (expand_inline_function): Initialize them.
(subst_constants): If changing COMPARE so that both its arguments
will be VOIDmode and the comparison mode will be lost, note
compare_mode. Use the recorded compare_mode to optimize
IF_THEN_ELSE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39203
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Tue, 23 Jan 2001 18:35:56 +0000 (18:35 +0000)]
* libU77/sys_clock_.c: #include <sys/param.h> for the clock tick rate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39202
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 23 Jan 2001 17:22:08 +0000 (17:22 +0000)]
* dwarf2out.c (new_die): Use xcalloc.
(output_die): Abort rather than emit a local reference to offset 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39201
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Tue, 23 Jan 2001 17:02:28 +0000 (17:02 +0000)]
2001-01-23 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4: Cosmetic changes only.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* configure.target: Update documented list of changed variables.
* docs/html/install.html: Fix typo.
* docs/html/20_util/howto.html: More notes on auto_ptr.
* docs/html/27_io/howto.html: More notes on streabufs.
* docs/html/faq/index.html: Add rel_ops problem and mention the
DEC as(1) .subsection difficulty.
* docs/html/faq/index.txt: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39200
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 23 Jan 2001 13:58:55 +0000 (13:58 +0000)]
2001-01-17 Andrew Haley <aph@redhat.com>
* libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
of a saved register; return NULL instead.
(copy_reg): Take a pointer to a source register rather than a
frame_state.
(next_stack_level): Remember the address in the stack frame of all
saved registers.
Use the saved register pointer array as the source of the CFA.
(throw_helper): Rewrite. Unwind once rather than twice and keep
track of saved registers as we go.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39199
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 23 Jan 2001 10:44:18 +0000 (10:44 +0000)]
cp:
* decl.c (grokdeclarator): Don't presume DECL_LANG_SPECIFIC
indicates anything special about template depth. Make sure we
only count the user visible template classes.
testsuite:
* g++.old-deja/g++.pt/spec37.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39198
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 23 Jan 2001 10:36:26 +0000 (10:36 +0000)]
cp:
* call.c (build_conv): Typo in comment.
(add_builtin_candidate): Add more explanation.
Remove extra test for ENUMERAL_TYPE in {PRE,POST}INCREMENT_EXPR.
Allow ENUMERAL_TYPEs for relops and eqops. Add both candidates
when we have enumeral types.
(add_builtin_candidates): Add more explanation. Add ENUMERAL_TYPE
candidates for relops and eqops.
(joust): Simplify control flow. Allow a non-template user
function to hide a builtin.
testsuite:
* g++.old-deja/g++.pt/overload14.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39197
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 23 Jan 2001 08:57:34 +0000 (08:57 +0000)]
* ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
(GLIBCPP_CHECK_MATH_SUPPORT): Use it.
(GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
its already provided in config.target.
* aclocal.m4: Regenerated.
* configure: Likewise.
* configure.target: Set ctype_include_dir for lots of systems.
* libsupc++/Makefile.am: Explicitly include --tag disable-shared.
* libsupc++/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39196
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 23 Jan 2001 08:45:09 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39195
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Tue, 23 Jan 2001 05:28:15 +0000 (05:28 +0000)]
* c4x-protos.h (c4x_legitimize_reload_address): Remove.
* c4x.c (c4x_legitimize_reload_address): Remove.
* c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
reload address for ldp(k) insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39194
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 23 Jan 2001 03:52:54 +0000 (03:52 +0000)]
* pa.md (return_internal): Add a USE of the PIC register to ensure
it is restored after each call.
(return expander): Corresponding changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39193
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Tue, 23 Jan 2001 02:48:27 +0000 (02:48 +0000)]
* testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
keyword capability.
* testsuite/README: Add comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39192
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Tue, 23 Jan 2001 01:51:53 +0000 (01:51 +0000)]
[sorry, missed this the first time around]
2001-01-12 Laurynas Biveinis <lauras@softhome.net>
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
(LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
bash bug.
* aclocal.m4: regenerated.
* configure.target: set os_include_dir to config/os/djgpp under DJGPP.
* configure: regenerated.
* config/os/djgpp, config/os/djgpp/bits: new directories.
* config/os/djgpp/bits/ctype_base.h,
config/os/djgpp/bits/ctype_inline.h,
config/os/djgpp/bits/ctype_noninline.h,
config/os/djgpp/bits/os_defines.h: new files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39191
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Mon, 22 Jan 2001 22:52:18 +0000 (22:52 +0000)]
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/
20010122-1.c: New test, exercise
__builtin_return_address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39189
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Mon, 22 Jan 2001 22:47:25 +0000 (22:47 +0000)]
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.h (INIT_EXPANDERS): Delete.
(RETURN_ADDR_RTX): Call rs6000_return_addr().
* rs6000.c (rs6000_override_options): Call *_machine_status from
here...
(rs6000_init_expanders): ...instead of here. Delete.
(rs6000_mark_machine_status): New function.
(rs6000_init_machine_status): Use xcalloc.
(rs6000_return_addr): Generate RTX for the return address.
(rs6000_ra_ever_killed): New, check if LR was ever destroyed.
(rs6000_stack_info): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39188
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Mon, 22 Jan 2001 21:29:53 +0000 (21:29 +0000)]
* gthr-win32.h: Include errno.h to get a declaration for
EINVAL and _mingw.h if the target is mingw32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39187
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 22 Jan 2001 20:41:04 +0000 (20:41 +0000)]
* cpp.texi: Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39186
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 22 Jan 2001 18:59:36 +0000 (18:59 +0000)]
* explow.c (probe_stack_range): Ensure value passed to
stack_check_libfunc is ptr_mode, not Pmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39185
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 22 Jan 2001 17:32:28 +0000 (17:32 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (bin_PROGRAMS): Remove grepjar.
(EXTRA_PROGRAMS): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39184
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 22 Jan 2001 16:58:08 +0000 (16:58 +0000)]
* recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
case, don't use operand_subword to calculate a SUBREG that is
wider than a word.
* rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39183
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 22 Jan 2001 13:51:43 +0000 (13:51 +0000)]
cp:
* cp-tree.h (unification_kind_t): Add DEDUCE_ORDER.
(more_specialized): Add deduction parameter.
* call.c (joust): Adjust more_specialized call.
* pt.c (UNIFY_ALLOW_OUTER_MORE_CV_QUAL,
UNIFY_ALLOW_OUTER_LESS_CV_QUAL): New unify flags.
(get_bindings_order): Remove.
(get_bindings_real): Add DEDUCE parameter.
(maybe_adjust_types_for_deduction): Return extra unify flags. Do
REFERENCE_TYPE jig for DEDUCE_ORDER.
(type_unification_real): Deal with DEDUCE_ORDER. Use result of
maybe_adjust_types_for_deduction.
(more_specialized): Add DEDUCE parameter. Call get_bindings_real
directly.
(try_one_overload): Use result of maybe_adjust_types_for_deduction.
(check_cv_quals_for_unify): Use new unify qualifier flags.
(unify): Clear new unify qualifier flags.
(get_bindings_real): Add DEDUCE parameter.
(get_bindings): Adjust call to get_bindings_real.
(get_bindings_overload): Likewise.
(most_specialized_instantiation): Adjust call to
more_specialized.
testsuite:
* g++.old-deja/g++.martin/sts_partial.C: Remove XFAIL.
* g++.old-deja/g++.pt/spec35.C: New test.
* g++.old-deja/g++.pt/spec36.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39182
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Mon, 22 Jan 2001 10:40:31 +0000 (10:40 +0000)]
* c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
(c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
valid. If not replace it by equivalent insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39181
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Mon, 22 Jan 2001 10:29:14 +0000 (10:29 +0000)]
* c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST
contains SYMBOL_REF, LABEL_REF and CONST_INT.
(c4x_U_constraint, symbolic_address_operand): Likewise.
(c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
memory.
(c4x_r11_set_p, c4x_check_laj_p): New functions.
* c4x-protos.h (c4x_check_laj_p): Add prototype.
* c4x.md (in_annul_slot_3): Do not allow auto-increment in last
anulling slot because of silicon bug.
(laj, lajv): Call c4x_check_laj_p to check for silicon bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39180
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 22 Jan 2001 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39179
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 22 Jan 2001 07:38:18 +0000 (07:38 +0000)]
* cppexp.c (parse_charconst): Change `mask' type to agree
with parse_escape.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39178
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 22 Jan 2001 01:47:11 +0000 (01:47 +0000)]
* configure.in: Enable libgcj for linux targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39177
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 21 Jan 2001 22:33:14 +0000 (22:33 +0000)]
* config/i386/i386.c (ix86_asm_file_end): Disable putting
pic_label_name in a linkonce section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39176
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Jan 2001 21:50:37 +0000 (21:50 +0000)]
Various fixes to allow compiling a compressed .jar/.zip archive.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39175
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Jan 2001 21:24:30 +0000 (21:24 +0000)]
Minor optimization of static ggc roots.
* jcf-parse.c (parse_roots): New static field.
(current_field, current_method, current_file_list): Replace by macros
naming fields of parse_roots.
(init_jcf_parse): Combine 3 ggc_add_tree_root calls to 1.
* class.c (class_roots): New static field.
(registered_class, fields_ident, info_ident, class_list):
New macros naming fields of parse_roots.
(build_static_field_ref): Don't register roots here.
(layout_class): Static field list replaced by macro class_list.
(init_class_processing): Call ggc_add_tree_root for 4 roots.
Initialize fields_ident and info_ident here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39174
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Jan 2001 21:18:04 +0000 (21:18 +0000)]
* jcf-parse.c (ggc_mark_jcf): New function.
(init_jcf_parse): Register current_jcf as ggc root.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39173
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Jan 2001 20:42:13 +0000 (20:42 +0000)]
* lang.c (put_decl_node): Print method's name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39172
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Jan 2001 20:36:46 +0000 (20:36 +0000)]
* verify.c (VERIFICATION_ERROR_WITH_INDEX): New macro.
(verify_jvm_instructions): Use it, for better error messages on loads.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39171
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Jan 2001 20:26:37 +0000 (20:26 +0000)]
* verify.c (merge_type_state): Stil may have to merge even if
LABEL_VERIFIED (label).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39170
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Jan 2001 20:18:31 +0000 (20:18 +0000)]
* parse.y (method_header): Don't set the DECL_NAME of a FUNCTION_DECL
to a EXPR_WITH_FILE_LOCATION - that is just too fragile and wrong.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39169
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Jan 2001 19:08:10 +0000 (19:08 +0000)]
* expr.c (pop_type_0): Only return object_ptr_type_node on mismatch
if expeting an interface type. Refines Tom's change of 2000-09-12.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39168
138bc75d-0d04-0410-961f-
82ee72b054a4
pthomas [Sun, 21 Jan 2001 09:48:56 +0000 (09:48 +0000)]
2001-01-17 Philipp Thomas <pthomas@suse.de>
* aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
found in libintl.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39167
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Sun, 21 Jan 2001 09:36:09 +0000 (09:36 +0000)]
2001-01-21 Phil Edwards <pme@sources.redhat.com>
* docs/html/configopts.html: Update for current status. Fix HTML.
* docs/html/install.html: Update for current status.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39166
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Sun, 21 Jan 2001 09:19:15 +0000 (09:19 +0000)]
* expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39165
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 21 Jan 2001 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39164
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Sun, 21 Jan 2001 07:08:46 +0000 (07:08 +0000)]
* config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
If REVERSE nonzero then condition code in X must be reversed.
(encode_section_info): Optimise if/else.
(avr_function_value): Fix formatting.
* config/avr/avr.md (branch): Call to ret_cond_branch changed.
(difficult_branch): Likewise.
(rvbranch): Likewise.
(difficult_rvbranch): Likewise.
* config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
* config/avr/libgcc.S: Fix comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39163
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Sun, 21 Jan 2001 03:29:52 +0000 (03:29 +0000)]
* sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39162
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Sun, 21 Jan 2001 02:26:27 +0000 (02:26 +0000)]
* cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39161
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Sun, 21 Jan 2001 01:51:42 +0000 (01:51 +0000)]
* aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
* configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
* configure, config.in: Regenerate.
* Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
(LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
(strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
(doprint.o): New rule.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39160
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Sun, 21 Jan 2001 01:13:52 +0000 (01:13 +0000)]
2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39159
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 20 Jan 2001 20:39:49 +0000 (20:39 +0000)]
Move test ChangeLog entry to testsuite/ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39158
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 20 Jan 2001 19:28:00 +0000 (19:28 +0000)]
* c-typeck.c (digest_init): Handle boolean types as scalars.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39157
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 20 Jan 2001 17:47:45 +0000 (17:47 +0000)]
* stmt.c (expand_return): Don't return anything if size is zero.
Delete redundant assignment to BYTES.
* expr.c (move_block_from_reg): Do nothing if NREGS is zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39156
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Sat, 20 Jan 2001 16:49:01 +0000 (16:49 +0000)]
* config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
the same as the default library function names.
* config/avr/avr.md: Document special characters after '%'.
(mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
knowing which of the call-used registers are really clobbered.
(divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
New. Both quotient and remainder from one libgcc.S call.
* config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
clobber as few registers as possible.
* config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39155
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 20 Jan 2001 13:40:23 +0000 (13:40 +0000)]
Reinstall 1.245 -> 1.246 change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39154
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 20 Jan 2001 09:34:13 +0000 (09:34 +0000)]
* gcc.dg/cpp/macro3.c,macro4.c,strp1.c: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39153
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 20 Jan 2001 09:33:01 +0000 (09:33 +0000)]
* cppmacro.c (funlike_invocation_p): Don't move back up to the
context of the top of the stack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39152
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 20 Jan 2001 09:12:08 +0000 (09:12 +0000)]
2001-01-20 Jakub Jelinek <jakub@redhat.com>
* function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
(fixup_var_refs_insns): ...here.
* gcc.c-torture/compile/
20010118-1.c: New test.
2001-01-20 Zack Weinberg <zack@wolery.stanford.edu>
* function.c (fixup_var_refs_insns): Break up into
fixup_var_refs_insn [body of loop], fixup_var_refs_insns
[loop over entire insn list], and fixup_var_refs_insns_with_hash
[loop over hash table entries].
(fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
fixup_var_refs_insns_with_hash, to match above changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39151
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 20 Jan 2001 08:45:16 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39150
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 20 Jan 2001 05:09:08 +0000 (05:09 +0000)]
2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* testsuite/libstdc++.tests/tests.exp: New file.
* testsuite/lib/libstdc++.exp: Itou.
* testsuite/README: Itou.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39149
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 20 Jan 2001 00:55:09 +0000 (00:55 +0000)]
2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
* tests_flags.in: Just output the bare minimum to run tests.
Let's the caller do its own arrangement.
* mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
computations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39148
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Sat, 20 Jan 2001 00:37:09 +0000 (00:37 +0000)]
* java/text/SimpleDateFormat.java (format): Compute hour for cases
HOUR_OF_DAY1_FIELD (1-24), HOUR1_FIELD (1-12), and HOUR0_FIELD (0-11)
correctly. Adjust properly from 0-23 clock hour.
Fixes failure in Mauve test java.text.SimpleDateFormat.Test (format).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39147
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 19 Jan 2001 23:37:07 +0000 (23:37 +0000)]
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
(libgcc.a): Likewise.
(stmp-multilib): Likewise.
(STAGE2_FLAGS_TO_PASS): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39146
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 19 Jan 2001 22:31:21 +0000 (22:31 +0000)]
* config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
temporary if no_new_pseudos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39145
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 19 Jan 2001 22:25:53 +0000 (22:25 +0000)]
* cppinternals.texi: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39144
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 19 Jan 2001 21:42:52 +0000 (21:42 +0000)]
* arm.c (arm_init_builtins): Re-enable builtins.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39143
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 19 Jan 2001 21:07:21 +0000 (21:07 +0000)]
* decl2.c (flag_vtable_thunks): Also depend on ENABLE_NEW_GXX_ABI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39142
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 19 Jan 2001 18:28:58 +0000 (18:28 +0000)]
* rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
* flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
element to be null, and always expect an EXPR_LIST.
* rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
* sched-deps.c (sched_analyze_1): Likewise.
* sched-rgn.c (check_live_1, update_live_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39141
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 19 Jan 2001 18:09:17 +0000 (18:09 +0000)]
* regclass.c (max_set_parallel): New variable.
(reg_scan): Take it into account in computation of max_parallel.
(reg_scan_mark_refs, case SET): Compute it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39140
138bc75d-0d04-0410-961f-
82ee72b054a4