gcc.git
23 years agojargrep.c: Include getopt.h if it exists.
Tom Tromey [Fri, 15 Dec 2000 18:45:09 +0000 (18:45 +0000)]
jargrep.c: Include getopt.h if it exists.

* jargrep.c: Include getopt.h if it exists.
(optind): Declare.
* configure, config.h: Rebuilt.
* configure.in: Check for getopt.h.

Co-Authored-By: Kelley Cook <kelleycook@home.com>
From-SVN: r38294

23 years agoboehm.c (mark_reference_fields): Change test to correctly detect bitmap overflow.
Andrew Haley [Fri, 15 Dec 2000 17:35:03 +0000 (17:35 +0000)]
boehm.c (mark_reference_fields): Change test to correctly detect bitmap overflow.

2000-12-14  Andrew Haley  <aph@redhat.com>

        * boehm.c (mark_reference_fields): Change test to correctly detect
        bitmap overflow.

From-SVN: r38293

23 years ago* init.c (build_new_1): Reorganize. Now with 100% fewer SAVE_EXPRs!
Jason Merrill [Fri, 15 Dec 2000 16:36:00 +0000 (11:36 -0500)]
* init.c (build_new_1): Reorganize.  Now with 100% fewer SAVE_EXPRs!

From-SVN: r38292

23 years ago* init.c (build_new_1): Don't strip quals from type.
Jason Merrill [Fri, 15 Dec 2000 16:23:26 +0000 (11:23 -0500)]
* init.c (build_new_1): Don't strip quals from type.

From-SVN: r38291

23 years ago* decl.c (pushdecl): Don't check for linkage on a non-decl.
Jason Merrill [Fri, 15 Dec 2000 16:15:52 +0000 (11:15 -0500)]
* decl.c (pushdecl): Don't check for linkage on a non-decl.

From-SVN: r38290

23 years agoResourceBundle.java (trySomeGetBundle): Pass class loader to Class.forName.
Tom Tromey [Fri, 15 Dec 2000 15:49:50 +0000 (15:49 +0000)]
ResourceBundle.java (trySomeGetBundle): Pass class loader to Class.forName.

* java/util/ResourceBundle.java (trySomeGetBundle): Pass class
loader to Class.forName.

From-SVN: r38289

23 years agogcc.c (cpp_options): Pass -fno-operator-names.
Jakub Jelinek [Fri, 15 Dec 2000 15:49:28 +0000 (16:49 +0100)]
gcc.c (cpp_options): Pass -fno-operator-names.

* gcc.c (cpp_options): Pass -fno-operator-names.
* cpplib.h (struct cpp_options): Add operator_names.
* cppinit.c (cpp_create_reader): Initialize it.
(initialize_builtins): If -fno-operator-names, don't add
C++ alternate operator names.
(COMMAND_LINE_OPTIONS): Add -fno-operator-names.
(cpp_handle_option): Clear operator_names.

From-SVN: r38288

23 years agocall.c (build_op_delete_call): See through ARRAY_TYPEs.
Jason Merrill [Fri, 15 Dec 2000 15:43:11 +0000 (10:43 -0500)]
call.c (build_op_delete_call): See through ARRAY_TYPEs.

        * call.c (build_op_delete_call): See through ARRAY_TYPEs.

        * call.c (build_new_function_call): Lose space before paren in
        error message.
        (build_new_method_call): Likewise.

        * typeck2.c (build_m_component_ref): Propagate quals from datum.

From-SVN: r38287

23 years agojump.c (jump_optimize_1): Don't delete the line note after the prologue even if it...
Jason Merrill [Fri, 15 Dec 2000 15:10:30 +0000 (10:10 -0500)]
jump.c (jump_optimize_1): Don't delete the line note after the prologue even if it seems redundant.

        * jump.c (jump_optimize_1): Don't delete the line note after the
        prologue even if it seems redundant.

        * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
        on all insns used to adjust the stack.

From-SVN: r38286

23 years agocombine.c (cant_combine_insn_p): Get around SUBREGs when determining hardreg<->reg...
Jan Hubicka [Fri, 15 Dec 2000 14:33:32 +0000 (15:33 +0100)]
combine.c (cant_combine_insn_p): Get around SUBREGs when determining hardreg<->reg moves.

* combine.c (cant_combine_insn_p): Get around SUBREGs when determining
hardreg<->reg moves.

From-SVN: r38285

23 years agogenrecog.c (add_to_sequence): Remove special case for const_int_operand.
Jan Hubicka [Fri, 15 Dec 2000 13:50:32 +0000 (14:50 +0100)]
genrecog.c (add_to_sequence): Remove special case for const_int_operand.

* genrecog.c (add_to_sequence): Remove special case for
const_int_operand.
(maybe_both_true): Return 1 when falling out of sequence when
trying to find common possition in the pattern.

From-SVN: r38284

23 years ago* integrate.c (copy_rtx_and_substitute): Copy mode too.
Jan Hubicka [Fri, 15 Dec 2000 13:46:51 +0000 (14:46 +0100)]
* integrate.c (copy_rtx_and_substitute): Copy mode too.

From-SVN: r38283

23 years ago* flow.c (notice_stack_pointer_modification_1): Cleanup.
Jan Hubicka [Fri, 15 Dec 2000 13:14:37 +0000 (14:14 +0100)]
* flow.c (notice_stack_pointer_modification_1): Cleanup.

From-SVN: r38282

23 years agoconfigure.in: Handle lang_dirs.
Andreas Jaeger [Fri, 15 Dec 2000 09:52:41 +0000 (10:52 +0100)]
configure.in: Handle lang_dirs.

2000-12-15  Andreas Jaeger  <aj@suse.de>

* configure.in: Handle lang_dirs.

From-SVN: r38281

23 years agoconfig-lang.in (lang_dirs): Added.
Andreas Jaeger [Fri, 15 Dec 2000 09:51:52 +0000 (10:51 +0100)]
config-lang.in (lang_dirs): Added.

2000-12-15  Andreas Jaeger  <aj@suse.de>

* config-lang.in (lang_dirs): Added.

From-SVN: r38280

23 years agofunction.c (adjust_trampoline_addr): New function.
Alexandre Oliva [Fri, 15 Dec 2000 09:09:41 +0000 (09:09 +0000)]
function.c (adjust_trampoline_addr): New function.

* function.c (adjust_trampoline_addr): New function.
(trampoline_address): Call it instead of round_trampoline_addr().
* tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.

From-SVN: r38279

23 years agoparse.y (end_artificial_method_body): Fixed undefined behavior.
Alexandre Petit-Bianco [Fri, 15 Dec 2000 08:50:12 +0000 (08:50 +0000)]
parse.y (end_artificial_method_body): Fixed undefined behavior.

2000-12-15  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (end_artificial_method_body): Fixed undefined behavior.
Credits go to rth for finding it.

(http://gcc.gnu.org/ml/gcc/2000-12/msg00495.html)

From-SVN: r38278

23 years agoDaily bump.
Jeff Law [Fri, 15 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38277

23 years ago* Makefile.dist: Renamed from Makefile.orig.
Bryce McKinlay [Fri, 15 Dec 2000 08:13:12 +0000 (08:13 +0000)]
* Makefile.dist: Renamed from Makefile.orig.

From-SVN: r38276

23 years ago* java/util/ResourceBundle.java
Tom Tromey [Fri, 15 Dec 2000 06:51:07 +0000 (06:51 +0000)]
* java/util/ResourceBundle.java
(getBundle(String,Locale,ClassLoader)): New method.
(trySomeGetBundle): Added `loader' argument.
(partialGetBundle): Likewise.

From-SVN: r38275

23 years agoNumberFormat.java (groupingUsed, [...]): Now package-private.
Tom Tromey [Fri, 15 Dec 2000 06:23:28 +0000 (06:23 +0000)]
NumberFormat.java (groupingUsed, [...]): Now package-private.

* java/text/NumberFormat.java (groupingUsed, parseIntegerOnly,
maximumFractionDigits, maximumIntegerDigits,
minimumFractionDigits, minimumIntegerDigits): Now
package-private.

From-SVN: r38274

23 years ago* java/lang/Thread.java (checkAccess): Now final.
Tom Tromey [Fri, 15 Dec 2000 06:15:49 +0000 (06:15 +0000)]
* java/lang/Thread.java (checkAccess): Now final.

From-SVN: r38273

23 years ago* java/lang/RuntimePermission.java: Class now final.
Tom Tromey [Fri, 15 Dec 2000 06:13:35 +0000 (06:13 +0000)]
* java/lang/RuntimePermission.java: Class now final.

From-SVN: r38272

23 years ago* java/io/StringWriter.java (StringWriter(int)): Now public.
Tom Tromey [Fri, 15 Dec 2000 06:08:55 +0000 (06:08 +0000)]
* java/io/StringWriter.java (StringWriter(int)): Now public.

From-SVN: r38271

23 years ago* java/io/SerializablePermission.java (legal_names): Now private.
Tom Tromey [Fri, 15 Dec 2000 05:59:31 +0000 (05:59 +0000)]
* java/io/SerializablePermission.java (legal_names): Now private.

From-SVN: r38270

23 years agoCharacter.java: Updated UnicodeBlock constants.
Tom Tromey [Fri, 15 Dec 2000 05:53:39 +0000 (05:53 +0000)]
Character.java: Updated UnicodeBlock constants.

* java/lang/Character.java: Updated UnicodeBlock constants.
* scripts/blocks.pl: Special case private use and surrogate
areas.  Updated URL.

From-SVN: r38269

23 years agocppfiles.c (hack_vms_include_specification): Delete function (not used since 1998).
Zack Weinberg [Fri, 15 Dec 2000 04:48:39 +0000 (04:48 +0000)]
cppfiles.c (hack_vms_include_specification): Delete function (not used since 1998).

* cppfiles.c (hack_vms_include_specification): Delete function
(not used since 1998).

From-SVN: r38268

23 years ago* haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
J"orn Rennecke [Fri, 15 Dec 2000 03:40:57 +0000 (03:40 +0000)]
* haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.

From-SVN: r38267

23 years agopt.c (check_explicit_specialization): Propagate default function arguments to explici...
Kriang Lerdsuwanakij [Fri, 15 Dec 2000 01:11:38 +0000 (01:11 +0000)]
pt.c (check_explicit_specialization): Propagate default function arguments to explicit specializations.

* pt.c (check_explicit_specialization): Propagate default
function arguments to explicit specializations.

* g++.old-deja/g++.pt/spec33.C: New test.

From-SVN: r38266

23 years agoMakefile.am (myinstallheaders): Install backwards headers in prefix, not prefix/backward.
Benjamin Kosnik [Fri, 15 Dec 2000 00:55:02 +0000 (00:55 +0000)]
Makefile.am (myinstallheaders): Install backwards headers in prefix, not prefix/backward.

2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

* src/Makefile.am (myinstallheaders): Install backwards headers in
prefix, not prefix/backward.
* src/Makefile.in: Regenerate.

From-SVN: r38265

23 years agoFix ia64-linux glibc miscompilation reported by H.J. Lu.
Jim Wilson [Fri, 15 Dec 2000 00:04:28 +0000 (00:04 +0000)]
Fix ia64-linux glibc miscompilation reported by H.J. Lu.

* alias.c (get_alias_set): Call record_component_aliases for
COMPLEX_TYPE.
(record_component_aliases): Handle COMPLEX_TYPE.

From-SVN: r38264

23 years agoacinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes touching copysignf, atan2f...
Benjamin Kosnik [Thu, 14 Dec 2000 23:42:27 +0000 (23:42 +0000)]
acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes touching copysignf, atan2f, expf.

2000-12-14  Benjamin Kosnik  <bkoz@haight.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes
touching copysignf, atan2f, expf.
(GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Add it back here.
* aclocal.m4: Regenerate.
* configure: Regenerate.

2

From-SVN: r38263

23 years agoconfigure.in (CXX): Exit out if mknumeric_limits fails.
Benjamin Kosnik [Thu, 14 Dec 2000 22:53:59 +0000 (22:53 +0000)]
configure.in (CXX): Exit out if mknumeric_limits fails.

2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

* configure.in (CXX): Exit out if mknumeric_limits fails.
* mknumeric_limits (CXX): Use BUILD_DIR/g++, not g++ in
path. Consistency with tests_flags.in.

From-SVN: r38262

23 years agoAdded.
Ovidiu Predescu [Thu, 14 Dec 2000 22:02:18 +0000 (22:02 +0000)]
Added.

From-SVN: r38261

23 years agowarn_summary: Fix subdirectory filtering.
Kaveh R. Ghazi [Thu, 14 Dec 2000 20:09:41 +0000 (20:09 +0000)]
warn_summary: Fix subdirectory filtering.

* warn_summary: Fix subdirectory filtering.  Add -intl and -fixinc
subdirectory flags.  Add source directory prefix filtering.
Redirect diagnostic output to stderr.

From-SVN: r38260

23 years ago* fixinc/gnu-regex.c: Disable NLS.
Kaveh R. Ghazi [Thu, 14 Dec 2000 19:58:39 +0000 (19:58 +0000)]
* fixinc/gnu-regex.c: Disable NLS.

From-SVN: r38259

23 years agocomment
Jason Merrill [Thu, 14 Dec 2000 19:31:49 +0000 (14:31 -0500)]
comment

From-SVN: r38258

23 years agotypo
Jason Merrill [Thu, 14 Dec 2000 19:30:43 +0000 (14:30 -0500)]
typo

From-SVN: r38257

23 years ago*.h: Remove include_next...
Benjamin Kosnik [Thu, 14 Dec 2000 19:06:57 +0000 (19:06 +0000)]
*.h: Remove include_next...

2000-12-14  Benjamin Kosnik  <bkoz@redhat.com>

* include/c/bits/*.h: Remove include_next, replace with include,
as include_next does not work host-x-host, and include_next not
necessary.

From-SVN: r38256

23 years agoconfigure.in (fastjar_warn_cflags): Set when using gcc.
Kaveh R. Ghazi [Thu, 14 Dec 2000 18:49:11 +0000 (18:49 +0000)]
configure.in (fastjar_warn_cflags): Set when using gcc.

* configure.in (fastjar_warn_cflags): Set when using gcc.

* Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.

From-SVN: r38255

23 years agoWarning fixes:
Kaveh R. Ghazi [Thu, 14 Dec 2000 18:45:35 +0000 (18:45 +0000)]
Warning fixes:

* compress.c: Include stdlib.h and compress.h.
(rcsid): Delete.
(report_str_error): Make static.
(ez_inflate_str): Delete unused variable.  Add parens in if-stmt.
(hrd_inflate_str): Likewise.

* compress.h (init_compression, end_compression, init_inflation,
end_inflation): Prototype void arguments.

* dostime.c (rcsid): Delete.

* jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
Make functions static.  Cast ctype function argument to `unsigned
char'.  Add parens in if-stmts.  Constify.
(Usage): Change into a macro.
(jargrep): Remove unused parameter.

* jartool.c: Constify.  Add parens in if-stmts.  Align
signed/unsigned char pointers in functions calls using casts.
(rcsid): Delete.
(list_jar): Fix printf format specifier.
(usage): Chop long string into bits.  Reformat.

* pushback.c (rcsid): Delete.

From-SVN: r38254

23 years ago* MAINTAINERS: Removed brads.
Tom Tromey [Thu, 14 Dec 2000 18:23:49 +0000 (18:23 +0000)]
* MAINTAINERS: Removed brads.

From-SVN: r38253

23 years ago* MAINTAINERS: Added gcj developers.
Tom Tromey [Thu, 14 Dec 2000 17:51:52 +0000 (17:51 +0000)]
* MAINTAINERS: Added gcj developers.

From-SVN: r38252

23 years ago920501-7.c: Check for NO_TRAMPOLINES.
Catherine Moore [Thu, 14 Dec 2000 15:31:26 +0000 (10:31 -0500)]
920501-7.c: Check for NO_TRAMPOLINES.

        * gcc.c-torture/execute/920501-7.c: Check for NO_TRAMPOLINES.
        * gcc.c-torture/execute/920612-2.c: Likewise.
        * gcc.c-torture/execute/920428-2.c: Likewise.
        * gcc-c-torture/execute/va-arg-11.c: Call exit.
        * gcc.c-torture/execute/va-arg-21.c: Likewise.

From-SVN: r38251

23 years agolocale_facets.h (ctype<char>): Remove throw specs not in base class signature.
Benjamin Kosnik [Thu, 14 Dec 2000 09:19:56 +0000 (09:19 +0000)]
locale_facets.h (ctype<char>): Remove throw specs not in base class signature.

2000-12-13  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
base class signature.
* config/os/*/bits/ctype_inline.h (is): Same.

From-SVN: r38250

23 years agolocale_facets.h (ctype<char>): Remove throw specs not in base class signature.
Benjamin Kosnik [Thu, 14 Dec 2000 09:07:01 +0000 (09:07 +0000)]
locale_facets.h (ctype<char>): Remove throw specs not in base class signature.

2000-12-13  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
base class signature.

From-SVN: r38249

23 years agoDaily bump.
Jeff Law [Thu, 14 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38248

23 years agoalpha.c (alpha_emit_conditional_move): Do not swap comparison operands when that...
Richard Henderson [Thu, 14 Dec 2000 08:18:57 +0000 (00:18 -0800)]
alpha.c (alpha_emit_conditional_move): Do not swap comparison operands when that would create non-canonical rtl.

        * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
        comparison operands when that would create non-canonical rtl.

From-SVN: r38247

23 years agoi386.md (umulsi3_highpart): Remove * from name.
Richard Henderson [Thu, 14 Dec 2000 08:12:13 +0000 (00:12 -0800)]
i386.md (umulsi3_highpart): Remove * from name.

        * config/i386/i386.md (umulsi3_highpart): Remove * from name.
        (smulsi3_highpart): Likewise.

From-SVN: r38246

23 years agogcc.c (cpp_options): Update to use '&'.
Neil Booth [Thu, 14 Dec 2000 07:47:38 +0000 (07:47 +0000)]
gcc.c (cpp_options): Update to use '&'.

       * gcc.c (cpp_options): Update to use '&'.
       (struct switchstr): Change type of validated to save space.
       New member 'ordering'.
       (handle_braces, validate_switches): Update to handle '&'.

From-SVN: r38245

23 years agogcc.c (cpp_options): Update to use '&'.
Neil Booth [Thu, 14 Dec 2000 07:42:39 +0000 (07:42 +0000)]
gcc.c (cpp_options): Update to use '&'.

       * gcc.c (cpp_options): Update to use '&'.
       (struct switchstr): Change type of validated to save space.
       New member 'ordering'.
       (handle_braces, validate_switches): Update to handle '&'.

From-SVN: r38244

23 years agoctype_base.h (ctype_base): Consistency with linux.
Benjamin Kosnik [Thu, 14 Dec 2000 07:20:37 +0000 (07:20 +0000)]
ctype_base.h (ctype_base): Consistency with linux.

2000-12-13  Benjamin Kosnik  <bkoz@redhat.com>

* config/os/generic/bits/ctype_base.h (ctype_base): Consistency
with linux.
* config/os/generic/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.5/bits/ctype_base.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.6/bits/ctype_base.h: Same.
* config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.7/bits/ctype_base.h: Same.
* config/os/irix/bits/ctype_inline.h (is): Same.
* config/os/irix/bits/ctype_base.h (ctype_base): Same.
* config/os/aix/bits/ctype_inline.h (is): Same.
* config/os/aix/bits/ctype_base.h (ctype_base): Same.
* config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
* config/os/bsd/netbsd/bits/ctype_base.h (ctype_base): Same.
* config/os/bsd/freebsd/bits/ctype_base.h (ctype_base): Same.
* config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
* config/os/newlib/bits/ctype_inline.h (is): Same.
* config/os/newlib/bits/ctype_base.h (ctype_base): Same.

* testsuite/22_locale/ctype_char_members.cc (test01): Add tests, fix.
* testsuite/22_locale/ctype.cc (test01): Add tests for
ctype_base::mask bitmask features.
* src/locale.cc: Define const static data for ctype_base.
* config/os/gnu-linux/bits/ctype_base.h (ctype_base): Make
ctype_base::mask type an integer type, not an enum.
* config/os/gnu-linux/bits/ctype_inline.h (is): Implement correctly.
* include/bits/locale_facets.h: Tweaks.

* include/bits/ios_base.h: Formatting tweaks.

* docs/html/17_intro/C++STYLE: Add.

From-SVN: r38243

23 years agoskip stdio_va_list fix if __DJ_va_list found in a header
Laurynas Biveinis [Thu, 14 Dec 2000 06:11:40 +0000 (06:11 +0000)]
skip stdio_va_list fix if __DJ_va_list found in a header

From-SVN: r38242

23 years ago* parse.y (check_static_final_variable_assignment_flag): Fix spelling.
Mike Stump [Thu, 14 Dec 2000 04:28:50 +0000 (04:28 +0000)]
* parse.y (check_static_final_variable_assignment_flag): Fix spelling.

From-SVN: r38241

23 years ago* config.gcc (cygwin, win32, mingw32): Use float-i386.h.
DJ Delorie [Thu, 14 Dec 2000 00:44:35 +0000 (19:44 -0500)]
* config.gcc (cygwin, win32, mingw32): Use float-i386.h.

From-SVN: r38240

23 years agoDefault to not build gcj target libraries.
Anthony Green [Wed, 13 Dec 2000 23:19:06 +0000 (23:19 +0000)]
Default to not build gcj target libraries.

From-SVN: r38239

23 years ago* gcc.c (handle_braces): Handle %{<S*} spec correctly.
Tom Tromey [Wed, 13 Dec 2000 23:09:33 +0000 (23:09 +0000)]
* gcc.c (handle_braces): Handle %{<S*} spec correctly.

From-SVN: r38238

23 years agoMake-lang.in (JAVA_LEX_C): Added chartables.h.
Tom Tromey [Wed, 13 Dec 2000 22:47:13 +0000 (22:47 +0000)]
Make-lang.in (JAVA_LEX_C): Added chartables.h.

* Make-lang.in (JAVA_LEX_C): Added chartables.h.
* lex.c (java_ignorable_control_p): Removed.
(java_letter_or_digit_p): Removed.
(java_start_char_p): New function.
(java_read_char): Return `int', not `unicode_t'.  Changed
callers.
(java_read_unicode): Likewise.
(java_read_unicode_collapsing_terminators): Likewise.
(java_get_unicode): Likewise.
(java_new_lexer): Initialize hit_eof.
(java_parse_end_comment): Take `int' argument.
(java_parse_doc_section): Likewise.
(java_parse_escape_sequence): Don't allow backlash-newline.
Return `int'.
* lex.h (JAVA_DIGIT_P): Removed.
(_JAVA_LETTER_OR_DIGIT_P): Removed.
(_JAVA_IDENTIFIER_IGNORABLE): Removed.
(JAVA_START_CHAR_P): Renamed from JAVA_ID_CHAR_P.
(JAVA_PART_CHAR_P): New macro.
(UEOF): Now -1.
(JAVA_CHAR_ERROR): Now -2.
(java_lexer): New field `hit_eof'.
* chartables.h: New file.
* gen-table.pl: new file.

From-SVN: r38237

23 years agoparse.y (java_complete_lhs): Only allow compound assignment of reference type if...
Tom Tromey [Wed, 13 Dec 2000 22:36:24 +0000 (22:36 +0000)]
parse.y (java_complete_lhs): Only allow compound assignment of reference type if type is String.

* parse.y (java_complete_lhs): Only allow compound assignment of
reference type if type is String.

Co-Authored-By: Alexandre Petit-Bianco <apbianco@cygnus.com>
From-SVN: r38236

23 years agoFix typo
Mike Stump [Wed, 13 Dec 2000 22:25:21 +0000 (22:25 +0000)]
Fix typo

From-SVN: r38235

23 years ago* Makefile.in (local-distclean): Also remove fastjar.
Mike Stump [Wed, 13 Dec 2000 22:01:46 +0000 (22:01 +0000)]
* Makefile.in (local-distclean): Also remove fastjar.

From-SVN: r38234

23 years agofunction.c (assign_parms): Optimize incoming PARALLELs into REGs if possible.
Alexandre Oliva [Wed, 13 Dec 2000 21:24:03 +0000 (21:24 +0000)]
function.c (assign_parms): Optimize incoming PARALLELs into REGs if possible.

* function.c (assign_parms): Optimize incoming PARALLELs into
REGs if possible.

From-SVN: r38233

23 years agopack-test-1.c: Compile on powerpc*-*-eabi* too.
Franz Sirl [Wed, 13 Dec 2000 20:16:33 +0000 (20:16 +0000)]
pack-test-1.c: Compile on powerpc*-*-eabi* too.

2000-12-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* gcc.dg/pack-test-1.c: Compile on powerpc*-*-eabi* too.
* gcc.dg/pack-test-2.c: Likewise.

From-SVN: r38232

23 years agoUse one makefile for fixinc
Bruce Korb [Wed, 13 Dec 2000 20:07:46 +0000 (20:07 +0000)]
Use one makefile for fixinc

From-SVN: r38231

23 years agotradcpp.c (special_symbol): Improve test for definedness, though it is still not...
Neil Booth [Wed, 13 Dec 2000 19:47:11 +0000 (19:47 +0000)]
tradcpp.c (special_symbol): Improve test for definedness, though it is still not perfect.

       * tradcpp.c (special_symbol): Improve test for definedness,
        though it is still not perfect.
        (do_define): Don't define illegal macro names.

From-SVN: r38230

23 years agoTests by Zack Weinberg <zackw@stanford.edu>.
Neil Booth [Wed, 13 Dec 2000 19:47:04 +0000 (19:47 +0000)]
Tests by Zack Weinberg <zackw@stanford.edu>.

* gcc.dg/cpp/defined.c: Update.
* gcc.dg/cpp/defined_trad.c: New tests.

From-SVN: r38229

23 years ago(ASM_OUTPUT_SECTION_NAME): emit @nobits
Aldy Hernandez [Wed, 13 Dec 2000 19:36:48 +0000 (19:36 +0000)]
(ASM_OUTPUT_SECTION_NAME): emit @nobits

From-SVN: r38228

23 years agocppfiles.c (read_name_map): Return null if open () fails.
Neil Booth [Wed, 13 Dec 2000 19:20:14 +0000 (19:20 +0000)]
cppfiles.c (read_name_map): Return null if open () fails.

        * cppfiles.c (read_name_map): Return null if open () fails.
        (remap_filename): Simplify logic.  Add ICE if it doesn't work
        as expected. Perform secondary lookup attempt on base filename
        only.

From-SVN: r38227

23 years agoflow.c (notice_stack_pointer_modification_1): Notice midifications using PRE_MODIFY...
Jan Hubicka [Wed, 13 Dec 2000 18:52:49 +0000 (18:52 +0000)]
flow.c (notice_stack_pointer_modification_1): Notice midifications using PRE_MODIFY and POST_MODIFY.

* flow.c (notice_stack_pointer_modification_1): Notice midifications
using PRE_MODIFY and POST_MODIFY.

From-SVN: r38226

23 years ago* jartool.c (extract_jar): Use strchr, not index.
Tom Tromey [Wed, 13 Dec 2000 18:11:57 +0000 (18:11 +0000)]
* jartool.c (extract_jar): Use strchr, not index.

From-SVN: r38225

23 years agosafe-ctype.c: #include "ansidecl.h".
Michael Sokolov [Wed, 13 Dec 2000 18:11:45 +0000 (18:11 +0000)]
safe-ctype.c: #include "ansidecl.h".

* safe-ctype.c: #include "ansidecl.h".
* strtod.c: Likewise.

From-SVN: r38224

23 years agofix date
DJ Delorie [Wed, 13 Dec 2000 17:51:56 +0000 (12:51 -0500)]
fix date

From-SVN: r38223

23 years agotypeck.c (build_binary_op): Do signed/unsigned warnings for >?
DJ Delorie [Wed, 13 Dec 2000 17:49:56 +0000 (12:49 -0500)]
typeck.c (build_binary_op): Do signed/unsigned warnings for >?

* typeck.c (build_binary_op): Do signed/unsigned warnings for >?
and <? operators.

From-SVN: r38222

23 years ago* strtoul.c: Include safe-ctype.h, not ctype.h.
Michael Sokolov [Wed, 13 Dec 2000 17:44:01 +0000 (17:44 +0000)]
* strtoul.c: Include safe-ctype.h, not ctype.h.

From-SVN: r38221

23 years ago* genoutput.c (process_template): Add sanity checking for '@' templates.
Jan Hubicka [Wed, 13 Dec 2000 16:26:45 +0000 (17:26 +0100)]
* genoutput.c (process_template): Add sanity checking for '@' templates.

From-SVN: r38220

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Wed, 13 Dec 2000 15:45:29 +0000 (15:45 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (GCJ_WITH_FLAGS): New macro, includes --encoding
option.
(GCJCOMPILE): Use it.
(JAVAC): Likewise.

From-SVN: r38219

23 years agoPlug a memory leak.
Bernd Schmidt [Wed, 13 Dec 2000 15:06:54 +0000 (15:06 +0000)]
Plug a memory leak.

From-SVN: r38218

23 years ago[multiple changes]
Benjamin Kosnik [Wed, 13 Dec 2000 09:25:44 +0000 (09:25 +0000)]
[multiple changes]

2000-12-12  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Don't link ctype
files here...
* configure.in: Rather, do it once for all targets here. Clean up
canadian cross and cross compile targets for linux-targeted
crosses.
* configure: Regenerate.
* aclocal.m4: Regnerate.
* acconfig.h: Add more defines.
* config.h.in: Regenerate.

2000-12-12  Angela Marie Thomas <angela@cygnus.com>

* configure.in: Fix case for host-x-linux
* configure: Regenerate.

From-SVN: r38217

23 years agoDaily bump.
Jeff Law [Wed, 13 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38216

23 years ago* gcc.dg/cpp/tr-direct.c: Update.
Neil Booth [Wed, 13 Dec 2000 07:28:54 +0000 (07:28 +0000)]
* gcc.dg/cpp/tr-direct.c: Update.

From-SVN: r38215

23 years agogcc_update: Add fastjar --touch entries.
Rodney Brown [Wed, 13 Dec 2000 05:58:57 +0000 (05:58 +0000)]
gcc_update: Add fastjar --touch entries.

2000-12-12  Rodney Brown  <RodneyBrown@mynd.com>

    * contrib/gcc_update: Add fastjar --touch entries.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00588.html)

From-SVN: r38214

23 years ago* Makefile.in (distclean): Remove safe-ctype.c as well.
Mike Stump [Tue, 12 Dec 2000 23:38:14 +0000 (23:38 +0000)]
* Makefile.in (distclean): Remove safe-ctype.c as well.

From-SVN: r38213

23 years agotradcpp.c (do_error): Cast difference of pointers to int for error message.
Brad Lucier [Tue, 12 Dec 2000 23:17:00 +0000 (23:17 +0000)]
tradcpp.c (do_error): Cast difference of pointers to int for error message.

        * tradcpp.c (do_error): Cast difference of pointers to int
        for error message.

From-SVN: r38212

23 years agolinux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
Franz Sirl [Tue, 12 Dec 2000 21:38:18 +0000 (21:38 +0000)]
linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...

2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
* config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.

From-SVN: r38211

23 years agoFix for ia64-linux miscompilation of glibc nan tests.
Jim Wilson [Tue, 12 Dec 2000 21:23:33 +0000 (13:23 -0800)]
Fix for ia64-linux miscompilation of glibc nan tests.

* rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.

From-SVN: r38210

23 years agoFix for ia64-linux glibc miscompilation of nan tests.
Jim Wilson [Tue, 12 Dec 2000 21:23:04 +0000 (13:23 -0800)]
Fix for ia64-linux glibc miscompilation of nan tests.

* rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.

From-SVN: r38209

23 years agoMakefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
Alexandre Petit-Bianco [Tue, 12 Dec 2000 20:52:54 +0000 (20:52 +0000)]
Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.

2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
        * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
        set accordingly.
        * Makefile.in: Rebuilt.
        * configure: Likewise.

(http://sources.redhat.com/ml/java-patches/2000-q4/msg00237.html)

From-SVN: r38208

23 years agoconfigure.in: Simplify language enabling/disabling code.
Alexandre Oliva [Tue, 12 Dec 2000 20:28:52 +0000 (20:28 +0000)]
configure.in: Simplify language enabling/disabling code.

* configure.in: Simplify language enabling/disabling code.
* configure: Rebuilt.
* ch/config-lang.in (target_libs): Set.
(build_by_default): Set to no.
* cp/config-lang.in (target_libs): Set.
* f/config-lang.in (target_libs): Set.
* java/config-lang.in (target_libs): Set.
* objc/config-lang.in (target_libs): Set.

From-SVN: r38207

23 years agoconfigure.in: Disable language-specific target libraries for languages that aren...
Alexandre Oliva [Tue, 12 Dec 2000 20:16:17 +0000 (20:16 +0000)]
configure.in: Disable language-specific target libraries for languages that aren't enabled.

* configure.in: Disable language-specific target libraries for
languages that aren't enabled.

From-SVN: r38206

23 years agotradcpp.c (enum node_type): Add T_ERROR.
Neil Booth [Tue, 12 Dec 2000 18:54:26 +0000 (18:54 +0000)]
tradcpp.c (enum node_type): Add T_ERROR.

        * tradcpp.c (enum node_type): Add T_ERROR.
        (do_error): New function.
        (directive_table): Add #error handler.

From-SVN: r38205

23 years agoconfigure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.
Franz Sirl [Tue, 12 Dec 2000 12:01:18 +0000 (12:01 +0000)]
configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.

2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
for powerpc*-*-*.
* configure: Regenerated.
* config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define.
* config/rs6000/rs6000.c (rs6000_unique_section): Use
STRIP_NAME_ENCODING.

From-SVN: r38204

23 years agoconfigure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.
Franz Sirl [Tue, 12 Dec 2000 11:53:48 +0000 (11:53 +0000)]
configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.

2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
for powerpc*-*-*.
* configure: Regenerated.
* config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define.
* config/rs6000/rs6000.c (rs6000_unique_section): Use
STRIP_NAME_ENCODING.

From-SVN: r38203

23 years agoDaily bump.
Jeff Law [Tue, 12 Dec 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38202

23 years agoFirstThread.java (Kcert, [...]): New static final fields.
Tom Tromey [Tue, 12 Dec 2000 00:32:02 +0000 (00:32 +0000)]
FirstThread.java (Kcert, [...]): New static final fields.

* gnu/gcj/runtime/FirstThread.java (Kcert, Kfile, Khttp, Kjar):
New static final fields.

From-SVN: r38200

23 years ago* gcc.dg/cpp/defined_trad.c: Update.
Neil Booth [Mon, 11 Dec 2000 22:14:18 +0000 (22:14 +0000)]
* gcc.dg/cpp/defined_trad.c: Update.

From-SVN: r38199

23 years agore GNATS libgcj/378 (Problem with scripts/classes.pl)
Tom Tromey [Mon, 11 Dec 2000 21:50:39 +0000 (21:50 +0000)]
re GNATS libgcj/378 (Problem with scripts/classes.pl)

* scripts/classes.pl (scan): Skip lines with leading `*'.
Fix for PR libgcj/378.

From-SVN: r38198

23 years agopa.c (cmpib_comparison_operator): Remove GEU and LTU.
Jeffrey A Law [Mon, 11 Dec 2000 21:17:34 +0000 (21:17 +0000)]
pa.c (cmpib_comparison_operator): Remove GEU and LTU.

        * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
        * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
        changes.

From-SVN: r38197

23 years agoemit initial value for all fields
Bruce Korb [Mon, 11 Dec 2000 21:04:50 +0000 (21:04 +0000)]
emit initial value for all fields

From-SVN: r38196

23 years ago* gcc.dg/cpp/defined_trad.c: New test.
Neil Booth [Mon, 11 Dec 2000 20:27:03 +0000 (20:27 +0000)]
* gcc.dg/cpp/defined_trad.c: New test.

From-SVN: r38195

23 years ago* tradcpp.h: For tradcpp, NUL is not whitespace.
Neil Booth [Mon, 11 Dec 2000 19:38:15 +0000 (19:38 +0000)]
* tradcpp.h: For tradcpp, NUL is not whitespace.

From-SVN: r38194