GCC Administrator
269ee3d1d1
Daily bump.
...
From-SVN: r41515
2001-04-24 07:17:10 +00:00
Zack Weinberg
15784bba3e
* gcc.c-torture/execute/20010124-1.c: No longer expected to fail.
...
From-SVN: r41514
2001-04-24 03:10:08 +00:00
Peter Schmid
673af03ae5
slist: Include required header files.
...
2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/ext/slist: Include required header files.
From-SVN: r41512
2001-04-23 23:17:20 +00:00
Joseph Myers
c3cd9c8b70
c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid passing nested NOP_EXPRs to fold.
...
* c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
passing nested NOP_EXPRs to fold.
testsuite:
* gcc.c-torture/compile/20010423-1.c: New test.
From-SVN: r41508
2001-04-23 23:55:32 +01:00
Loren J. Rittle
910e8539cb
std_cerrno.h (errno): Define macro from identifier declared with external linkage, if needed.
...
* include/c_std/bits/std_cerrno.h (errno): Define macro from
identifier declared with external linkage, if needed.
* include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
* include/c_std/bits/std_cstdarg.h (va_end): Likewise.
From-SVN: r41507
2001-04-23 19:54:34 +00:00
Benjamin Kosnik
337187ff26
acinclude.m4 (CXX): Set to CXX so that in-directory re-configures find the build compiler.
...
2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
* acinclude.m4 (CXX): Set to CXX so that in-directory
re-configures find the build compiler.
(GLIBCPP_ENABLE_C99): Do all tests with 0.0, not 0. Fixes
libstdc++/2609.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r41506
2001-04-23 19:50:00 +00:00
Anthony Green
3fa03ff9de
configure.in: Move *-chorusos target case to the proper switch.
...
* configure.in: Move *-chorusos target case to the proper switch.
Disable libgcj.
From-SVN: r41505
2001-04-23 16:47:08 +00:00
Jan Hubicka
35433587bf
* reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
...
From-SVN: r41502
2001-04-23 13:29:42 +00:00
GCC Administrator
aacba15459
Daily bump.
...
From-SVN: r41500
2001-04-23 07:16:41 +00:00
Mark Mitchell
e6217dcd0b
* loop.c (loop_delete_insns): Add prototype.
...
From-SVN: r41499
2001-04-23 04:49:07 +00:00
Phil Edwards
e2584c5245
configure.in: Remove ENABLE_STD_NAMESPACE.
...
2001-04-23 Phil Edwards <pme@sources.redhat.com>
* configure.in: Remove ENABLE_STD_NAMESPACE.
* cp/decl2.c (flag_honor_std): Always initialize to 1.
* config.in: Regenerated.
* configure: Regenerated.
From-SVN: r41497
2001-04-23 04:07:16 +00:00
Stan Shebs
a3b1a352b0
config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h into xm_defines.
...
* config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
into xm_defines.
* config/rs6000/xm-darwin.h: Remove file.
From-SVN: r41496
2001-04-23 01:14:03 +00:00
Kaveh R. Ghazi
d4c3ec2738
collect2.c (main): Use concat in lieu of xmalloc/sprintf.
...
* collect2.c (main): Use concat in lieu of xmalloc/sprintf.
(write_c_file_stat): Likewise.
* dbxout.c (dbxout_init): Likewise.
* profile.c (output_func_start_profiler): Likewise.
cp:
* xref.c (GNU_xref_file): Use concat in lieu of xmalloc/sprintf.
f:
* com.c (ffecom_subscript_check_): Use concat in lieu of
xmalloc/sprintf.
java:
* jvspec.c (lang_specific_driver): Fix memory allocation
deficit, by using concat in lieu of xmalloc/sprintf.
From-SVN: r41495
2001-04-23 00:36:28 +00:00
Jason Merrill
2ac8a0f9c2
except.c (build_throw): Wrap the initialization of the exception object in a MUST_NOT_THROW_EXPR.
...
* except.c (build_throw): Wrap the initialization of the exception
object in a MUST_NOT_THROW_EXPR.
(do_free_exception): #if 0.
From-SVN: r41494
2001-04-22 19:50:06 -04:00
Philipp Thomas
146ef880e4
ABOUT-GCC-NLS: Now that gettext 0.10.37 is out, require it instead of the CVS version.
...
* ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
require it instead of the CVS version.
* cpperror.c (v_message): Put a blank before the macro
body to not confuse exgettext.
From-SVN: r41493
2001-04-22 22:33:45 +00:00
Tom Tromey
efc150d58b
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Line2D.java.
* java/awt/geom/Line2D.java: Wrote.
* java/awt/Menu.java (addNotify): Wrote.
* java/awt/PopupMenu.java (addNotify): Implemented.
(show): Likewise.
* java/awt/Scrollbar.java (addNotify): Call super.addNotify.
* java/awt/List.java (addNotify): Call super.addNotify.
* java/awt/Label.java (addNotify): Call super.addNotify.
* java/awt/FileDialog.java (addNotify): Call super.addNotify.
* java/awt/Dialog.java (addNotify): Call super.addNotify.
* java/awt/Choice.java (addNotify): Call super.addNotify.
* java/awt/CheckboxMenuItem.java (addNotify): Call super.addNotify.
* java/awt/Checkbox.java (addNotify): Call super.addNotify.
* java/awt/List.java (replaceItem): Notify peer.
* java/awt/geom/Rectangle2D.java
(Float.setRect(float,float,float,float)): New method.
* java/awt/event/ContainerEvent.java (getContainer): Now returns
Container.
* java/awt/RenderingHints.java (Key): Class now public.
* java/awt/Rectangle.java (Rectangle): Now implements
Serializable.
(getPathIterator): Removed.
* java/awt/GraphicsConfiguration.java (GraphicsConfiguration): New
constructor.
* java/awt/FileDialog.java: Wrote.
* java/awt/EventQueue.java (isDispatchThread): Now public.
(invokeLater): Likewise.
* java/awt/Component.java (setCursor): Update peer.
(getFontMetrics): Use peer.
* java/awt/ComponentOrientation.java (ComponentOrientation): Class
now final.
From-SVN: r41492
2001-04-22 17:01:18 +00:00
GCC Administrator
ecd85e8093
Daily bump.
...
From-SVN: r41491
2001-04-22 07:17:40 +00:00
Tom Tromey
760903c056
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Line2D.java.
* java/awt/geom/Line2D.java: Wrote.
* java/awt/Menu.java (addNotify): Wrote.
* java/awt/PopupMenu.java (addNotify): Implemented.
(show): Likewise.
* java/awt/Scrollbar.java (addNotify): Call super.addNotify.
* java/awt/List.java (addNotify): Call super.addNotify.
* java/awt/Label.java (addNotify): Call super.addNotify.
* java/awt/FileDialog.java (addNotify): Call super.addNotify.
* java/awt/Dialog.java (addNotify): Call super.addNotify.
* java/awt/Choice.java (addNotify): Call super.addNotify.
* java/awt/CheckboxMenuItem.java (addNotify): Call super.addNotify.
* java/awt/Checkbox.java (addNotify): Call super.addNotify.
* java/awt/List.java (replaceItem): Notify peer.
* java/awt/geom/Rectangle2D.java
(Float.setRect(float,float,float,float)): New method.
* java/awt/event/ContainerEvent.java (getContainer): Now returns
Container.
* java/awt/RenderingHints.java (Key): Class now public.
* java/awt/Rectangle.java (Rectangle): Now implements
Serializable.
(getPathIterator): Removed.
* java/awt/GraphicsConfiguration.java (GraphicsConfiguration): New
constructor.
* java/awt/FileDialog.java: Wrote.
* java/awt/EventQueue.java (isDispatchThread): Now public.
(invokeLater): Likewise.
* java/awt/Component.java (setCursor): Update peer.
(getFontMetrics): Use peer.
* java/awt/ComponentOrientation.java (ComponentOrientation): Class
now final.
From-SVN: r41489
2001-04-22 03:05:39 +00:00
Kazu Hirata
d80d2d2a5b
calls.c (expand_call): Fix a comment typo.
...
2001-04-21 Kazu Hirata <kazu@hxi.com>
* calls.c (expand_call): Fix a comment typo.
From-SVN: r41488
2001-04-21 21:38:22 +00:00
Mark Mitchell
e8c8470b1c
flow.c (proagate_one_insn): Remove useless assignment.
...
* flow.c (proagate_one_insn): Remove useless assignment.
* jump.c (delete_insn): Tidy.
* loop.c (try_copy_prop): When deleting an instruction with a
REG_RETVAL note, delete the entire libcall sequence.
(loop_delete_insns): New function.
* unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
we're not substituting into them yet.
From-SVN: r41486
2001-04-21 18:45:00 +00:00
Kazu Hirata
51f26c450b
sparc.c (sparc_flat_eligible_for_epilogue_delay): Fix a comment typo.
...
2001-04-21 Kazu Hirata <kazu@hxi.com>
* config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
Fix a comment typo.
* config/i960/i960.c (signed_arith_operand): Likewise.
From-SVN: r41484
2001-04-21 16:14:45 +00:00
Toon Moene
5bf77f31dc
news.texi: Update release information for 0.5.27.
...
2001-04-21 Toon Moene <toon@moene.indiv.nluug.nl>
* news.texi: Update release information for 0.5.27.
From-SVN: r41483
2001-04-21 16:11:14 +00:00
Kazu Hirata
68560db3c4
h8300.c (general_operand_src): Fix a comment typo.
...
2001-04-21 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c (general_operand_src): Fix a comment typo.
From-SVN: r41481
2001-04-21 16:00:13 +00:00
GCC Administrator
42df833713
Daily bump.
...
From-SVN: r41477
2001-04-21 07:16:40 +00:00
Tom Tromey
f825e235a8
List.java: Wrote.
...
* java/awt/List.java: Wrote.
* java/awt/Dialog.java: Wrote.
From-SVN: r41476
2001-04-21 02:48:35 +00:00
Mark Mitchell
968b956afb
cp-tree.h (finish_enum): Change prototype.
...
* cp-tree.h (finish_enum): Change prototype.
* decl.c (finish_enum): Reorganize.
* parse.y (structsp): Adjust calls to finish_enum.
From-SVN: r41474
2001-04-21 00:04:09 +00:00
Mark Mitchell
7230e19e96
cp-tree.h (finish_enum): Change prototype.
...
* cp-tree.h (finish_enum): Change prototype.
* decl.c (finish_enum): Reorganize.
* parse.y (structsp): Adjust calls to finish_enum.
[[Split portion of a mixed commit.]]
From-SVN: r41473.2
2001-04-21 00:04:08 +00:00
Per Bothner
3c0ce750cb
Fixes to compile multiple .class files at once.
...
From-SVN: r41472
2001-04-20 17:01:12 -07:00
Zack Weinberg
c1800ec88e
configure.in: Probe for times, clock, struct tms, and clock_t.
...
* configure.in: Probe for times, clock, struct tms, and clock_t.
* configure, config.in: Regenerate.
* timevar.c: Replace ifdef forest in get_time with (relatively)
straightforward series of checks based on autoconf's probes.
From-SVN: r41471
2001-04-20 23:06:55 +00:00
Benjamin Kosnik
6c3a9f72bf
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled correctly before long long is activated.
...
2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
support is enabled correctly before long long is activated.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/backward/backward_warning.h: Format correctly.
* testsuite/26_numerics/c99_classification_macros_c.cc: Add.
* testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
* testsuite/26_numerics/c99_macros.cc: Remove.
From-SVN: r41470
2001-04-20 22:26:55 +00:00
Benjamin Kosnik
4b3db7c50c
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled correctly before long long is activated.
...
2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
support is enabled correctly before long long is activated.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/backward/backward_warning.h: Format correctly.
* testsuite/26_numerics/c99_classification_macros_c.cc: Add.
* testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
* testsuite/26_numerics/c99_macros.cc: Remove.
From-SVN: r41469
2001-04-20 22:19:57 +00:00
Phil Edwards
e906926f5f
stl_bvector.h: Replace __ITERATOR_CATEGORY with __iterator_category.
...
2001-04-20 Phil Edwards <pme@sources.redhat.com>
* include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
__iterator_category.
From-SVN: r41468
2001-04-20 20:16:37 +00:00
Jeffrey A Law
2c2ef4b9ac
* config/pa/som.h (NM_FLAGS): Define.
...
From-SVN: r41467
2001-04-20 12:22:53 -06:00
Nathan Sidwell
aa1826e2c4
tree.c (cp_tree_equal): Adjust final switch formatting.
...
cp:
* tree.c (cp_tree_equal): Adjust final switch formatting. Add
't' case.
testsuite:
* g++.old-deja/g++.pt/typename28.C: New test.
From-SVN: r41462
2001-04-20 16:06:06 +00:00
Nathan Sidwell
06d9f09f53
class.c (dfs_unshared_virtual_bases): Add ATTRIBUTE_UNUSED.
...
cp:
* class.c (dfs_unshared_virtual_bases): Add ATTRIBUTE_UNUSED.
(layout_empty_base): Return at end flag.
(build_base_field): Likewise.
(build_base_fields): Likewise.
(layout_virtual_bases): Don't add 1 to eoc value.
(end_of_class): Use full size for empty bases.
(layout_class_type): Clear CLASSNEARLY_EMPTY_P if we appended
empty bases. Don't add 1 to eoc value. Only add trailing padding
if we're an empty class with no empty bases.
(dump_class_hierarchy): Dump size and alignment.
testsuite:
* g++.old-deja/g++.abi/empty2.C: New test.
* g++.old-deja/g++.abi/empty3.C: New test.
From-SVN: r41460
2001-04-20 15:29:09 +00:00
Bernd Schmidt
a0a7b566f7
Better scheduling of shifts
...
From-SVN: r41458
2001-04-20 12:19:47 +00:00
Warren Levy
a6f5b6f958
natSystem.cc (getSystemTimeZone): Adjust for DST.
...
* java/lang/natSystem.cc (getSystemTimeZone): Adjust for DST.
* java/text/SimpleDateFormat.java
(indexInArray): Removed private method.
(processYear): Removed private method.
(parseLenient): Removed private method.
(parseLeadingZeros): Removed private method.
(parseStrict): Removed private method.
(expect): Added new private method.
(parse): Reverted to pre-Classpath merge version with minor fixes.
* java/util/natGregorianCalendar.cc (computeTime): Handle strict
calendars.
From-SVN: r41456
2001-04-20 09:43:52 +00:00
Alexandre Oliva
7471a1f03c
i386.c (ix86_expand_int_movcc, [...]): Sign-extend CONST_INTs.
...
* config/i386/i386.c (ix86_expand_int_movcc,
ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.
From-SVN: r41454
2001-04-20 09:36:34 +00:00
Alexandre Oliva
99ffe40fe7
ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.228.
...
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.
From-SVN: r41452
2001-04-20 09:26:56 +00:00
Benjamin Kosnik
7cda84dc70
acconfig.h (_GLIBCPP_USE_C99): Add.
...
2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_USE_C99): Add.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
9899: 1999 support.
* aclocal.m4: Regenerate.
* configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
* configure: Regenerate.
* configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
* configure: Regenerate.
* include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
into c99.
* include/c_std/bits/std_cmath.h: Bring C99 functions into c99
namespace.
* include/c_std/bits/std_cstdlib.h: Same.
* docs/html/configopts.html: Update.
* testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
math.h
(test_c99_classify): Add.
* config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
(_ISOC99_SOURCE): Remove.
* include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
* include/bits/c++config (__STL_ASSERTIONS): Simplify.
* acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r41451
2001-04-20 08:59:25 +00:00
Geoffrey Keating
856a688433
rs6000.md (ctrsi_internal1, [...]): In the short-branch case, this insn is only 4 instructions long.
...
* config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
ctrdi_internal6): In the short-branch case, this insn is only 4
instructions long. Reported by Reza Yazdani <reza@apple.com>.
From-SVN: r41450
2001-04-20 08:33:35 +00:00
Jakub Jelinek
24f808827a
comdat2.C: New test.
...
* g++.old-deja/g++.other/comdat2.C: New test.
* g++.old-deja/g++.other/comdat2-aux.cc: Auxiliary source for it.
From-SVN: r41449
2001-04-20 10:24:25 +02:00
Jakub Jelinek
351a0f00dc
call.c (maybe_handle_ref_bind): Copy ICS_USER_FLAG and ICS_BAD_FLAG.
...
* call.c (maybe_handle_ref_bind): Copy ICS_USER_FLAG and
ICS_BAD_FLAG.
* g++.old-deja/g++.other/overload14.C: New test.
From-SVN: r41448
2001-04-20 10:17:19 +02:00
Jakub Jelinek
881cae050a
search.c (lookup_field_r): If looking for type and non-TYPE_DECL is found...
...
* search.c (lookup_field_r): If looking for type and non-TYPE_DECL
is found, look first if name does not match the structure name.
* g++.old-deja/g++.other/lookup23.C: New test.
From-SVN: r41447
2001-04-20 10:13:59 +02:00
Jakub Jelinek
d40cd80a97
reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
...
* reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
"=u" is used together with "st" resp. "st(1)" clobber.
From-SVN: r41446
2001-04-20 10:06:03 +02:00
Jakub Jelinek
c0230f3744
Duh, broken perms.
...
From-SVN: r41445
2001-04-20 10:04:29 +02:00
Jakub Jelinek
43e720723f
gcse.c (gcse_main): Fix comment typo.
...
* gcse.c (gcse_main): Fix comment typo.
(delete_null_pointer_check): Likewise.
(hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
* cse.c (cse_insn): Likewise.
* function.c (fixup_var_refs_insns_with_hash): The sequence is
toplevel.
* gcc.c-torture/execute/20010403-1.c: New test.
From-SVN: r41444
2001-04-20 09:56:50 +02:00
David Billinghurst
5c8378a7a2
old-dejagnu.exp: Don't delete output of executable.
...
* lib/old-dejagnu.exp: Don't delete output of executable.
Add .exe suffix to executables.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r41443
2001-04-20 07:25:43 +00:00
GCC Administrator
a811ab00f3
Daily bump.
...
From-SVN: r41441
2001-04-20 07:16:09 +00:00
Zack Weinberg
4000fada38
toplev.c: Excise all code for the undocumented -dm option.
...
* toplev.c: Excise all code for the undocumented -dm option.
(float_signal): Call signal just once, unconditionally.
From-SVN: r41438
2001-04-20 03:45:51 +00:00