OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * ansidecl.h (NULL_PTR): Delete.
ghazi [Thu, 10 May 2001 19:11:58 +0000 (19:11 +0000)]
* ansidecl.h (NULL_PTR): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41946 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Thu, 10 May 2001 18:52:28 +0000 (18:52 +0000)]
2001-05-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
contents for a SYMBOL_REF in case of floating point constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41945 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-01 Tom Browder <tbrowder@home.com>
pme [Thu, 10 May 2001 18:42:11 +0000 (18:42 +0000)]
2001-05-01  Tom Browder  <tbrowder@home.com>

* docs/html/ext/howto.html:  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41944 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-10 Tom Tromey <tromey@redhat.com>
tromey [Thu, 10 May 2001 18:13:17 +0000 (18:13 +0000)]
2001-05-10  Tom Tromey  <tromey@redhat.com>

* java/util/GregorianCalendar.java: Imported from Classpath.
* gnu/java/locale/LocaleInformation_nl.java: New file from
Classpath.
* gnu/java/locale/LocaleInformation_en.java: Likewise.
* gnu/java/locale/LocaleInformation_de.java: Likewise.
* gnu/java/locale/LocaleInformation.java: Likewise.
* natGregorianCalendar.cc: Removed.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Removed
natGregorianCalendar.cc.

2001-05-10  Tom Tromey  <tromey@redhat.com>

* java/text/SimpleDateFormat.java (computeCenturyStart): New
method.
(defaultCenturyStart): Use it.
(readObject): Likewise.
(SimpleDateFormat): Clear the calendar.  Set the grouping on the
number format.
(parse): Copy the calendar before modifying it.  Correctly handle
the time zone.

* java/util/Calendar.java (clear): Set field value(s) to 0.

2001-05-10  Jeff Sturm  <jsturm@one-point.com>

* Calendar.java (get): Clear areFieldsSet if requested field
is not set.
(set): Unset fields that depend on new value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41942 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* c-common.c (combine_strings): Widen strings in a
dj [Thu, 10 May 2001 17:39:19 +0000 (17:39 +0000)]
* c-common.c (combine_strings): Widen strings in a
host-endian-independent way.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41941 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-parse.in: Remove many shift/reduce conflicts. Update
jsm28 [Thu, 10 May 2001 16:17:07 +0000 (16:17 +0000)]
* c-parse.in: Remove many shift/reduce conflicts.  Update
%expect values.
(declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea,
declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea,
declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea,
declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea,
declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea,
declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea,
declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea,
declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts,
declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa,
declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
maybe_type_quals_setattrs, typespec_nonattr, typespec_attr,
typespec_reserved_nonattr, typespec_reserved_attr,
typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr,
structsp_nonattr, components_notype, component_notype_declarator,
absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute,
firstparm, setspecs_fp): New
(typed_declspecs, reserved_declspecs, typed_typespecs,
reserved_typespecquals, declmods, typespec, typespecqual_reserved,
typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr
declmods_no_prefix_attr, nonempty_type_quals, structsp,
type_quals): Remove.  Users updated.
(initdecls, notype_initdecls, after_type_declarator,
parm_declarator, notype_declarator, absdcl1, components, ivars):
Don't allow attributes at the start of a declarator; include them
in the production containing the declarator instead.  Always
require type specifiers before trying to redeclare a typedef name.
(typename): Allow for attributes but warn that they are ignored.
(parmlist, firstparm, setspecs_fp): Include attributes in
parmlist; suck them off the parser stack in firstparm using
setspecs_fp.

testsuite:
* gcc.c-torture/compile/20010313-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41940 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p
law [Thu, 10 May 2001 15:15:48 +0000 (15:15 +0000)]
    * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p
        to determine if a block has an unconditional jump at its end.

        * jump.c (jump_optimize_1): When converting a conditional jump
        to an unconditional jump, build the jump using gen_jump instead
        of just modify operands in-place.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41939 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 10 May 2001 08:55:50 +0000 (08:55 +0000)]
2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
libgloss_link_flags to find crt0.o for targets that use libgloss
instead of newlib.
Change LDFLAGS to LIBS.
Consistently name procedures libstdc++-XXX.
* testsuite/libstdc++.tests/tests.exp: Use new procedure names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41938 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 10 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41936 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppinit.c (cpp_post_options): Shut off macro expansion if
zack [Thu, 10 May 2001 00:07:23 +0000 (00:07 +0000)]
* cppinit.c (cpp_post_options): Shut off macro expansion if
-fpreprocessed.
* cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
IN_I directives only if the # is in column 1 and the directive
name begins in column 2.
* cppmain.c (scan_buffer): Insert a space between # and an
identifier, when that identifier is a directive name.

* tradcpp.c (struct file_buf): Add a pointer to the next entry
in the header search path.
(enum node_type): Add T_INCLUDE_NEXT.
(directive_table): Add entry for include_next.
(do_include_next): New function.
(process_include): New routine, broken out of do_include.
(finclude): Insert 'nhd' argument, to be copied into
next_header_dir of the new buffer.
(main): Adjust to match.
* gsyslimits.h, limity.h: Un-indent #include_next.

testsuite:
* gcc.dg/cpp/direct2.c: New test.
* gcc.dg/cpp/direct2s.c: New test.

* gcc.c-torture/execute/920730-1t.c: #undef __GNUC__ at head.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41932 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-09 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Wed, 9 May 2001 22:29:20 +0000 (22:29 +0000)]
2001-05-09  Jeffrey Oldham  <oldham@codesourcery.com>

* ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41931 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* md5.c (md5_init_ctx): Declare constants as unsigned.
dj [Wed, 9 May 2001 19:09:55 +0000 (19:09 +0000)]
* md5.c (md5_init_ctx): Declare constants as unsigned.
(md5_process_block): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41930 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agogcc:
jsm28 [Wed, 9 May 2001 14:16:47 +0000 (14:16 +0000)]
gcc:
* objc.texi: Move from ../libobjc/objc-features.texi.  Adjust for
inclusion as a chapter of the GCC manual.
* gcc.texi: Include objc.texi.
* fdl.texi: Use @unnumberedsec for the addendum.
* Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.

libobjc:
* objc-features.texi: Move to ../gcc/objc.texi.
* fdl.texi: Remove.
* Makefile.in: Don't generate documentation from
objc-features.texi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41927 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
hubicka [Wed, 9 May 2001 14:03:39 +0000 (14:03 +0000)]
* i386.md (DImode move splitters): Use !MMX and !SSE for the condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41926 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
aoliva [Wed, 9 May 2001 13:40:49 +0000 (13:40 +0000)]
* regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
handling of two-address insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41925 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* Makefile.in (NM_FOR_TARGET): Look for ./nm, then
aoliva [Wed, 9 May 2001 13:37:28 +0000 (13:37 +0000)]
* Makefile.in (NM_FOR_TARGET): Look for ./nm, then
../binutils/nm-new instead of ../binutils/nm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41924 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.md (movdi splitter): Fix the splitting condition
hubicka [Wed, 9 May 2001 10:19:00 +0000 (10:19 +0000)]
* i386.md (movdi splitter): Fix the splitting condition
(float_extenddftf splitter): Fix mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41923 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * genrecog.c (write_switch): Avoid outputting of switch for
hubicka [Wed, 9 May 2001 10:06:20 +0000 (10:06 +0000)]
* genrecog.c (write_switch): Avoid outputting of switch for
types wider than int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41922 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Wed, 9 May 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41921 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
bkoz [Tue, 8 May 2001 23:53:55 +0000 (23:53 +0000)]
2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>

* include/c_std/bits/std_cstring.h (memchr): Correct definitions.
(strchr): Same.
(strpbrk): Same.
(strrchr): Same.
(strstr): Same.
* include/c_std/bits/std_cwchar.h (wcschr): Same.
(wcsbrk): Same.
(wcsrchr): Same.
(wcsstr): Same.
(wmemchr): Same.
* testsuite/21_strings/c_strings.cc: Add tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41919 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-03 Andrew Haley <aph@cambridge.redhat.com>
aph [Tue, 8 May 2001 14:14:11 +0000 (14:14 +0000)]
2001-05-03  Andrew Haley  <aph@cambridge.redhat.com>

        * reload1.c (copy_eh_notes): New function.
        (emit_input_reload_insns): Call it.
        (emit_output_reload_insns): Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41918 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-07 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Tue, 8 May 2001 08:11:26 +0000 (08:11 +0000)]
2001-05-07  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (build_unresolved_array_type): Set
EXPR_WFL_QUALIFICATION on the newly created wfl.
Fixes PR java/2538. Fixes PR java/2535.

(http://gcc.gnu.org/ml/gcc-patches/2001-05/msg00438.html )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41917 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Tue, 8 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41914 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoReally remove this file
zack [Tue, 8 May 2001 06:45:53 +0000 (06:45 +0000)]
Really remove this file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41913 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
zack [Tue, 8 May 2001 06:26:49 +0000 (06:26 +0000)]
* config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
Delete stanzas.
* config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h,
config/i386/sco4dbx.h, config/i386/x-sco4: Delete file.

* optabs.c: Delete #ifdef BROKEN_LDEXP block.

* POTFILES.in: Remove config/i386/sco.h, config/i386/sco4.h,
config/i386/sco4dbx.h, and config/i386/scodbx.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41912 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cp-demangle.c (demangle_v3_with_details,
zack [Tue, 8 May 2001 06:13:58 +0000 (06:13 +0000)]
* cp-demangle.c (demangle_v3_with_details,
is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
function definition.
* ternary.c: Use K+R style function definitions.  Use PTR, not
void *.  Make arguments constant where possible.
* demangle.h: Use PARAMS for all prototypes.
* ternary.h: Use PARAMS for all prototypes.  Use PTR, not void *.
Make arguments constant where possible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41910 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 8 May 2001 03:39:50 +0000 (03:39 +0000)]
2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2523
* include/bits/std_fstream.h (basic_filebuf): Change signature.
* include/bits/fstream.tcc (basic_filebuf): Change bool argument
to int_type, pass in buffer size info.
* include/bits/std_streambuf.h (_M_is_indeterminate): Check for
unbuffered situation.
(underflow): Remove codecvt bits for the time being.
* include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
* include/bits/locale_facets.tcc (_M_extract): Cache dereference
values from iterators, clean.
* src/locale.cc: Ditto.
* include/bits/sbuf_iter.h: Format.
* src/ios.cc: Explicitly pass in buffer sizes at creation time.
* testsuite/27_io/narrow_stream_objects.cc: Add tests.
* testsuite/27_io/filebuf.cc: Tweaks.
* testsuite/27_io/filebuf_members.cc: Tweaks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41909 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 8 May 2001 03:07:56 +0000 (03:07 +0000)]
2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2523
* include/bits/std_fstream.h (basic_filebuf): Change signature.
* include/bits/fstream.tcc (basic_filebuf): Change bool argument
to int_type, pass in buffer size info.
* include/bits/std_streambuf.h (_M_is_indeterminate): Check for
unbuffered situation.
(underflow): Remove codecvt bits for the time being.
* include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
* include/bits/locale_facets.tcc (_M_extract): Cache dereference
values from iterators, clean.
* src/locale.cc: Ditto.
* include/bits/sbuf_iter.h: Format.
* src/ios.cc: Explicitly pass in buffer sizes at creation time.
* testsuite/27_io/narrow_stream_objects.cc: Add tests.
* testsuite/27_io/filebuf.cc: Tweaks.
* testsuite/27_io/filebuf_members.cc: Tweaks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41908 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/os/solaris/solaris2.7/bits/os_defines.h
mmitchel [Tue, 8 May 2001 03:02:05 +0000 (03:02 +0000)]
* config/os/solaris/solaris2.7/bits/os_defines.h
(_LARGEFILE_SOURCE): Define it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41907 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-07 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Mon, 7 May 2001 19:53:15 +0000 (19:53 +0000)]
2001-05-07  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * parse.y (fix_constructors): Removed unecessary assignment to
        local. Moved assignment to `this$<n>', fixed comments and
        indentation.
        (build_wfl_wrap): Fixed indentation.
        Fixes PR java/2598, java/2579 and java/2658.

(http://gcc.gnu.org/ml/gcc-patches/2001-05/msg00412.html )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41905 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa.md (interspace_jump): Revise comment.
danglin [Mon, 7 May 2001 19:22:28 +0000 (19:22 +0000)]
* pa.md (interspace_jump): Revise comment.
(builtin_longjmp): Block initial setup insns from delay slot of
interspace branch.
(builtin_setjmp_receiver): New expander to save and restore PIC
register.

* som.h (NM_FLAGS): Remove `-n' sort option.  Revise comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41902 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * g++.old-deja/g++.other/op2.C: Don't use `glob' as a variable.
mmitchel [Mon, 7 May 2001 18:03:52 +0000 (18:03 +0000)]
* g++.old-deja/g++.other/op2.C: Don't use `glob' as a variable.
* g++.old-deja/g++.other/op3.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41901 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * toplev.c (compile_file): Set up the output file before we call
law [Mon, 7 May 2001 15:51:21 +0000 (15:51 +0000)]
    * toplev.c (compile_file): Set up the output file before we call
        the various initializers for the compiler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41897 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * except.c (sjlj_mark_call_sites): Do not search for assignments to
law [Mon, 7 May 2001 15:45:47 +0000 (15:45 +0000)]
    * except.c (sjlj_mark_call_sites): Do not search for assignments to
        non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41896 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * splay-tree.h (splay_tree_max): New function.
mmitchel [Mon, 7 May 2001 15:45:24 +0000 (15:45 +0000)]
* splay-tree.h (splay_tree_max): New function.
(splay_tree_min): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41895 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
law [Mon, 7 May 2001 15:28:50 +0000 (15:28 +0000)]
    * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
        * pa-64.h (*_TYPE_SIZE): Undefine before redefining.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41893 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Mon, 7 May 2001 07:16:38 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41892 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (tradcpp0): Correct typo in dependency list.
zack [Mon, 7 May 2001 04:30:01 +0000 (04:30 +0000)]
* Makefile.in (tradcpp0): Correct typo in dependency list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41889 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
geoffk [Mon, 7 May 2001 02:54:29 +0000 (02:54 +0000)]
* config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
the link register if we're not going to use it.

* config/rs6000/rs6000.c (output_profile_hook): Fix a warning.
(output_function_profiler): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41888 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.
amodra [Mon, 7 May 2001 01:50:52 +0000 (01:50 +0000)]
* pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41887 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* unroll.c (loop_iterations): Don't sign-extend abs_diff;
aoliva [Sun, 6 May 2001 19:51:19 +0000 (19:51 +0000)]
* unroll.c (loop_iterations): Don't sign-extend abs_diff;
zero-extend it.  Make abs_inc unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41886 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
aoliva [Sun, 6 May 2001 19:47:15 +0000 (19:47 +0000)]
* optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
widest mode in narrowing and widening operations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41885 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoWhitespace change
aoliva [Sun, 6 May 2001 19:44:37 +0000 (19:44 +0000)]
Whitespace change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41884 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/mips/mips.md: Sign extend CONST_INTs.
aoliva [Sun, 6 May 2001 19:35:41 +0000 (19:35 +0000)]
* config/mips/mips.md: Sign extend CONST_INTs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41883 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
aj [Sun, 6 May 2001 17:10:53 +0000 (17:10 +0000)]
* invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
(i386 Options): Document -momit-leaf-frame-pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41881 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-typeck.c (internal_build_compound_expr): Check for
neil [Sun, 6 May 2001 16:38:56 +0000 (16:38 +0000)]
* c-typeck.c (internal_build_compound_expr): Check for
array to pointer conversion just once.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41879 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/lang/Class.h (_Jv_Self): New union type.
bryce [Sun, 6 May 2001 13:42:11 +0000 (13:42 +0000)]
* java/lang/Class.h (_Jv_Self): New union type.
(Class): Manipulate vtable pointer via _Jv_Self union. Thanks to
Jeff Sturm and Fergus Henderson.

* java/lang/ClassLoader.java: Remove dead code fragment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41876 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in: Remove warning about beta code.
bryce [Sun, 6 May 2001 12:55:28 +0000 (12:55 +0000)]
* configure.in: Remove warning about beta code.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41875 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/cpp/syshdr.h: New file.
neil [Sun, 6 May 2001 09:48:28 +0000 (09:48 +0000)]
* gcc.dg/cpp/syshdr.h: New file.
* gcc.dg/cpp/sysmac1.c: Update.
* gcc.dg/cpp/sysmac2.c: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41873 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sun, 6 May 2001 07:16:07 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41871 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/cpp/sysmac1.c,sysmac2.c: Return to original file.
neil [Sat, 5 May 2001 19:18:38 +0000 (19:18 +0000)]
* gcc.dg/cpp/sysmac1.c,sysmac2.c: Return to original file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41870 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
rth [Sat, 5 May 2001 16:55:48 +0000 (16:55 +0000)]
    * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41868 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
rth [Sat, 5 May 2001 16:38:25 +0000 (16:38 +0000)]
    * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
        to the parent of the fixup region.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41867 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
jakub [Sat, 5 May 2001 12:29:39 +0000 (12:29 +0000)]
* gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
"inline" keyword.
* cpp.texi (__NO_INLINE): Document it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41866 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppfiles.c (struct include_file): New member err_no.
neil [Sat, 5 May 2001 11:12:19 +0000 (11:12 +0000)]
* cppfiles.c (struct include_file): New member err_no.
(find_or_create_entry): Set it.
(open_file): Don't set fds to -2.  Instead, use err_no to
remember previous errors, if any.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41865 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sat, 5 May 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41863 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
ciceron [Sat, 5 May 2001 06:59:32 +0000 (06:59 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
between X and Y by using sequences of xgdx and xgdy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41861 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
ciceron [Sat, 5 May 2001 06:51:23 +0000 (06:51 +0000)]
* config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
of '!' for the 'D' alternative ('!' is too strong).
("*logicalsi3_silshl16"): Likewise.
("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
("movstrictsi"): Remove spurious '+'.
("movstrictqi"): Don't accept 'A' and remove spurious '+'.
("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
a reload to them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41859 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/20001227-1.c: Remove duplicate of
dje [Sat, 5 May 2001 01:50:06 +0000 (01:50 +0000)]
    * gcc.c-torture/execute/20001227-1.c: Remove duplicate of
        gcc.c-torture/execute/20000412-3.c with no ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41858 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
dje [Sat, 5 May 2001 01:30:51 +0000 (01:30 +0000)]
* calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41856 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-04 Lars Brinkhoff <lars@nocrew.org>
geoffk [Sat, 5 May 2001 00:32:19 +0000 (00:32 +0000)]
2001-05-04  Lars Brinkhoff  <lars@nocrew.org>

* simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1
into -a.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41854 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago 2000-05-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Fri, 4 May 2001 23:28:00 +0000 (23:28 +0000)]
    2000-05-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * config/rs6000/rs6000.md (ashldi3 splits): Guard with TARGET_POWERPC64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41852 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
ciceron [Fri, 4 May 2001 21:04:04 +0000 (21:04 +0000)]
* config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
soft register, use ror instead of rol.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41850 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
ciceron [Fri, 4 May 2001 21:00:37 +0000 (21:00 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
into account pre/post increment decrement for 68HC12.
Fix other problems in replacement and fix call to reg_mentioned_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41848 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
ciceron [Fri, 4 May 2001 20:55:27 +0000 (20:55 +0000)]
* config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
Put the soft registers in bss for 68HC12.
(L_regs_d3_4): New for _.d3 and _.d4.
(L_regs_d5_6): Likewise.
(L_regs_d1_2): Likewise.
* config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41846 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in: Add support for --enable-threads=posix on FreeBSD.
ljrittle [Fri, 4 May 2001 20:19:36 +0000 (20:19 +0000)]
    * configure.in: Add support for --enable-threads=posix on FreeBSD.
        * configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41845 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
ciceron [Fri, 4 May 2001 19:49:25 +0000 (19:49 +0000)]
* config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
to the pre-processor when -fshort-double is specified.
* config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41843 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
ciceron [Fri, 4 May 2001 19:42:50 +0000 (19:42 +0000)]
* config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
(__mulsi3): Rewrite for 68HC12.
* config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
Mark 'x' constraint with earlyclobber to prevent a
RELOAD_FOR_OTHER_ADDRESS to go in it.
(mulhi3_m68hc12): New pattern.
(mulhi3_m68hc11): Rename of mulhi3.
(mulhi3): New expand for 68HC12 optimisation.
(umulhisi3, mulhisi3): New patterns for 68HC12.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41841 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * libjava.lang/Thread_Wait_Interrupt.xfail: New file.
tromey [Fri, 4 May 2001 19:33:10 +0000 (19:33 +0000)]
* libjava.lang/Thread_Wait_Interrupt.xfail: New file.
* libjava.lang/Thread_Wait_2.xfail: New file.
* libjava.lang/Thread_Wait.xfail: New file.
* libjava.lang/Thread_Sleep.xfail: New file.
* libjava.lang/Thread_Monitor.xfail: New file.
* libjava.lang/Thread_Join.xfail: New file.
* libjava.lang/Thread_Interrupt.xfail: New file.
* libjava.lang/Thread_Alive.xfail: New file.
* lib/libjava.exp (libjava_init): Set global
libjava_uses_threads.
(test_libjava): Document `need-threads' tag.
(test_libjava_from_source): handle need-threads tag.
(test_libjava_from_javac): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41840 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/longlong.c: Update for 16 bit int issues.
neil [Fri, 4 May 2001 18:40:35 +0000 (18:40 +0000)]
* gcc.c-torture/execute/longlong.c: Update for 16 bit int issues.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41838 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
ciceron [Fri, 4 May 2001 18:22:00 +0000 (18:22 +0000)]
* config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
(extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
(uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41836 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
ciceron [Fri, 4 May 2001 18:08:36 +0000 (18:08 +0000)]
* config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
constants cheap after reload.
* config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
are cheap.
(m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
so that gcc prefers a shift by 16.
(m6811_cost, m6812_cost): Make the shift cheap compared to an add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41834 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoAdd alignment parameter to .comm directives for ELF targets.
nickc [Fri, 4 May 2001 16:16:43 +0000 (16:16 +0000)]
Add alignment parameter to .comm directives for ELF targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41832 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * alpha.h: NULL_PTR -> NULL.
ghazi [Fri, 4 May 2001 15:06:41 +0000 (15:06 +0000)]
* alpha.h: NULL_PTR -> NULL.
* arm.c: Likewise.
* arm.h: Likewise.
* avr.h: Likewise.
* c4x.c: Likewise.
* c4x.h: Likewise.
* i386.c: Likewise.
* i386.md: Likewise.
* i860.c: Likewise.
* ia64.c: Likewise.
* m68hc11.h: Likewise.
* rs6000.h: Likewise.
* sh.c: Likewise.
* sh.h: Likewise.
* sparc.h: Likewise.
* v850.c: Likewise.

* expr.c: Likewise.
* final.c: Likewise.
* gcc.c: Likewise.
* recog.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41831 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
ghazi [Fri, 4 May 2001 14:36:39 +0000 (14:36 +0000)]
* i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
`bool' parameter to `int'.

* hash.c (hash_lookup): Likewise.

* hash.h (hash_lookup): Likewise.

* tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41829 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.c (x86_initialize_trampoline): Fix mode of constant.
hubicka [Fri, 4 May 2001 11:16:35 +0000 (11:16 +0000)]
* i386.c (x86_initialize_trampoline): Fix mode of constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41828 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Fri, 4 May 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41826 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * invoke.texi (i386 Options): Delete references to -malign-jumps,
geoffk [Fri, 4 May 2001 06:31:27 +0000 (06:31 +0000)]
* invoke.texi (i386 Options): Delete references to -malign-jumps,
-malign-loops, -malign-functions.
* i386.c (ix86_align_funcs): Delete.
(ix86_align_loops): Delete.
(ix86_align_jumps): Delete.
(override_options): Mark -malign-* as obsolete.  Emulate their
behaviour with the -falign-* options.  Default -falign-* from
the processor table.
* i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's
patch of Wed May 2 13:09:36 2001.
(LOOP_ALIGN): Delete.
(LOOP_ALIGN_MAX_SKIP): Delete.
(LABEL_ALIGN_AFTER_BARRIER): Delete.
(LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41825 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cp-tree.h (enum cp_tree_index): Add CPTI_PFN_VFLAG_IDENTIFIER.
geoffk [Fri, 4 May 2001 06:28:54 +0000 (06:28 +0000)]
* cp-tree.h (enum cp_tree_index): Add CPTI_PFN_VFLAG_IDENTIFIER.
(pfn_vflag_identifier): Define.
Update comment about layout of pointer functions.
(build_ptrmemfunc1): Update prototype.
(expand_ptrmemfunc_cst): Update prototype.
* decl.c (initialize_predefined_identifiers): Initialize
pfn_vflag_identifier.
(build_ptrmemfunc_type): When FUNCTION_BOUNDARY < 16, add
an extra field to the type.
* expr.c (cplus_expand_constant): Pass 'flag' between
expand_ptrmemfunc_cst and build_ptrmemfunc1.
* typeck.c (get_member_function_from_ptrfunc): When
FUNCTION_BOUNDARY < 16, look at additional field to determine
if a pointer-to-member is a real pointer or a vtable offset.
(build_ptrmemfunc1): Add new parameter to contain extra field.
(build_ptrmemfunc): Pass the extra field around.
(expand_ptrmemfunc_cst): Add new parameter to return extra field.
(pfn_from_ptrmemfunc): Ignore the extra field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41824 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * except.h: Add prototype declaration for
aj [Fri, 4 May 2001 04:58:46 +0000 (04:58 +0000)]
* except.h: Add prototype declaration for
expand_builtin_init_dwarf_reg_sizes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41823 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cp-tree.h (flag_inline_trees): Update documentation.
mmitchel [Fri, 4 May 2001 03:03:39 +0000 (03:03 +0000)]
* cp-tree.h (flag_inline_trees): Update documentation.
* decl.c (init_decl_processing): Adjust handling of
flag_inline_functions and flag_inline_trees to support -O3.
(grokfndecl): Set DECL_INLINE on all functions if that's what
the user requested.
(save_function_data): Clear DECL_INLINE in
current_function_cannot_inline is non-NULL.
* decl2.c (flag_inline_trees): Update documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41822 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoIndex: gcc/gcc/ChangeLog
geoffk [Fri, 4 May 2001 02:58:46 +0000 (02:58 +0000)]
Index: gcc/gcc/ChangeLog
2001-05-03  Geoffrey Keating  <geoffk@redhat.com>

* Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE.

Index: gcc/gcc/testsuite/ChangeLog
2001-05-03  Geoffrey Keating  <geoffk@redhat.com>

* lib/g++.exp (g++_include_flags): Don't use any special flags
if TESTING_IN_BUILD_TREE is not defined.
(g++_init): Use a plain 'c++' as the compiler if
TESTING_IN_BUILD_TREEE is not defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41820 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-03 Mo DeJong <mdejong@redhat.com>
apbianco [Fri, 4 May 2001 00:34:48 +0000 (00:34 +0000)]
2001-05-03  Mo DeJong  <mdejong@redhat.com>

        * lex.c (java_new_lexer): Call iconv_close on temp handle used to
        check for byte swap.

(http://gcc.gnu.org/ml/java-patches/2001-q2/msg00185.html )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41818 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * libjava.lang/err11.xfail: Removed.
tromey [Thu, 3 May 2001 22:03:44 +0000 (22:03 +0000)]
* libjava.lang/err11.xfail: Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41817 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * jartool.c (jt_strdup): New function.
danglin [Thu, 3 May 2001 21:40:47 +0000 (21:40 +0000)]
* jartool.c (jt_strdup): New function.
(get_next_arg): Use jt_strdup instead of strdup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41815 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
ciceron [Thu, 3 May 2001 21:09:28 +0000 (21:09 +0000)]
* config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
instruction.
("bitcmpqi2"): New pattern for bit-extract and test.
("bitcmphi"): New pattern for bitb/bita instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41812 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gccbug.in: Use a temporary directory when the mktemp command is
jsm28 [Thu, 3 May 2001 20:57:17 +0000 (20:57 +0000)]
* gccbug.in: Use a temporary directory when the mktemp command is
not available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41809 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
ciceron [Thu, 3 May 2001 20:52:43 +0000 (20:52 +0000)]
* config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
instead of _.d1.
(INITIALIZE_TRAMPOLINE): Call it.
(TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
(TRAMPOLINE_TEMPLATE): Remove.
* config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
* config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41808 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
aoliva [Thu, 3 May 2001 20:35:18 +0000 (20:35 +0000)]
* configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
-prefer-non-pic depending on whether libtool has shared libraries
enabled or disabled.
* libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
$(LIBSUPCXX_PICFLAGS).
* configure, */Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41806 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
aoliva [Thu, 3 May 2001 20:31:25 +0000 (20:31 +0000)]
* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
libgcj.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41805 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-03 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 3 May 2001 20:13:05 +0000 (20:13 +0000)]
2001-05-03  David O'Brien  <obrien@FreeBSD.org>
* config/t-freebsd: Don't install "assert.h" in gcc.  Compile crtbeginS.o
and crtendS.o with PIC.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20010503125836.A15813@redhat.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41803 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoReport fixes from 3_0-branch made on 2001-03-04:
ciceron [Thu, 3 May 2001 19:56:46 +0000 (19:56 +0000)]
Report fixes from 3_0-branch made on 2001-03-04:

* config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
negative numbers.
(___subdi3, ___adddi3): Use x instead of y as index register.
(__init_bss_section, __map_data_section): Optimize for 68HC12.
(__memset, __memcpy): Likewise.
(regs): Put the soft registers in bss for 68HC12.
(abort): Use trap to abort for 68hc12.
(__mulhi3, __mulhi32): Use emul for 68hc12.
(__mulsi3): Avoid to use the tmp soft register for 68hc12.
* config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
* config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
* config/m68hc11/m68hc11.c (limit_reload_class): Remove.
(m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
Set 68HC12 min offset to -65536.
(print_operand): Put parenthesis arround the operand if it refers
to a symbol having the same name as a register.
(m68hc11_z_replacement): When z register is replaced by its
equivalent soft register, force the insn to be re-recognized.
(m68hc11_check_z_replacement): Fix the test when destination is
the index register and z dies in the insn.
(m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
* config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
costs according to processor variant.
(m68hc11_shift_cost): New function to compute shift costs.
(m68hc11_rtx_costs): Define costs according to processor variant.
(m6811_cost): Costs for 68HC11.
(m6812_cost): Costs for 68HC12.
(COSTS_N_INSNS): Remove.

* config/m68hc11/m68hc11.h (RTX_COSTS): New.
(DEFAULT_RTX_COSTS): Remove.
(CONST_COSTS): Define costs according to OUTER_CODE.
(processor_costs): New struct to define costs.
(m68hc11_cost): Pointer to current costs.

* config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
and use m68hc11_notice_keep_cc when using leax/leay.
(addhi3 split): Reject split if the insn is handled by
leax/leay above.
* config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
push must be handled in a special way if the source operand uses
sp as index register.
(m68hc11_notice_keep_cc): New function.
(m68hc11_gen_movhi): Use it when an insn changes a register but
not the flags.
(m68hc11_gen_movqi): Fix move for 68HC12.
* config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.

* config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
and don't pass operands[0] to emit_library_call_value.

* config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
(zero_extendsi split): Simplify and use (zero_extendhi).
(*addhi3): Remove 'w' constraint since stack pointer is handled
by (addhi3_sp).
(*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
(*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
(*ashrhi3_const): Fix shift by 7.
(*lshrsi3_const16): Fix template.
(call, call_value): Fix constraint and predicate.

* config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
(Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
(CC_REGNUM): Likewise.
(*unnamed splits): Use above constants instead of hard coded numbers.
(*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
(*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
(*return_16bit, *unnamed peepholes): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41802 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * texi2pod.pl: Add copyright and GPL notices.
jsm28 [Thu, 3 May 2001 19:45:32 +0000 (19:45 +0000)]
* texi2pod.pl: Add copyright and GPL notices.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41800 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-03 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 3 May 2001 19:32:51 +0000 (19:32 +0000)]
2001-05-03  David O'Brien  <obrien@FreeBSD.org>
* config.gcc(rs6000-ibm-aix|powerpc-ibm-aix):  Do not include
rs6000/rs6000.h twice.

Approved by:  David Edelsohn <dje@watson.ibm.com>
              <200105031901.PAA24582@makai.watson.ibm.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41799 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
dj [Thu, 3 May 2001 19:08:11 +0000 (19:08 +0000)]
* config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
(CPP_SPEC): Conditionally define MSDOS and GO32.
(SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
(SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
ignored.
(SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41798 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/mn10300/mn10300.md: Sign-extend GEN_INT operands.
aoliva [Thu, 3 May 2001 18:41:29 +0000 (18:41 +0000)]
* config/mn10300/mn10300.md: Sign-extend GEN_INT operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41797 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-03 Martin Kahlert <martin.kahlert@infineon.com>
tromey [Thu, 3 May 2001 16:56:38 +0000 (16:56 +0000)]
2001-05-03  Martin Kahlert  <martin.kahlert@infineon.com>

* jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds
checking.
(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41795 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix bad checkin.
aph [Thu, 3 May 2001 16:53:38 +0000 (16:53 +0000)]
Fix bad checkin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41793 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoWrong ChangeLog entry.
jakub [Thu, 3 May 2001 16:40:38 +0000 (16:40 +0000)]
Wrong ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41792 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * integrate.h (struct inline_remap): Add leaf_reg_map table.
mmitchel [Thu, 3 May 2001 16:14:34 +0000 (16:14 +0000)]
* integrate.h (struct inline_remap): Add leaf_reg_map table.
* integrate.c (expand_inline_function): Use xcalloc to allocate
memory.
(copy_rtx_and_substitute): Use the leaf_reg_map for leaf
registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41791 138bc75d-0d04-0410-961f-82ee72b054a4