platform/upstream/gcc.git
20 years agore PR fortran/15314 (ICE caused by array initializer in derived type definition)
Paul Brook [Thu, 13 May 2004 23:22:13 +0000 (23:22 +0000)]
re PR fortran/15314 (ICE caused by array initializer in derived type definition)

PR fortran/15314
* gfortran.fortran-torture/execute/der_init_s.f90: New test.

From-SVN: r81818

20 years agotree-ssa.c (delete_tree_ssa): XFREE bitmaps allocated with BITMAP_XMALLOC.
Andrew Pinski [Thu, 13 May 2004 23:13:14 +0000 (23:13 +0000)]
tree-ssa.c (delete_tree_ssa): XFREE bitmaps allocated with BITMAP_XMALLOC.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa.c (delete_tree_ssa): XFREE
        bitmaps allocated with BITMAP_XMALLOC.

From-SVN: r81817

20 years agore PR fortran/15314 (ICE caused by array initializer in derived type definition)
Paul Brook [Thu, 13 May 2004 23:11:47 +0000 (23:11 +0000)]
re PR fortran/15314 (ICE caused by array initializer in derived type definition)

PR fortran/15314
* trans-expr.c (gfc_conv_structure): Use field type, not expr type.

From-SVN: r81816

20 years agotree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end of the...
Andrew Pinski [Thu, 13 May 2004 23:10:34 +0000 (23:10 +0000)]
tree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end of the function.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-pre.c (execute_pre): Free ephi_use_pool and
        idfs_cache at the end of the function.

From-SVN: r81815

20 years agotree-ssa-live (calculate_live_on_entry): Free saw_def at the end of the function.
Andrew Pinski [Thu, 13 May 2004 23:06:03 +0000 (23:06 +0000)]
tree-ssa-live (calculate_live_on_entry): Free saw_def at the end of the function.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-live (calculate_live_on_entry): Free saw_def
        at the end of the function.

From-SVN: r81814

20 years agotree-ssa-dce.c (perform_tree_ssa_dce): Free el at the end of the function.
Andrew Pinski [Thu, 13 May 2004 23:01:52 +0000 (23:01 +0000)]
tree-ssa-dce.c (perform_tree_ssa_dce): Free el at the end of the function.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-dce.c (perform_tree_ssa_dce): Free
        el at the end of the function.

From-SVN: r81813

20 years agouninit-H.c: Test for __PPC__ and __ppc__ for the powerpc case.
Andrew Pinski [Thu, 13 May 2004 22:56:28 +0000 (22:56 +0000)]
uninit-H.c: Test for __PPC__ and __ppc__ for the powerpc case.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/uninit-H.c: Test for __PPC__ and __ppc__
        for the powerpc case.

From-SVN: r81812

20 years agotree-into-ssa.c (compute_global_livein): Use EXECUTE_IF_SET_IN_BITMAP rather than...
Jeff Law [Thu, 13 May 2004 22:46:19 +0000 (16:46 -0600)]
tree-into-ssa.c (compute_global_livein): Use EXECUTE_IF_SET_IN_BITMAP rather than iterating through the blocks testing...

        * tree-into-ssa.c (compute_global_livein): Use EXECUTE_IF_SET_IN_BITMAP
        rather than iterating through the blocks testing each bit in
        livein to initialize the worklist.
        (mark_def_sites): Remove useless checks of KILLS for virtual
        operands.

From-SVN: r81811

20 years agoFix format in (and bug number):
Andrew Pinski [Thu, 13 May 2004 22:41:37 +0000 (15:41 -0700)]
Fix format in (and bug number):

2004-05-13  Bud Davis  <bdavis9659@comcast.net>

        PR fortran/15204
        * io/intrinsic/string_intrinsics.c (adjustr): rework logic.

From-SVN: r81810

20 years agotree-into-ssa.c (insert_phi_nodes_for): XFREE bitmaps allocated with BITMAP_XMALLOC.
Andrew Pinski [Thu, 13 May 2004 22:10:43 +0000 (22:10 +0000)]
tree-into-ssa.c (insert_phi_nodes_for): XFREE bitmaps allocated with BITMAP_XMALLOC.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-into-ssa.c (insert_phi_nodes_for): XFREE
        bitmaps allocated with BITMAP_XMALLOC.

From-SVN: r81809

20 years agoloop-unswitch.c (unswitch_single_loop): Free bbs at the end.
Andrew Pinski [Thu, 13 May 2004 22:02:16 +0000 (22:02 +0000)]
loop-unswitch.c (unswitch_single_loop): Free bbs at the end.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * loop-unswitch.c (unswitch_single_loop): Free bbs at
        the end.

From-SVN: r81808

20 years agofinal.c (shorten_branches): Free uid_shuid before reallocating it.
Andrew Pinski [Thu, 13 May 2004 21:52:34 +0000 (21:52 +0000)]
final.c (shorten_branches): Free uid_shuid before reallocating it.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * final.c (shorten_branches): Free uid_shuid before
        reallocating it.

From-SVN: r81807

20 years agobb-reoder.c (connect_traces): Free cold_traces at the end.
Andrew Pinski [Thu, 13 May 2004 21:44:20 +0000 (21:44 +0000)]
bb-reoder.c (connect_traces): Free cold_traces at the end.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * bb-reoder.c (connect_traces): Free cold_traces at the end.

From-SVN: r81806

20 years agotree-ssa-forwprop.c (record_single_argument_cond_exprs): Accept new parameters for...
Jeff Law [Thu, 13 May 2004 20:55:06 +0000 (14:55 -0600)]
tree-ssa-forwprop.c (record_single_argument_cond_exprs): Accept new parameters for the statement and variable worklist as well as a...

* tree-ssa-forwprop.c (record_single_argument_cond_exprs): Accept
new parameters for the statement and variable worklist as well
as a bitmap of interesting SSA_NAMEs.  Walk over the statement
worklist recording interesting variables in the variable worklist
and bitmap.  Handle casts between integral and boolean types.
(substitute_single_use_vars): Accept new parameters for the statement
and variable worklist.  When a substitution is made add a new
entry to the statement worklist.  Handle casts between integral
and boolean types.
(tree_ssa_forward_propagate_single_use_vars): Rework to pass
worklists to children.  Iterate until the statement worklist
is empty.

* gcc.dg/tree-ssa/20040513-1.c: New test.
* gcc.dg/tree-ssa/20040513-2.c: New test.

From-SVN: r81803

20 years agobtest-gcc.sh: Remove g77.sum from TESTLOGS.
Andrew Pinski [Thu, 13 May 2004 19:06:56 +0000 (19:06 +0000)]
btest-gcc.sh: Remove g77.sum from TESTLOGS.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * btest-gcc.sh: Remove g77.sum from TESTLOGS.

From-SVN: r81799

20 years agoarchive.c (objc_read_class): Initialize class_name.
Andrew Pinski [Thu, 13 May 2004 19:01:04 +0000 (19:01 +0000)]
archive.c (objc_read_class): Initialize class_name.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * archive.c (objc_read_class): Initialize class_name.
        (objc_read_selector): Initialize selector_name.

From-SVN: r81798

20 years agore PR libstdc++/15046 (Math functions misdetected by cross configuration)
Benjamin Kosnik [Thu, 13 May 2004 17:49:42 +0000 (17:49 +0000)]
re PR libstdc++/15046 (Math functions misdetected by cross configuration)

2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/15046
* crossconfig.m4: Add C99 math bits for linux crosses.
* configure: Regenerate.

From-SVN: r81797

20 years ago20030808-1.c: Force enum size.
Paul Brook [Thu, 13 May 2004 17:20:10 +0000 (17:20 +0000)]
20030808-1.c: Force enum size.

* gcc.dg/tree-ssa/20030808-1.c: Force enum size.
* gcc.dg/tree-ssa/20030714-1.c: Ditto.
* gcc.dg/tree-ssa/20030708-1.c: Ditto.

From-SVN: r81796

20 years agore PR libstdc++/15090 (-fno-for-scope vs. libstdc++)
Simon Marshall [Thu, 13 May 2004 16:29:39 +0000 (16:29 +0000)]
re PR libstdc++/15090 (-fno-for-scope vs. libstdc++)

2004-05-13  Simon Marshall <simon.marshall@misys.com>
    Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/15090
* include/bits/locale_facets.h: Fix for -fno-for-scope.
* include/debug/safe_sequence.h: Same.
* include/debug/safe_iterator.tcc: Same.
* src/debug.cc: Same.
* src/locale.cc: Same.
* src/locale_init.cc: Same.
* src/localename.cc: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/numeric_members.cc: Same.
* testsuite/testsuite_abi.cc: Same.
* testsuite/testsuite_hooks.cc: Same.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r81795

20 years agoabi.html: Document effect of -fabi-version on value of __GXX_ABI_VERSION...
Jonathan Wakely [Thu, 13 May 2004 15:50:02 +0000 (16:50 +0100)]
abi.html: Document effect of -fabi-version on value of __GXX_ABI_VERSION...

2004-05-13  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/abi.html: Document effect of -fabi-version on value
of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
Fix markup.

From-SVN: r81794

20 years agotree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at the end of the block.
Andrew Pinski [Thu, 13 May 2004 15:28:07 +0000 (15:28 +0000)]
tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at the end of the block.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at
        the end of the block.

From-SVN: r81793

20 years agotree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated with BITMAP_XMALLOC.
Andrew Pinski [Thu, 13 May 2004 15:26:33 +0000 (15:26 +0000)]
tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated with BITMAP_XMALLOC.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated
        with BITMAP_XMALLOC.

From-SVN: r81791

20 years agotree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated with BITMAP_XMALLOC.
Andrew Pinski [Thu, 13 May 2004 15:24:47 +0000 (15:24 +0000)]
tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated with BITMAP_XMALLOC.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated
        with BITMAP_XMALLOC.

From-SVN: r81789

20 years agotree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end of the...
Andrew Pinski [Thu, 13 May 2004 15:21:53 +0000 (15:21 +0000)]
tree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end of the function.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-dom.c (tree_ssa_dominator_optimize):
        Free nonzero_vars at the end of the function.

From-SVN: r81788

20 years agoconvert.c (convert_to_integer): Make a CONVERT_EXPR when there is a need to generate...
Andrew Pinski [Thu, 13 May 2004 15:20:24 +0000 (15:20 +0000)]
convert.c (convert_to_integer): Make a CONVERT_EXPR when there is a need to generate code instead of a NOP_EXPR.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * convert.c (convert_to_integer): Make a CONVERT_EXPR when there is a
        need to generate code instead of a NOP_EXPR.

From-SVN: r81787

20 years agore PR libstdc++/15074 (g++ -lsupc++ still links against libstdc++)
Benjamin Kosnik [Thu, 13 May 2004 15:14:07 +0000 (15:14 +0000)]
re PR libstdc++/15074 (g++ -lsupc++ still links against libstdc++)

2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/15074
* docs/html/faq/index.html: Update docs for libsupc++ usage.

From-SVN: r81786

20 years agore PR libstdc++/15412 (_GLIBCXX_ symbols symbols defined and used in different namesp...
Benjamin Kosnik [Thu, 13 May 2004 14:54:24 +0000 (14:54 +0000)]
re PR libstdc++/15412 (_GLIBCXX_ symbols symbols defined and used in different namespaces)

2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/15412
* include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
__gnu_internal.
(_GLIBCXX_mutex_address): Same.
(_GLIBCXX_once): Same.
(_GLIBCXX_mutex_init): Same.
(_GLIBCXX_mutex_address_init): Same.

From-SVN: r81785

20 years agore PR testsuite/10819 (testsuite creates CR+LF on compiler version lines in test...
Andreas Schwab [Thu, 13 May 2004 14:38:53 +0000 (14:38 +0000)]
re PR testsuite/10819 (testsuite creates CR+LF on compiler version lines in test summary files)

PR other/10819
* lib/gfortran.exp (gfortran_version): Do not match NL/CR
characters.

From-SVN: r81784

20 years agogcc.c (default_compilers): Fill out initializers for new Fortran entries.
Ian Lance Taylor [Thu, 13 May 2004 14:08:39 +0000 (14:08 +0000)]
gcc.c (default_compilers): Fill out initializers for new Fortran entries.

* gcc.c (default_compilers): Fill out initializers for new Fortran
entries.

From-SVN: r81782

20 years agoabi.html: New.
Benjamin Kosnik [Thu, 13 May 2004 12:50:53 +0000 (12:50 +0000)]
abi.html: New.

2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/abi.html: New.
* docs/html/abi.txt: Remove.
* docs/html/documentation.html: Add link.
* testsuite/Makefile.am: Add files.
* testsuite/Makefile.in: Regenerated.
* testsuite/abi_check.cc: Move and modify code into...
* testsuite/testsuite_abi.cc: Add.
* testsuite/testsuite_abi.h: Add.

* docs/html/17_intro/TODO: Update.
* include/bits/stl_pair.h: Format.

From-SVN: r81781

20 years agogfortran.texi: Use @table @emph instead of @itemize @emph.
Joseph Myers [Thu, 13 May 2004 12:30:21 +0000 (13:30 +0100)]
gfortran.texi: Use @table @emph instead of @itemize @emph.

* gfortran.texi: Use @table @emph instead of @itemize @emph.
Remove "set DEVELOPMENT".
(Compiling GFORTRAN): Remove.

From-SVN: r81780

20 years ago* config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define.
Paul Brook [Thu, 13 May 2004 11:25:49 +0000 (11:25 +0000)]
* config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define.

From-SVN: r81777

20 years agoarm.c (arm_default_short_enums): New function.
Paul Brook [Thu, 13 May 2004 11:16:27 +0000 (11:16 +0000)]
arm.c (arm_default_short_enums): New function.

* config/arm/arm.c (arm_default_short_enums): New function.
(TARGET_DEFAULT_SHORT_ENUMS): Define.

From-SVN: r81776

20 years agoMAINTAINERS (Write After Approval): Add myself.
Tobias Schlüter [Thu, 13 May 2004 10:36:36 +0000 (12:36 +0200)]
MAINTAINERS (Write After Approval): Add myself.

2004-05-13  Tobias Schl��ter  <tobi@gcc.gnu.org>

* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r81774

20 years agoupdate_web_docs: Also remove old .gz files from subdirectories on the 15th of the...
Joseph Myers [Thu, 13 May 2004 10:30:28 +0000 (11:30 +0100)]
update_web_docs: Also remove old .gz files from subdirectories on the 15th of the month.

* update_web_docs: Also remove old .gz files from subdirectories
on the 15th of the month.

From-SVN: r81773

20 years ago* update_web_docs (MANUALS): Add gfortran.
Joseph Myers [Thu, 13 May 2004 10:14:00 +0000 (11:14 +0100)]
* update_web_docs (MANUALS): Add gfortran.

From-SVN: r81772

20 years agore PR libfortran/15204 (ADJUSTR intrinsic accesses corrupted pointer)
Bud Davis [Thu, 13 May 2004 10:11:02 +0000 (10:11 +0000)]
re PR libfortran/15204 (ADJUSTR intrinsic accesses corrupted pointer)

        PR fortran/15294
        * gfortran.fortran-torture/execute/adjustr.f90: New file.
        * io/intrinsic/string_intrinsics.c(adjustr): rework logic.

From-SVN: r81771

20 years agoupdate_web_docs: Fix generation of Ada docs.
Arnaud Charlet [Thu, 13 May 2004 10:09:25 +0000 (12:09 +0200)]
update_web_docs: Fix generation of Ada docs.

2004-05-13  Arnaud Charlet  <charlet@act-europe.fr>

* update_web_docs: Fix generation of Ada docs.

From-SVN: r81770

20 years ago* update_version (ADD_BRANCHES): Remove tree-ssa-20020619-branch.
Joseph Myers [Thu, 13 May 2004 08:59:23 +0000 (09:59 +0100)]
* update_version (ADD_BRANCHES): Remove tree-ssa-20020619-branch.

From-SVN: r81768

20 years ago* gcc_release (DIFF): Remove -3 option.
Joseph Myers [Thu, 13 May 2004 08:54:30 +0000 (09:54 +0100)]
* gcc_release (DIFF): Remove -3 option.

From-SVN: r81767

20 years agoMerge tree-ssa-20020619-branch into mainline.
Diego Novillo [Thu, 13 May 2004 06:41:07 +0000 (02:41 -0400)]
Merge tree-ssa-20020619-branch into mainline.

From-SVN: r81764

20 years agoDaily bump.
GCC Administrator [Thu, 13 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81758

20 years agoReplace several arrays with a struct of arrays.
Paolo Bonzini [Wed, 12 May 2004 08:32:00 +0000 (08:32 +0000)]
Replace several arrays with a struct of arrays.

2004-05-12  Paolo Bonzini  <bonzini@gnu.org>

Replace several arrays with a struct of arrays.
        * combine.c (struct reg_stat): New.
        (init_reg_last_arrays): Renamed to...
        (init_reg_last): ...this.  Callers adjusted.
        (reg_stat): New.
        (combine_instructions): Allocate it and use it.
        (reg_last_death, reg_last_set, reg_last_set_value,
        reg_last_set_label, reg_last_set_table_tick,
        reg_last_set_invalid, reg_nonzero_bits, reg_sign_bit_copies,
        reg_last_set_mode, reg_last_set_nonzero_bits,
        reg_last_set_sign_bit_copies): Replace throughout
        with items of reg_stat.

From-SVN: r81740

20 years agore PR target/15331 (Assembler error building gnatlib on IRIX 6.5 with GNU as 2.14.91)
Richard Sandiford [Wed, 12 May 2004 07:25:52 +0000 (07:25 +0000)]
re PR target/15331 (Assembler error building gnatlib on IRIX 6.5 with GNU as 2.14.91)

PR target/15331
* 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '.

From-SVN: r81737

20 years agore PR rtl-optimization/15100 (cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc)
Kaz Kojima [Wed, 12 May 2004 04:32:01 +0000 (04:32 +0000)]
re PR rtl-optimization/15100 (cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc)

PR optimization/15100
* combine.c (distribute_notes): Don't create a dangling
REG_LIBCALL/REG_RETVAL note.

From-SVN: r81736

20 years agoDaily bump.
GCC Administrator [Wed, 12 May 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81729

20 years agospe.md (spe_evneg): Rename to negv2si2.
Aldy Hernandez [Tue, 11 May 2004 23:41:08 +0000 (23:41 +0000)]
spe.md (spe_evneg): Rename to negv2si2.

* config/rs6000/spe.md (spe_evneg): Rename to negv2si2.

* config/rs6000/rs6000.c (bdesc_1arg): Change spe_evneg to
negv2si2.

From-SVN: r81724

20 years ago* doc/md.texi (Standard Names): Fix typo in vec_init description.
Aldy Hernandez [Tue, 11 May 2004 23:35:57 +0000 (23:35 +0000)]
* doc/md.texi (Standard Names): Fix typo in vec_init description.

From-SVN: r81723

20 years agoutils.c (max_size): Use MIN_EXPR to find the minimum value of a COND_EXPR.
Roger Sayle [Tue, 11 May 2004 22:54:55 +0000 (22:54 +0000)]
utils.c (max_size): Use MIN_EXPR to find the minimum value of a COND_EXPR.

* utils.c (max_size): Use MIN_EXPR to find the minimum value of a
COND_EXPR.

From-SVN: r81721

20 years agoaltivec-8.C: Use '-maltivec' instead of '-faltivec'; include <altivec.h> explicitly.
Ziemowit Laski [Tue, 11 May 2004 21:47:35 +0000 (21:47 +0000)]
altivec-8.C: Use '-maltivec' instead of '-faltivec'; include <altivec.h> explicitly.

2004-05-11  Ziemowit Laski  <zlaski@apple.com>

        * g++.dg/ext/altivec-8.C: Use '-maltivec' instead of '-faltivec';
        include <altivec.h> explicitly.
        * gcc.dg/altivec-13.c: Likewise.

From-SVN: r81719

20 years ago* doc/gty.texi (GTY Options): Clarify example.
Geoffrey Keating [Tue, 11 May 2004 21:35:57 +0000 (21:35 +0000)]
* doc/gty.texi (GTY Options): Clarify example.

From-SVN: r81718

20 years agoFix typo.
Mike Stump [Tue, 11 May 2004 20:59:12 +0000 (20:59 +0000)]
Fix typo.

From-SVN: r81717

20 years agoTest for AltiVec function vec_ld, passing a pointer to const vector.
Fariborz Jahanian [Tue, 11 May 2004 20:29:48 +0000 (20:29 +0000)]
Test for AltiVec function vec_ld, passing a pointer to const vector.

Approved by Aldy Hernandez.

From-SVN: r81716

20 years agoFixed problem related to vec_ld in c++ mode.
Fariborz Jahanian [Tue, 11 May 2004 20:28:12 +0000 (20:28 +0000)]
Fixed problem related to vec_ld in c++ mode.

Approved by Aldy Hernandez.

From-SVN: r81715

20 years ago2004-05-11 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 11 May 2004 19:48:45 +0000 (19:48 +0000)]
2004-05-11  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/natPlainSocketImplPosix.cc
(read): Fixed typo in expression.

From-SVN: r81714

20 years ago* gcc.c-torture/compile/20010518-1.c: Force enum size.
Paul Brook [Tue, 11 May 2004 18:00:43 +0000 (18:00 +0000)]
* gcc.c-torture/compile/20010518-1.c: Force enum size.

From-SVN: r81707

20 years agoflags.h (flag_short_enums): Update comment.
Paul Brook [Tue, 11 May 2004 16:23:44 +0000 (16:23 +0000)]
flags.h (flag_short_enums): Update comment.

* flags.h (flag_short_enums): Update comment.
* opts.c (decode_options): Set flag_short_enums to 2.
* toplev.c (flag_short_enums): Update comment.
(process_options): Call default_short_enums target hook.

From-SVN: r81704

20 years agoFix entry.
Eric Christopher [Tue, 11 May 2004 15:40:08 +0000 (15:40 +0000)]
Fix entry.

From-SVN: r81697

20 years agosibcall-3.c: Remove xfail for mips*-*-elf.
Eric Christopher [Tue, 11 May 2004 07:37:16 +0000 (07:37 +0000)]
sibcall-3.c: Remove xfail for mips*-*-elf.

2004-05-10  Eric Christopher  <echristo@redhat.com>

* gcc.dg/sibcall-3.c: Remove xfail for mips*-*-elf.
* gcc.dg/sibcall-4.c: Ditto.

From-SVN: r81695

20 years agore PR target/14063 (conditional around vec_dss() call disappears at -O2)
Andrew Pinski [Tue, 11 May 2004 04:22:05 +0000 (21:22 -0700)]
re PR target/14063 (conditional around vec_dss() call disappears at -O2)

2004-05-11  Andrew Pinski  <pinskia@gcc.gnu.org>

        PR target/14063
        * config/rs6000/altivec.md (altivec_dssall):
        Change to unspec_volatile.
        (altivec_dss): Likewise.

From-SVN: r81694

20 years agoaltivec.md ("one_cmplv16qi2"): Change vnot to vnor.
Aldy Hernandez [Tue, 11 May 2004 03:29:57 +0000 (03:29 +0000)]
altivec.md ("one_cmplv16qi2"): Change vnot to vnor.

* config/rs6000/altivec.md ("one_cmplv16qi2"): Change vnot to
vnor.
("one_cmplv8hi2"): Same.
("one_cmplv4si2"): Same.

From-SVN: r81693

20 years agoDaily bump.
GCC Administrator [Tue, 11 May 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81689

20 years agore PR target/15130 ([3.3/3.4][sh4-linux] miscompilation with -O2)
Kaz Kojima [Mon, 10 May 2004 23:25:13 +0000 (23:25 +0000)]
re PR target/15130 ([3.3/3.4][sh4-linux] miscompilation with -O2)

PR target/15130
* config/sh/sh-protos.h (sh_expand_epilogue): Change prototype.
* config/sh/sh.c (output_stack_adjust): Take the sibcall epilogue
into account.  Compute the correct number of general registers
for the return value.  Generate a special push/pop sequence when
failing to get a temporary register for non SHmedia epilogue.
(sh_expand_epilogue): Add an argument to show whether it's for
sibcall or not.  Set the 3rd argument of output_stack_adjust to
-1 if needed.
(sh_need_epilogue): Call sh_expand_epilogue with 0.
* config/sh/sh.md (sibcall_epilogue): Call sh_expand_epilogue
with 1.
(epilogue): Call sh_expand_epilogue with 0.

From-SVN: r81683

20 years agogcse.c (eliminate_partially_redundant_loads): Instead of returning early, goto a...
Andrew Pinski [Mon, 10 May 2004 22:28:50 +0000 (22:28 +0000)]
gcse.c (eliminate_partially_redundant_loads): Instead of returning early, goto a cleanup label.

2004-05-10  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcse.c (eliminate_partially_redundant_loads): Instead of returning early,
        goto a cleanup label.  After the cleanup, free the allocated memory.

From-SVN: r81682

20 years agoaltivec.h (vec_sld): Add overloads for argument/return types of 'vector bool int'...
Ziemowit Laski [Mon, 10 May 2004 22:21:44 +0000 (22:21 +0000)]
altivec.h (vec_sld): Add overloads for argument/return types of 'vector bool int'...

[gcc/ChangeLog]
2004-05-10  Ziemowit Laski  <zlaski@apple.com>

        * config/rs6000/altivec.h (vec_sld): Add overloads for
        argument/return types of 'vector bool int', 'vector bool short'
        and 'vector bool char'.

[gcc/testsuite/ChangeLog]
2004-05-10  Ziemowit Laski  <zlaski@apple.com>

        * g++.dg/ext/altivec-8.C: New test case.
        * gcc.dg/altivec-13.c: New test case.

From-SVN: r81681

20 years agolibjava.exp (libjava_invoke): Add new argument ld_library_additions.
Andreas Tobler [Mon, 10 May 2004 20:44:13 +0000 (22:44 +0200)]
libjava.exp (libjava_invoke): Add new argument ld_library_additions.

2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/lib/libjava.exp (libjava_invoke): Add new argument
ld_library_additions. Adjust all calls to libjava_invoke to match
the new argument.

* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
path to cxxflagslist.
Pass path of libstdc++ to libjava_invoke.

* testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
libjava_invoke arguments.

From-SVN: r81679

20 years agoc-decl.c (store_parm_decls_newstyle): Correct test for a nested function.
Zack Weinberg [Mon, 10 May 2004 19:18:44 +0000 (19:18 +0000)]
c-decl.c (store_parm_decls_newstyle): Correct test for a nested function.

* c-decl.c (store_parm_decls_newstyle): Correct test for a
nested function.

From-SVN: r81677

20 years agoread-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted, treating missing...
Richard Sandiford [Mon, 10 May 2004 18:35:43 +0000 (18:35 +0000)]
read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted, treating missing ones as "".

* read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted,
treating missing ones as "".
* config/mips/mips.md: Remove constraints from match_operands and
match_scratches if they appear in define_expands (except reload*),
define_peephole2s, define_splits or attribute specifications.
* config/mips/7000.md, config/mips/sb1.md: Remove match_operand
constraint strings.

From-SVN: r81676

20 years agoparse.y (create_class): Set TYPE_VFIELD.
Andrew Haley [Mon, 10 May 2004 16:21:08 +0000 (16:21 +0000)]
parse.y (create_class): Set TYPE_VFIELD.

2004-05-10  Andrew Haley  <aph@redhat.com>

* parse.y (create_class): Set TYPE_VFIELD.
* decl.c (java_init_decl_processing): Likewise.

* expr.c (build_invokevirtual): Remove DECL_VINDEX offset adjustment.
* class.c (make_method_value): Replace DECL_VINDEX with call to
get_method_index().
(get_dispatch_vector): Likewise.
(layout_class_method): Likewise.
Replace set of DECL_VINDEX with call to set_method_index().
(set_method_index): New function.
(get_method_index): New function.
* java-tree.h (set_method_index): New function decl.
(get_method_index): New function decl.

From-SVN: r81672

20 years ago[multiple changes]
Arnaud Charlet [Mon, 10 May 2004 16:18:54 +0000 (18:18 +0200)]
[multiple changes]

2004-05-10  Doug Rupp  <rupp@gnat.com>

* 5qsystem.ads: Remove Short_Address subtype declaration. Moved to
system.aux_dec.

* s-auxdec.ads: Add Short_Address subtype (moved here from System).

* Makefile.in: [VMS]: Add translation for 5qauxdec.ads.

* init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha.
Fixes undefined symbols in IA64 gnatlib.

* 5vinmaop.adb: Reference s-auxdec for Short_Address.

* 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype
Short_Address). This will be moved to system.auxdec.

2004-05-10  Thomas Quinot  <quinot@act-europe.fr>

* sem_util.adb: Replace test for presence of a node that is always
present with a call to Discard_Node.

* sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to
Analyze on the library unit node after generation of distribution stub
constructs.  The call was a no-op because Unit_Node has already been
Analyzed, and the tree fragments for the distribution stubs are
analyzed as they are inserted in Exp_Dist.
Update comment regarding to distribution stubs to reflect that we
do not generate stub in separate files anymore.

* einfo.ads: Clarify the fact that a tagged private type has the
E_Record_Type_With_Private Ekind.

* erroutc.adb: Minor reformatting

* erroutc.ads (Max_Msg_Length): Increase to cover possible larger
values if line length is increased using -gnatyM (noticed during code
reading).

* eval_fat.adb: Minor reformatting
Put spaces around exponentiation operator

2004-05-10  Ed Schonberg  <schonberg@gnat.com>

PR ada/15005
* sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix
has been rewritten as an explicit dereference, retrieve type of
original node to check for possibly unconstrained record type.

2004-05-10  Ed Schonberg  <schonberg@gnat.com>

* exp_ch7.adb (Check_Visibly_Controlled): If given operation is not
overriding, use the operation of the parent unconditionally.

* sem_ch4.adb (Remove_Address_Interpretations): Remove address
operation when either operand is a literal, to avoid further
ambiguities.

* sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and
overridden by a previous explicit declaration, mark the previous entity
as overriding.

* sem_disp.adb (Check_Dispatching_Operation): New predicate
Is_Visibly_Controlled, to determine whether a declaration of a
primitive control operation for a derived type overrides an inherited
one. Add warning if the explicit declaration does not override.

2004-05-10  Vincent Celier  <celier@gnat.com>

* gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in
some cases when the sources are no longer present.

* make.adb (Collect_Arguments): Fail if an external source, not part
of any project need to be compiled, when switch -x has not been
specified.

* makeusg.adb: Document new switch -x

* opt.ads (External_Unit_Compilation_Allowed): New Boolean flag,
defaulted to False.

* switch-m.adb (Scan_Make_Switches): New switch -x

* vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for
gnatmake switch -x.

* gnat_ugn.texi: Document new gnatmake switch -x

2004-05-10  Eric Botcazou  <ebotcazou@act-europe.fr>

* misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0.

* utils.c (create_var_decl): Do not modify the DECL_COMMON flag.
(process_attributes): Likewise.

2004-05-10  Joel Brobecker  <brobecker@gnat.com>

* s-inmaop.ads: Fix spelling mistake in one of the comments.

2004-05-10  Robert Dewar  <dewar@gnat.com>

* gnat_ugn.texi: Document that for config pragma files, the maximum
line length is always 32767.

* gnat_rm.texi: For pragma Eliminate, note that concatenation of string
literals is now allowed.

* gnat-style.texi: Remove statement about splitting long lines before
an operator rather than after, since we do not follow this rule at all.
Clarify rule (really lack of rule) for spaces around exponentiation

* sem_elim.adb: Allow concatenation of string literals as well as a
single string literal for pragma arguments.

* sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function

* a-textio.adb (Terminate_Line): Do not add line feed if nothing
written for append case.

* frontend.adb: Changes to avoid checking max line length in config
pragma files.

* g-os_lib.ads: Minor reformatting

* mlib-utl.adb: Do not define Max_Line_Length locally (definition was
wrong in any case. Instead use standard value. Noticed during code
reading.

* opt.ads (Max_Line_Length): New field, used to implement removal of
limitation on length of lines when scanning config pragma files.

* osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb,
makeutl.ads, makeutl.adb: Minor reformatting

* scn.adb: Do not check line length while scanning config pragma files
Do not check line length while scanning out license information

* scng.adb: Changes to avoid line length checks while parsing config
pragma files.

2004-05-10  GNAT Script  <nobody@gnat.com>

* Make-lang.in: Makefile automatically updated

From-SVN: r81671

20 years agoparse.y (check_pkg_class_access): Add new argument and use it when cl is NULL to...
Andrew Pinski [Mon, 10 May 2004 15:08:07 +0000 (15:08 +0000)]
parse.y (check_pkg_class_access): Add new argument and use it when cl is NULL to call lookup_cl on it.

2004-05-10  Andrew Pinski  <pinskia@physics.uc.edu>

        * parse.y (check_pkg_class_access): Add new argument
        and use it when cl is NULL to call lookup_cl on it.
        (parser_check_super_interface): Do not call lookup_cl.
        Pass this_decl to check_pkg_class_access and NULL
        instead of lookup_cl.
        (parser_check_super): Update for change in
        check_pkg_class_access.
        (do_resolve_class): Likewise.
        (process_imports): Likewise.
        (find_in_imports_on_demand): Likewise.
        (resolve_qualified_expression_name): Likewise.

From-SVN: r81668

20 years agojacks.xfail: Update to reflect current reality.
Ranjit Mathew [Mon, 10 May 2004 14:50:56 +0000 (14:50 +0000)]
jacks.xfail: Update to reflect current reality.

* testsuite/libjava.jacks/jacks.xfail: Update to reflect current
reality.

From-SVN: r81667

20 years agors6000.c (function_arg_boundary): Always align AltiVec vectors.
Alan Modra [Mon, 10 May 2004 14:26:50 +0000 (14:26 +0000)]
rs6000.c (function_arg_boundary): Always align AltiVec vectors.

* config/rs6000/rs6000.c (function_arg_boundary): Always align
AltiVec vectors.
(function_arg_advance): Pass TARGET_32BIT -mabi=no-altivec AltiVec
vectors by refererence.  Align the same for TARGET_64BIT to a 16
byte boundary.  Remove useless code.  Add function comment.
(function_arg): Similarly.  Move gpr rs6000_mixed_function_arg
call to where it belongs.
(function_arg_partial_nregs): Return true for all TARGET_32BIT
-mabi=no-altivec AltiVec vectors.  Fix debug output.
(rs6000_va_arg): Adjust for AltiVec change.

From-SVN: r81666

20 years agoarm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
Paul Brook [Mon, 10 May 2004 13:39:20 +0000 (13:39 +0000)]
arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.

* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
* config/arm/arm.h (TARGET_AAPCS_BASED): Define.
(TARGET_DOUBLEWORD_ALIGN): Use it.
(WCHAR_TYPE): Define.
(WCHAR_SIZE_TYPE): Define.
(SIZE_TYPE): Define.

From-SVN: r81665

20 years agoDaily bump.
GCC Administrator [Mon, 10 May 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81662

20 years agors6000.c (function_arg_boundary): Align for ABI_V4 when size is 8 bytes.
Alan Modra [Sun, 9 May 2004 23:48:37 +0000 (09:18 +0930)]
rs6000.c (function_arg_boundary): Align for ABI_V4 when size is 8 bytes.

* config/rs6000/rs6000.c (function_arg_boundary): Align for ABI_V4
when size is 8 bytes.
(function_arg_advance): Account for stack space used by AltiVec
args when -mabi=altivec.  Simplify alignment calculations.  For
ABI_V4, pass AltiVec vectors by reference when -mabi=no-altivec.
(function_arg): Similarly.
(function_arg_pass_by_reference): True for ABI_V4 AltiVec when
not AltiVec ABI.
(rs6000_va_arg): Correct fp arg test.  Adjust for AltiVec change.
Correct alignment, and align before testing reg count.  Remove
TREE_THIS_VOLATILE from reg.  Don't emit unused labels.
(rs6000_complex_function_value): Check TARGET_HARD_FLOAT and
TARGET_FPRS here..
(rs6000_function_value): .. not here before call.

From-SVN: r81659

20 years ago* config/rs6000/spe.md ("tstsflt_gpr"): Fix typo in unspec.
Aldy Hernandez [Sun, 9 May 2004 22:32:31 +0000 (22:32 +0000)]
* config/rs6000/spe.md ("tstsflt_gpr"): Fix typo in unspec.

From-SVN: r81656

20 years agore PR c/15007 (crash when including precompiled header with -include)
Zack Weinberg [Sun, 9 May 2004 21:26:58 +0000 (21:26 +0000)]
re PR c/15007 (crash when including precompiled header with -include)

PR 15007
* c-decl.c (current_file_decl): Rename to all_translation_units,
adjust comment.
(pop_scope): If popping file_scope, construct a
TRANSLATION_UNIT_DECL and make it the context of all the
symbols in the scope.
(push_file_scope): Don't construct a TRANSLATION_UNIT_DECL here.
(pushdecl): Clarify comment.  Do not set DECL_CONTEXT of
anything to current_file_decl.
(pushdecl_top_level): Likewise.
(store_parm_decls_newstyle): Adjust check for nested function.
(c_write_global_declarations): Update for renamed variable.

From-SVN: r81655

20 years ago* Makefile.in (toolexecdir): Remove trailing space.
Richard Sandiford [Sun, 9 May 2004 20:24:26 +0000 (20:24 +0000)]
* Makefile.in (toolexecdir): Remove trailing space.

From-SVN: r81654

20 years ago* config/rs6000/rs6000-protos.h
Aldy Hernandez [Sun, 9 May 2004 14:32:49 +0000 (14:32 +0000)]
* config/rs6000/rs6000-protos.h
(rs6000_conditional_register_usage): Protoize.

* config/rs6000/rs6000.c (rs6000_conditional_register_usage): New.

* config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Call
function.

From-SVN: r81650

20 years agofold-const.c (fold_div_compare): New function to optimize X/C1 op C2 where op is...
Roger Sayle [Sat, 8 May 2004 17:36:21 +0000 (17:36 +0000)]
fold-const.c (fold_div_compare): New function to optimize X/C1 op C2 where op is a comparison operator and C1...

* fold-const.c (fold_div_compare): New function to optimize X/C1 op C2
where op is a comparison operator and C1 and C2 are integer constants
into a range check.
(fold): Call fold_div_compare.

* gcc.c-torture/execute/divcmp-1.c: New test case.
* gcc.c-torture/execute/divcmp-2.c: New test case.
* gcc.c-torture/execute/divcmp-3.c: New test case.

From-SVN: r81645

20 years agoinstall.texi (sparc-sun-solaris2*): Document bootstrap problems with earlier versions...
Eric Botcazou [Sat, 8 May 2004 17:27:08 +0000 (19:27 +0200)]
install.texi (sparc-sun-solaris2*): Document bootstrap problems with earlier versions of the GNU compiler.

* doc/install.texi (sparc-sun-solaris2*): Document bootstrap
problems with earlier versions of the GNU compiler.

From-SVN: r81643

20 years agors6000-protos.h (rs6000_hard_regno_mode_ok_p): Declare.
Aldy Hernandez [Sat, 8 May 2004 17:08:51 +0000 (17:08 +0000)]
rs6000-protos.h (rs6000_hard_regno_mode_ok_p): Declare.

* config/rs6000/rs6000-protos.h (rs6000_hard_regno_mode_ok_p):
Declare.

* config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok_p): New.
(rs6000_hard_regno_mode_ok): New.
(rs6000_init_hard_regno_mode_ok): New.
(rs6000_override_options): Call rs6000_init_hard_regno_mode_ok.

* config/rs6000/rs6000.h (HARD_REGNO_NREGS): Use precomputed
result.

From-SVN: r81642

20 years agoaltivec.h (vector, [...]): Do not define as macros #ifdef __APPLE_ALTIVEC__.
Ziemowit Laski [Sat, 8 May 2004 05:02:55 +0000 (05:02 +0000)]
altivec.h (vector, [...]): Do not define as macros #ifdef __APPLE_ALTIVEC__.

2004-05-07  Ziemowit Laski  <zlaski@apple.com>

        * config/rs6000/altivec.h (vector, pixel, bool): Do not
        define as macros #ifdef __APPLE_ALTIVEC__.

From-SVN: r81641

20 years agoDaily bump.
GCC Administrator [Sat, 8 May 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81638

20 years agoFixed altivec vararg problem.
Fariborz Jahanian [Fri, 7 May 2004 23:00:39 +0000 (23:00 +0000)]
Fixed altivec vararg problem.

Approved by Aldy Hernandez.

From-SVN: r81635

20 years agomips.c (mips_va_arg): Fix calculation of osize for EABI_FLOAT_VARARGS_P.
Richard Sandiford [Fri, 7 May 2004 15:09:23 +0000 (15:09 +0000)]
mips.c (mips_va_arg): Fix calculation of osize for EABI_FLOAT_VARARGS_P.

* config/mips/mips.c (mips_va_arg): Fix calculation of osize for
EABI_FLOAT_VARARGS_P.

From-SVN: r81625

20 years agomips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500.
Richard Sandiford [Fri, 7 May 2004 15:06:16 +0000 (15:06 +0000)]
mips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500.

* config/mips/mips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500.
* config/mips/mips.c (override_options): Disable branch likely
instructions if TUNE_MIPS5500.

From-SVN: r81624

20 years agomips.c (override_options): Allow the hi and lo registers to store any integral mode...
Richard Sandiford [Fri, 7 May 2004 15:03:31 +0000 (15:03 +0000)]
mips.c (override_options): Allow the hi and lo registers to store any integral mode, not just MODE_INTs.

* config/mips/mips.c (override_options): Allow the hi and lo registers
to store any integral mode, not just MODE_INTs.

From-SVN: r81623

20 years agojni.exp (gcj_jni_test_one): Don't link the main binary against the JNI shared library.
Ranjit Mathew [Fri, 7 May 2004 14:59:43 +0000 (14:59 +0000)]
jni.exp (gcj_jni_test_one): Don't link the main binary against the JNI shared library.

2004-05-07  Ranjit Mathew  <rmathew@gmail.com>

* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
main binary against the JNI shared library.

From-SVN: r81622

20 years agoarm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
Paul Brook [Fri, 7 May 2004 14:40:44 +0000 (14:40 +0000)]
arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.

* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
* config/arm/arm.h (TARGET_AAPCS_BASED): Define.
(TARGET_DOUBLEWORD_ALIGN): Use it.
(WCHAR_TYPE): Define.
(WCHAR_SIZE_TYPE): Define.
(SIZE_TYPE): Define.

From-SVN: r81621

20 years agoi386.c (ix86_emit_fp_unordered_jump): Use testb $4, %ah insn instead of sahf insn...
Uros Bizjak [Fri, 7 May 2004 14:29:41 +0000 (16:29 +0200)]
i386.c (ix86_emit_fp_unordered_jump): Use testb $4, %ah insn instead of sahf insn if !TARGET_USE_SAHF.

2004-05-07  Uros Bizjak  <uros@kss-loka.si>

* config/i386/i386.c (ix86_emit_fp_unordered_jump): Use
testb $4, %ah insn instead of sahf insn if !TARGET_USE_SAHF.

From-SVN: r81620

20 years agoloop-doloop.c (doloop_valid_p): Make sure that body gets freed.
Andrew Pinski [Fri, 7 May 2004 14:17:33 +0000 (14:17 +0000)]
loop-doloop.c (doloop_valid_p): Make sure that body gets freed.

2004-05-07  Andrew Pinski  <pinskia@physics.uc.edu>

        * loop-doloop.c (doloop_valid_p): Make sure that body
        gets freed.

From-SVN: r81619

20 years agosparc-protos.h (sparc_skip_caller_unimp): New declaration.
Eric Botcazou [Fri, 7 May 2004 11:40:42 +0000 (13:40 +0200)]
sparc-protos.h (sparc_skip_caller_unimp): New declaration.

* config/sparc/sparc-protos.h (sparc_skip_caller_unimp): New
declaration.
* config/sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Delete.
(sparc_skip_caller_unimp): New global variable.
(sparc_function_epilogue): Set 'sparc_skip_caller_unimp'.
Use it instead of SKIP_CALLERS_UNIMP_P.
* config/sparc/sparc.md (call expander): Add sanity check.
(call_address_struct_value_sp32): Re-sync with expander.
(call_symbolic_struct_value_sp32): Likewise.
(return peepholes): Use 'sparc_skip_caller_unimp' instead
of custom predicate.

From-SVN: r81617

20 years agore PR c++/14962 (g++ ignores #pragma redefine_extname)
Eric Botcazou [Fri, 7 May 2004 06:58:00 +0000 (08:58 +0200)]
re PR c++/14962 (g++ ignores #pragma redefine_extname)

PR c++/14962
* c-pragma.c (handle_pragma_redefine_extname): Only change
the assembler name of FUNCTION_DECLs and VAR_DECLs.

From-SVN: r81610

20 years agoUpdate ChangeLog to follow tree rules.
Loren J. Rittle [Fri, 7 May 2004 06:13:18 +0000 (06:13 +0000)]
Update ChangeLog to follow tree rules.

From-SVN: r81608

20 years agoi386-387-1.c: Add new test for __builtin_fmod.
Uros Bizjak [Fri, 7 May 2004 05:55:06 +0000 (07:55 +0200)]
i386-387-1.c: Add new test for __builtin_fmod.

* gcc.dg/i386-387-1.c: Add new test for __builtin_fmod.
* gcc.dg/i386-387-2.c: Likewise.

* gcc.dg/i386-387-5.c: Add new tests for __builtin_log1p and
__builtin_drem.
* gcc.dg/i386-387-6.c: Likewise.

From-SVN: r81607

20 years agooptabs.h (enum optab_index): Add new OTI_log1p.
Uros Bizjak [Fri, 7 May 2004 05:38:21 +0000 (07:38 +0200)]
optabs.h (enum optab_index): Add new OTI_log1p.

* optabs.h (enum optab_index): Add new OTI_log1p.
(log1p_optab): Define corresponding macro.
* optabs.c (init_optabs): Initialize log1p_optab.
* genopinit.c (optabs): Implement log1p_optab using log1p?f2
patterns.
* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG1P{,F,L}
using log1p_optab.
(expand_builtin): Expand BUILT_IN_LOG1P{,F,L} using
expand_builtin_mathfn if flag_unsafe_math_optimizations is set.

* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2XP1.

* config/i386/i386.c (ix86_emit_i387_log1p): New function.
* config/i386/i386-protos.h (ix86_emit_i387_log1p):
Prototype here.
* config/i386/i386.md (UNSPEC_FYL2XP1): New unspec to represent
x87's fyl2xp1 instruction.
(*fyl2x_xf3): Rename insn definition to fyl2x_xf3.
(fyl2xp1_xf3): New pattern to implement fyl2xp1 x87 instruction.
(log1psf2, log1pdf2, log1pxf2): New expanders to implement log1pf,
log1p  and log1pl built-ins as inline x87 intrinsics.

* testsuite/gcc.dg/builtins-33.c:  Also check log1p*.

From-SVN: r81606

20 years agoSimpleTimeZone.java (startTimeMode, [...]): New members.
Jerry Quinn [Fri, 7 May 2004 04:57:57 +0000 (04:57 +0000)]
SimpleTimeZone.java (startTimeMode, [...]): New members.

2004-05-07  Jerry Quinn  <jlquinn@optonline.net>

* java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
        WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
(SimpleTimeZone): Tweak docs.  Add new variation.
(setStartRule,setEndRule): Add new variations.  Use
        startTimeMode and endTimeMode.

From-SVN: r81605

20 years agoChangeLog
Jerry Quinn [Fri, 7 May 2004 04:18:19 +0000 (04:18 +0000)]
ChangeLog

From-SVN: r81604