OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years agoFix ChangeLog date.
pbrook [Mon, 12 Jan 2004 18:39:56 +0000 (18:39 +0000)]
Fix ChangeLog date.

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

20 years agoCorrect my e-mail address
geoffk [Mon, 12 Jan 2004 18:38:16 +0000 (18:38 +0000)]
Correct my e-mail address

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

20 years ago * real.c: Update copyright date.
geoffk [Mon, 12 Jan 2004 18:37:40 +0000 (18:37 +0000)]
* real.c: Update copyright date.
* emit-rtl.c: Likewise.
* rtl.h: Likewise.
* dwarf2out.c: Likewise.
* config/rs6000/darwin-ldouble.c: Likewise.
* config/rs6000/rs6000.md: Likewise.

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

20 years ago * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
dje [Mon, 12 Jan 2004 18:34:36 +0000 (18:34 +0000)]
    * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
        TFmode to SImode libfuncs.

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

20 years ago2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
pinskia [Mon, 12 Jan 2004 17:57:16 +0000 (17:57 +0000)]
2004-01-12  Hartmut Penner  <hpenner@de.ibm.com>

        PR target/13534
        * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
        predicate to handle 'ld' conform addresses.
        * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
        contraint.
        (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
        are memory contraints.
        * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
        New prototype.
        * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
        Change 'o' to 'Y' constraint.
        (*movdf_softfloat64): Ditto.

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

20 years ago2004-01-12 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 12 Jan 2004 17:25:25 +0000 (17:25 +0000)]
2004-01-12  Paolo Carlini  <pcarlini@suse.de>

* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
Use try_mkfifo.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
Likewise.

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

20 years ago PR middle-end/11397
sayle [Mon, 12 Jan 2004 17:22:12 +0000 (17:22 +0000)]
PR middle-end/11397
* varasm.c (assemble_alias): Remove weak aliases from weak_decls.

* gcc.dg/special/wkali-2.c: Add dg-require-alias.

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

20 years ago2004-01-12 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 12 Jan 2004 17:02:08 +0000 (17:02 +0000)]
2004-01-12  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.h (struct __numpunct_cache):
Add members _M_truename_len and _M_falsename_len, caching
the lengths of _M_truename and _M_falsename.
(__numpunct_cache<>::_M_cache): Assign the latter.
* include/bits/locale_facets.tcc (num_get::do_get(bool&),
num_put::do_put(bool)): Use the new members, thus avoiding
computing string lengths again and again.
* config/locale/generic/numeric_members.cc
(numpunct<>::_M_initialize_numpunct): Assign the new members.
* config/locale/gnu/numeric_members.cc
(numpunct<>::_M_initialize_numpunct): Likewise.

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

20 years agoUpdate copyright.
rearnsha [Mon, 12 Jan 2004 16:40:32 +0000 (16:40 +0000)]
Update copyright.

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

20 years ago PR opt/12826
hubicka [Mon, 12 Jan 2004 16:32:12 +0000 (16:32 +0000)]
PR opt/12826
* loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
stored.

PR opt/12863
* cfgcleanup.c (label_is_jump_target_p): Move to...
* rtlanal.c (label_is_jump_target_p): ... here.
* cfgrtl.c (cfg_layout_redirect_edge_and_branch):  Fix redirecting of fallthru
edges unified with branch edges.

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

20 years ago PR opt/12826
hubicka [Mon, 12 Jan 2004 16:25:32 +0000 (16:25 +0000)]
PR opt/12826
* gcc.dg/20040112-1.c: New.

* gcc.dg/dwarf-die[1-7].c: Move to...
* gcc.dg/debug/dwarf2/dwarf-die[1-7].c: ... here.
* gcc.dg/debug/dwarf2/dwarf2.exp: New.

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

20 years agoFixed date in ChangeLog. Also updated Copyright dates in source files.
amylaar [Mon, 12 Jan 2004 16:20:14 +0000 (16:20 +0000)]
Fixed date in ChangeLog.  Also updated Copyright dates in source files.

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

20 years ago PR c++/4100
ian [Mon, 12 Jan 2004 16:15:19 +0000 (16:15 +0000)]
PR c++/4100
* g++.dg/parse/friend4.C: New test.
* g++.old-deja/g++.pt/niklas01a.C: Mark an error where a class
definition is called a friend.

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

20 years ago PR c++/4100
ian [Mon, 12 Jan 2004 16:14:41 +0000 (16:14 +0000)]
PR c++/4100
* parser.c (cp_parser_decl_specifier_seq): Add check for a friend
decl-specifier occurring along with a class definition.

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

20 years ago* simplify-rtx.c (simplify_immed_subreg): Correctly extract the
rearnsha [Mon, 12 Jan 2004 16:01:18 +0000 (16:01 +0000)]
* simplify-rtx.c (simplify_immed_subreg): Correctly extract the
high word of an integral CONST_DOUBLE.

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

20 years ago * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
pbrook [Mon, 12 Jan 2004 15:33:59 +0000 (15:33 +0000)]
* simplify-rtx.c (simplify_plus_minus): Always generate canonical form.

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

20 years ago * parser.c (cp_parser_decl_specifier_seq): Add parenthetical
ian [Mon, 12 Jan 2004 15:25:16 +0000 (15:25 +0000)]
* parser.c (cp_parser_decl_specifier_seq): Add parenthetical
clauses to comments describing declares_class_or_enum.
(cp_parser_type_specifier): Set *declares_class_or_enum to 0, not
false.

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

20 years ago * pt.c (for_each_template_parm): Do not check for duplicates.
hubicka [Mon, 12 Jan 2004 13:18:13 +0000 (13:18 +0000)]
* pt.c (for_each_template_parm): Do not check for duplicates.
(for_each_template_parm): Use walk_tree duplicate checking code.

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

20 years ago PR target/13585
amylaar [Mon, 12 Jan 2004 12:59:38 +0000 (12:59 +0000)]
PR target/13585
* sh-protos.h (check_use_sfunc_addr): Declare.
* sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
* sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.

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

20 years ago * misc.c: Remove trailing spaces.
charlet [Mon, 12 Jan 2004 12:56:39 +0000 (12:56 +0000)]
* misc.c: Remove trailing spaces.
Update copyright notice missed in previous change.

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

20 years ago2004-01-12 Arnaud Charlet <charlet@act-europe.fr>
charlet [Mon, 12 Jan 2004 11:46:25 +0000 (11:46 +0000)]
2004-01-12  Arnaud Charlet  <charlet@act-europe.fr>

* bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
prefix/share/make

* Makefile.generic: Update copyright.
Add license notice.

* Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
of prefix/share/make.

* Makefile.prolog: Update copyright.
Add license notice.

2004-01-12  Laurent Pautet  <pautet@act-europe.fr>

* 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
instead of String.

* g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
signature.

2004-01-12  Javier Miranda  <miranda@gnat.com>

* cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
Component_Definition node.

2004-01-12  Ed Falis  <falis@gnat.com>

* impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit

2004-01-12  Thomas Quinot  <quinot@act-europe.fr>

* link.c: Change default libgnat kind to STATIC for FreeBSD.

2004-01-12  Bernard Banner  <banner@gnat.com>

* Makefile.in: map 86numaux to a-numaux for x86_64

2004-01-12  Ed Schonberg  <schonberg@gnat.com>

* lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
generated to rename a generic actual, go to the actual itself, the
subtype is not a user-visible entity.

* sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
part is a private subtype, reset the visibility of its full view, if
any, to be consistent.

* sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
to use a generic package G as a formal package for another generic
declared within G.

2004-01-12  Robert Dewar  <dewar@gnat.com>

* trans.c (Eliminate_Error_Msg): New procedure called to generate msg

* usage.adb: Remove mention of obsolete -gnatwb switch
Noticed during code reading

2004-01-12  Jerome Guitton  <guitton@act-europe.fr>

* 1ssecsta.adb: Minor changes for -gnatwa warnings

2004-01-12  GNAT Script  <nobody@gnat.com>

* Make-lang.in: Makefile automatically updated

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

20 years ago2004-01-12 Laurent Pautet <pautet@act-europe.fr>
charlet [Mon, 12 Jan 2004 11:45:26 +0000 (11:45 +0000)]
2004-01-12  Laurent Pautet  <pautet@act-europe.fr>

* 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
instead of String.

* g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
signature.

2004-01-12  Javier Miranda  <miranda@gnat.com>

* cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
Component_Definition node.

2004-01-12  Ed Falis  <falis@gnat.com>

* impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit

2004-01-12  Thomas Quinot  <quinot@act-europe.fr>

* link.c: Change default libgnat kind to STATIC for FreeBSD.

2004-01-12  Ed Schonberg  <schonberg@gnat.com>

* lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
generated to rename a generic actual, go to the actual itself, the
subtype is not a user-visible entity.

* sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
part is a private subtype, reset the visibility of its full view, if
any, to be consistent.

2004-01-12  Robert Dewar  <dewar@gnat.com>

* trans.c (Eliminate_Error_Msg): New procedure called to generate msg

* usage.adb: Remove mention of obsolete -gnatwb switch
Noticed during code reading

2004-01-12  Jerome Guitton  <guitton@act-europe.fr>

* 1ssecsta.adb: Minor changes for -gnatwa warnings

2004-01-12  GNAT Script  <nobody@gnat.com>

* Make-lang.in: Makefile automatically updated

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

20 years ago2004-01-12 Javier Miranda <miranda@gnat.com>
charlet [Mon, 12 Jan 2004 11:38:15 +0000 (11:38 +0000)]
2004-01-12  Javier Miranda  <miranda@gnat.com>

* sem_ch12.adb: Addition of Component_Definition node.

2004-01-12  Ed Schonberg  <schonberg@gnat.com>

PR ada/13417
* sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
to use a generic package G as a formal package for another generic
declared within G.

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

20 years ago2004-01-12 Arnaud Charlet <charlet@act-europe.fr>
charlet [Mon, 12 Jan 2004 11:36:13 +0000 (11:36 +0000)]
2004-01-12  Arnaud Charlet  <charlet@act-europe.fr>

PR ada/13572
* bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
prefix/share/make

* Makefile.generic: Update copyright.
Add license notice.

* Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
of prefix/share/make.

* Makefile.prolog: Update copyright.
Add license notice.

2004-01-12  Bernard Banner  <banner@gnat.com>

* Makefile.in: map 86numaux to a-numaux for x86_64

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

20 years ago * alias.c: Invlude varray.h
hubicka [Mon, 12 Jan 2004 11:15:33 +0000 (11:15 +0000)]
* alias.c:  Invlude varray.h
(alias_sets): Turn into varray.
(get_alias_set_entry): Use VARRAY; mark inline.
(mems_in_disjoint_alias_sets_p): Mark inline.
(record_alias_subset): Use varray.
(init_alias_once): Initialize varray.
(new_alias_set): Grow array.
* varray.c: Make VARRAY_GENERIC_PTR non GTYized.

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

20 years ago Partial fox for PR opt/10776 II
hubicka [Mon, 12 Jan 2004 09:44:16 +0000 (09:44 +0000)]
Partial fox for PR opt/10776 II
* cselib.c: Include params.h
(cselib_invalidate_mem):  Limit amount of nonconflicting memory
locations.
* params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
* Makefile.in (cselib.o): Depend on params.h

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

20 years ago * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
rsandifo [Mon, 12 Jan 2004 09:20:24 +0000 (09:20 +0000)]
* combine.c (combine_simplify_rtx): Don't pass VOIDmode to
simplify_unary_operation if the operand has a known mode.

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

20 years ago * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
hpenner [Mon, 12 Jan 2004 08:11:28 +0000 (08:11 +0000)]
  * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
       predicate to handle 'ld' conform addresses.
       * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
       contraint.
       (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
       are memory contraints.
       * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
       New prototype.
       * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
       Change 'o' to 'Y' constraint.
       (*movdf_softfloat64): Ditto.

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

20 years ago * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
mmitchel [Mon, 12 Jan 2004 08:11:08 +0000 (08:11 +0000)]
* testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
* testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
it.
* testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
and remove Cygwin XFAIL.
* testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
Likewise.
* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
* testsuite/27_io/objects/char/7.cc: Likewise.
* testsuite/27_io/objects/char/9661-1.cc: Likewise.
* testsuite/27_io/objects/wchar_t/7.cc: Likewise.
* testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.

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

20 years ago * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
bernie [Mon, 12 Jan 2004 07:52:54 +0000 (07:52 +0000)]
* gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
brace-enclosed syntax in all C output statements.

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

20 years ago PR target/13401
dje [Mon, 12 Jan 2004 04:47:58 +0000 (04:47 +0000)]
    PR target/13401
        * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
        Objective-C language type value is 14.

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

20 years ago PR c/12148
bernie [Mon, 12 Jan 2004 03:55:43 +0000 (03:55 +0000)]
PR c/12148
* config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
`int' in a number of places to make sure we always have a SImode
and not a HImode.  Add a 'L' suffix to a number of constants.

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

20 years ago * pa.c: Don't include obstack.h.
danglin [Mon, 12 Jan 2004 03:42:09 +0000 (03:42 +0000)]
* pa.c: Don't include obstack.h.
* pa.md: Correct constraint in pattern for loading PIC label address.

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

20 years ago * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
kkojima [Mon, 12 Jan 2004 02:29:13 +0000 (02:29 +0000)]
* config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
 before defining.

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

20 years agoDaily bump.
gccadmin [Mon, 12 Jan 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.

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

20 years agoNew test.
rth [Sun, 11 Jan 2004 23:58:28 +0000 (23:58 +0000)]
New test.

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

20 years ago PR fortran/9972
steven [Sun, 11 Jan 2004 23:05:49 +0000 (23:05 +0000)]
PR fortran/9972
* toplev.c (rest_of_handle_inlining): Also consider functions
for deferral if the language is GNU F77.

testsuite:
* 980520-1.x: Removed.

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

20 years ago * c-decl.c (diagnose_arglist_conflict): Add missing space to
zack [Sun, 11 Jan 2004 22:40:47 +0000 (22:40 +0000)]
* c-decl.c (diagnose_arglist_conflict): Add missing space to
diagnostic messages.

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

20 years ago * gcc.dg/tls/diag-3.c: Tweak dg-error regexp.
zack [Sun, 11 Jan 2004 22:35:15 +0000 (22:35 +0000)]
* gcc.dg/tls/diag-3.c: Tweak dg-error regexp.

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

20 years ago PR c++/3478
ian [Sun, 11 Jan 2004 20:33:56 +0000 (20:33 +0000)]
PR c++/3478
* g++.dg/parse/error10.C: New test.
* g++.dg/template/arg2.C: Accept "invalid type" error.

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

20 years ago PR c++/3478
ian [Sun, 11 Jan 2004 20:33:35 +0000 (20:33 +0000)]
PR c++/3478
* parser.c (cp_parser_decl_specifier_seq): If the first decl_spec
is error_mark_node, don't add any more decl_specs.
(cp_parser_init_declarator): After committing to a declaration, if
the decl_specifiers start with error_mark_node, issue an error and
change the type to "int".

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

20 years agoUpdate Copyright year.
jakub [Sun, 11 Jan 2004 19:09:02 +0000 (19:09 +0000)]
Update Copyright year.

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

20 years ago PR middle-end/13392
jakub [Sun, 11 Jan 2004 19:05:34 +0000 (19:05 +0000)]
PR middle-end/13392
* builtins.c (expand_builtin_expect_jump): Handle conditional jumps
to drop through label.  Don't fall back to SCC even when conditional
jump has not been found.

* g++.dg/opt/expect2.C: New test.

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

20 years ago2004-01-11 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 11 Jan 2004 17:43:11 +0000 (17:43 +0000)]
2004-01-11  Paolo Carlini  <pcarlini@suse.de>

* Fix a date in the ChangeLog.

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

20 years ago * invoke.texi: Fix syntax error in previous patch.
hubicka [Sun, 11 Jan 2004 17:01:13 +0000 (17:01 +0000)]
* invoke.texi: Fix syntax error in previous patch.

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

20 years ago * include/std/std_complex.h (std::complex<>::real): Return a
gdr [Sun, 11 Jan 2004 16:15:42 +0000 (16:15 +0000)]
    * include/std/std_complex.h (std::complex<>::real): Return a
        reference. Add non-const overload.
        (std::complex<>::real): Likewise.
        (std::real): Likewise.
        (std::imag): Likewise.
        (std::operator+): Tidy.
        (std::operator-): Likewise.
        (std::operator*): Likewise.
        (std::operator/): Likewise.
        (std::operator>>): Likewise.

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

20 years ago Partial fix for PR opt/10776
hubicka [Sun, 11 Jan 2004 15:56:26 +0000 (15:56 +0000)]
Partial fix for PR opt/10776
* Makefile.in (reload.o): Include param.h
* params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
* reload.c: Include params.h.
(find_equiv_reg): Work limiting check.
* invoke.texi: Document.

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

20 years ago2004-01-11 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 11 Jan 2004 15:17:02 +0000 (15:17 +0000)]
2004-01-11  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/13582
* include/bits/fstream.tcc (imbue): Exploit the external
buffer to imbue 'on the fly' a new locale and convert its
remainder with the new codecvt facet.
(underflow): Tweak slightly to deal with this special case.
* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
* testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
* testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.

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

20 years ago2004-01-11 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 11 Jan 2004 14:07:36 +0000 (14:07 +0000)]
2004-01-11  Michael Koch  <konqueror@gmx.de>

* gnu/java/lang/reflect/TypeSignature.java
(getEncodingOfClass): Documentation fixed.
(getClassForEncoding): Give class loader to Class.forName().
Documentation fixed.

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

20 years ago2004-01-11 Sascha Brawer <brawer@dandelis.ch>
mkoch [Sun, 11 Jan 2004 12:40:49 +0000 (12:40 +0000)]
2004-01-11  Sascha Brawer  <brawer@dandelis.ch>

* javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.

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

20 years ago * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
rsandifo [Sun, 11 Jan 2004 10:37:49 +0000 (10:37 +0000)]
* config/mips/mips.c (mips_symbolic_constant_p): Don't allow
out-of-bounds accesses to string constants.  Simplify mips16
case accordingly.

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

20 years ago PR optimization/13469
rsandifo [Sun, 11 Jan 2004 10:22:29 +0000 (10:22 +0000)]
PR optimization/13469
* toplev.c (rest_of_compilation): Call purge_all_dead_edges after
reload_cse_regs (-fnon-call-exceptions only).

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

20 years ago * config/mcore/lib1.asm: Fix comment formatting.
kazu [Sun, 11 Jan 2004 08:15:34 +0000 (08:15 +0000)]
* config/mcore/lib1.asm: Fix comment formatting.
* config/mcore/mcore-elf.h: Likewise.
* config/mcore/mcore.c: Likewise.
* config/mcore/mcore.h: Likewise.
* config/mcore/mcore.md: Likewise.

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

20 years ago * c-decl.c (duplicate_decls): Break apart into...
zack [Sun, 11 Jan 2004 01:18:58 +0000 (01:18 +0000)]
* c-decl.c (duplicate_decls): Break apart into...
(diagnose_arglist_conflict, validate_proto_after_old_defn)
(locate_old_defn, diagnose_mismatched_decls, merge_decls):
... these new functions.  Restructure for comprehensibility.
Remove various archaic special cases.  Always report the
location of the previous declaration when a diagnostic is issued.
(redeclaration_error_message): Fold into diagnose_mismatched_decls.
(match_builtin_function_types): Delete unnecessary forward declaration.
testsuite:
* gcc.dg/Wshadow-1.c, gcc.dg/attr-noinline.c, gcc.dg/decl3.c
* gcc.dg/redecl-1.c, gcc.dg/visibility-7.c, gcc.dg/wtr-static-1.c
* gcc.dg/noncompile/20020220-1.c, objc.dg/method-1.m:
Update dg-error regexps.

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

20 years ago * genautomata.c (make_automaton, NDFA_to_DFA):
zack [Sun, 11 Jan 2004 00:52:18 +0000 (00:52 +0000)]
* genautomata.c (make_automaton, NDFA_to_DFA):
Print progress bars with '.' characters instead of '*'.
(build_automaton): Change notes to match.

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

20 years ago * gcc.c-torture/compile/20021123-2.c: Delete; dup of 20021120-1.c.
zack [Sun, 11 Jan 2004 00:47:20 +0000 (00:47 +0000)]
* gcc.c-torture/compile/20021123-2.c: Delete; dup of 20021120-1.c.
* gcc.c-torture/compile/20021123-3.c: Delete; dup of 20021120-2.c.

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

20 years agoDaily bump.
gccadmin [Sun, 11 Jan 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago2004-01-11 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 Jan 2004 23:11:56 +0000 (23:11 +0000)]
2004-01-11  Michael Koch  <konqueror@gmx.de>

* javax/swing/undo/StateEditable.java
(RCSID): Removed redundant modifiers.

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

20 years ago * config/m32r/m32r.md: Use define_constants for unspec and
kazu [Sat, 10 Jan 2004 22:34:13 +0000 (22:34 +0000)]
* config/m32r/m32r.md: Use define_constants for unspec and
unspec_volatile.

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

20 years ago2004-01-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 Jan 2004 22:16:01 +0000 (22:16 +0000)]
2004-01-10  Michael Koch  <konqueror@gmx.de>

* javax/print/attribute/EnumSyntax.java
(getStringTable): Made protected.
(getEnumValueTable): Likewise.
* javax/print/attribute/standard/JobKOctetsProcessed.java
(JobKOctetsProcessed): Don't implement PrintRequestAttribute.
* javax/print/attribute/standard/JobMediaSheetsCompleted.java
(JobMediaSheetsCompleted): Made class final.
* javax/print/attribute/standard/OutputDeviceAssigned.java
(getName): Fixed typo.
* javax/print/attribute/standard/RequestingUserName.java
(serialVersionUID): Fixed value.

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

20 years ago2004-01-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 Jan 2004 21:59:30 +0000 (21:59 +0000)]
2004-01-10  Michael Koch  <konqueror@gmx.de>

* javax/swing/plaf/basic/BasicButtonUI.java,
javax/swing/plaf/basic/BasicCheckBoxUI.java,
javax/swing/plaf/basic/BasicListUI.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java,
javax/swing/plaf/basic/BasicPanelUI.java,
javax/swing/plaf/basic/BasicRadioButtonUI.java,
javax/swing/plaf/basic/BasicScrollPaneUI.java,
javax/swing/plaf/basic/BasicToggleButtonUI.java,
javax/swing/plaf/basic/BasicViewportUI.java:
Fixed import statements.

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

20 years ago2004-01-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 Jan 2004 21:32:23 +0000 (21:32 +0000)]
2004-01-10  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/image/ImageDecoder.java
(produce): Made public.
* gnu/java/awt/peer/GLightweightPeer.java,
gnu/java/awt/peer/gtk/GtkToolkit.java:
Reformated.

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

20 years ago2004-01-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 Jan 2004 21:07:44 +0000 (21:07 +0000)]
2004-01-10  Michael Koch  <konqueror@gmx.de>

* javax/swing/JRadioButtonMenuItem.java,
javax/swing/JSeparator.java,
javax/swing/JSplitPane.java,
javax/swing/JTextPane.java,
javax/swing/JToolBar.java,
javax/swing/ListCellRenderer.java,
javax/swing/ListModel.java,
javax/swing/MenuElement.java,
javax/swing/OverlayLayout.java,
javax/swing/ProgressMonitor.java,
javax/swing/ProgressMonitorInputStream.java,
javax/swing/Renderer.java,
javax/swing/RootPaneContainer.java,
javax/swing/Scrollable.java,
javax/swing/SingleSelectionModel.java,
javax/swing/ToolTipManager.java,
javax/swing/ViewportLayout.java,
javax/swing/event/DocumentEvent.java,
javax/swing/event/SwingPropertyChangeSupport.java,
javax/swing/event/TreeSelectionEvent.java,
javax/swing/event/UndoableEditEvent.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/AttributeSet.java,
javax/swing/text/Caret.java,
javax/swing/text/ComponentView.java,
javax/swing/text/DefaultCaret.java,
javax/swing/text/DefaultEditorKit.java,
javax/swing/text/Document.java,
javax/swing/text/EditorKit.java,
javax/swing/text/GapContent.java,
javax/swing/text/Keymap.java,
javax/swing/text/MutableAttributeSet.java,
javax/swing/text/PlainEditorKit.java,
javax/swing/text/Segment.java,
javax/swing/text/Style.java,
javax/swing/text/StyledDocument.java,
javax/swing/text/StyledEditorKit.java,
javax/swing/text/TextAction.java,
javax/swing/text/View.java: Fixed import statements.

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

20 years agoFix pasto.
hubicka [Sat, 10 Jan 2004 20:54:03 +0000 (20:54 +0000)]
Fix pasto.

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

20 years ago * expr.c (expand_expr_real): More curefully expand union casts.
hubicka [Sat, 10 Jan 2004 20:50:53 +0000 (20:50 +0000)]
* expr.c (expand_expr_real):  More curefully expand union casts.

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

20 years ago2004-01-10 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 10 Jan 2004 20:09:26 +0000 (20:09 +0000)]
2004-01-10  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
Import Revision 28.

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

20 years ago * config/m32r/m32r.md (flush_icache): Use 1 for
kazu [Sat, 10 Jan 2004 19:12:54 +0000 (19:12 +0000)]
* config/m32r/m32r.md (flush_icache): Use 1 for
unspec_volatile.

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

20 years ago * MAINTAINERS: Add myself as a MIPS maintainer.
rsandifo [Sat, 10 Jan 2004 18:47:04 +0000 (18:47 +0000)]
* MAINTAINERS: Add myself as a MIPS maintainer.

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

20 years ago2004-01-10 David Edelsohn <edelsohn@gnu.org>
dje [Sat, 10 Jan 2004 18:34:59 +0000 (18:34 +0000)]
2004-01-10  David Edelsohn  <edelsohn@gnu.org>
            James E Wilson  <wilson@specifixinc.com>

        PR debug/12860
        * dbxout.c (dbxout_symbol): Remove initialization of
        current_sym_code, current_sym_value, and current_sym_addr.
        (dbxout_symbol_location): Same.
        (dbxout_prepare_symbol): Zero current_sym_code,
        current_sym_value, and current_sym_addr.

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

20 years ago * tree.c (get_unwidened): Reorder conditions so that the null pointer
rsandifo [Sat, 10 Jan 2004 12:02:34 +0000 (12:02 +0000)]
* tree.c (get_unwidened): Reorder conditions so that the null pointer
check is done first.

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

20 years ago * gcc.dg/pragma-re-1.c: Use right pointer type.
ebotcazou [Sat, 10 Jan 2004 11:25:49 +0000 (11:25 +0000)]
* gcc.dg/pragma-re-1.c: Use right pointer type.

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

20 years ago * g++.dg/eh/simd-1.c: Ajust line number for dg-error line.
ebotcazou [Sat, 10 Jan 2004 11:02:53 +0000 (11:02 +0000)]
* g++.dg/eh/simd-1.c: Ajust line number for dg-error line.

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

20 years ago2004-01-10 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 10 Jan 2004 10:15:35 +0000 (10:15 +0000)]
2004-01-10  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/13630
* include/bits/locale_classes.h (class locale): Fix category typedef.
* testsuite/22_locale/locale/13630.cc: Add.

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

20 years ago2004-01-09 Eric Christopher <echristo@redhat.com>
echristo [Sat, 10 Jan 2004 06:54:02 +0000 (06:54 +0000)]
2004-01-09  Eric Christopher  <echristo@redhat.com>

* toplev.c (rest_of_handle_cfg): Add reg_scan pass
if we're running mark_constant_function.

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

20 years ago2004-01-09 Jeff Bailey <jbailey@nisa.net>
pinskia [Sat, 10 Jan 2004 06:40:24 +0000 (06:40 +0000)]
2004-01-09  Jeff Bailey  <jbailey@nisa.net>

        PR target/12561
        * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.

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

20 years ago * gcc.dg/rs6000-ldouble-1.c: New.
geoffk [Sat, 10 Jan 2004 05:52:56 +0000 (05:52 +0000)]
* gcc.dg/rs6000-ldouble-1.c: New.

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

20 years ago2004-01-09 Andrew Ruder <aeruder@ksu.edu>
pinskia [Sat, 10 Jan 2004 05:47:42 +0000 (05:47 +0000)]
2004-01-09  Andrew Ruder  <aeruder@ksu.edu>

        PR libobjc/11904
        * sarray.c (sarray_free): Free array->is_copy_of latter.

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

20 years ago * config/rs6000/darwin-ldouble.c: Add big comment explaining
geoffk [Sat, 10 Jan 2004 05:47:14 +0000 (05:47 +0000)]
* config/rs6000/darwin-ldouble.c: Add big comment explaining
exactly what is expected as a 'long double'.
(_xlqadd): When a value to be returned is representable as a
'double', just return it directly, do not construct it using a union.
Also, correct final fixup.
(_xlqmul): Likewise.
(_xlqdiv): Likewise.
* real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.

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

20 years ago2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sat, 10 Jan 2004 05:32:45 +0000 (05:32 +0000)]
2004-01-09  Andrew Pinski <pinskia@physics.uc.edu>

        PR debug/11231
        * dbxout.c (dbxout_type_fields): Return if any item is error_mark_node or the
        type is error_mark_node.

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

20 years ago * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
geoffk [Sat, 10 Jan 2004 05:11:19 +0000 (05:11 +0000)]
* config/rs6000/rs6000.md (fix_trunctfdi2): Delete.

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

20 years ago * recog.c (constrain_operands): Validate mem operands.
rth [Sat, 10 Jan 2004 03:14:07 +0000 (03:14 +0000)]
    * recog.c (constrain_operands): Validate mem operands.

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

20 years ago2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
kcook [Sat, 10 Jan 2004 02:17:41 +0000 (02:17 +0000)]
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

* configure.in:  Rename file to ...
* configure.ac:  ... this.
* Makefile.in: Update a comment for above change.
* README: Likewise.
* config.in: Regenerate.

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

20 years ago2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
kcook [Sat, 10 Jan 2004 02:12:41 +0000 (02:12 +0000)]
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

* gcc_update (files_and_dependencies): Update fastjar/configure.in
to fastjar/configure.ac

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

20 years ago2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
kcook [Sat, 10 Jan 2004 02:09:08 +0000 (02:09 +0000)]
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

* configure.in: Rename file to ...
* configure.ac: ... this.  Add in AC_PREREQ(2.57)
* config.h.in: Regenerate.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.

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

20 years ago PR bootstrap/7817
neroden [Sat, 10 Jan 2004 01:30:39 +0000 (01:30 +0000)]
PR bootstrap/7817
* Make-lang.in: Copy gcc.1 to g++.1 rather than using .so.

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

20 years ago DR 337
giovannibajo [Sat, 10 Jan 2004 01:22:06 +0000 (01:22 +0000)]
DR 337
PR c++/9256
* g++.dg/other/abstract1.C: New test.

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

20 years ago DR 337
giovannibajo [Sat, 10 Jan 2004 01:18:08 +0000 (01:18 +0000)]
DR 337
PR c++/9256
* pt.c (tsubst): Substitution must fail if we are attempting to
create an array with element type that is an abstract class type.
* decl.c (cp_finish_decl): Strip pointers and array types recursively
before calling abstract_virtuals_error.

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

20 years ago * include/bits/locale_facets.h: Make a name really dependent. This
giovannibajo [Sat, 10 Jan 2004 01:10:23 +0000 (01:10 +0000)]
* include/bits/locale_facets.h: Make a name really dependent. This
will be needed when Core Issue 224 is implemented.

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

20 years agoDaily bump.
gccadmin [Sat, 10 Jan 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago2004-01-09 James E Wilson <wilson@specifixinc.com>
zack [Fri, 9 Jan 2004 23:14:29 +0000 (23:14 +0000)]
2004-01-09   James E Wilson  <wilson@specifixinc.com>

* gcc.c (init_spec): Remove -lunwind from shared case.
* conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.

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

20 years ago2004-01-08 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 9 Jan 2004 22:52:18 +0000 (22:52 +0000)]
2004-01-08  Graydon Hoare  <graydon@redhat.com>

* javax/swing/JLayeredPane.java: Rewrite to accomodate
djee@redhat.com's recent inverse ordering of Container elements.

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

20 years ago* name-lookup.c (qualified_lookup_using_namespace): Consider
aoliva [Fri, 9 Jan 2004 21:30:31 +0000 (21:30 +0000)]
* name-lookup.c (qualified_lookup_using_namespace): Consider
strong using directives even if we've already found a binding.

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

20 years ago* g++.dg/lookup/strong-using-1.C: New.
aoliva [Fri, 9 Jan 2004 21:29:13 +0000 (21:29 +0000)]
* g++.dg/lookup/strong-using-1.C: New.

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

20 years ago * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
sje [Fri, 9 Jan 2004 21:20:53 +0000 (21:20 +0000)]
* configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
* configure: Regenerate

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

20 years ago PR c/11234
jsm28 [Fri, 9 Jan 2004 20:03:58 +0000 (20:03 +0000)]
PR c/11234
* c-typeck.c (build_c_cast): If pedantic, warn for conversions
between function and object pointers.
(digest_init): When comparing a pointer to function type to the
target type, only apply TREE_TYPE once to the pointer to function
type.
* except.c (for_each_eh_label_1): Treat data as a pointer to a
function pointer rather than casting it to a function pointer.
(for_each_eh_label): Update caller.
* recog.h (struct insn_data): Use a struct or union for output.
* genoutput.c (output_insn_data): Update.
* final.c (get_insn_template): Update.

testsuite:
* gcc.dg/func-ptr-conv-1.c: New test.
* gcc.dg/weak/weak-6.c, gcc.dg/weak/weak-7.c: Update.

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

20 years ago * expr.h (expand_expr): Make it a macro, not a function.
mmitchel [Fri, 9 Jan 2004 19:55:13 +0000 (19:55 +0000)]
* expr.h (expand_expr): Make it a macro, not a function.
(expand_expr_real): New function.
* expr.c (store_expr): Adjust logic for deciding whether or not to
copy the value returned by expand_expr.
(expand_expr): Rename to ...
(expand_expr_real): ... this.  Add alt_rtl parameter.  Adjust
calls to language hooks.
* c-common.h (c_expand_expr): Adjust prototype.
* c-common.c (c_expand_expr): Add alt_rtl parameter.
* langhooks-def.h (lhd_expand_expr): Change prototype.
* langhooks.c (lhd_expand_expr): Add all_rtl parameter.
* langhooks.h (lang_hooks): Change type of expand_expr.
* stmt.c (stmt_status): Add x_last_expr_alt_rtl.
(last_expr_alt_rtl): Likewise.
(expand_expr_stmt_value): Set last_expr_alt_rtl.
(clear_last_expr): Clear it.
(expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
(expand_end_bindings): Save and restor last_expr_alt_rtl.
* tree.def (RTL_EXPR): Give it an additional operand.
* tree.h (RTL_EXPR_ALT_RTL): New macro.

* misc.c (gnat_expand_expr): Add alt_rtl parameter.

* cp-tree.h (cxx_expand_expr): Change prototype.
* expr.c (cxx_expand_expr): Add alt_rtl parameter.

* java-tree.h (java_expand_expr): Change prototype.
* expr.c (java_expand_expr): Add alt_rtl parameter.

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

20 years ago2004-01-09 Andrew Haley <aph@redhat.com>
aph [Fri, 9 Jan 2004 17:27:37 +0000 (17:27 +0000)]
2004-01-09  Andrew Haley  <aph@redhat.com>

* lib/libjava.exp (bytecompile_file): Log compile command.

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

20 years ago2004-01-09 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 9 Jan 2004 17:18:29 +0000 (17:18 +0000)]
2004-01-09  Michael Koch  <konqueror@gmx.de>

* gnu/java/lang/ArrayHelper.java
(equalsArray): Removed.

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

20 years ago2004-01-09 Andrew Haley <aph@redhat.com>
aph [Fri, 9 Jan 2004 17:10:43 +0000 (17:10 +0000)]
2004-01-09  Andrew Haley  <aph@redhat.com>

* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
a Utf8Const field before looking at its class.

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

20 years ago2004-01-09 Andrew Haley <aph@redhat.com>
aph [Fri, 9 Jan 2004 17:08:44 +0000 (17:08 +0000)]
2004-01-09  Andrew Haley  <aph@redhat.com>

PR java/12755:
* parse.y (java_fix_constructors):  Set output_class.
(java_reorder_fields): Likewise.
(java_layout_classes): Likewise.
(java_expand_classes): Generate indirect dispatch tables.
(java_expand_classes): Set output_class.
(java_finish_classes): Likewise.
* lang.c (java_init): Turn on always_initialize_class_p if we're
using indirect dis[atch.
(java_decl_ok_for_sibcall): Use output_class, not current_class.
(java_get_callee_fndecl): Use class local atable.
* jcf-parse.c
(always_initialize_class_p): Decl moved to java-tree.h.
(HANDLE_CLASS_INFO): Set output_class.
(read_class): Likewise.
(parse_class_file): Call gen_indirect_dispatch_tables.
(parse_zip_file_entries): Set output_class.
(java_parse_file): Set output_class.  Don't emit symbol tables.
* java-tree.h (output_class): New.
Remove global declarations for otable, atable, and ctable.
(always_initialize_class_p): moved here from decl.c.
(DECL_OWNER): New.
(TYPE_ATABLE_METHODS, TYPE_ATABLE_SYMS_DECL, TYPE_ATABLE_DECL,
TYPE_OTABLE_METHODS, TYPE_OTABLE_SYMS_DECL, TYPE_OTABLE_DECL,
TYPE_CTABLE_DECL, TYPE_CATCH_CLASSES): New.
(struct lang_type): Add otable_methods, otable_decl,
otable_syms_decl, atable_methods, atable_decl, atable_syms_decl,
ctable_decl, catch_classes, type_to_runtime_map.
* expr.c (build_field_ref): Make otable, atable, and ctable class
local rather than global.
(build_known_method_ref): Likewise.
(build_invokeinterface): Likewise.
(java_expand_expr): Pass runtime type (rather than actual type) to
expand_start_catch.
* except.c (prepare_eh_table_type): Create TYPE_TO_RUNTIME_MAP for
this class.  Look up each class in that map to delete duplicates.
(expand_end_java_handler): Pass runtime type (rather than actual
type) to expand_start_catch.
* decl.c: (always_initialize_class_p): Decl moved to java-tree.h.
(do_nothing): New.
(java_init_decl_processing): Rearrange things.  Remove global
declarations of otable, atable, and ctable.
(java_init_decl_processing): Make lang_eh_runtime_type do_nothing.
(java_expand_body): Set output_class.
* constants.c (build_constant_data_ref): Use output_class, not
current_class.
(alloc_name_constant): Likewise.
* class.c (gen_indirect_dispatch_tables): New.
(build_class_ref): Generate hard reference to superclass, even if
using indirect dispatch.
(build_static_field_ref): Use class local atable.
(make_class_data): Generate hard reference to superclass, even if
using indirect dispatch.
Generate symbolic references to interfaces when using indirect
dispatch.
(make_class_data): Emit otable, atable, and ctable.
Make otable, atable, and ctable class local rather than global.
(emit_catch_table): Make otable, atable, and ctable class local
rather than global.

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