Giovanni Bajo
3d5ddced56
re PR c++/12573 (ICE (segfault) with Boost.Python)
...
PR c++/12573
* pt.c (value_dependent_expression_p): Handle COMPONENT_REFs by
looking into them recursively. They can be there because of the
new __offsetof__ extension.
From-SVN: r75546
2004-01-08 11:52:41 +00:00
Michael Koch
bafa7fed79
JLayeredPane.java: Revert changes to standard boilerplate, reworked imports.
...
2004-01-08 Michael Koch <konqueror@gmx.de>
* javax/swing/JLayeredPane.java: Revert changes to standard
boilerplate, reworked imports.
From-SVN: r75543
2004-01-08 09:46:52 +00:00
Richard Sandiford
effdb4934f
simplify-rtx.c (simplify_immed_subreg): Fix construction of floating-point constants.
...
* simplify-rtx.c (simplify_immed_subreg): Fix construction of
floating-point constants.
From-SVN: r75540
2004-01-08 08:21:15 +00:00
Joel Brobecker
fbfd77b814
dwarf2out.c (subrange_type_die): Add context_die parameter.
...
* dwarf2out.c (subrange_type_die): Add context_die parameter.
Create the subrange_type DIE using the given context DIE.
(modified_type_die): Update call to subrange_type_die.
From-SVN: r75537
2004-01-08 07:54:13 +00:00
Zack Weinberg
7ce2710348
dwarf2.h, [...]: Add multiple-include guard.
...
* dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
Add multiple-include guard.
cp:
* parser.c (cp_parser_save_member_function_body): Mark the
definition static.
treelang:
* parse.y (yyerror): Mark the definition static.
From-SVN: r75536
2004-01-08 07:50:46 +00:00
Hartmut Penner
417b11de06
* gcc.dg/altivec-11.c: New test.
...
From-SVN: r75535
2004-01-08 07:27:09 +00:00
Hartmut Penner
ce1f50b212
rs6000.c (easy_vector_constant): Accept all vector constant loadable by vsplt*.
...
* gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
all vector constant loadable by vsplt*.
(output_vec_const_move): Likewise.
From-SVN: r75534
2004-01-08 07:25:56 +00:00
Tom Tromey
11e584edfe
re PR libgcj/13439 (gij VerifyError; works with JDK 1.4)
...
PR libgcj/13439:
* verify.cc (state::merge): Copy changed locals out of subroutine
in NO_STACK case.
(state::FLAG_CHANGED): New const.
(state::FLAG_UNUSED): Likewise.
(state::local_changed): Removed. Updated all users.
(state::flags): New field.
(state::merge): Added jsr_semantics argument, more logic.
(push_jump_merge): Added jsr_semantics argument.
(handle_jsr_insn): Set jsr_semantics on push_jump_merge when
merging through the jsr instruction.
From-SVN: r75533
2004-01-08 05:27:39 +00:00
Tom Tromey
ce972ee8f6
MakeDefaultMimeTypes.java: Use \n, not backslash-newline.
...
* scripts/MakeDefaultMimeTypes.java: Use \n, not
backslash-newline.
From-SVN: r75532
2004-01-08 05:20:31 +00:00
Graydon Hoare
fbea267fef
Container.java (LightweightDispatcher): Implement.
...
2004-01-07 Graydon Hoare <graydon@redhat.com>
* java/awt/Container.java (LightweightDispatcher): Implement.
(visitChild): Reuse graphics object.
(dispatchEventImpl): Optionally dispatch to lightweight.
(addNotifyContainerChildren): Build LightweightDispatcher.
From-SVN: r75531
2004-01-08 03:52:52 +00:00
Mark Mitchell
72827ed7fc
* g++.dg/abi/vbase10.C: Use -mstructure-size-boundary=8 on ARM.
...
From-SVN: r75529
2004-01-08 03:32:11 +00:00
Kelley Cook
102d317626
gcc_update (files_and_dependencies): Remove non-existant files.
...
2004-01-07 Kelley Cook <kcook@gcc.gnu.org>
* gcc_update (files_and_dependencies): Remove non-existant files.
From-SVN: r75528
2004-01-08 00:55:02 +00:00
GCC Administrator
146cfc5d2a
Daily bump.
...
From-SVN: r75525
2004-01-08 00:16:10 +00:00
Joseph Myers
bca6332881
re PR c/6024 (GCC fails to diagnose mismatch of enum types in prototype/function)
...
PR c/6024
* c-typeck.c (comptypes): Only treat enumerated types in the same
translation unit as compatible with each other when they are the
same type.
* doc/extend.texi: Update.
f:
* com.h (ffecom_gfrt_basictype): Correct return type.
testsuite:
* gcc.dg/enum-compat-1.c: New test.
* gcc.c-torture/execute/builtin-types-compatible-p.c: Update.
From-SVN: r75521
2004-01-07 22:24:44 +00:00
Benjamin Kosnik
158960ba7e
crossconfig.m4: Add LFS, io bits to linux cross config.
...
2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
* crossconfig.m4: Add LFS, io bits to linux cross config.
* acconfig.h: Remove obsolete bits, reorder.
* config.h.in: Regenerate.
* aclocal.m4: Same.
* configure: Same.
From-SVN: r75520
2004-01-07 22:17:01 +00:00
Dave Jones
5d2082d147
* approved by rth
...
2004-01-07 Dave Jones <davej@redhat.com>
* malloc.c (GC_generic_malloc): Correct initialization typo.
* mallocx.c (GC_generic_malloca_ignore_off_page): Ditto.
From-SVN: r75518
2004-01-07 21:47:35 +00:00
David Jee
627e4e5fc2
2004-01-07 David Jee <djee@redhat.com>
...
* java/awt/Container.java
(update): Clear only the clipped region, instead of clearing the
entire Container.
(visitChildren): Visit children in descending order.
From-SVN: r75517
2004-01-07 21:20:01 +00:00
Rainer Orth
4752762407
* link.c [sgi] (shared_libgnat_default): Change to STATIC.
...
From-SVN: r75516
2004-01-07 20:58:20 +00:00
Benjamin Kosnik
e135a038d3
[multiple changes]
...
2004-01-07 Gawain Bolton <gp.bolton@computer.org>
* include/bits/stl_list.h:
* include/bits/list.tc:
* src/list.cc:
Performance enhancements for destructor, push_front(),
push_back(), pop_front(), pop_back(), sort()
Eliminated static_casts where possible.
Moved code out of header files into new src/list.cc
implementation file for library where possible.
Remove inheritance from iterator class and create separate
classes for non-constant and constant iterators.
* include/bits/stl_tree.h (_Rb_tree class):
* src/tree.cc:
Only erase contents in destructor.
Eliminate unnecessary initialization in assignment operator.
Optimize for the nominal case by not checking whether
container is empty in clear().
Re-order test in _M_insert() to improve performance.
Move initialization of new node's left & right pointers to
src/tree.cc to where new node's colour is initialized
and to reduce the amount of inline code.
Use _M_leftmost() and _M_end() to improve readability where
appropriate.
Create separate classes for non-constant and constant
iterators to clarify code, avoid extra template parameters and
casting away constness.
2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (sources): Add list.cc, tree.cc.
* src/stl_tree.cc: Move to...
* src/tree.cc: ...here.
* src/list.cc: Add.
* config/linker-map.gnu: Tweaks.
* testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
* testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
* bits/stl_vector.h: Column wrap comments.
From-SVN: r75515
2004-01-07 20:55:06 +00:00
Joseph Myers
85b58ca564
re PR c/12165 (Typedef'ed variables ignore typedef's const qualifier)
...
PR c/12165
* c-decl.c (grokdeclarator): Take type qualifiers of typedefed
array type from the array element type.
testsuite:
* gcc.dg/array-quals-1.c, gcc.dg/c90-idem-qual-3.c,
gcc.dg/c99-idem-qual-3.c: New tests.
From-SVN: r75514
2004-01-07 19:40:03 +00:00
Andreas Tobler
51dc0a0aad
re PR libgcj/13011 (gij -jar simple.jar generates: Exception during runtime initialization)
...
2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
PR libgcj/13011:
* libjava.jar/simple.jar: Add a working MANIFEST.MF.
From-SVN: r75513
2004-01-07 19:54:00 +01:00
Michael Koch
40f8ee2d8d
Array.java: Merged documentation with classpath.
...
2004-01-07 Michael Koch <konqueror@gmx.de>
* java/lang/reflect/Array.java: Merged documentation with classpath.
From-SVN: r75512
2004-01-07 18:46:18 +00:00
Andreas Tobler
6838645e85
jartool.c (make_manifest): Fix off-by-one bug when creating an empty MANIFEST.MF.
...
2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
* jartool.c (make_manifest): Fix off-by-one bug when creating
an empty MANIFEST.MF.
From-SVN: r75511
2004-01-07 19:46:04 +01:00
Michael Koch
9b773289f8
2004-01-07 Michael Koch <konqueror@gmx.de>
...
* java/text/CollationElementIterator.java
(textIndex): Renamed from index.
* java/text/CollationKey.java
(collator): New member.
(CollationKey): New argument for parent collator.
(equals): Check for same collator, source string and key array.
* java/text/RuleBasedCollator.java:
Reformated.
(RuleBasedCollator): Don't re-initialize frenchAccents with default
value.
(getCollationElementIterator): Rewritten.
(getCollationKey): Added new argument to CollationKey constructor.
From-SVN: r75510
2004-01-07 18:40:08 +00:00
Loren J. Rittle
677e7ddcee
(re-open) PR libstdc++/12658
...
(re-open) PR libstdc++/12658
* src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
(locale::global): Likewise.
From-SVN: r75509
2004-01-07 17:40:45 +00:00
Paolo Carlini
d8f5bd5016
9318-in.cc: Remove redundant #include.
...
2004-01-07 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
Remove redundant #include.
* testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
re-enable normal testing.
* testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
#include.
* testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
More properly, #include <locale>.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
Remove redundant #include.
* testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
redundant DejaGnu directive.
* testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
redundant #include.
From-SVN: r75508
2004-01-07 17:13:51 +00:00
Michael Koch
26067b8be8
2004-01-07 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/DatagramChannelImpl.java
(blocking): Removed.
(DatagramChannelImpl): Call configureBlocking().
(implConfigureBlocking): Dont initialize blocking.
* gnu/java/nio/ServerSocketChannelImpl.java
(blocking): Removed.
(ServerSocketChannelImpl): Call configureBlocking().
(implConfigureBlocking): Dont initialize blocking.
* gnu/java/nio/SocketChannelImpl.java
(blocking): Removed.
(SocketChannelImpl): Call configureBlocking().
(implConfigureBlocking): Dont initialize blocking.
(connect): Use isBlocking().
* java/nio/channels/spi/AbstractSelectableChannel.java
(configureBlocking): Use blockingLock() instead of LOCK.
Set blocking after successfully called implConfigureBlocking().
(register): Use blockingLock() instead of LOCK.
From-SVN: r75507
2004-01-07 16:51:49 +00:00
Michael Koch
89e4eb2a34
ServerSocket.java (isBound): Fixed documentation.
...
2004-01-07 Michael Koch <konqueror@gmx.de>
* java/net/ServerSocket.java (isBound): Fixed documentation.
From-SVN: r75506
2004-01-07 16:37:45 +00:00
Sascha Brawer
b3db7ef158
DefaultBoundedRangeModel.java: Documented API.
...
2004-01-07 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/DefaultBoundedRangeModel.java: Documented API.
(changeEvent): Create event object on demand.
(DefaultBoundedRangeModel, toString, setValue, setExtent,
setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
fireStateChanged): Re-written.
* javax/swing/event/EventListenerList.java: Reformatted, document
typical usage.
(toString): Implemented.
(getListeners): Re-written.
(remove): Re-written.
(add): Re-written.
(NO_LISTENERS): New singleton field.
(listenerList): Declare as transient; document.
(serialVersionUID): Document.
(getListenerCount(Class)): More efficient implementation,
also accepts null argument. Improve Javadoc.
(getListenerCount()): Remove unnecessary cast; docfix.
* javax/swing/undo/UndoableEditSupport.java:
Re-format, document.
(UndoableEditSupport): Set realSource field. Improve documentation.
(_postEdit): Iterate over cloned listener vector.
(toString): Don't emit realSource.
(beginUpdate, endUpdate): Support nested updates.
(postEdit): Use compound edit if present.
From-SVN: r75505
2004-01-07 14:42:04 +00:00
Alan Modra
b48a0c1869
* gcc.dg/winline-7.c: Don't cast void * to int.
...
From-SVN: r75503
2004-01-07 23:10:42 +10:30
Benjamin Kosnik
b61f9bf039
check_performance: Use -pthread.
...
2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
Stefan Olsson <stefan@snon.net>
* scripts/check_performance: Use -pthread.
* testsuite/performance/allocator.cc: Tweaks, add list.
* testsuite/performance/allocator_thread.cc: New.
Co-Authored-By: Stefan Olsson <stefan@snon.net>
From-SVN: r75499
2004-01-07 05:59:19 +00:00
Jerry Quinn
9a01c9b061
locale_facets.h: Document public classes and functions.
...
2003-01-06 Jerry Quinn <jlquinn@optonline.net>
* include/bits/locale_facets.h: Document public classes and
functions.
* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
Add comment.
From-SVN: r75498
2004-01-07 05:22:37 +00:00
Alan Modra
93c9d1bae6
rs6000.c (rs6000_dbx_register_number): New function.
...
* config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
* config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
* config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
(DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
* config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
From-SVN: r75497
2004-01-07 11:51:28 +10:30
Eric Christopher
deae8de664
mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
...
2004-01-06 Eric Christopher <echristo@redhat.com>
* config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
(DWARF2_DEBUGGING_INFO): Define.
(PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
* config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
* config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
for irix as.
(SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
* config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
* config/mips/iris5gas.h: Ditto.
(DBX_DEBUGGING_INFO): Remove.
(DWARF2_DEBUGGING_INFO): Ditto.
(MIPS_DEBUGGING_INFO): Ditto.
(PREFERRED_DEBUGGING_TYPE): Ditto.
* config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
(PREFERRED_DEBUGGING_TYPE): Ditto.
(SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
* config/mips/elf64.h: Ditto.
From-SVN: r75496
2004-01-07 00:52:32 +00:00
GCC Administrator
470ea489e3
Daily bump.
...
From-SVN: r75493
2004-01-07 00:16:06 +00:00
Graydon Hoare
257dd2808c
Container.java (swapComponents): Add forgotten function, required for JLayeredPane change.
...
2004-01-06 Graydon Hoare <graydon@redhat.com>
* java/awt/Container.java (swapComponents): Add forgotten
function, required for JLayeredPane change.
From-SVN: r75491
2004-01-07 00:11:51 +00:00
Geoffrey Keating
084f5a3539
t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
...
* config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
(TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
* config/rs6000/darwin-ldouble.c: New.
From-SVN: r75490
2004-01-06 23:49:39 +00:00
Geoffrey Keating
550d138775
emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for constants.
...
* emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
for constants.
(constant_subword): Delete.
* rtl.h (constant_subword): Delete prototype.
(immed_double_const): Is not in varasm.c.
* simplify-rtx.c (simplify_immed_subreg): New.
(simplify_subreg): Use simplify_immed_subreg.
From-SVN: r75487
2004-01-06 22:51:00 +00:00
Jan Hubicka
fed2b31685
makefile.in (stageprofile_flags_to_pass): use -fprofile-generate.
...
* makefile.in (stageprofile_flags_to_pass): use -fprofile-generate.
(stagefeedback_flags_to_pass): use -fprofile-use.
From-SVN: r75486
2004-01-06 22:49:44 +00:00
Geoffrey Keating
0c90aa3c5c
rs6000.md (floatsitf2): Use expand_float rather than trying to generate RTL directly.
...
* config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
than trying to generate RTL directly.
(fix_trunctfsi2): Use expand_fix rather than trying to generate
RTL directly.
From-SVN: r75485
2004-01-06 21:03:06 +00:00
Michael Koch
5f383ba58b
CollationElementIterator.java: Reformated.
...
2004-01-06 Michael Koch <konqueror@gmx.de>
* java/text/CollationElementIterator.java: Reformated.
(CollationElementIterator): Changed order of arguments.
* java/text/RuleBasedCollator.java
(RuleBasedCollator): Merged class documentation.
(CollationElement): Added documentation.
(compare): Reformated, renamed arguments.
(equals): Likewise.
(getCollationElementIterator): Likewise.
(getCollationKey): Likewise.
From-SVN: r75484
2004-01-06 20:19:31 +00:00
Geoffrey Keating
64d961b859
* dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
...
From-SVN: r75483
2004-01-06 20:06:12 +00:00
David Edelsohn
72b385617a
xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each function into a separate macro.
...
* config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
function into a separate macro.
(read_only_data_section): Add void argument.
(private_data_section): Same.
(read_only_private_data_section): Same.
(toc_section): Same.
From-SVN: r75482
2004-01-06 14:49:26 -05:00
Jan Hubicka
0aaae060e1
* invoke.texi: Remove typo in last change.
...
From-SVN: r75479
2004-01-06 18:26:12 +00:00
Graydon Hoare
68f14fb08a
JLayeredPane.java: Fix semantics, add javadocs.
...
2004-01-06 Graydon Hoare <graydon@redhat.com>
* javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
From-SVN: r75478
2004-01-06 18:02:23 +00:00
Graydon Hoare
68dad68725
missing changelog entry
...
From-SVN: r75477
2004-01-06 17:54:08 +00:00
Jan Hubicka
9a60938822
re PR target/10301 (Side effects of architecture specific flags are not documented.)
...
PR target/10301
* config.gcc: Accept opteron and athlon-64 as variants
of k8.
* i386.c (override_options): Likewise.
* invoke.texi (i386 -mtune): Expand documentation.
From-SVN: r75476
2004-01-06 17:31:10 +00:00
Kazu Hirata
5d3cc25206
alias.c: Fix comment typos.
...
* alias.c: Fix comment typos.
* builtins.c: Likewise.
* cfg.c: Likewise.
* df.c: Likewise.
* dominance.c: Likewise.
* dwarf2out.c: Likewise.
* emit-rtl.c: Likewise.
* expr.c: Likewise.
* final.c: Likewise.
* fold-const.c: Likewise.
* gcse.c: Likewise.
* genattrtab.c: Likewise.
* genrecog.c: Likewise.
* gensupport.c: Likewise.
* ggc-zone.c: Likewise.
* integrate.c: Likewise.
* local-alloc.c: Likewise.
* loop.c: Likewise.
* recog.c: Likewise.
* regmove.c: Likewise.
* reg-stack.c: Likewise.
* reorg.c: Likewise.
* rtlanal.c: Likewise.
* rtl.h: Likewise.
* sched-ebb.c: Likewise.
* simplify-rtx.c: Likewise.
* toplev.c: Likewise.
* varasm.c: Likewise.
From-SVN: r75475
2004-01-06 16:51:21 +00:00
Kazu Hirata
95ea367d2d
install.texi: Fix typos.
...
* doc/install.texi: Fix typos.
* doc/invoke.texi: Likewise.
* doc/md.texi: Likewise.
From-SVN: r75474
2004-01-06 16:21:17 +00:00
Michael Koch
a023ec34d1
Connection.java: Reformated copyright.
...
2004-01-06 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/file/Connection.java:
Reformated copyright.
(hdrHash): Removed.
(hdrVec): Removed.
(gotHeaders): Removed.
(getHeaderField): Removed.
(getHeaderField): Removed.
(getHeaderFieldKey): Removed.
(getKey): Removed.
(getField): Removed.
(getHeaders): Removed.
From-SVN: r75473
2004-01-06 15:00:11 +00:00