Roger Sayle [Thu, 22 Jan 2004 12:44:54 +0000 (12:44 +0000)]
rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
* rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
(subreg_lsb): Change to call new subreg_lsb_1 helper function.
* rtl.h (subreg_lsb_1): Prototype here.
* simplify-rtx.c (simplify_subreg): Optimize subregs of zero and
sign extensions.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r76352
Kazu Hirata [Thu, 22 Jan 2004 11:50:01 +0000 (11:50 +0000)]
tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the macro need not be defined if...
* doc/tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the
macro need not be defined if jump-tables should contain
relative addresses only when -fPIC or -fPIC is in effect.
From-SVN: r76350
Jan Hubicka [Thu, 22 Jan 2004 11:35:58 +0000 (12:35 +0100)]
alias.c (reg_base_value): Turn into varray.
* alias.c (reg_base_value): Turn into varray.
(reg_base_value_size): Kill.
(old_reg_base_value): New deletable varray.
(alias_invariant_size): New variable.
(REG_BASE_VALUE): Update to use varray.
(find_base_value): Likewise.
(record_set): Likewise.
(record_base_value): Likewise.
(memrefs_conflict_p): Likewise.
(record_set): Likewise
(record_base_value): Likewise.
(memrefs_conflict_p): Use alias_invariant_size.
(init_alias_analysis): Use varray; set alias_invariant_size;
rescale other arrays to be sized by maxreg.
(end_alias_analysis): Save reg_base_value; clear alias_invariant_size.
From-SVN: r76349
Eric Botcazou [Thu, 22 Jan 2004 11:15:37 +0000 (12:15 +0100)]
sparc.c (function_arg_slotno): Use FLOAT_TYPE_P to detect FP fields in structures.
* config/sparc/sparc.c (function_arg_slotno): Use
FLOAT_TYPE_P to detect FP fields in structures.
(function_arg_record_value_1): Likewise.
(function_arg_record_value_2): Likewise.
From-SVN: r76346
Jan Hubicka [Thu, 22 Jan 2004 10:52:20 +0000 (11:52 +0100)]
function.c (allocate_struct_function): Do not initialize expr, emit and varasm.
* function.c (allocate_struct_function): Do not initialize expr, emit
and varasm.
(prepare_function_start): Do it here.
* c-parse.in (maybe_type_qual): Do not produce line number notes.
From-SVN: r76345
Graydon Hoare [Thu, 22 Jan 2004 09:54:19 +0000 (09:54 +0000)]
2004-01-22 Graydon Hoare <graydon@redhat.com>
* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
* gnu/java/awt/peer/gtk/GdkGlyphVector.java:
Predicate static initialization on GtkToolkit.useGraphics2D().
* java/awt/Component.java (processPaintEvent): Consume event.
* javax/swing/AbstractButton.java: Reimplement, document.
* javax/swing/DefaultButtonModel.java: Reimplement, document.
* javax/swing/JComponent.java (paint): Use double buffer.
(listenerList): Enable member.
* javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
* javax/swing/JToggleButton.java
(JToggleButton): Modify model constructor.
* javax/swing/SwingUtilities.java
(layoutCompoundLabel): Adjust arithmetic.
* javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
* javax/swing/plaf/basic/BasicGraphicsUtils.java
(getPreferredButtonSize): Include margins in calculation.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
Receive up events from subordinate layout component.
From-SVN: r76344
Eric Botcazou [Thu, 22 Jan 2004 09:33:24 +0000 (10:33 +0100)]
re PR target/13559 (deviation from the psABI for small structures)
PR target/13559
* config/sparc/sparc.c (function_arg_record_value_3): Revert
to 'word_mode' once the first slot has been filled.
From-SVN: r76342
Eric Botcazou [Thu, 22 Jan 2004 09:15:50 +0000 (09:15 +0000)]
sparc.c (function_arg_record_value_1): Fix computation of the number of integer registers required.
* config/sparc/sparc.c (function_arg_record_value_1): Fix
computation of the number of integer registers required.
From-SVN: r76339
Kazu Hirata [Thu, 22 Jan 2004 03:32:20 +0000 (03:32 +0000)]
i386.md: Simplify certain comparisons of const_int.
* config/i386/i386.md: Simplify certain comparisons of
const_int.
From-SVN: r76335
Andrew Pinski [Thu, 22 Jan 2004 02:44:37 +0000 (02:44 +0000)]
re PR target/13785 (powerpc64 long long ICE)
2004-01-21 Andrew Pinski <apinski@apple.com>
PR target/13785
* gcc.dg/
20030121-1.c: New test.
2004-01-21 Andrew Pinski <apinski@apple.com>
PR target/13785
* config/rs6000/rs6000.md (call_value): Force operand
1 not operand 0 into a register.
From-SVN: r76332
Thomas Fitzsimmons [Thu, 22 Jan 2004 00:22:27 +0000 (00:22 +0000)]
Component.java (show): Set visible to true before showing the peer.
2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/Component.java (show): Set visible to true before
showing the peer.
From-SVN: r76325
GCC Administrator [Thu, 22 Jan 2004 00:16:52 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r76322
Kazu Hirata [Thu, 22 Jan 2004 00:15:25 +0000 (00:15 +0000)]
cpperror.c, [...]: Update copyright.
* cpperror.c, cpptrad.c, longlong.h, params.def, rtl.def,
unwind-dw2-fde.h: Update copyright.
From-SVN: r76319
Ulrich Weigand [Thu, 22 Jan 2004 00:05:36 +0000 (00:05 +0000)]
20030123-1.c: Add -fno-omit-frame-pointer option.
* gcc.dg/
20030123-1.c: Add -fno-omit-frame-pointer option. Do not
clobber frame pointer register in asm statement.
From-SVN: r76317
Kazu Hirata [Thu, 22 Jan 2004 00:03:52 +0000 (00:03 +0000)]
* optimize.c, typeck2.c: Update copyright.
From-SVN: r76316
R. Kelley Cook [Wed, 21 Jan 2004 22:25:02 +0000 (22:25 +0000)]
gcc_release (build_sources): Delete call to make f77.rebuilt.
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76314
John David Anglin [Wed, 21 Jan 2004 21:52:35 +0000 (21:52 +0000)]
pa-protos.h: Update copyright.
* pa-protos.h: Update copyright.
* pa.h: Likewise.
* pa.md: Likewise.
From-SVN: r76308
Kazu Hirata [Wed, 21 Jan 2004 21:00:41 +0000 (21:00 +0000)]
re PR bootstrap/13735 (avr-elf ICE while building libgcc)
PR bootstrap/13735
* config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
register as pointer after reload.
From-SVN: r76306
Andrew Pinski [Wed, 21 Jan 2004 20:53:43 +0000 (12:53 -0800)]
re PR target/12308 ('387 mode switching clobbers flags)
2004-01-21 Caroline Tice <ctice@apple.com>
PR target/12308
* config/i386/i386.md (fix_truncxfdi2): Add clause to clobber
flags register.
(fix_truncdfdi2): Likewise.
(fix_truncsfdi2): Likewise.
(*fix_truncdi_1): Likewise.
(fix_truncxfsi2): Likewise.
(fix_truncdfsi2): Likewise.
(fix_truncsfsi2): Likewise.
(*fix_truncsi_1): Likewise.
(fix_truncxfhi2): Likewise.
(fix_truncdfhi2): Likewise.
(fix_truncsfhi2): Likewise.
(*fix_trunchi_1): Likewise.
From-SVN: r76305
Kazu Hirata [Wed, 21 Jan 2004 20:52:28 +0000 (20:52 +0000)]
Make-lang.in, [...]: Update copyright.
* Make-lang.in, call.c, class.c, decl2.c, except.c, expr.c,
init.c, mangle.c, typeck.c: Update copyright.
From-SVN: r76304
Caroline Tice [Wed, 21 Jan 2004 20:45:25 +0000 (20:45 +0000)]
i386.md (fix_truncxfdi2): Add clause to clobber flags register.
2004-01-21 Caroline Tice <ctice@apple.com>
* config/i386/i386.md (fix_truncxfdi2): Add clause to clobber
flags register.
(fix_truncdfdi2): Likewise.
(fix_truncsfdi2): Likewise.
(*fix_truncdi_1): Likewise.
(fix_truncxfsi2): Likewise.
(fix_truncdfsi2): Likewise.
(fix_truncsfsi2): Likewise.
(*fix_truncsi_1): Likewise.
(fix_truncxfhi2): Likewise.
(fix_truncdfhi2): Likewise.
(fix_truncsfhi2): Likewise.
(*fix_trunchi_1): Likewise.
From-SVN: r76303
Kazu Hirata [Wed, 21 Jan 2004 20:40:04 +0000 (20:40 +0000)]
alias.c, [...]: Update copyright.
* alias.c, basic-block.h, c-common.c, c-common.h,
c-cppbuiltin.c, c-opts.c, c-pragma.c, c-pretty-print.c,
calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c,
combine.c, cppcharset.c, cpphash.h, cppinit.c, cpplib.c,
cpplib.h, cppmacro.c, crtstuff.c, cselib.c, cselib.h,
defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c,
expr.h, fix-header.c, function.h, gcc.c, gcse.c, genattrtab.c,
genautomata.c, genconditions.c, genemit.c, genflags.c,
gengtype.c, gengtype.h, genopinit.c, genrecog.c, gensupport.c,
ggc-zone.c, graph.c, haifa-sched.c, input.h, integrate.c,
langhooks-def.h, langhooks.c, langhooks.h, line-map.c,
line-map.h, local-alloc.c, optabs.c, optabs.h, postreload.c,
ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c,
rtl.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h,
target.h, targhooks.c, toplev.h, tree-inline.c, unwind-pe.h,
unwind.h, varray.c, varray.h: Update copyright.
From-SVN: r76302
Caroline Tice [Wed, 21 Jan 2004 20:23:51 +0000 (20:23 +0000)]
Add self to MAINTAINERS.
From-SVN: r76301
Kazu Hirata [Wed, 21 Jan 2004 20:19:23 +0000 (20:19 +0000)]
coff.h: Update copyright.
* config/h8300/coff.h: Update copyright.
* config/h8300/elf.h: Likewise.
* config/h8300/h8300-protos.h: Likewise.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
From-SVN: r76300
Kim Ho [Wed, 21 Jan 2004 20:11:08 +0000 (20:11 +0000)]
GtkFramePeer.java (postConfigureEvent): Fix comments.
2004-01-21 Kim Ho <kho@redhat.com>
* gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
Fix comments.
(removeMenuBarPeer): Make package private.
(setMenuBarPeer): Make package private.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(menubar_resize_cb): Mark attributes unused.
(getMenuBarHeight): ditto.
From-SVN: r76299
John David Anglin [Wed, 21 Jan 2004 20:08:22 +0000 (20:08 +0000)]
inclhack.def (hpux10_stdio_declarations, [...]): New hacks.
* fixinc/inclhack.def (hpux10_stdio_declarations, ultrix_const3,
ultrix_locale, ultrix_stdlib, ultrix_strings, ultrix_sys_time,
ultrix_unistd): New hacks.
* fixinc/tests/base/stdio.h (HPUX10_STDIO_DECLARATIONS_CHECK,
ULTRIX_CONST2_CHECK): Add checks.
* fixinc/tests/base/stdlib.h (ULTRIX_STDLIB_CHECK): Likewise.
* fixinc/tests/base/strings.h (ULTRIX_STRINGS2_CHECK): Likewise.
* fixinc/tests/base/unistd.h (ULTRIX_UNISTD_CHECK): Likewise.
* fixinc/tests/base/sys/time.h (ULTRIX_SYS_TIME_CHECK): Likewise.
* fixinc/tests/base/locale.h: New file.
* fixinc/fixincl.x: Rebuilt.
From-SVN: r76298
Gerald Pfeifer [Wed, 21 Jan 2004 19:05:30 +0000 (19:05 +0000)]
* crontab: Make 3.4 snapshots from the new 3.4 release branch.
From-SVN: r76295
Andreas Jaeger [Wed, 21 Jan 2004 17:26:08 +0000 (18:26 +0100)]
extend.texi (Extended Asm): Clarify memory clobber.
2004-01-21 Andreas Jaeger <aj@suse.de>
Michael Matz <matz@suse.de>
* doc/extend.texi (Extended Asm): Clarify memory clobber.
Co-Authored-By: Michael Matz <matz@suse.de>
From-SVN: r76288
Jakub Jelinek [Wed, 21 Jan 2004 16:01:26 +0000 (17:01 +0100)]
crtstuff.c (frame_dummy, [...]): Call _Jv_RegisterClasses through a function pointer.
* crtstuff.c (frame_dummy, __do_global_ctors_1): Call
_Jv_RegisterClasses through a function pointer.
From-SVN: r76287
Falk Hueffner [Wed, 21 Jan 2004 15:52:47 +0000 (16:52 +0100)]
re PR target/12898 (Tru64 UNIX bootstrap failure: ICE in gen_reg_rtx, at emit-rtl.c:819)
PR target/12898
* config/alpha/alpha.c (alpha_emit_set_const_1): If
no_new_pseudos, use gen_rtx_SET directly for SImode constants
which need multiple instructions to emit.
* testsuite/gcc.c-torture/compile/
20040121-1.c: New test.
From-SVN: r76283
Paolo Carlini [Wed, 21 Jan 2004 15:43:45 +0000 (15:43 +0000)]
basic_string.tcc (append(const basic_string&)): Revert previous change.
2004-01-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (append(const basic_string&)):
Revert previous change.
(append(const basic_string&, size_type, size_type)): Revert
previous change, use _M_check and _M_limit.
From-SVN: r76282
David Jee [Wed, 21 Jan 2004 14:39:15 +0000 (14:39 +0000)]
2004-01-21 David Jee <djee@redhat.com>
* java/awt/Container.java
(LightweightDispatcher.handleEvent): Add an extra check to avoid
dispatching MOUSE_ENTERED event twice. Translate the point for
the mouse event target before dispatching the event.
From-SVN: r76278
Inaoka Kazuhiro [Wed, 21 Jan 2004 12:16:07 +0000 (12:16 +0000)]
* config/m32r/m32r.h (CPP_SPEC): Define.
From-SVN: r76275
Paolo Carlini [Wed, 21 Jan 2004 11:29:51 +0000 (11:29 +0000)]
basic_string.h (_M_check): Change to return a checked __pos and take an additional const char* argument.
2004-01-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (_M_check): Change to return
a checked __pos and take an additional const char* argument.
(_M_fold): Rename to _M_limit, change to return a size_type,
corresponding to the __off limited to the actual length.
(insert(size_type, size_type, _CharT)): Update call, call
replace.
(insert(iterator, _CharT)): Call replace(iterator, iterator,
size_type, _CharT) instead.
(erase(size_type, size_type)): Update calls.
(replace(size_type, size_type, size_type, _CharT)): Ditto.
(substr(size_type, size_type)): Use _M_check.
* include/bits/basic_string.tcc (basic_string(const basic_string&,
size_type, size_type)): Update calls.
(basic_string(const basic_string&, size_type, size_type,
const _Alloc&)): Ditto.
(assign(const basic_string&, size_type, size_type)): Use the
new _M_check and _M_limit.
(insert(size_type, const basic_string&, size_type, size_type):
Ditto.
(insert(size_type, const _CharT*, size_type)): Ditto.
(replace(size_type, size_type, const _CharT*, size_type): Ditto.
(replace(size_type, size_type, const basic_string&,
size_type, size_type)): Ditto.
(append(const basic_string&)): Ditto.
(append(const basic_string&, size_type, size_type)): Ditto.
(copy(_CharT*, size_type, size_type)): Ditto.
(compare(size_type, size_type, const basic_string&)): Ditto.
(compare(size_type, size_type, const basic_string&,size_type,
size_type)): Ditto.
(compare(size_type, size_type, const _CharT*)): Ditto.
(compare(size_type, size_type, const _CharT*, size_type)): Ditto.
From-SVN: r76274
Arnaud Charlet [Wed, 21 Jan 2004 10:35:18 +0000 (11:35 +0100)]
[multiple changes]
2004-01-21 Javier Miranda <miranda@gnat.com>
* exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master
entity if already built in the current scope.
* exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity
reminder in internal scopes. Required for nested limited aggregates.
2004-01-21 Doug Rupp <rupp@gnat.com>
* Makefile.in (hyphen): New variable, default value '-'. Set to '_' on
VMS. Replace all occurences of libgnat- and libgnarl- with
libgnat$(hyphen) and libgnarl$(hyphen).
Fixed shared library build problem on VMS.
2004-01-21 Robert Dewar <dewar@gnat.com>
* mlib-prj.adb: Minor reformatting
2004-01-21 Thomas Quinot <quinot@act-europe.fr>
* prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing
'constant' keywords for declaration of pointers that are not modified.
* exp_pakd.adb: Fix English in comment.
2004-01-21 Ed Schonberg <schonberg@gnat.com>
PR ada/10889
* sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype,
copy all attributes of the parent, including the foreign language
convention.
2004-01-21 Sergey Rybin <rybin@act-europe.fr>
PR ada/10565
* sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check
for 'delay until' statement.
From-SVN: r76271
Zack Weinberg [Wed, 21 Jan 2004 10:32:10 +0000 (10:32 +0000)]
c-decl.c (merge_decls): Kill different_binding_level and different_tu arguments; simplify throughout.
* c-decl.c (merge_decls): Kill different_binding_level and
different_tu arguments; simplify throughout.
(duplicate_decls): Likewise.
(pushdecl, merge_translation_unit_decls): Update calls to
duplicate_decls.
testsuite:
* gcc.dg/noncompile/
20020213-1.c: Add another dg-warning line.
From-SVN: r76269
Zdenek Dvorak [Wed, 21 Jan 2004 07:41:49 +0000 (08:41 +0100)]
* parser.c (cp_parser_class_specifier): Prevent garbage collection.
From-SVN: r76264
Michael Ritzert [Wed, 21 Jan 2004 06:11:09 +0000 (07:11 +0100)]
ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead of the LHS.
2004-01-21 Michael Ritzert <ritzert@t-online.de>
* ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead
of the LHS.
From-SVN: r76261
Kaveh R. Ghazi [Wed, 21 Jan 2004 02:53:20 +0000 (02:53 +0000)]
Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and $(SYSTEM_H).
* Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and
$(SYSTEM_H).
(print-rtl1.o): Depend on $(SYSTEM_H).
From-SVN: r76253
Kelley Cook [Wed, 21 Jan 2004 02:01:55 +0000 (02:01 +0000)]
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
Bruce Korb [Wed, 21 Jan 2004 00:23:04 +0000 (00:23 +0000)]
reorder struct exception hacks and only bypass glibc for proper C++ handling
From-SVN: r76246
GCC Administrator [Wed, 21 Jan 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r76243
Bruce Korb [Tue, 20 Jan 2004 23:49:34 +0000 (23:49 +0000)]
reorder struct exception hacks and only bypass glibc for proper C++ handling
From-SVN: r76240
Roger Sayle [Tue, 20 Jan 2004 22:59:59 +0000 (22:59 +0000)]
fold-const.c (fold_convert): Rename to fold_convert_const.
* fold-const.c (fold_convert): Rename to fold_convert_const.
(fold_convert_const): Change arguments to take a tree_code,
a type and the operand/expression to be converted. Return
NULL_TREE if no simplification is possible. Add support for
FIX_CEIL_EXPR and FIX_FLOOR_EXPR in addition to FIX_TRUNC_EXPR.
(fold): Handle FIX_CEIL_EXPR and FIX_FLOOR_EXPR.
Adjust call to fold_convert to match new fold_convert_const.
Avoid modifying the tree passed to fold in-place.
From-SVN: r76237
Alan Modra [Tue, 20 Jan 2004 22:29:24 +0000 (22:29 +0000)]
sysv4.h (DWARF2_FRAME_REG_OUT): Define.
* config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define.
* dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT.
* doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document.
From-SVN: r76235
John David Anglin [Tue, 20 Jan 2004 22:20:07 +0000 (22:20 +0000)]
pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
* pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
* pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d):
Likewise. Handle frames larger than 0x7fffffff on 64-bit ports.
(emit_move_sequence): Check scratch_reg first in various if statements.
Extend source simplification to handle all 64-bit CONST_INTs.
(pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing
frame size.
(hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for
frame offset calculations.
* pa.h (NEW_HP_ASSEMBLER): Add comment.
(MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT,
LEGITIMATE_64BIT_CONST_INT_P): Define.
(LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P. Treat
any CONST_INT as legitimate during and after reload.
(VAL_32_BITS_P, INT_32_BITS): Define.
(LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets.
From-SVN: r76234
Jan Hubicka [Tue, 20 Jan 2004 22:16:59 +0000 (23:16 +0100)]
emit-rtl.c (verify_rtx_sharing, [...]): Clobbers containing hard regs are shared.
* emit-rtl.c (verify_rtx_sharing, copy_insn_1,
emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers
containing hard regs are shared.
(gen_hard_reg_clobber): New function.
(hard_reg_clobbers): New array.
* genemit.c (gen_exp): Use gen_hard_reg_clobber.
(copy_rtx): Do not copy clobbers containing hard regs.
* rtl.h (gen_hard_reg_clobber): Declare.
From-SVN: r76233
Jan Hubicka [Tue, 20 Jan 2004 22:08:17 +0000 (23:08 +0100)]
varray.c: Include hashtab.h
* varray.c: Include hashtab.h
(varray_descriptor): New structure.
(hash_descriptor, eq_descriptor, varray_descriptor,
print_statistics): New static functions
(varray_init, varray_grow): Update statistics
(dump_varray_statistics): New function.
* varray.h (dump_varray_statistics): Declare.
* toplev.c (finalize): Call it.
* Makefile.in (varray.o): Add dependency.
From-SVN: r76232
Jakub Jelinek [Tue, 20 Jan 2004 21:25:27 +0000 (22:25 +0100)]
Makefile.am (lib_org_w3c_dom_la_LIBADD, [...]): New.
* Makefile.am (lib_org_w3c_dom_la_LIBADD,
lib_org_w3c_dom_la_LDFLAGS): New.
(lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
* Makefile.in: Rebuilt.
From-SVN: r76231
Thomas Fitzsimmons [Tue, 20 Jan 2004 21:24:09 +0000 (21:24 +0000)]
GtkComponentPeer.java (setBounds): Calculate proper offsets for heavyweight components packed in lightweight...
2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
Calculate proper offsets for heavyweight components packed in
lightweight containers.
From-SVN: r76230
Thomas Fitzsimmons [Tue, 20 Jan 2004 21:05:39 +0000 (21:05 +0000)]
GtkTextFieldPeer.java, [...] (native create): Add width parameter.
2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
(native create): Add width parameter.
(create): Calculate text entry width based on current font's
metrics and number of columns. Set TextField's font if not
already set. Call native create.
(gtkEntryGetBorderWidth): New native method.
(gtkEntryGetSize): Remove method.
(getMinimumSize): Call minimumSize.
(getPreferredSize): Call preferredSize.
(minimumSize): Calculate minimum size based on backing
GtkEntry's borders, font metrics and number of columns.
(preferredSize): Likewise for preferred size.
(get_border_width): New static function.
From-SVN: r76228
Thomas Fitzsimmons [Tue, 20 Jan 2004 20:56:53 +0000 (20:56 +0000)]
GtkFramePeer.java (setResizable): Override GtkWindowPeer's setResizable method to account for menu bar height when...
2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
Override GtkWindowPeer's setResizable method to account for menu
bar height when setting the frame's size.
From-SVN: r76227
Jan Hubicka [Tue, 20 Jan 2004 20:36:18 +0000 (21:36 +0100)]
cselib.c: Include alloc-pool.h
* cselib.c: Include alloc-pool.h
(empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill.
(elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare.
(new_elt_list, new_elt_loc_list, unchain_one_elt_list,
unchain_one_elt_loc_list_pool, unchain_one_value,
new_cselib_val): Simplify using allocpool.
(cselib_init): Initialize allocpools.
(cselib_finish): Finish allocpools.
* Makefile.in (cselib.o): Depend on alloc-pool.h
From-SVN: r76226
Richard Sandiford [Tue, 20 Jan 2004 19:58:59 +0000 (19:58 +0000)]
mips.c (mips_load_call_address): Make the call insn use $gp if it could be calling a lazy binding stub.
* config/mips/mips.c (mips_load_call_address): Make the call insn
use $gp if it could be calling a lazy binding stub.
From-SVN: r76224
Kazu Hirata [Tue, 20 Jan 2004 18:29:24 +0000 (18:29 +0000)]
s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.
* config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.
(TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
(TARGET_STRUCT_VALUE_RTX): Likewise.
* config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove.
(PROMOTE_FUNCTION_RETURN): Remove.
(STRUCT_VALUE): Remove.
From-SVN: r76220
Denis Chertykov [Tue, 20 Jan 2004 17:38:44 +0000 (17:38 +0000)]
avr.h (BASE_REG_CLASS): Don't permit to use X register as pointer after reload.
* config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
register as pointer after reload.
From-SVN: r76216
Jason Merrill [Tue, 20 Jan 2004 17:01:28 +0000 (12:01 -0500)]
fix comment
From-SVN: r76215
Zdenek Dvorak [Tue, 20 Jan 2004 16:55:56 +0000 (17:55 +0100)]
re PR rtl-optimization/12440 (gcc 3.3.1 on i386 linux 2.4.22 crashes during compilation of quicktime4linux 2.0.0)
PR optimization/12440
* loop.c: Include ggc.h.
(loop_optimize): Run garbage collector between optimization of loops.
* Makefile.in (loop.o): Add GGC_H dependency.
From-SVN: r76213
Hartmut Penner [Tue, 20 Jan 2004 16:54:34 +0000 (16:54 +0000)]
* gcc.dg/ppc64-abi-2.c: New test.
From-SVN: r76212
Hartmut Penner [Tue, 20 Jan 2004 16:51:07 +0000 (16:51 +0000)]
* gcc/config/rs6000/rs6000.c (function_arg) Handle
vector register special in function without prototype.
(function_arg_advance): Vector parameters get always
GPRs allocated for the linux64 target.
From-SVN: r76211
Andrew Haley [Tue, 20 Jan 2004 15:18:33 +0000 (15:18 +0000)]
gcconfig.h (USE_MMAP): Define for all Linux.
2004-01-20 Andrew Haley <aph@redhat.com>
* include/private/gcconfig.h (USE_MMAP): Define for all Linux.
* configure.in: Comment change.
From-SVN: r76210
Steven Bosscher [Tue, 20 Jan 2004 12:11:14 +0000 (12:11 +0000)]
It's 2004 not 2004
From-SVN: r76206
Kazuhiro Inaoka [Tue, 20 Jan 2004 10:17:23 +0000 (10:17 +0000)]
(TARGET_M32R2). Test for TARGET_M32R2_MASK not TARGET_M32RX_MASK.
From-SVN: r76204
Eric Botcazou [Tue, 20 Jan 2004 07:38:18 +0000 (08:38 +0100)]
re PR target/13557 (deviation from the psABI for small structures)
PR target/13557
* config/sparc/sparc.c (function_arg): Reorder the cases.
From-SVN: r76202
Per Bothner [Tue, 20 Jan 2004 07:35:21 +0000 (23:35 -0800)]
Fix patch oops.
From-SVN: r76201
Stefan Olsson [Tue, 20 Jan 2004 06:35:21 +0000 (06:35 +0000)]
mt_allocator.h: If a thread...
2004-01-19 Stefan Olsson <stefan@snon.net>
* include/ext/mt_allocator.h: If a thread, when it dies, still has
memory on it's freelist this memory is not returned to global
list. Simplification of deallocate so that memory is always
returned to the calling thread id's freelist instead of to
global. Fix typos. Add volatile where appropriate.
From-SVN: r76200
Per Bothner [Tue, 20 Jan 2004 05:30:18 +0000 (21:30 -0800)]
Move cpp_reader's line_maps field to a shared global.
* cpphash.h (cpp_reader): Rename line_maps field to line_table
and change the type to a pointer rather than a struct.
* cppinit.c (cpp_push_main_field): Adjust accordingly.
* cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
Likewise.
* cppfiles.c (validate_pch): Likewise.
* cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
Likewise.
* cpperror.c (print_location): Likewise.
* cpplib.h (cpp_create_reader): New line_maps pointer parameter.
* cppinit.c (cpp_create_reader): Handle new parameter.
(cpp_destroy): Don't free line_maps - that's no longer our job.
* input.h (line_table): New variable.
* toplev.c (line_table): Declare variable.
(general_init): Initialize line_table.
* c-opts.c (c_common_init_options): Pass line_table to
cpp_create_reader.
* fix-header.c (read_scan_file): New local variable line_table.
Initialize, and pass it to cpp_create_reader.
* Makefile.in (LIBS, LIBDEPS): Add libcpp.a.
(C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a.
From-SVN: r76198
Per Bothner [Tue, 20 Jan 2004 05:17:48 +0000 (05:17 +0000)]
Implement a cache for linemap_lookup.
* line-map.h (struct_line_maps): Add cache field.
* line-map.c (linemap_init): Zero cache field.
(linemap_add): Set cache field to offset of newly allocated map.
(linemap_lookup): Use and set cache field.
From-SVN: r76197
Kaz Kojima [Tue, 20 Jan 2004 02:34:23 +0000 (02:34 +0000)]
re PR rtl-optimization/13567 ([sh] miscompiling calls.c)
PR optimization/13567
* cse.c (cse_basic_block): Call cse_insn with a non-null
libcall_insn for the last SET insn of a no-confilict block.
From-SVN: r76195
James A. Morrison [Tue, 20 Jan 2004 01:57:58 +0000 (01:57 +0000)]
treelang.exp: Fill out this file.
2004-01-18 James A. Morrison <ja2morri@uwaterloo.ca>
* lib/treelang.exp: Fill out this file.
* lib/treelang-dg.exp: New File.
treelang:
2004-01-18 James A. Morrison <ja2morri@uwaterloo.ca>
* compile/compile.exp: New File.
* compile/tabs.tree: Test whether the front end
compiles code with tabs in it.
From-SVN: r76194
Kelley Cook [Tue, 20 Jan 2004 01:52:02 +0000 (01:52 +0000)]
Makefile.in (target_noncanonical, [...]): Use immediate define instead of deferred.
gcc/
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (target_noncanonical, program_transform_name): Use
immediate define instead of deferred.
(GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
deferred backquote.
gcc/cp
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (CXX_INSTALL_NAME, GXX_INSTALL_NAME,
CXX_TARGET_INSTALL_NAME, GXX_TARGET_INSTALL_NAME): Define via a
immediate $(shell) instead of deferred backquote.
gcc/f
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (G77_INSTALL_NAME): Define via a immediate $(shell)
instead of deferred backquote.
gcc/java
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_TARGET_INSTALL_NAME,
GCJH_TARGET_INSTALL_NAME): Define via a immediate $(shell)
instead of deferred backquote.
From-SVN: r76193
Joseph Myers [Tue, 20 Jan 2004 01:38:27 +0000 (01:38 +0000)]
c-decl.c (c_init_decl_processing): Set pedantic_lvalues to true unconditionally.
* c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
true unconditionally.
* c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
Remove.
(build_unary_op, build_modify_expr): Don't handle extended
lvalues.
(build_component_ref, build_conditional_expr): Call non_lvalue
instead of pedantic_non_lvalue.
(build_c_cast): Don't condition use of non_lvalue on pedantic.
* fold-const.c (fold): Don't check pedantic directly for
COMPOUND_EXPR. Ensure that results for COMPOUND_EXPR are
passed to pedantic_non_lvalue.
* doc/extend.texi: Remove documentation of extended lvalues.
testsuite:
* gcc.c-torture/compile/981022-1.c: Remove.
* gcc.dg/array-5.c: Remove XFAIL.
* gcc.dg/sequence-pt-1.c: Remove test using extended lvalues.
* gcc.dg/cast-lvalue-1.c, gcc.dg/compound-lvalue-1.c,
gcc.dg/cond-lvalue-1.c: Update.
* gcc.dg/cast-lvalue-2.c: New test.
From-SVN: r76192
Loren J. Rittle [Tue, 20 Jan 2004 01:30:03 +0000 (01:30 +0000)]
10063-2.cc: Treat unbuffered.
* testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
* testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but
use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
From-SVN: r76191
GCC Administrator [Tue, 20 Jan 2004 00:16:49 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r76187
Mark Mitchell [Mon, 19 Jan 2004 22:10:31 +0000 (22:10 +0000)]
re PR c++/13651 (double error message when using incomplete types in a struct)
PR c++/13651
* parser.c (cp_parser_postfix_expression): When encountering
incomplete type on left-hand side of "->" or ".", treat the entire
expression as erroneous.
From-SVN: r76180
Roger Sayle [Mon, 19 Jan 2004 21:51:06 +0000 (21:51 +0000)]
re PR rtl-optimization/5263 (a & b & ~a & ~b not optimized)
PR optimization/5263
* simplify-rtx.c (associative_constant_p): Delete.
(simplify_associative_operation): Rewrite to linearize terms, and
attempt to simplify new term against both left and right subterms.
(simplify_binary_operation): Call swap_commutative_operands_p on
op0 and op1, not trueop0 and trueop1. Move the initialization of
trueop0 and trueop1 down to where first needed.
(simplify_relational_operation): Likewise.
* rtlanal.c (commutative_operand_precedence): Also order constant
operands using avoid_constant_pool_reference.
From-SVN: r76179
Mark Mitchell [Mon, 19 Jan 2004 21:24:46 +0000 (21:24 +0000)]
re PR c++/13592 (C++ parser regression)
PR c++/13592
* g++.dg/other/error1.C (class foo): Tweak error message.
From-SVN: r76177
Mark Mitchell [Mon, 19 Jan 2004 20:33:29 +0000 (20:33 +0000)]
re PR c++/13592 (C++ parser regression)
PR c++/13592
* call.c (build_field_call): Remove.
(n_build_method_call): Likewise.
(build_method_call): Likewise.
(build_new_method_call): Do not call build_field_call.
* class.c (n_build_method_call): Remove.
(print_class_statistics): Do not print it.
* cp-tree.h (build_method_call): Remove declaration.
(finish_object_call_expr): Likewise.
(build_new_1): Do not use build_method_call.
* parser.c (cp_parser_postfix_expression): Use finish_call_expr
when the function appearing on the right-hand-side of "." or "->"
is not actually a function.
* pt.c (tsubst_copy_and_build): Likewise.
* semantics.c (finish_object_call_expr): Remove.
PR c++/13592
* g++.dg/template/call2.C: New test.
From-SVN: r76173
Richard Henderson [Mon, 19 Jan 2004 19:49:33 +0000 (11:49 -0800)]
alpha.c (aligned_memory_operand): Check MEM_ALIGN, don't check memory mode.
* config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
don't check memory mode.
(unaligned_memory_operand): Likewise.
(reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
abort for op0 not MEM.
* config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
is not a reg, copy to a scratch first.
(aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
(reload_inqi, reload_inhi): Fix mode of op0.
(reload_inqi_help, reload_inhi_help, reload_outqi_help,
reload_outhi_help): Likewise. Use define_insn_and_split.
* config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
as well as $29 dead.
From-SVN: r76172
Eric Botcazou [Mon, 19 Jan 2004 19:17:50 +0000 (20:17 +0100)]
fnptr-by-value-1_x.c, [...]: Guard non-C99 tests with SKIP_COMPLEX_INT, SKIP_ATTRIBUTE and SKIP_ZERO_ARRAY.
* gcc.dg/compat/fnptr-by-value-1_x.c, scalar-by-value-1_y.c
scalar-by-value-3_x.c, scalar-by-value-3_y.c,
scalar-by-value-4_x.c, scalar-by-value-4_y.c,
scalar-return-1_x.c, scalar-return-2_y.c,
scalar-return-3_x.c, scalar-return-3_y.c,
scalar-return-4_x.c, scalar-return-4_y.c,
struct-align-1.h, struct-align-1_x.c,
struct-align-1_y.c, struct-align-2.h,
struct-align-2_x.c, struct-align-2_y.c,
struct-by-value-10_y.c, struct-by-value-11_x.c,
struct-by-value-11_y.c, struct-by-value-12_x.c,
struct-by-value-12_y.c, struct-by-value-13_x.c,
struct-by-value-13_y.c, struct-by-value-14_x.c,
struct-by-value-14_y.c, struct-by-value-15_x.c,
struct-by-value-15_y.c, struct-by-value-16_y.c,
struct-by-value-17_y.c, struct-by-value-18_y.c,
struct-by-value-19_y.c, struct-by-value-1_x.c,
struct-by-value-1_y.c, struct-by-value-20_y.c,
struct-by-value-2_x.c, struct-by-value-2_y.c,
struct-by-value-3_y.c, struct-by-value-4_x.c,
struct-by-value-4_y.c, struct-by-value-5_y.c,
struct-by-value-6_y.c, struct-by-value-7_y.c
struct-by-value-8_x.c, struct-by-value-8_y.c
struct-by-value-9_x.c, struct-by-value-9_y.c
struct-return-10_x.c, struct-return-10_y.c,
struct-return-19_x.c, struct-return-20_x.c
struct-return-2_x.c, struct-return-2_y.c
struct-return-3_x.c: Guard non-C99 tests with SKIP_COMPLEX_INT,
SKIP_ATTRIBUTE and SKIP_ZERO_ARRAY. Turns SKIPVA into SKIP_VA.
From-SVN: r76170
Matthias Klose [Mon, 19 Jan 2004 19:01:59 +0000 (19:01 +0000)]
libtool-version: Increased `current' to 6.
2004-01-19 Matthias Klose <doko@debian.org>
* libtool-version: Increased `current' to 6.
From-SVN: r76168
Kim Ho [Mon, 19 Jan 2004 18:41:52 +0000 (18:41 +0000)]
2004-01-19 Kim Ho <kho@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(connectJObject): Iterate through the vbox's children to find layout.
From-SVN: r76166
Fernando Nasser [Mon, 19 Jan 2004 18:22:29 +0000 (18:22 +0000)]
EventQueue.java (invokeAndWait): Use list-aware isDispatchThread method to replace wrong test condition.
* java/awt/EventQueue.java (invokeAndWait): Use list-aware
isDispatchThread method to replace wrong test condition.
From-SVN: r76165
Paolo Carlini [Mon, 19 Jan 2004 18:10:55 +0000 (18:10 +0000)]
debug.cc: Make sure all the names are prefixed with double (or single) underscore.
2004-01-19 Paolo Carlini <pcarlini@suse.de>
* src/debug.cc: Make sure all the names are prefixed with
double (or single) underscore.
From-SVN: r76163
Fernando Nasser [Mon, 19 Jan 2004 17:38:36 +0000 (17:38 +0000)]
EventQueue.java (pop): Prevent racing condition to add events to the queue out of order by acquiring...
* java/awt/EventQueue.java (pop): Prevent racing condition to add
events to the queue out of order by acquiring locks in the proper
order and not by releasing one before acquiring the other.
From-SVN: r76161
Fernando Nasser [Mon, 19 Jan 2004 17:32:29 +0000 (17:32 +0000)]
TestAWT.java (DialogWindow): Make text not visible so that dialog can be reused.
* gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
visible so that dialog can be reused.
From-SVN: r76160
Eric Botcazou [Mon, 19 Jan 2004 17:03:45 +0000 (18:03 +0100)]
alias-1.c: Add dg-warning for unsupported visibility attribute on sparc*-sun-solaris2.*.
* gcc.dg/tls/alias-1.c: Add dg-warning for unsupported visibility
attribute on sparc*-sun-solaris2.*.
From-SVN: r76158
Eric Botcazou [Mon, 19 Jan 2004 16:57:05 +0000 (17:57 +0100)]
sol2.h (ASM_DECLARE_OBJECT_NAME): New.
* config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit
"tls_object" for thread-local objects.
* config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
"#tls" for thread-local sections.
* configure.ac (thread-local checks): Specify --fatal-warnings in
every binutils-specific checks. For sparc*-*-*, test whether the
OS is Solaris and the tools are native and act accordingly.
* configure: Rebuild.
From-SVN: r76156
Jeff Law [Mon, 19 Jan 2004 16:30:05 +0000 (09:30 -0700)]
contrib.texi: Update Paolo Carlini's entry.
* contrib.texi: Update Paolo Carlini's entry. New entries for
Jerry Quinn and Petur Runolfsson.
From-SVN: r76155
Roger Sayle [Mon, 19 Jan 2004 15:15:56 +0000 (15:15 +0000)]
i386.md (*movhi_1, *movqi_1): When optimizing for size, don't use the larger zero-extending loads.
* config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
size, don't use the larger zero-extending loads.
From-SVN: r76152
Paolo Carlini [Mon, 19 Jan 2004 15:10:17 +0000 (15:10 +0000)]
MAINTAINERS: Update my email address.
2004-01-19 Paolo Carlini <pcarlini@suse.de>
* MAINTAINERS: Update my email address.
From-SVN: r76151
Fernando Nasser [Mon, 19 Jan 2004 14:51:54 +0000 (14:51 +0000)]
EventQueue.java (getCurrentEvent): Consider that system events may be handled by any queue in the stack.
* java/awt/EventQueue.java (getCurrentEvent): Consider that system
events may be handled by any queue in the stack.
From-SVN: r76150
Kim Ho [Mon, 19 Jan 2004 14:27:45 +0000 (14:27 +0000)]
GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter.
2004-01-19 Kim Ho <kho@redhat.com>
* gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
MenuBarPeer parameter.
(removeMenuBarPeer): New native method.
(setMenuBar): Call remove if menu bar is null. Adjust insets
appropriately.
(postSizeAllocateEvent): New method. Called when menu bar size is
allocated. Adjust insets and redo layout.
(GtkFramePeer): Set menu bar during frame creation.
(postConfigureEvent): Adjust position and size to accomodate
menu bar.
* java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
* java/awt/Menu.java (addSeparator): Use peer's addSeparator.
(addNotify): Create the peer if it doesn't exist and call addNotify
for the menu's items.
* java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
* java/awt/MenuItem.java (addNotify): Create the peer if it
doesn't exist.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(removeMenuBarPeer): New method. Remove menu bar on the current
frame.
(setMenuBarPeer): Add the menu bar to the current frame and the
callback for size-allocate events on the menu bar.
(getMenuBarHeight): Add menu bar parameter.
(menubar_resize_cb): New callback method for postSizeAllocate events.
Also: Fix indentation on last ChangeLog entry.
From-SVN: r76149
Kim Ho [Mon, 19 Jan 2004 14:08:19 +0000 (14:08 +0000)]
2004-01-16 Kim Ho <kho@redhat.com>
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
(gtkWidgetGetDimensions): Remove.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(gtkWidgetGetDimensions): Remove.
From-SVN: r76148
Paolo Carlini [Mon, 19 Jan 2004 12:11:50 +0000 (12:11 +0000)]
debug.cc: Trivial formatting change.
2004-01-19 Paolo Carlini <pcarlini@suse.de>
* src/debug.cc: Trivial formatting change.
From-SVN: r76147
Arnaud Charlet [Mon, 19 Jan 2004 10:37:59 +0000 (11:37 +0100)]
[multiple changes]
2004-01-19 Arnaud Charlet <charlet@act-europe.fr>
* utils.c: Update copyright notice, missed in previous change.
2004-01-19 Vincent Celier <celier@gnat.com>
* mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
args if Bind is True. Set First_ALI, if not already done.
(Build_Library): For Stand Alone Libraries, extract from one ALI file
an eventual --RTS switch, for gnatbind, and all backend switches +
--RTS, for linking.
2004-01-19 Robert Dewar <dewar@gnat.com>
* sem_attr.adb, memtrack.adb: Minor reformatting
2004-01-19 Ed Schonberg <schonberg@gnat.com>
* exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
that rename enumeration literals. This is properly done in sem_eval.
* sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
to functions that rename enumeration literals.
* sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
functions that rename enumeration literals.
From-SVN: r76146
Richard Henderson [Mon, 19 Jan 2004 09:55:42 +0000 (01:55 -0800)]
alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
* alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
* alpha.md (UNSPEC_NT_LDA): Remove.
(UNSPEC_CVTLQ, cvtlq): New.
(extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
(extendsidi2_fix): Remove.
(extendsidi2 splitter): Use cvtlq.
(extendsidi2 fp peepholes): Remove.
(cvtql): Use SFmode instead of SImode.
(fix_trunc?fsi): Update to match.
(floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
(movsi): Rename from movsi_nofix, remove f alternatives.
(movsi_nt_vms): Similarly.
(movsi_fix, movsi_nt_vms_fix): Remove.
(nt_lda): Remove.
* alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
From-SVN: r76145
Jan Hubicka [Mon, 19 Jan 2004 09:43:53 +0000 (10:43 +0100)]
cgraph.c (cgraph_remove_node): Fix removal from linked list.
* cgraph.c (cgraph_remove_node): Fix removal from linked list.
* cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
list.
(cgraph_remove_unreachable_nodes): New function
(cgraph_decide_inlining_of_small_function): Fix pasto.
(cgraph_decide_inlining_incrementally): Fix pasto.
(cgrpah_decide_inlining): Likewise; remove unreachable nodes.
From-SVN: r76142
Paolo Carlini [Mon, 19 Jan 2004 08:53:32 +0000 (08:53 +0000)]
basic_string.tcc (_S_construct(size_type, _CharT, const _Alloc&)): Remove redundant try/catch.
2004-01-19 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (_S_construct(size_type,
_CharT, const _Alloc&)): Remove redundant try/catch.
(_M_mutate(size_type, size_type, size_type)): Ditto.
(_M_clone(const _Alloc&, size_type)): Ditto.
From-SVN: r76141
Steven Bosscher [Mon, 19 Jan 2004 08:38:38 +0000 (08:38 +0000)]
gengtype.c (header_file): Make it static.
* gengtype.c (header_file): Make it static.
(write_types_process_field, write_enum_defn): Minor whitespace fixes.
* gengtype.h (header_file): No longer extern.
From-SVN: r76140