OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago2003-11-24 Jose Ruiz <ruiz@act-europe.fr>
charlet [Mon, 24 Nov 2003 14:27:57 +0000 (14:27 +0000)]
2003-11-24  Jose Ruiz  <ruiz@act-europe.fr>

* Makefile.in:
Use 5zintman.ads for VxWorks targets. This file avoid confusion between
signals and interrupts.

* 5zintman.ads: New File.

* 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
add exception signals to the set of unmasked signals.

* 5ztaprop.adb:
Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
between signals and interrupts.
Add to Unblocked_Signal_Mask the set of signals that are in
Keep_Unmasked.

* 7sinmaop.adb:
Adding a check to see whether the Interrupt_ID we want to unmask is in
the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
reason is that the index type of the Keep_Unmasked array is not always
Interrupt_ID; it may be a subtype of Interrupt_ID.

2003-11-24  Gary Dismukes  <dismukes@gnat.com>

* exp_util.adb:
(Remove_Side_Effects): Condition constantness of object created for a
 an unchecked type conversion on the constantness of the expression
 to ensure the correct value for 'Constrained when passing components
 of view-converted class-wide objects.

2003-11-24  Robert Dewar  <dewar@gnat.com>

* par-load.adb (Load): Improve handling of misspelled and missing units
Removes several cases of compilation abandoned messages

* lib.adb: (Remove_Unit): New procedure

* lib.ads: (Remove_Unit): New procedure

* lib-load.adb: Minor reformatting

2003-11-24  Vincent Celier  <celier@gnat.com>

* make.adb:
(Gnatmake, Initialize): Call Usage instead of Makeusg directly
(Marking_Label): Label to mark processed source files. Incremented for
each executable.
(Gnatmake): Increase Marking_Labet for each executable
(Is_Marked): Compare against marking label
(Mark): Mark with marking label

2003-11-24  Jerome Guitton  <guitton@act-europe.fr>

* s-thread.ads:
Move the declaration of the TSD for System.Threads to System.Soft_Links.
Add some comments.

* Makefile.in: Added target pair for s-thread.adb for cert runtime.
(rts-cert): build a single relocatable object for the run-time lib.
Fix perms.

2003-11-24  Vasiliy Fofanov  <fofanov@act-europe.fr>

* Make-lang.in:
Use gnatls rather than gcc to obtain the location of GNAT RTL for
crosstools build.

2003-11-24  Sergey Rybin  <rybin@act-europe.fr>

* opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
can not use it as before (that is, as a variable) when dumping it into
the tree file. Add a local variable to store the result of this
function and to be used as the string to be written into the tree.

* scn.adb (Initialize_Scanner): Add comments explaining the recent
changes.

* sinput.adb (Source_First, Source_Last): In case of
Internal_Source_File, replace returning attributes of
Internal_Source_Ptr (which is wrong) with returning attributes of
Internal_Source.

2003-11-24  Ed Schonberg  <schonberg@gnat.com>

* sem_ch3.adb:
(New_Concatenation_Op): Proper name for New_Binary_Operator, only
used for implicit concatenation operators.
Code cleanup.

* sem_elab.adb:
(Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
task bodies that are in the scope of a Suppress pragma.
(Check_A Call): Use the flag to prevent spurious elaboration checks.

* sinfo.ads, sinfo.adb:
New flag No_Elaboration_Check on function/procedure calls, to properly
suppress checks on calls in task bodies that are within a local suppress
pragma.

* exp_ch4.adb:
(Expand_Concatenate_Other): Use the proper integer type for the
expression for the upper bound, to avoid universal_integer computations
when possible.

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

20 years ago * genattrtab.c (simplify_cond): Update indices correctly.
rakdver [Mon, 24 Nov 2003 14:14:11 +0000 (14:14 +0000)]
* genattrtab.c (simplify_cond): Update indices correctly.
(attr_alt_subset_p, attr_alt_subset_of_compl_p, attr_alt_intersection,
attr_alt_union, attr_alt_complement, attr_alt_bit_p, mk_attr_alt): New.
(check_attr_test, encode_units_mask, compute_alternative_mask,
make_alternative_compare, simplify_and_tree,
attr_rtx_cost, simplify_test_exp, gen_attr,
write_test_expr, walk_attr_value): Handle EQ_ATTR_ALT.
* rtl.def (EQ_ATTR_ALT): New.

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

20 years ago * fold-const.c (fold): Do not return early when optimizing COMPONENT_REF
hubicka [Mon, 24 Nov 2003 00:50:31 +0000 (00:50 +0000)]
* fold-const.c (fold):  Do not return early when optimizing COMPONENT_REF
and constant.

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

20 years ago * genattrtab.c (strcmp_check, DEF_ATTR_STRING): New macros.
rakdver [Mon, 24 Nov 2003 00:30:16 +0000 (00:30 +0000)]
* genattrtab.c (strcmp_check, DEF_ATTR_STRING): New macros.
(length_str, delay_type_str, delay_1_0_str, num_delay_slots_str):
New variables.
(main): Initialize them.
(find_attr): Canonicalize the attribute name string.
(attr_rtx_1, copy_boolean, expand_delays, gen_unit): Always canonicalize
string arguments.
(attr_printf, attr_eq): Use DEF_ATTR_STRING.
(check_attr_test, check_attr_value, make_length_attrs,
write_length_unit_log, simplify_by_exploding, gen_attr,
write_test_expr, write_attr_value, write_eligible_delay,
write_complex_function, make_internal_attr,
write_const_num_delay_slots): Changed due to change of type of
find_attr.
(fill_attr, evaluate_eq_attr, simplify_and_tree,
attr_rtx_cost, simplify_by_exploding, walk_attr_value): Use
strcmp_check.

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

20 years agoDaily bump.
gccadmin [Mon, 24 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

20 years agoI forgot to mention the PR number.
kazu [Sun, 23 Nov 2003 22:30:06 +0000 (22:30 +0000)]
I forgot to mention the PR number.

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

20 years ago * config/h8300/h8300.c (push): Call push_h8300hs_normal in
kazu [Sun, 23 Nov 2003 22:27:34 +0000 (22:27 +0000)]
* config/h8300/h8300.c (push): Call push_h8300hs_normal in
normal mode.
(pop): Call pop_h8300hs_normal in normal mode.
* config/h8300/h8300.md: Likewise.
(pushqi1_h8300hs_normal): New.
(pushqi1): Call pushqi1_h8300hs_normal in normal mode.
(pushhi1_h8300hs_normal): New.
(pushhi1): Call pushhi1_h8300hs_normal in normal mode.
(push_h8300hs_normal): New.
(pop_h8300hs_normal): Likewise.

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

20 years ago * genattrtab.c (count_sub_rtxs): Removed.
rakdver [Sun, 23 Nov 2003 21:06:43 +0000 (21:06 +0000)]
* genattrtab.c (count_sub_rtxs): Removed.

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

20 years ago* recog.c (preprocess_constraints): Only zero those elements of
rearnsha [Sun, 23 Nov 2003 16:10:52 +0000 (16:10 +0000)]
* recog.c (preprocess_constraints): Only zero those elements of
recog_op_alt that are needed for this insn.
* arm.c (note_invalid_constants): A function can't contain invalid
constants if it has no constraints.

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

20 years ago2003-11-23 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 23 Nov 2003 14:49:54 +0000 (14:49 +0000)]
2003-11-23  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (__add_grouping):
Cosmetic reformatting.

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

20 years ago2003-11-23 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 23 Nov 2003 13:03:59 +0000 (13:03 +0000)]
2003-11-23  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (_M_extract_float,
_M_extract_int): Remove a wrong comment and simplify
the corresponding code using char_traits::find().

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

20 years ago PR c++/12924
lerdsuwa [Sun, 23 Nov 2003 11:32:14 +0000 (11:32 +0000)]
PR c++/12924
* typeck.c (finish_class_member_access_expr): Handle TEMPLATE_ID_EXPR
with OVERLOAD and DECL nodes as the first operand.

* g++.dg/template/template-id-2.C: New test.

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

20 years ago * gnu/java/net/natPlainDatagramSocketImplWin32.cc
membar [Sun, 23 Nov 2003 01:38:31 +0000 (01:38 +0000)]
* gnu/java/net/natPlainDatagramSocketImplWin32.cc
(peekData): Use offset and maximal free space in datagram packet.
(receive): Likewise.
(send): Use offset in datagram packet.

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

20 years agoDaily bump.
gccadmin [Sun, 23 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago2003-11-22 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 22 Nov 2003 18:47:13 +0000 (18:47 +0000)]
2003-11-22  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/monetary_members.cc
(money_base::_S_construct_pattern): Factor out two assignments.

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

20 years ago2003-11-22 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 22 Nov 2003 16:49:47 +0000 (16:49 +0000)]
2003-11-22  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/natPlainDatagramSocketImplPosix.cc
(peekData): Use offset and maximal free space in datagram packet.
(receive): Likewise.
(send): Use offset in datagram packet.

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

20 years ago * i386.c (classify_argument): Pass __float128 in memory.
hubicka [Sat, 22 Nov 2003 16:11:27 +0000 (16:11 +0000)]
* i386.c (classify_argument): Pass __float128 in memory.
(ix86_return_in_memory): Likewise.
(ix86_libcall_value): Likewsie.

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

20 years ago * config/h8300/h8300.c (dosize): Convert to ISO-C.
kazu [Sat, 22 Nov 2003 15:51:48 +0000 (15:51 +0000)]
* config/h8300/h8300.c (dosize): Convert to ISO-C.

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

20 years ago2003-11-22 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 22 Nov 2003 15:13:01 +0000 (15:13 +0000)]
2003-11-22  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/DatagramChannelImpl.java
(getNativeFD): Use getPlainDatagramSocketImpl().
* gnu/java/nio/NIODatagramSocket.java
(getPlainDatagramSocketImpl): Renamed from getImpl().
* gnu/java/nio/NIOSocket.java
(getPlainSocketImpl): Renamed from getImpl().
(setChannel): Use getPlainSocketImpl().
* gnu/java/nio/SocketChannelImpl.java
(SocketChannelImpl): Use getPlainSocketImpl().
(getPlainSocketImpl): Renamed from getImpl().
(getNativeFD): Use getPlainSocketImpl().

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

20 years ago * flow.c (update_life_info): Amend comment about when a register
amylaar [Sat, 22 Nov 2003 14:18:48 +0000 (14:18 +0000)]
* flow.c (update_life_info): Amend comment about when a register
can become dead.

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

20 years ago2003-11-22 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 22 Nov 2003 13:41:33 +0000 (13:41 +0000)]
2003-11-22  Andreas Tobler  <a.tobler@schweiz.ch>

* Makefile.in: Rebuilt.
* configure: Likewise.
* testsuite/libffi.special/unwindtest.cc: Convert the mmap to
the right type.

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

20 years ago2003-11-22 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 22 Nov 2003 11:41:41 +0000 (11:41 +0000)]
2003-11-22  Paolo Carlini  <pcarlini@suse.de>

* include/bits/istream.tcc (getline(basic_string<>&)):
        Fix error in comment of the previous commit.

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

20 years ago2003-11-22 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 22 Nov 2003 09:54:25 +0000 (09:54 +0000)]
2003-11-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12593
* include/bits/istream.tcc (operator>>(basic_string<>&),
getline(basic_string<>&)): Implement resolution of DR 91 [WP];
fix some minor issues with the exit conditions.
* docs/html/ext/howto.html: Add an entry for DR 91.

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

20 years ago * pt.c (tsubst) <ARRAY_REF>: Remove erroneous argument to build_nt.
lerdsuwa [Sat, 22 Nov 2003 09:11:01 +0000 (09:11 +0000)]
* pt.c (tsubst) <ARRAY_REF>: Remove erroneous argument to build_nt.

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

20 years ago PR c++/5369
lerdsuwa [Sat, 22 Nov 2003 06:49:21 +0000 (06:49 +0000)]
PR c++/5369
* friend.c (is_friend): Handle member function of a class
template as template friend.
(do_friend): Likewise.
* decl2.c (check_classfn): Add template_header_p parameter.
* decl.c (start_decl): Adjust check_classfn call.
(grokfndecl): Likewise.
* pt.c (is_specialization_of_friend): New function.
(uses_template_parms_level): Likewise.
(push_template_decl_real): Use uses_template_parms_level.
(tsubst_friend_function): Adjust check_classfn call.
* cp-tree.h (check_classfn): Adjust declaration.
(uses_template_parms_level): Add declaration.
(is_specialization_of_friend): Likewise.

* g++.dg/template/memfriend1.C: New test.
* g++.dg/template/memfriend2.C: Likewise.
* g++.dg/template/memfriend3.C: Likewise.
* g++.dg/template/memfriend4.C: Likewise.
* g++.dg/template/memfriend5.C: Likewise.
* g++.dg/template/memfriend6.C: Likewise.
* g++.dg/template/memfriend7.C: Likewise.
* g++.dg/template/memfriend8.C: Likewise.
* g++.old-deja/g++.pt/friend44.C: Remove a bogus error.

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

20 years agoDaily bump.
gccadmin [Sat, 22 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago2003-11-18 Graydon Hoare <graydon@redhat.com>
graydon [Sat, 22 Nov 2003 00:03:35 +0000 (00:03 +0000)]
2003-11-18  Graydon Hoare  <graydon@redhat.com>

* javax/swing/JLayeredPane.java: Implement.
* javax/swing/JFrame.java (getContentPane): Make public
* javax/swing/javax/swing/JRootPane.java (setContentPane):
Use JLayeredPane.FRAME_CONTENT_LAYER.

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

20 years agoRemove some .cvsignore files due to doc files now being built in build directory
kcook [Fri, 21 Nov 2003 23:28:31 +0000 (23:28 +0000)]
Remove some .cvsignore files due to doc files now being built in build directory

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

20 years ago PR c++/12515
mmitchel [Fri, 21 Nov 2003 22:16:02 +0000 (22:16 +0000)]
PR c++/12515
* pt.c (build_non_dependent_expr): Handle GNU extension to ?:
operator.

PR c++/12515
* g++.dg/ext/cond1.C: New test.

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

20 years ago * cp-demangle.c (has_return_type): Skip qualifiers when checking
ian [Fri, 21 Nov 2003 21:34:55 +0000 (21:34 +0000)]
* cp-demangle.c (has_return_type): Skip qualifiers when checking
whether we have a template.
* testsuite/demangle-expected: Add four new tests.

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

20 years ago2003-11-21 Daniel Berlin <dberlin@dberlin.org>
dje [Fri, 21 Nov 2003 21:18:45 +0000 (21:18 +0000)]
2003-11-21  Daniel Berlin  <dberlin@dberlin.org>
            David Edelsohn  <edelsohn@gnu.org>

        * dwarf2out.c (add_location_or_const_value_attribute): Add support
        for PARALLEL.

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

20 years ago2003-11-21 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 21 Nov 2003 20:55:49 +0000 (20:55 +0000)]
2003-11-21  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/monetary_members.cc
(money_base::_S_construct_pattern): Factor out an assignment.

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

20 years ago2003-11-21 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 21 Nov 2003 20:30:12 +0000 (20:30 +0000)]
2003-11-21  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12882 (partial)
* acinclude.m4 (GLIBCXX_CHECK_LFS): Check fseeko64
and ftello64 too.
* include/ext/stdio_sync_filebuf.h (seekoff): Use fseeko64
and ftello64 if available.
* aclocal.m4: Regenerate.
* configure: Ditto.

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

20 years ago * testsuite/demangle-expected: Minor changes to match output of
ian [Fri, 21 Nov 2003 20:12:22 +0000 (20:12 +0000)]
* testsuite/demangle-expected: Minor changes to match output of
new demangler: adjust whitespace in four tests, and change order
of qualifiers in one test.

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

20 years ago * config/mips/t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error.
ro [Fri, 21 Nov 2003 19:48:24 +0000 (19:48 +0000)]
* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error.
(TARGET_LIBGCC2_CFLAGS): Define.

* crtstuff.c [HAS_INIT_SECTION] (__do_global_dtors): Declare.
(__do_global_ctors): Likewise.

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

20 years ago * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
schwab [Fri, 21 Nov 2003 15:25:00 +0000 (15:25 +0000)]
* 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.

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

20 years ago * java/lang/Float.java (static): Removed.
mark [Fri, 21 Nov 2003 13:24:28 +0000 (13:24 +0000)]
   * java/lang/Float.java (static): Removed.

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

20 years ago * doc/invoke.texi (-O2): Doesn't enable -fweb.
mark [Fri, 21 Nov 2003 11:42:58 +0000 (11:42 +0000)]
   * doc/invoke.texi (-O2): Doesn't enable -fweb.

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

20 years ago * parser.c (cp_parser_postfix_expression): Initialize 's' to
hubicka [Fri, 21 Nov 2003 11:36:58 +0000 (11:36 +0000)]
* parser.c (cp_parser_postfix_expression): Initialize 's' to
NULL_TREE.

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

20 years ago * parser.c (cp_parser_postfix_expression): Initialize 's' to
hubicka [Fri, 21 Nov 2003 11:36:52 +0000 (11:36 +0000)]
* parser.c (cp_parser_postfix_expression): Initialize 's' to
NULL_TREE.

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

20 years ago2003-11-21 Andreas Jaeger <aj@suse.de>
andreast [Fri, 21 Nov 2003 11:24:10 +0000 (11:24 +0000)]
2003-11-21  Andreas Jaeger  <aj@suse.de>
    Andreas Tobler  <a.tobler@schweiz.ch>

* acinclude.m4: Add AC_FUNC_MMAP_BLACKLIST.
* configure.in: Call AC_FUNC_MMAP_BLACKLIST.
* Makefile.in: Rebuilt.
* aclocal.m4: Likewise.
* configure: Likewise.
* fficonfig.h.in: Likewise.
* testsuite/lib/libffi-dg.exp: Add include dir.
* testsuite/libffi.call/ffitest.h: Add MMAP definitions.
* testsuite/libffi.special/ffitestcxx.h: Likewise.
* testsuite/libffi.call/closure_fn0.c: Use MMAP functionality
for ffi_closure if available.
* testsuite/libffi.call/closure_fn1.c: Likewise.
* testsuite/libffi.call/closure_fn2.c: Likewise.
* testsuite/libffi.call/closure_fn3.c: Likewise.
* testsuite/libffi.call/closure_fn4.c: Likewise.
* testsuite/libffi.call/closure_fn5.c: Likewise.
* testsuite/libffi.call/cls_12byte.c: Likewise.
* testsuite/libffi.call/cls_16byte.c: Likewise.
* testsuite/libffi.call/cls_18byte.c: Likewise.
* testsuite/libffi.call/cls_19byte.c: Likewise.
* testsuite/libffi.call/cls_1_1byte.c: Likewise.
* testsuite/libffi.call/cls_20byte.c: Likewise.
* testsuite/libffi.call/cls_20byte1.c: Likewise.
* testsuite/libffi.call/cls_24byte.c: Likewise.
* testsuite/libffi.call/cls_2byte.c: Likewise.
* testsuite/libffi.call/cls_3_1byte.c: Likewise.
* testsuite/libffi.call/cls_3byte1.c: Likewise.
* testsuite/libffi.call/cls_3byte2.c: Likewise.
* testsuite/libffi.call/cls_4_1byte.c: Likewise.
* testsuite/libffi.call/cls_4byte.c: Likewise.
* testsuite/libffi.call/cls_5byte.c: Likewise.
* testsuite/libffi.call/cls_64byte.c: Likewise.
* testsuite/libffi.call/cls_6byte.c: Likewise.
* testsuite/libffi.call/cls_7byte.c: Likewise.
* testsuite/libffi.call/cls_8byte.c: Likewise.
* testsuite/libffi.call/cls_9byte1.c: Likewise.
* testsuite/libffi.call/cls_9byte2.c: Likewise.
* testsuite/libffi.call/cls_double.c: Likewise.
* testsuite/libffi.call/cls_float.c: Likewise.
* testsuite/libffi.call/cls_schar.c: Likewise.
* testsuite/libffi.call/cls_sint.c: Likewise.
* testsuite/libffi.call/cls_sshort.c: Likewise.
* testsuite/libffi.call/cls_uchar.c: Likewise.
* testsuite/libffi.call/cls_uint.c: Likewise.
* testsuite/libffi.call/cls_ulonglong.c: Likewise.
* testsuite/libffi.call/cls_ushort.c: Likewise.
* testsuite/libffi.call/nested_struct.c: Likewise.
* testsuite/libffi.call/nested_struct1.c: Likewise.
* testsuite/libffi.call/nested_struct2.c: Likewise.
* testsuite/libffi.call/nested_struct3.c: Likewise.
* testsuite/libffi.call/problem1.c: Likewise.
* testsuite/libffi.special/unwindtest.cc: Likewise.

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

20 years ago * 5wsystem.ads: Enable zero cost exception.
charlet [Fri, 21 Nov 2003 10:49:46 +0000 (10:49 +0000)]
* 5wsystem.ads: Enable zero cost exception.

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

20 years ago2003-11-20 Jerome Guitton <guitton@act-europe.fr>
charlet [Fri, 21 Nov 2003 10:46:37 +0000 (10:46 +0000)]
2003-11-20  Jerome Guitton  <guitton@act-europe.fr>

* 5ztiitho.adb: Remove an unreferenced variable.

2003-11-20  Thomas Quinot  <quinot@act-europe.fr>

* adaint.c: For FreeBSD, use mkstemp.

2003-11-20  Arnaud Charlet  <charlet@act-europe.fr>

* gnatlbr.adb: Now reference Gnat_Static_Version_String.

2003-11-20  Robert Dewar  <dewar@gnat.com>

* bld.adb: Remove useless USE of gnatvsn

* gnatchop.adb: Minor reformatting
Clean up version handling to be more consistent

* gnatxref.adb: Minor reformatting

* gprcmd.adb: Minor reformatting
Fix output of copyright to be more consistent with other tools

2003-11-20  Vincent Celier  <celier@gnat.com>

* make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink

2003-11-20  Sergey Rybin  <rybin@act-europe.fr>

* atree.adb (Initialize): Add initializations for global variables
used in New_Copy_Tree.

* cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
Internal_Source_File as the actual).
Put the set of statements creating Any_Character before the set of
statements creating Any_Array to have Any_Character fully initialized
when it is used in creating Any_Array.

* scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
not call Scan in case if the actual is Internal_Source_File
Add 2003 to copyright note.

* sinput.adb (Source_First, Source_Last, Source_Text): Add code for
processing Internal_Source_File.

* types.ads: Add the constant Internal_Source_File representing the
source buffer for artificial source-code-like strings created within
the compiler (the definition of Source_File_Index is changed).

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

20 years ago * ChangeLog.7: Fix comment typos.
kazu [Fri, 21 Nov 2003 06:52:23 +0000 (06:52 +0000)]
* ChangeLog.7: Fix comment typos.
* c-common.c: Likewise.
* c-pretty-print.c: Likewise.
* cgraphunit.c: Likewise.
* et-forest.h: Likewise.
* expr.c: Likewise.
* gcse.c: Likewise.
* genautomata.c: Likewise.
* genrecog.c: Likewise.
* gensupport.c: Likewise.
* ggc-zone.c: Likewise.
* haifa-sched.c: Likewise.
* ifcvt.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
* pretty-print.h: Likewise.
* regrename.c: Likewise.
* rtl.h: Likewise.
* sched-rgn.c: Likewise.
* target.h: Likewise.
* value-prof.c: Likewise.
* web.c: Likewise.

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

20 years ago * doc/invoke.texi: Mention dV and dZ.
kazu [Fri, 21 Nov 2003 06:03:27 +0000 (06:03 +0000)]
* doc/invoke.texi: Mention dV and dZ.

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

20 years ago * doc/invoke.texi: Update dump file names.
kazu [Fri, 21 Nov 2003 05:54:01 +0000 (05:54 +0000)]
* doc/invoke.texi: Update dump file names.
Remove de, dW, and dX.

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

20 years ago2003-11-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 21 Nov 2003 05:49:21 +0000 (05:49 +0000)]
2003-11-20  Benjamin Kosnik  <bkoz@redhat.com>

* include/debug/formatter.h: Use _Tp as template argument.
* src/debug.cc: Same, instantiate std::size_t.

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

20 years agoPR c/13133
wilson [Fri, 21 Nov 2003 05:49:05 +0000 (05:49 +0000)]
PR c/13133
* reload1.c (reload): Delete special handling for setjmp.

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

20 years ago2003-11-21 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Fri, 21 Nov 2003 04:53:12 +0000 (04:53 +0000)]
2003-11-21  Andreas Tobler  <a.tobler@schweiz.ch>

* mklibgcc.in: Evaluate shlib_slibdir_qual during link
step too.
* config/t-slibgcc-darwin: Adjust install path.
* config/rs6000/t-darwin: Revert multilib matches since
it is not used on darwin.

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

20 years ago * ssa.c, ssa-dce.c, ssa-ccp.c: Remove files.
rth [Fri, 21 Nov 2003 04:05:08 +0000 (04:05 +0000)]
    * ssa.c, ssa-dce.c, ssa-ccp.c: Remove files.
        * Makefile.in (OBJS-common, GTFILES): Don't reference them.
        (gtype-desc.o, toplev.o, flow.o): Remove ssa.h.
        (ssa.o, ssa-dce.o, ssa-ccp.o): Remove.
        * flow.c: Don't include ssa.h.
        (set_phi_alternative_reg): Remove.
        (calculate_global_regs_live): Don't call it.
        (mark_used_regs): Don't handle PHI.
        * gengtype.c (open_base_files): Don't reference ssa.h.
        * rtl.def (PHI): Remove.
        * timevar.def (TV_TO_SSA, TV_SSA_CCP, TV_SSA_DCE, TV_FROM_SSA): Kill.
        * common.opt: Remove -fssa, -fssa-ccp, -fssa-dce.
        * opts.c (common_handle_option): Likewise.
        * toplev.c (f_options): Likewise.
        (DFI_ssa, DFI_ssa_ccp, DFI_ssa_dce, DFI_ussa): Remove.
        (dump_file): Update to match.
        (flag_ssa, flag_ssa_ccp, flag_ssa_dce): Remove.
        (rest_of_handle_ssa): Remove.
        (rest_of_compilation): Don't call it.
        * toplev.h (flag_ssa, flag_ssa_dce, flag_ssa_ccp): Remove.
        * doc/invoke.texi: Remove -fssa, -fssa-ccp, -fssa-dce.
        * doc/passes.texi (SSA optimizations): Remove.

        * gcc.dg/20020201-2.c: Remove.
        * gcc.dg/20020201-4.c: Remove.
        * gcc.dg/20020304-1.c: Remove.

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

20 years ago * cp-demangle.c: Complete rewrite.
ian [Fri, 21 Nov 2003 03:27:58 +0000 (03:27 +0000)]
* cp-demangle.c: Complete rewrite.

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

20 years ago * MAINTAINERS: Add myself as a vax port maintainer.
matt [Fri, 21 Nov 2003 01:34:50 +0000 (01:34 +0000)]
* MAINTAINERS: Add myself as a vax port maintainer.

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

20 years ago * configure.in: Add xtensa-*-* targets to test for dwarf2 debug_line.
bwilson [Fri, 21 Nov 2003 01:32:12 +0000 (01:32 +0000)]
* configure.in: Add xtensa-*-* targets to test for dwarf2 debug_line.
* configure: Regenerate.

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

20 years agotoplevel:
kcook [Fri, 21 Nov 2003 00:39:18 +0000 (00:39 +0000)]
toplevel:
2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL.
(configure-build-[+module+], configure-[+module+]): Likewise.
(configure-target-[+module+], configure-gcc, config.status): Likewise.
* Makefile.in: Regenerate.

gcc:
2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.in (Makefile): Pass along CONFIG_SHELL.

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

20 years agoDaily bump.
gccadmin [Fri, 21 Nov 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago2003-11-18 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 21 Nov 2003 00:10:28 +0000 (00:10 +0000)]
2003-11-18  Graydon Hoare  <graydon@redhat.com>

* java/awt/font/TextLayout.java: Implement simple layouts
using attributed strings and glyph vectors.

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

20 years agoFix last ChangeLog entry. Move comment from ChangeLog to t-libunwind.
wilson [Thu, 20 Nov 2003 22:56:55 +0000 (22:56 +0000)]
Fix last ChangeLog entry.  Move comment from ChangeLog to t-libunwind.

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

20 years agoPatch from David Mosberger
wilson [Thu, 20 Nov 2003 22:53:02 +0000 (22:53 +0000)]
Patch from David Mosberger
* config/t-libunwind: Mention unwind-c.c.
(SHLIB_LC): Overwrite the default-value from t-slibgcc-elf-ver
and mention -lunwind so that the resulting libgcc_s.so has
the necessary DT_NEEDED entry for libunwind.
* unwind-libunwind.c (_Unwind_GetCFA): Implement.
(_Unwind_GetBSP) [UNW_TARGET_IA64]: New function.

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

20 years ago2003-11-17 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 20 Nov 2003 22:44:01 +0000 (22:44 +0000)]
2003-11-17  Graydon Hoare  <graydon@redhat.com>

* gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
(GdkFontLineMetrics): New inner class.
(getLineMetrics): Return new GdkFontLineMetrics.
(getFontMetrics): Return new GdkClasspathFontPeerMetrics.
(layoutGlyphVector): Create GdkGlyphVector.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
(GdkGraphics2D): Initialize state via mathod calls.
(cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
(cairoTranslate, cairoScale, cairoRotate): Remove.
(various methods): use setTransform for special transform cases.
(DrawState): New inner class.
(stateSave): New method.
(stateRestore): New method.
(various methods): use stateSave, stateRestore.
(getClipInDevSpace): New method.
(clip, clipRect, setClip, getClip, getClipBounds):
Follow spec more closely.
(getTransform): Return clone of transform.
(setStroke): Set linewidth to passed width / 2.0.
(setPaintMode): Set SrcOver rather than Xor.
(setColor): Set paint to passed color.
(drawRaster, drawImage, PainterThread, drawPixels): Take affine
transform from image to user space.
(drawRenderedImage, drawRenderableImage): Implement.
(getFontRenderContext, getFontMetrics, drawString, getFont):
Implement
(drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
Implement.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
Match changes to java side.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
Release resources.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
Don't use pango for metrics.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
New file.

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

20 years ago2003-11-20 Fariborz Jahanian <fjahanian@apple.com>
dje [Thu, 20 Nov 2003 22:42:01 +0000 (22:42 +0000)]
2003-11-20  Fariborz Jahanian  <fjahanian@apple.com>
            David Edelsohn  <edelsohn@gnu.org>

        * calls.c (expand_call): Allocate new temp in pass1.
        (store_one_arg): If PARALLEL, calculate excess using mode size of
        rtvec elt.
        * expr.c (emit_push_insn): If PARALLEL, calculate offset using
        mode size of rtvec elt.
        * function.c (assign_parms): Use parm in register, if available.

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

20 years ago2003-11-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 20 Nov 2003 19:32:13 +0000 (19:32 +0000)]
2003-11-20  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/13109
* include/debug/formatter.h (_Error_formatter::_M_format_word): New.
* src/debug.cc (__gnu_debug): Format.
(_Error_formatter::_M_format_word): Define, use, instantiate.

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

20 years ago2003-11-20 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 20 Nov 2003 19:24:03 +0000 (19:24 +0000)]
2003-11-20  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/11602
* config/locale/gnu/codecvt_members.cc (codecvt::do_out):
Rewrite, using both wcsnrtombs and wcrtomb in a loop: the
former is very fast, but stops if encounters a NUL.
* testsuite/performance/wchar_t_out.cc: New, from the PR.

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

20 years ago * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
charlet [Thu, 20 Nov 2003 17:53:13 +0000 (17:53 +0000)]
* 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
56system.ads: New file, FreeBSD version.

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

20 years ago * config/h8300/lib1funcs.asm (MOVP): Remove.
kazu [Thu, 20 Nov 2003 15:52:02 +0000 (15:52 +0000)]
* config/h8300/lib1funcs.asm (MOVP): Remove.
(ADDP): Likewise.
(CMPP): Likewise.

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

20 years ago2003-11-20 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Thu, 20 Nov 2003 15:19:09 +0000 (15:19 +0000)]
2003-11-20  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/lib/libffi-dg.exp: Make the -lgcc_s conditional.

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

20 years ago* arm.c (use_return_insn): New argument, SIBLING. Support returning
rearnsha [Thu, 20 Nov 2003 11:44:19 +0000 (11:44 +0000)]
* arm.c (use_return_insn): New argument, SIBLING.  Support returning
with a single instruction if the stack has been decremented by 4
and we have a frame pointer.  Update all callers.
(output_return_instruction): Likewise.
(arm_output_epilogue): Change argument to SIBLING.  Calculate
really_return from the new argument.  Update all callers.
* arm.h (USE_RETURN_INSN): Pass NULL for the sibling.
* arm.md (sibcall_epilogue): Call use_return_insn directly, and
pass the sibling call.
* arm-protos.h (use_return_insn, arm_output_epilogue): Update
prototypes.

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

20 years ago * exgettext: Use --copyright-holder and --msgid-bugs-address.
jsm28 [Thu, 20 Nov 2003 10:17:03 +0000 (10:17 +0000)]
* exgettext: Use --copyright-holder and --msgid-bugs-address.
* gcc.pot: Regenerate.

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

20 years agogcc:
jsm28 [Thu, 20 Nov 2003 10:08:56 +0000 (10:08 +0000)]
gcc:
* Makefile.in (extraclean): Delete.
* configure.in (target_list): Remove extraclean.
* configure: Regenerate.
* doc/makefile.texi, doc/sourcebuild.texi: Update.
* objc/Make-lang.in (objc.extraclean): Delete.

gcc/ada:
* Make-lang.in (ada.extraclean): Delete.

gcc/cp:
* Make-lang.in (c++.extraclean): Delete.

gcc/f:
* Make-lang.in (f77.extraclean): Delete.

gcc/java:
* Make-lang.in (java.extraclean): Delete.

gcc/treelang:
* Make-lang.in (treelang.extraclean): Delete.

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

20 years agogcc:
jsm28 [Thu, 20 Nov 2003 09:59:59 +0000 (09:59 +0000)]
gcc:
* Makefile.in (lang_checks): Add.
(check-c++, check-f77, check-java, check-g++, check-g77,
check-objc): Remove hardcoded targets.
* doc/sourcebuild.texi: Document testsuite hooks.
* objc/Make-lang.in (check-objc, lang_checks): Add.

gcc/cp:
* Make-lang.in (check-g++, lang_checks): Add.

gcc/f:
* Make-lang.in (check-f77, lang_checks): Add.

gcc/java:
* Make-lang.in (check-java): Add.

gcc/treelang:
* Make-lang.in: Remove obsolete comment.

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

20 years ago2003-11-19 Arnaud Charlet <charlet@act-europe.fr>
charlet [Thu, 20 Nov 2003 09:54:03 +0000 (09:54 +0000)]
2003-11-19  Arnaud Charlet  <charlet@act-europe.fr>

* gnatmem.adb: Clean up verbose output.

* gprcmd.adb: Change copyright to FSF.

2003-11-19  Vincent Celier  <celier@gnat.com>

* symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
and Version (ignored).

* symbols.ads: (Policy): New type
(Initialize): New parameter Reference, Symbol_Policy and
Library_Version.
Remove parameter Force.
Minor reformatting.

* snames.ads, snames.adbadb: New standard names
Library_Reference_Symbol_File and Library_Symbol_Policy

* mlib-prj.adb:
(Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
project.

* mlib-tgt.adb:
(Build_Dynamic_Library): New parameter Symbol_Data (ignored)

* mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data

* prj.adb: (Project_Empty): New component Symbol_Data

* prj.ads: (Policy, Symbol_Record): New types
(Project_Data): New component Symbol_Data

* prj-attr.adb:
New attributes Library_Symbol_File, Library_Symbol_Policy and
Library_Reference_Symbol_File.

* prj-nmsc.adb:
(Ada_Check): When project is a Stand-Alone library project, process
attribute Library_Symbol_File, Library_Symbol_Policy and
Library_Reference_Symbol_File.

* 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
5sml-tgt.adb (Build_Dynamic_Library): New parameter
Symbol_Data (ignored).

* 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
(Build_Dynamic_Library): New parameter Symbol_Data. New internal
functions Option_File_Name and Version_String. Set new options of
gnatsym related to symbol file, symbol policy and reference symbol
file.

* 5vsymbol.adb:
Extensive modifications to take into account the reference symbol file,
the symbol policy, the library version and to put in the symbol file the
minor and major IDs.

* bld.adb (Process_Declarative_Items): Put second argument of
gprcmd to_absolute between single quotes, to avoid problems with
Windows.

* bld-io.adb: Update Copyright notice.
(Flush): Remove last character of a line, if it is a back slash, to
avoid make problems.

* gnatsym.adb:
Implement new scheme with reference symbol file and symbol policy.

* g-os_lib.ads: (Is_Directory): Clarify comment

2003-11-19  Robert Dewar  <dewar@gnat.com>

* atree.adb: Move New_Copy_Tree global variables to head of package

* errout.adb: Minor reformatting

2003-11-19  Javier Miranda  <miranda@gnat.com>

* sem_ch4.adb: (Diagnose_Call): Improve error message.
Add reference to Ada0Y (AI-50217)

* sem_ch6.adb, sem_ch8.adb, sem_type.adb,
sem_util.adb: Add reference to AI-50217

* sinfo.ads: (N_With_Clause): Document fields referred to AI-50217

* sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)

* sem_aggr.adb: Complete documentation of AI-287 changes

* par-ch4.adb: Document previous changes.

* lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
Ada0Y (AI-50217)

* exp_aggr.adb: Add references to AI-287 in previous changes

2003-11-19  Ed Schonberg  <schonberg@gnat.com>

* exp_ch6.adb:
(Add_Call_By_Copy_Node): Do not original node of rewritten expression
in the rewriting is the result of an inlined call.

* exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
parameter is a type conversion, use original node to construct the
post-call assignment, because expression may have been rewritten, e.g.
if it is a packed array.

* sem_attr.adb:
(Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
body, just as it is in an instance.
Categorization routines

* sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
Instantiate_Object): Set proper sloc reference for message on missing
actual.

2003-11-19  Thomas Quinot  <quinot@act-europe.fr>

* Makefile.in: Add FreeBSD libgnat pairs.

* usage.adb: Fix typo in usage message.

2003-11-19  Jerome Guitton  <guitton@act-europe.fr>

* Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
pragma Thread_Body.
Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.

* s-thread.adb: This file is now a dummy implementation of
System.Thread.

2003-11-19  Sergey Rybin  <rybin@act-europe.fr>

* rtsfind.adb (Initialize): Add initialization for RTE_Is_Available

2003-11-19  Emmanuel Briot  <briot@act-europe.fr>

* xref_lib.adb (Parse_Identifier_Info): Add handling of generic
instanciation references in the parent type description.

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

20 years agoPR target/13131
wilson [Thu, 20 Nov 2003 08:52:48 +0000 (08:52 +0000)]
PR target/13131
* dwarf2out.c (gen_array_type_die): DW_AT_declaration should be a
flag, not a constant.

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

20 years ago2003-11-19 Kelley Cook <kcook@gcc.gnu.org>
kcook [Thu, 20 Nov 2003 03:35:57 +0000 (03:35 +0000)]
2003-11-19  Kelley Cook  <kcook@gcc.gnu.org>

* config/arc/arc-protos.h: Update to C90 prototypes.
* config/arc/arc.c: Likewise.
* config/arc/initfini.c: Likewise.

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

20 years agoFix PR java/13024.
jsturm [Thu, 20 Nov 2003 03:34:59 +0000 (03:34 +0000)]
Fix PR java/13024.
* except.c (prepare_eh_table_type): Allocate variable-sized
buffer `buf' with alloca.

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

20 years ago * cp-demangle.c (demangle_type): Correct thinko in substitution
mmitchel [Thu, 20 Nov 2003 01:48:41 +0000 (01:48 +0000)]
* cp-demangle.c (demangle_type): Correct thinko in substitution
processing.

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

20 years ago2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Thu, 20 Nov 2003 00:28:39 +0000 (00:28 +0000)]
2003-11-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* stmt.c (expand_goto): Memory clobbers added.

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

20 years ago2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Thu, 20 Nov 2003 00:18:46 +0000 (00:18 +0000)]
2003-11-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* reload.c (find_reloads): Added missing type casts.

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

20 years agoDaily bump.
gccadmin [Thu, 20 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * combine.c (sets_function_arg_p): Delete unused function.
wilson [Thu, 20 Nov 2003 00:10:27 +0000 (00:10 +0000)]
* combine.c (sets_function_arg_p): Delete unused function.

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

20 years ago2003-11-19 Eric Christopher <echristo@redhat.com>
echristo [Wed, 19 Nov 2003 20:01:10 +0000 (20:01 +0000)]
2003-11-19  Eric Christopher  <echristo@redhat.com>

        * reload1.c (reload): Revert 2 previous checkins.

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

20 years ago2003-11-19 Eric Christopher <echristo@redhat.com>
echristo [Wed, 19 Nov 2003 19:51:35 +0000 (19:51 +0000)]
2003-11-19  Eric Christopher  <echristo@redhat.com>

        * reload1.c (reload): Revert 2 previous checkins.

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

20 years ago * cpptrad.c (_cpp_scan_out_logical_line): Improve test for
neroden [Wed, 19 Nov 2003 18:48:53 +0000 (18:48 +0000)]
* cpptrad.c (_cpp_scan_out_logical_line): Improve test for
whether directive begins at the beginning of a line.

(testsuite)
* gcc.dg/cpp/trad/xwin1.c: New test case.

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

20 years ago * config/frv/frv.c (frv_init_libfuncs): Correct ufix_optab entries.
rsandifo [Wed, 19 Nov 2003 16:15:34 +0000 (16:15 +0000)]
* config/frv/frv.c (frv_init_libfuncs): Correct ufix_optab entries.

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

20 years ago * doc/install.texi (Specific): Remove information on old versions
gerald [Wed, 19 Nov 2003 16:13:44 +0000 (16:13 +0000)]
* doc/install.texi (Specific): Remove information on old versions
of glibc versus old versions of GCC.

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

20 years ago * Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
charlet [Wed, 19 Nov 2003 13:28:51 +0000 (13:28 +0000)]
* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.

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

20 years ago2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
mkoch [Wed, 19 Nov 2003 12:06:38 +0000 (12:06 +0000)]
2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
    Jim Pick  <jim@kaffe.org>

* java/text/DecimalFormat.java (getCurrency, setCurrency): New
methods.

2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>

* java/text/DecimalFormatSymbols.java (getCurrency,
setCurrency): New methods.

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

20 years ago2003-11-19 Sascha Brawer <brawer@dandelis.ch>
mkoch [Wed, 19 Nov 2003 12:02:11 +0000 (12:02 +0000)]
2003-11-19  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
* java/awt/geom/doc-files/FlatteningPathIterator-1.html:
Describe how the implementation works.

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

20 years ago2003-11-19 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 19 Nov 2003 11:38:40 +0000 (11:38 +0000)]
2003-11-19  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/codecvt_members.cc (do_out): If
we can upper bound the total number of external chars
to something smaller than __to_end - __to, avoid the
temporary buffer, the memcopy and simplify the loop.
* config/locale/generic/codecvt_members.cc (do_out):
Likewise.

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

20 years ago2003-11-19 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 19 Nov 2003 08:34:21 +0000 (08:34 +0000)]
2003-11-19  Michael Koch  <konqueror@gmx.de>

* java/net/Socket.java
(implCreated): New variable that indicates created impl.
(getImpl): New method.
(toString): Return more SUN compliant string representation.
(various): Use getImpl() instead of impl.

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

20 years ago * emit-rtl.c (gen_lowpart): Don't force MEMs into a register unless
rsandifo [Wed, 19 Nov 2003 08:23:43 +0000 (08:23 +0000)]
* emit-rtl.c (gen_lowpart): Don't force MEMs into a register unless
the register lowpart is a TRULY_NOOP_TRUNCATION.

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

20 years ago * config/i386/i386.c (print_reg): Handle QI and HI modes for
rth [Wed, 19 Nov 2003 07:59:08 +0000 (07:59 +0000)]
    * config/i386/i386.c (print_reg): Handle QI and HI modes for
        non Q regs.

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

20 years ago2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 19 Nov 2003 05:29:32 +0000 (05:29 +0000)]
2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* libtool.m4: Sync darwin bits from libtool cvs to build a gcc with
shared/dylibed libraries.
* ltmain.sh: Likewise.
* ltcf-c.sh: Likewise, disable shared library build for OS-X < 10.3.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.
* ltconfig: Likewise.

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

20 years ago2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 19 Nov 2003 05:17:15 +0000 (05:17 +0000)]
2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* config/config.gcc (powerpc-*-darwin*): Add libgcc build
specification file.
* config/t-slibgcc-darwin: New file, libgcc build specification.
* config/t-darwin: Add libgcc2 flag -fPIC.
* config/rs6000/t-darwin: Multilib matches float.
* libgcc-darwin.ver: New file, contains libgcc symbols.

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

20 years ago2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 19 Nov 2003 04:58:34 +0000 (04:58 +0000)]
2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* g++.dg/compat/compat.exp: Add DYLD_LIBRARY_PATH for darwin.
* lib/g77.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/g++.exp: Likewise, add -multiply_defined suppress flag
for darwin.

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

20 years ago2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 19 Nov 2003 04:55:32 +0000 (04:55 +0000)]
2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
Add -lgcc_s to additional flags.

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

20 years ago2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 19 Nov 2003 04:53:29 +0000 (04:53 +0000)]
2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
the right libgcc. Add -multiply_defined suppress and -bind_at_load
flags.

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

20 years ago2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 19 Nov 2003 04:51:18 +0000 (04:51 +0000)]
2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.
* testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress
flag.

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

20 years ago * cp-demangle.c (demangle_operator_name): Remove space before
ian [Wed, 19 Nov 2003 04:06:50 +0000 (04:06 +0000)]
* cp-demangle.c (demangle_operator_name): Remove space before
"sizeof".
(demangle_type_ptr): Put qualifiers in the right place.  Handle
qualifiers in pointer to member specially.
(demangle_type): Handle qualifiers for pointer or reference
specially.  Handle function type.
(demangle_local_name): Save and restore caret around demangling of
initial encoding.

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

20 years ago PR libgcj/13026:
tromey [Wed, 19 Nov 2003 03:09:30 +0000 (03:09 +0000)]
PR libgcj/13026:
* verify.cc (state::copy): Only set local_changed if we're in a
subroutine.  Correctly copy local variables which were modified
by the subroutine.
(push_jump_merge): Added more debugging output.

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

20 years ago * config/ns32k/ns32k.h: Remove obsolete comment.
neroden [Wed, 19 Nov 2003 01:06:50 +0000 (01:06 +0000)]
* config/ns32k/ns32k.h: Remove obsolete comment.

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

20 years agoDaily bump.
gccadmin [Wed, 19 Nov 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.

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