OSDN Git Service
kazu [Tue, 5 Oct 2004 18:48:44 +0000 (18:48 +0000)]
* tree-cfg.c (cleanup_tree_cfg): Remove variable
something_changed. Simplify the while loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88564
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 5 Oct 2004 17:10:42 +0000 (17:10 +0000)]
* builtins.c (expand_builtin_memmove): Delete duplicate code
and accept a tree type for the result.
(expand_builtin_bcopy): Accept a tree type for the result.
(fold_builtin_memmove): Accept an arglist and tree type for
the result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88563
138bc75d-0d04-0410-961f-
82ee72b054a4
rmathew [Tue, 5 Oct 2004 17:07:14 +0000 (17:07 +0000)]
Prepare for %q, %< and %> in diagnostic message strings.
* java-tree.h (parse_error_context): remove ATTRIBUTE_PRINTF_2.
Name second parameter 'msgid'.
* parse.y: Additionally include pretty-print.h and diagnostic.h.
(issue_warning_error_from_context): Use pretty-printer functions
instead of vsprintf for constructing formatted messages. Rename
parameter 'msg' to 'msgid'.
(parse_error_context): Rename parameter 'msg' to 'msgid'.
(parse_warning_context): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88562
138bc75d-0d04-0410-961f-
82ee72b054a4
fche [Tue, 5 Oct 2004 16:15:55 +0000 (16:15 +0000)]
* thanks kcook
2004-10-05 Frank Ch. Eigler <fche@redhat.com>
* configure.ac: Checking for sys/socket.h once is enough.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88559
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 5 Oct 2004 16:08:02 +0000 (16:08 +0000)]
cp:
PR c++/17829
* parser.c (cp_parser_postfix_expression): Inhibit Koenig when
unqualified lookup finds a member function.
testsuite:
PR c++/17829
* g++.dg/lookup/koenig4.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88558
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 5 Oct 2004 15:52:20 +0000 (15:52 +0000)]
configure.in: Enable target-libgloss for crx-*-*.
configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88557
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 5 Oct 2004 14:55:39 +0000 (14:55 +0000)]
2004-10-05 Andrew Haley <aph@redhat.com>
PR java/17779
* jcf-parse.c (parse_zip_file_entries): If a class has a
superclass and a TYPE_SIZE of zero, lay it out.
2004-09-30 Andrew Haley <aph@redhat.com>
PR java/17733
* jcf-parse.c (compute_class_name): Rewrite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88556
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Tue, 5 Oct 2004 14:06:25 +0000 (14:06 +0000)]
* config/s390/s390.c (s390_dump_pool): Remove return value.
Use gen_pool_align, gen_pool_section_start/end instead of
gen_pool_start/end_31/64.
* config/s390/s390.md (UNSPECV_POOL_START, UNSPECV_POOL_END): Remove.
(UNSPECV_POOL_SECTION, UNSPECV_POOL_ALIGN): New constants.
("pool_start_31", "pool_end_31"): Remove.
("pool_start_64", "pool_end_64"): Likewise.
("pool_align", "pool_section_start", "pool_section_end": New insns.
* config/s390/s390.c (s390_cannot_copy_insn_p): New function.
(TARGET_CANNOT_COPY_INSN_P): Define.
(s390_cannot_force_const_mem): Handle UNSPEC_INSN.
(struct constant_pool): New member 'execute'.
(s390_add_execute, s390_find_execute): New functions.
(s390_execute_label, s390_execute_target): Likewise.
(s390_dump_pool): Output in-pool execute target templates.
(s390_dump_execute): New function.
(s390_alloc_pool, s390_free_pool): Handle execute templates.
(s390_mainpool_start, s390_mainpool_finish): Likewise.
(s390_chunkify_start, s390_chunkify_finish): Likewise.
* config/s390/s390.md (UNSPEC_INSN, UNSPEC_EXECUTE): New constants.
("*execute"): New insn pattern.
("movmem_short", "*movmem_short"): Use splitters to generate
explicit execute pattern, remove embedded execute.
("clrmem_short", "*clrmem_short"): Likewise.
("cmpmem_short", "*cmpmem_short"): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88555
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 5 Oct 2004 13:57:06 +0000 (13:57 +0000)]
2004-10-05 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa.c (verify_ssa): Verify phi arguments only
contain renamed names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88554
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Tue, 5 Oct 2004 13:45:38 +0000 (13:45 +0000)]
* configure.host (abi_baseline_pair): Define for s390-*-linux* and
s390x-*-linux*.
* config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols.
* config/abi/s390x-linux-gnu/baseline_symbols.txt: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88553
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Tue, 5 Oct 2004 13:28:07 +0000 (13:28 +0000)]
Convert diagnostics to use quoting flag q 4/n
* parser.c (cp_parser_name_lookup_error,
cp_parser_diagnose_invalid_type_name,
cp_parser_primary_expression, cp_parser_unqualified_id,
cp_parser_nested_name_specifier_opt,
cp_parser_labeled_statement,
cp_parser_jump_statement, cp_parser_simple_declaration,
cp_parser_decl_specifier_seq, cp_parser_mem_initializer_id,
cp_parser_type_parameter, cp_parser_template_id,
cp_parser_template_name, cp_parser_direct_declarator,
cp_parser_parameter_declaration_list, cp_parser_class_head,
cp_parser_base_specifier, cp_parser_lookup_name,
cp_parser_late_parsing_default_args,
cp_parser_optional_template_keyword
cp_parser_elaborated_type_specifier,
cp_parser_check_class_key,
cp_parser_check_access_in_redeclaration): Use quoting marks.
* name-lookup.c (supplement_binding, pushdecl,
check_for_out_of_scope_variable,
validate_nonmember_using_decl,
do_nonmember_using_decl, lookup_tag, set_decl_namespace,
push_namespace, do_namespace_alias, do_using_directive,
ambiguous_decl, lookup_namespace_name, add_function):
Likewise.
* method.c (use_thunk): Likewise.
* lex.c (unqualified_name_lookup_error,
unqualified_fn_lookup_error): Likewise.
testsuite/
merlin[1:17]% cd build
~
merlin[1:17]% ls
~/build
3 4 4.0.0 c++0x r tree
merlin[1:17]% cd 4.0.0
~/build
merlin[1:17]% cd gcc
~/build/4.0.0
merlin[1:17]% make check-g++
~/build/4.0.0/gcc
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd /home/gdr/redhat/egcs/gcc; ${PWDCMD-pwd}` ; export srcdir ;
\
cd testsuite; \
EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ;
\
if [ -f ${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd /home/gdr/redhat/egcs/gcc/../tcl/library ;
${PWDCMD-pwd}` ; \
export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ )
Test Run By gdr on Tue Oct 5 01:18:04 2004
Native configuration is i686-pc-linux-gnu
=== g++ tests ===
Schedule of variations:
unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
target.
Using /home/gdr/redhat/egcs/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/bprob/bprob.exp ...
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/charset/charset.exp
...
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/compat/compat.exp
...
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/debug/debug.exp ...
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/dg.exp ...
FAIL: g++.dg/other/classkey1.C (test for errors, line 9)
FAIL: g++.dg/other/classkey1.C (test for errors, line 11)
FAIL: g++.dg/other/classkey1.C (test for errors, line 14)
FAIL: g++.dg/other/classkey1.C (test for errors, line 17)
FAIL: g++.dg/other/classkey1.C (test for excess errors)
FAIL: g++.dg/parse/error15.C (test for errors, line 13)
FAIL: g++.dg/parse/error15.C (test for errors, line 14)
FAIL: g++.dg/parse/error15.C (test for errors, line 15)
FAIL: g++.dg/parse/error15.C (test for errors, line 21)
FAIL: g++.dg/parse/error15.C (test for errors, line 22)
FAIL: g++.dg/parse/error15.C (test for errors, line 23)
FAIL: g++.dg/parse/error15.C (test for errors, line 31)
FAIL: g++.dg/parse/error15.C (test for errors, line 32)
FAIL: g++.dg/parse/error15.C (test for errors, line 33)
FAIL: g++.dg/parse/error15.C (test for excess errors)
XPASS: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
XPASS: g++.dg/rtti/tinfo1.C scan-assembler-not .globl[
\t]+_ZTIP9CTemplateIhE
XPASS: g++.dg/rtti/tinfo1.C scan-assembler-not
.section[^\n\r]*_ZTIP9CTemplateIhE[^\n\r]*
FAIL: g++.dg/template/meminit2.C (test for errors, line 10)
FAIL: g++.dg/template/meminit2.C (test for errors, line 11)
FAIL: g++.dg/template/meminit2.C (test for excess errors)
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/gcov/gcov.exp ...
FAIL: 102:is -:should be 1
FAIL: g++.dg/gcov/gcov-1.C gcov: 1 failures in line counts, 0 in
branch percentamerlin[1:27]% make check-g++
~/build/4.0.0/gcc
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd /home/gdr/redhat/egcs/gcc; ${PWDCMD-pwd}` ; export srcdir ;
\
cd testsuite; \
EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ;
\
if [ -f ${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd /home/gdr/redhat/egcs/gcc/../tcl/library ;
${PWDCMD-pwd}` ; \
export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ )
Test Run By gdr on Tue Oct 5 01:27:39 2004
Native configuration is i686-pc-linux-gnu
=== g++ tests ===
Schedule of variations:
unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
tar method.c
cfns.gperf cxx-pretty-print.c method.c.~1.315.~
cfns.h cxx-pretty-print.h name-lookup.c
ChangeLog decl2.c name-lookup.c.~1.85.~
ChangeLog.1 decl.c name-lookup.h
ChangeLog.~1.4404.~ decl.h NEWS
ChangeLog.2 dump.c operators.def
ChangeLog.3 error.c optimize.c
ChangeLog.egcs except.c parser.c
ChangeLog.tree-ssa expr.c parser.c.~1.258.~
class.c friend.c pt.c
config-lang.in g++spec.c ptree.c
cp-gimplify.c init.c repo.c
cp-lang.c init.c.~1.396.~ rtti.c
cp-objcp-common.c lang-specs.h search.c
cp-objcp-common.h lex.c semantics.c
cp-tree.def lex.c.~1.349.~ tree.c
cp-tree.h Make-lang.in typeck2.c
CVS mangle.c typeck.c
merlin[7:37]% cvs -z9 diff -p > ~/d-5.patch
~/redhat/egcs/gcc/cp
Enter passphrase for RSA key '/home/gdr/.ssh/identity': cvs [diff
aborted]: received interrupt signal
merlin[7:37]% cvs -z9 diff -p > ~/d-5.patch
~/redhat/egcs/gcc/cp
Warning: Remote host denied X11 forwarding.
Warning: Remote host denied authentication agent forwarding.
cvs diff: Diffing .
merlin[7:38]% l ~/d-5.patch
~/redhat/egcs/gcc/cp
merlin[7:39]% cvs -z9 diff -p > ~/d-5.patch
~/redhat/egcs/gcc/cp
Warning: Remote host denied X11 forwarding.
Warning: Remote host denied authentication agent forwarding.
cvs diff: Diffing .
merlin[7:40]% l ~/d-5.patch
~/redhat/egcs/gcc/cp
You have new mail.
merlin[8:21]% cvs -z9 commit
~/redhat/egcs/gcc/cp
merlin[8:21]% cd .
~/redhat/egcs/gcc/cp
merlin[8:21]% cvs -z9 commit cp testsuite
~/redhat/egcs/gcc/cp
cvs commit: nothing known about `cp'
cvs commit: nothing known about `testsuite'
cvs [commit aborted]: correct above errors first!
merlin[8:21]% cd ..
~/redhat/egcs/gcc/cp
merlin[8:21]% cvs -z9 commit cp testsuite
~/redhat/egcs/gcc
cvs commit: Examining cp
cvs commit: Examining testsuite
cvs commit: Examining testsuite/ada
cvs commit: Examining testsuite/ada/acats
cvs commit: Examining testsuite/ada/acats/support
cvs commit: Examining testsuite/ada/acats/tests
cvs commit: Examining testsuite/ada/acats/tests/a
cvs commit: Examining testsuite/ada/acats/tests/c2
cvs commit: Examining testsuite/ada/acats/tests/c3
cvs commit: Examining testsuite/ada/acats/tests/c4
cvs commit: Examining testsuite/ada/acats/tests/c5
cvs commit: Examining testsuite/ada/acats/tests/c6
cvs commit: Examining testsuite/ada/acats/tests/c7
cvs commit: Examining testsuite/ada/acats/tests/c8
cvs commit: Examining testsuite/ada/acats/tests/c9
cvs commit: Examining testsuite/ada/acats/tests/ca
cvs commit: Examining testsuite/ada/acats/tests/cb
cvs commit: Examining testsuite/ada/acats/tests/cc
cvs commit: Examining testsuite/ada/acats/tests/cd
cvs commit: Examining testsuite/ada/acats/tests/ce
cvs commit: Examining testsuite/ada/acats/tests/cxa
cvs commit: Examining testsuite/ada/acats/tests/cxb
cvs commit: Examining testsuite/ada/acats/tests/cxf
cvs commit: Examining testsuite/ada/acats/tests/cxg
cvs commit: Examining testsuite/ada/acats/tests/cxh
cvs commit: Examining testsuite/ada/acats/tests/cz
cvs commit: Examining testsuite/ada/acats/tests/d
cvs commit: Examining testsuite/ada/acats/tests/e
cvs commit: Examining testsuite/ada/acats/tests/gcc
cvs commit: Examining testsuite/ada/acats/tests/l
cvs commit: Examining testsuite/config
cvs commit: Examining testsuite/consistency.vlad
cvs commit: Examining testsuite/consistency.vlad/layout
cvs commit: Examining
testsuite/consistency.vlad/layout/i960-97r2-results
cvs commit: Examining testsuite/g++.dg
cvs commit: Examining testsuite/g++.dg/abi
cvs commit: Examining testsuite/g++.dg/bprob
cvs commit: Examining testsuite/g++.dg/charset
cvs commit: Examining testsuite/g++.dg/compat
cvs commit: Examining testsuite/g++.dg/compat/abi
cvs commit: Examinin
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88552
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 5 Oct 2004 12:43:58 +0000 (12:43 +0000)]
* config/rs6000/linux.h: Formatting, whitespace.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/rs6000-protos.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
(easy_vector_splat_const): Add fall thru comments.
(output_vec_const_move): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88551
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 5 Oct 2004 11:56:00 +0000 (11:56 +0000)]
2004-10-05 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in: Update -Wno-error exceptions for move to build dir.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88550
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 5 Oct 2004 10:28:17 +0000 (10:28 +0000)]
2004-10-05 Christopher Jefferson <caj@cs.york.ac.uk>
* include/bits/stl_algobase.h (iter_swap): delegate to swap via
__iter_swap when iterator's value_types are equal.
(struct __iter_swap): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88549
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Tue, 5 Oct 2004 08:13:11 +0000 (08:13 +0000)]
2004-10-05 Vincent Celier <celier@gnat.com>
* mlib-tgt.ads: (Build_Dynamic_Library): New parameter Options_2
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88548
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 5 Oct 2004 07:15:03 +0000 (07:15 +0000)]
* doc/invoke.texi (-mpaired-single): Link to the new description of the
built-in functions. Document dependencies.
(-mips3d): Add link here too.
* doc/extend.texi (MIPS Paired-Single Support): New section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88547
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 5 Oct 2004 05:02:58 +0000 (05:02 +0000)]
2004-10-04 Benjamin Kosnik <bkoz@redhat.com>
* configure.ac (libtool_VERSION): To 6:3:0.
* configure: Regnerate.
* testsuite/testsuite_abi.cc (check_version): Add 3.4.3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88545
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Tue, 5 Oct 2004 03:13:43 +0000 (03:13 +0000)]
* tests/base/sys/cdefs.h: Update from test area.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88542
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 5 Oct 2004 02:31:10 +0000 (02:31 +0000)]
2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
* intrinsics/mvbits.c: Commit the file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88541
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 5 Oct 2004 02:30:48 +0000 (02:30 +0000)]
PR libstdc++/17505
* config/linker-map.gnu: Synchronize the current list of stub
functions from libmath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88540
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 5 Oct 2004 00:16:26 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88537
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 5 Oct 2004 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88536
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Mon, 4 Oct 2004 22:26:16 +0000 (22:26 +0000)]
* configure.ac (*-*-freebsd[[1234]]*): Refine error message
emission rule.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88533
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Mon, 4 Oct 2004 21:30:32 +0000 (21:30 +0000)]
fortran/
PR fortran/17776
* check.c (gfc_check_system_sub): New function.
* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SYSTEM.
* intrinsic.c (add_functions): Add 'system'.
(add_subroutines): Add 'system'.
* intrinsic.h (gfc_check_etime_sub, gfc_check_getcwd_sub):
Move prototypes to other suborutines.
(gfc_check_system_sub, gfc_resolve_system, gfc_resolve_system_sub):
Add prototype.
(gfc_resolve_system_clock): Fix formatting of prototype.
* iresolve.c (gfc_resolve_system, gfc_resolve_system_sub): New
functions.
* trans-intrinsic.c (gfc_conv_intrinsic_function): Deal with
GFC_ISYM_SYSTEM.
libgfortran/
PR fortran/17776
* intrinsics/system.c: New file.
* Makefile.am: Add dependency for the new file.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88532
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Mon, 4 Oct 2004 21:05:07 +0000 (21:05 +0000)]
fortran/
PR fortran/17708
* parse.c (accept_statement): Don't treat END DO like END IF and
END SELECT.
(parse_do_block): Generate possible END DO label inside END DO
block.
also, added ChangeLog entry for previous commit.
testsuite/
PR fortran/17708
* gfortran.dg/pr17708.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88529
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Mon, 4 Oct 2004 20:55:49 +0000 (20:55 +0000)]
* trans-const.c (gfc_build_cstring_const): New function.
(gfc_init_cst): Use new function.
* trans-const.h (gfc_build_cstring_const): Add prototype.
* trans-io.c (set_string, set_error_locus): Use new function.
* trans-stmt.c (gfc_trans_goto): Use new function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88528
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Mon, 4 Oct 2004 20:49:39 +0000 (20:49 +0000)]
PR fortran/17631
fortran/
* intrinsic.c (add_sym_5): Remove.
(add_subroutines): Add resolution function for MVBITS.
* intrinsic.h (gfc_resolve_mvbits): Declare resolution function for
MVBITS
* iresolve.c (gfc_resolve_mvbits): New function.
(gfc_resolve_random_number): Remove empty line at end of function.
libgfortran/
* Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
* intrinsics/mvbits.h: New file.
testsuite/
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88527
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Mon, 4 Oct 2004 19:27:29 +0000 (19:27 +0000)]
PR fortran/17283
fortran/
* iresolve.c (gfc_resolve_pack): Choose function depending if mask is
scalar.
libgfortran/
* intrinsics/pack_generic.c (__pack): Allocate memory for return array
if not done by caller.
(__pack_s): New function.
* runtime/memory.c (internal_malloc, internal_malloc64): Allow
allocating zero memory.
testsuite/
* gfortran.fortran-torture/execute/intrinsic_pack.f90: Add more tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88526
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Mon, 4 Oct 2004 19:10:02 +0000 (19:10 +0000)]
2004-10-04 Laurent GUERBY <laurent@guerby.net>
PR ada/15156
* Makefile.in: Define and use RANLIB_FLAGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88525
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 4 Oct 2004 18:48:21 +0000 (18:48 +0000)]
2004-10-04 Chao-ying Fu <fu@mips.com>
* gcc.dg/vect/pr16105.c: Enable for mipsisa64*-*-*.
* gcc.dg/vect/vect-4.c: Ditto.
* gcc.dg/vect/vect-5.c: Ditto.
* gcc.dg/vect/vect-6.c: Ditto.
* gcc.dg/vect/vect-8.c: Ditto.
* gcc.dg/vect/vect-16.c: Ditto.
* gcc.dg/vect/vect-30.c: Ditto.
* gcc.dg/vect/vect-40.c: Ditto.
* gcc.dg/vect/vect-41.c: Ditto.
* gcc.dg/vect/vect-42.c: Ditto.
* gcc.dg/vect/vect-43.c: Ditto.
* gcc.dg/vect/vect-44.c: Ditto.
* gcc.dg/vect/vect-45.c: Ditto.
* gcc.dg/vect/vect-46.c: Ditto.
* gcc.dg/vect/vect-47.c: Ditto.
* gcc.dg/vect/vect-48.c: Ditto.
* gcc.dg/vect/vect-49.c: Ditto.
* gcc.dg/vect/vect-50.c: Ditto.
* gcc.dg/vect/vect-51.c: Ditto.
* gcc.dg/vect/vect-52.c: Ditto.
* gcc.dg/vect/vect-53.c: Ditto.
* gcc.dg/vect/vect-54.c: Ditto.
* gcc.dg/vect/vect-55.c: Ditto.
* gcc.dg/vect/vect-56.c: Ditto.
* gcc.dg/vect/vect-57.c: Ditto.
* gcc.dg/vect/vect-58.c: Ditto.
* gcc.dg/vect/vect-59.c: Ditto.
* gcc.dg/vect/vect-60.c: Ditto.
* gcc.dg/vect/vect-74.c: Ditto.
* gcc.dg/vect/vect-79.c: Ditto.
* gcc.dg/vect/vect-80.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88523
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 4 Oct 2004 18:33:16 +0000 (18:33 +0000)]
2004-10-04 Chao-ying Fu <fu@mips.com>
* config/mips/mips.h (UNITS_PER_SIMD_WORD): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88518
138bc75d-0d04-0410-961f-
82ee72b054a4
fche [Mon, 4 Oct 2004 17:33:54 +0000 (17:33 +0000)]
2004-10-04 Frank Ch. Eigler <fche@redhat.com>
* configure.ac: Look for more headers & functions.
* mf-hooks2.c (getmntent, inet_ntoa, getproto*): New wrapper functions.
* mf-runtime.h.in: Add new "#pragma redefine_extname"s for them.
* mf-runtime.c (options): Clean up integer signedness warnings.
(main): Add a declaration to fix a warning.
* mf-hooks3.c (pthread_exit): Add not-reached exit() to wrapper.
* configure, config.h.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88517
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 4 Oct 2004 17:08:04 +0000 (17:08 +0000)]
2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/unused-7.c: Use the correct option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88516
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Mon, 4 Oct 2004 15:47:16 +0000 (15:47 +0000)]
2004-10-04 Erik Schnetter <schnetter@aei.mpg.de>
* scanner.c (preprocessor_line): Accept preprocessor lines without
file names. Check file names for closing quotes. Handle escaped
quotes in file names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88514
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Mon, 4 Oct 2004 15:33:18 +0000 (15:33 +0000)]
2004-10-04 Paul Brook <paul@codesourcery.com>
Bud Davis <bdavis9659@comcast.net>
PR fortran/17706
PR fortran/16434
* io/format.c (parse_format_list): Set repeat count for S, SP, SS,
BN and BZ formats.
* io/write.c (output_float): Don't output minus zero.
libgfortran/
* gfortran/pr17706.f90: New test.
* gfortran.dg/g77/f77-edit-s-out.f: Remove xfail.
Actually apply the patch this time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88513
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Mon, 4 Oct 2004 15:32:13 +0000 (15:32 +0000)]
2004-10-04 Paul Brook <paul@codesourcery.com>
Bud Davis <bdavis9659@comcast.net>
PR fortran/17706
PR fortran/16434
* io/format.c (parse_format_list): Set repeat count for S, SP, SS,
BN and BZ formats.
* io/write.c (output_float): Don't output minus zero.
libgfortran/
* gfortran/pr17706.f90: New test.
* gfortran.dg/g77/f77-edit-s-out.f: Remove xfail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88512
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Mon, 4 Oct 2004 15:07:50 +0000 (15:07 +0000)]
Convert diagnostics to use quoting flag q 4/n
* except.c (decl_is_java_type, build_throw,
is_admissible_throw_operand, check_handlers_1,
check_handlers):
Use quoting formats.
* friend.c (add_friend, make_friend_class, do_friend):
Likewise.
* init.c (sort_mem_initializers, emit_mem_initializers,
member_init_ok_or_else, expand_member_init, is_aggr_type,
build_offset_ref, build_java_class_ref): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88511
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 15:02:29 +0000 (15:02 +0000)]
2004-10-04 Pascal Obry <obry@gnat.com>
* tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all
other x86 platforms).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88510
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 15:02:10 +0000 (15:02 +0000)]
2004-10-04 Olivier Hainque <hainque@act-europe.fr>
* s-tassta.adb (Task_Wrapper): Make it Convention C, which makes sense
in general and triggers stack alignment adjustment for thread entry
points on targets where this is necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88509
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 15:01:52 +0000 (15:01 +0000)]
2004-10-04 Bernard Banner <banner@gnat.com>
PR ada/13897
* Makefile.in: Add section for powerpc linux
Add variant i-vxwork-x86.ads
* i-vxwork-x86.ads, system-linux-ppc.ads: New files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88508
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 15:01:21 +0000 (15:01 +0000)]
2004-10-04 Olivier Hainque <hainque@act-europe.fr>
* init.c (__gnat_initialize): Call an Ada subprogram to perform the
table registration calls when need be. Ensures no reference to the crt
ctors symbol are issued in the SJLJ case, which avoids possible
undefined symbol errors in the case of modules to be statically linked
with the kernel.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88507
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 15:01:03 +0000 (15:01 +0000)]
2004-10-04 Javier Miranda <miranda@gnat.com>
* sem_ch4.adb (Try_Object_Operation): Reformat the code to expand
in-line the code corresponding to subprogram Analyze_Actuals. In
addition, analyze the actuals only in case of subprogram call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88506
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 15:00:43 +0000 (15:00 +0000)]
2004-10-04 Ed Falis <falis@gnat.com>
* s-vxwork-x86.ads: (FP_CONTEXT): Defined to be correct size
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88505
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 15:00:26 +0000 (15:00 +0000)]
2004-10-04 Sergey Rybin <rybin@act-europe.fr>
* g-dirope.ads (Base_Name): Clarify the meaning of the Suffix parameter
in the documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88504
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 15:00:06 +0000 (15:00 +0000)]
2004-10-04 Robert Dewar <dewar@gnat.com>
* sem_ch5.adb (Unblocked_Exit_Count): Now used for blocks as well as
IF and CASE.
(Analyze_Block_Statement): Add circuitry to detect following dead code
(Check_Unreachable_Code): Handle case of block exit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88503
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:59:42 +0000 (14:59 +0000)]
2004-10-04 Robert Dewar <dewar@gnat.com>
* g-spipat.adb: (XMatch): Avoid warning for Logic_Error call
(XMatchD): Avoid warning for Logic_Error call
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88502
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:59:10 +0000 (14:59 +0000)]
2004-10-04 Robert Dewar <dewar@gnat.com>
* exp_ch4.adb (Is_Procedure_Actual): Correct so that this does not
consider expressions buried within a procedure actual to be an actual.
This caused some blowups with uses of packed slices within a procedure
actual.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88501
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:58:47 +0000 (14:58 +0000)]
2004-10-04 Robert Dewar <dewar@gnat.com>
* exp_ch3.adb (Needs_Simple_Initialization): Modular packed arrays no
longer need to be initialized to zero.
(Get_Simple_Init_Val): Modular packed arrays no longer need to be
initialized to zero.
* checks.adb (Expr_Known_Valid): Packed arrays are now always
considered valid, even if the representation is modular. That's correct
now that we no longer initialize packed modular arrays to zero.
* exp_dbug.ads: Clarify documentation on handling of PAD and JM
suffixes. These are now documented as the only cases in which the
debugger ignores outer records.
Previously, the spec allowed arbitrary suffixes for this purpose.
Change name of LJM to JM for packed array pad records
Create separate section on packed array handling, and add a whole new
set of comments to this section describing the situation with packed
modular types and justification requirements depending on endianness.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88500
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:58:21 +0000 (14:58 +0000)]
2004-10-04 Robert Dewar <dewar@gnat.com>
* a-except.adb: Add a comment for last change
* einfo.ads: Minor spelling correction in comment
* exp_pakd.adb, gnatdll.adb, prj-attr.ads: Minor reformatting
* sem_ch11.adb: Fix a case of using | instead of \ for continuation
messages.
* sem_util.ads: Minor comment update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88499
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:57:56 +0000 (14:57 +0000)]
2004-10-04 Ed Schonberg <schonberg@gnat.com>
* sem_ch6.adb (Analyze_Subprogram_Body): Do not treat Inline as
Inline_Always when in Configurable_Run_Time mode.
* sem_prag.adb (Process_Convention): If entity is an inherited
subprogram, apply convention to parent subprogram if in same scope.
(Analyze_Pragma, case Inline): Do not treat Inline as Inline_Always
when in Configurable_Run_Time mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88498
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:57:31 +0000 (14:57 +0000)]
2004-10-04 Ed Schonberg <schonberg@gnat.com>
* sem_ch3.adb (Build_Derived_Record_Type): Set First/Last entity of
class_wide type after component list has been inherited.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88497
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:57:11 +0000 (14:57 +0000)]
2004-10-04 Ed Schonberg <schonberg@gnat.com>
* sem_ch12.adb (Check_Generic_Actuals): New predicate
Denotes_Previous_Actual, to handle properly the case of a private
actual that is also the component type of a subsequent array actual.
The visibility status of the first actual is not affected when the
second is installed.
(Process_Nested_Formal): Subsidiary of Instantiate_Formal_Package, to
make fully recursive the treatment of formals of packages declared
with a box.
(Restore_Nested_Formal): Subsidiary of Restore_Private_Views, to undo
the above on exit from an instantiation.
(Denotes_Formal_Package): When called from Restore_Private_Views, ignore
current instantiation which is now complete.
(Analyze_Package_Instantiation): No instantiated body is needed if the
main unit is generic. Efficient, and avoid anomalies when a instance
appears in a package accessed through rtsfind.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88496
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:56:49 +0000 (14:56 +0000)]
2004-10-04 Ed Schonberg <schonberg@gnat.com>
* exp_ch6.adb (Expand_N_Function_Call): If stack checking is enabled,
do not generate a declaration for a temporary if the call is part of a
library-level instantiation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88495
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:56:27 +0000 (14:56 +0000)]
2004-10-04 Ed Schonberg <schonberg@gnat.com>
* sem_util.adb (Explain_Limited_Type): Ignore internal components when
searching for a limited component to flag.
* exp_attr.adb (Freeze_Stream_Subprogram): Subsidiary procedure to
expansion of Input, to account for the fact that the implicit call
generated by the attribute reference must freeze the user-defined
stream subprogram. This is only relevant to 'Input, because it can
appear in an object declaration, prior to the body of the subprogram.
* sem_ch13.adb (Rep_Item_Too_Late): Make the error non-serious, so that
expansion can proceed and further errors uncovered.
(Minor clean up): Fix cases of using | instead of \ for continuation
messages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88494
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:56:04 +0000 (14:56 +0000)]
2004-10-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* cuintp.c, decl.c, utils2.c: Use gcc_assert and gcc_unreachable.
* trans.c (assoc_to_constructor): Fix unused var warning if no checking.
(gnat_gimplify_expr, case ADDR_EXPR): Fix error in last change.
Use gcc_assert and gcc_unreachable.
* decl.c (gnat_to_gnu_entity, case object): Check and process a
specified alignment before validating size.
(gnat_to_gnu_entity) <E_Modular_Integer_Subtype>: Create a
stripped-down declaration for the type of the inner field when making
a JM type.
* utils.c (finish_record_type): Do not compute the size in units
incrementally. Instead compute it once for the rep clause case.
Use gcc_assert and gcc_unreachable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88493
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:55:32 +0000 (14:55 +0000)]
2004-10-04 Vincent Celier <celier@gnat.com>
* a-dirval-mingw.adb (Invalid_Character): Add '\' as invalid character
in file name.
(Is_Valid_Path_Name): Take '/' as a directory separator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88492
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:55:06 +0000 (14:55 +0000)]
2004-10-04 Vincent Celier <celier@gnat.com>
* prj-part.adb (Parse_Single_Project): Call Is_Extending_All
(Extended_Project) only if Extended_Project is defined, to avoid
assertion error.
(Post_Parse_Context_Clause): Always call Set_Path_Name_Of with a
resolved path.
(Parse_Single_Project): Ditto.
* prj-env.adb (Set_Ada_Paths.Add.Recursive_Add): Do not call
Add_To_Project_Path for virtual projects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88491
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:53:52 +0000 (14:53 +0000)]
2004-10-04 Vincent Celier <celier@gnat.com>
* mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb,
mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb,
mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-mingw.adb,
mlib-tgt-vxworks.adb, mlib-tgt.adb (Build_Dynamic_Library): New
parameter Options_2.
* mlib-prj.ads, mlib-prj.adb (Build_Library): Call
Build_Dynamic_Library with an empty Options_2.
* mlib-utl.ads, mlib-utl.adb (Gcc): Parameter Options_2 has no
default anymore.
* makegpr.adb (Get_Imported_Directories.add): Remove trailing
directory separator, if any.
(Gprmake): Do not allow mains on the command line for library projects.
Do not attempt to link when the project is a library project.
(Library_Opts): New table to store Library_Options.
(Build_Library): If Library_Options is specified, pass these options
when building a shared library.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88490
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:51:59 +0000 (14:51 +0000)]
2004-10-04 Jose Ruiz <ruiz@act-europe.fr>
* s-tposen.adb (Service_Entry): The object must be always unlocked at
the end of this procedure now that the unlock operation was inserted
by the expander.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88489
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:51:17 +0000 (14:51 +0000)]
2004-10-04 Jose Ruiz <ruiz@act-europe.fr>
* targparm.ads, targparm.adb (Targparm_Tags): Add PAS value
corresponding to the Preallocated_Stacks flags in System.
(Get_Target_Parameters): Including the processing for
Preallocated_Stacks.
* system.ads, system-vxworks-x86.ads, system-darwin-ppc.ads,
system-vms_64.ads, system-unixware.ads, system-linux-ia64.ads,
system-freebsd-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads,
system-linux-x86_64.ads, system-tru64.ads, system-aix.ads,
system-vxworks-sparcv9.ads, system-vxworks-xscale.ads,
system-solaris-x86.ads, system-irix-o32.ads, system-irix-n32.ads,
system-hpux.ads, system-vxworks-m68k.ads, system-linux-x86.ads,
system-vxworks-mips.ads, system-os2.ads, system-interix.ads,
system-solaris-sparc.ads, system-solaris-sparcv9.ads, system-vms.ads,
system-mingw.ads, system-vms-zcx.ads, system-vxworks-ppc.ads,
system-vxworks-alpha.ads: Add the flag Preallocated_Stacks, that is
used to signal whether the compiler creates the required stacks and
descriptors for the different tasks (when True) or it is done by the
underlying operating system at run time (when False).
It is initially set to False in all targets.
* exp_ch9.adb (Expand_N_Task_Type_Declaration): Create the task stack
if it is supported by the target.
(Make_Task_Create_Call): Pass the stack address if it has been
previously created. Otherwise pass a Null_Address.
* snames.adb: Add _stack.
* snames.ads: Add Name_uStack. Required to allow the expander to
statically allocated task stacks.
* s-tarest.ads, s-tarest.adb (Create_Restricted_Task): Add
Stack_Address argument.
Check that its value is equal to Null_Address because this target does
not support the static stack allocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88488
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:50:35 +0000 (14:50 +0000)]
2004-10-04 Thomas Quinot <quinot@act-europe.fr>
* usage.adb: Change "pragma inline" to "pragma Inline" in information
and error messages
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88487
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:50:08 +0000 (14:50 +0000)]
2004-10-04 Thomas Quinot <quinot@act-europe.fr>
* exp_dist.adb: Split declaration of asynchronous flag out of
Add_RACW_Read_Attribute.
Minor reformatting for better alignment with PolyORB version.
Store the entity for the asynchronous flag of an RACW, rather than the
expression, in the asynchronous flags table. This will allow this flag
to be used in other subprograms beside Add_RACW_Read_Attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88486
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 4 Oct 2004 14:49:35 +0000 (14:49 +0000)]
2004-10-04 Thomas Quinot <quinot@act-europe.fr>
* g-socket.ads, g-socket.adb, g-socthi.adb, socket.c,
g-soccon-aix.ads, g-soccon-irix.ads, g-soccon-hpux.ads,
g-soccon-interix.ads, g-soccon-solaris.ads, g-soccon-vms.adb,
g-soccon-mingw.ads, g-soccon-vxworks.ads, g-soccon-freebsd.ads,
g-soccon.ads, g-soccon-unixware.ads, g-soccon-tru64.ads: Add new
sockets constant MSG_NOSIGNAL (Linux-specific).
Add new sockets constant MSG_Forced_Flags, list of flags to be set on
all Send operations.
For Linux, set MSG_NOSIGNAL on all send operations to prevent them
from trigerring SIGPIPE.
Rename components to avoid clash with Ada 2005 possible reserved
word 'interface'.
(Check_Selector): When the select system call returns with an error
condition, propagate Socket_Error to the caller.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88485
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Mon, 4 Oct 2004 13:19:20 +0000 (13:19 +0000)]
* tree-ssa-dom.c (tree_ssa_dominator_optimize):
Initialize OPT_STATS to 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88484
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Mon, 4 Oct 2004 13:03:43 +0000 (13:03 +0000)]
2004-10-04 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
Paul Brook <paul@codesourcery.com>
* trans-array.c (gfc_conv_expr_descriptor): Check for substriungs.
Use gfc_get_expr_charlen.
* trans-expr.c (gfc_get_expr_charlen): New function.
* trans.h (gfc_get_expr_charlen): Add prototype.
testsuite/
* gfortran.dg/pr17612.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88483
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Oct 2004 12:00:04 +0000 (12:00 +0000)]
* trans-intrinsic.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88481
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Oct 2004 11:57:09 +0000 (11:57 +0000)]
* tree-data-ref.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88480
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Mon, 4 Oct 2004 09:12:43 +0000 (09:12 +0000)]
* tree-data-ref.c (array_base_name_differ_p): Fix comments. When
the predicate cannot be computed, don't initialize the result to
false.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88479
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Mon, 4 Oct 2004 06:04:43 +0000 (06:04 +0000)]
cp/
Convert diagnostics to use quoting flag q 3/n
* decl.c (pop_label, duplicate_decls,
redeclaration_error_message,
redeclaration_error_message, lookup_label, check_goto,
make_typename_type, make_unbound_class_template,
fixup_anonymous_aggr, check_tag_decl, start_decl,
start_decl_1,
grok_reference_init, layout_var_decl, maybe_commonize_var,
check_for_uninitialized_const_var, reshape_init_array,
reshape_init, check_initializer, cp_finish_decl,
member_function_or_else, bad_specifiers, grokfndecl,
grokvardecl,
check_static_variable_definition, compute_array_index_type,
create_array_type_for_decl,
check_special_function_return_type,
grokdeclarator, check_default_argument, grokparms,
grok_ctor_properties, grok_op_properties,
check_elaborated_type_specifier, xref_tag, finish_enum,
build_enumerator, check_function_type,
start_preparsed_function,
store_parm_decls): Use quoting formats.
* decl2.c (grok_array_decl, delete_sanity,
check_member_template,
check_java_method, check_classfn,
finish_static_data_member_decl,
grokfield, grokbitfield, grok_function_init,
build_anon_union_vars, coerce_new_type, coerce_delete_type,
check_default_args): Likewise.
* parser.c (cp_parser_decl_specifier_seq): Likewise.
testsuite/
* g++.dg/template/local1.C: Adjust quoting marks in
testing for diagnostics.
* g++.dg/tls/diag-2.C: Likewise.
* g++.dg/other/error8.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88478
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Mon, 4 Oct 2004 05:29:27 +0000 (05:29 +0000)]
2004-10-01 Eric Christopher <echristo@redhat.com>
* dwarf2.h (dwarf_calling_convention): Add GNU prefix to
locally defined enum.
* dwarf2out.c (add_calling_convention_attribute): Don't
emit DW_CC_normal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88477
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Oct 2004 04:54:21 +0000 (04:54 +0000)]
* MAINTAINERS (Various Maintainers): Move the "windows,
cygwin, mingw" maintainer to ...
(OS Port Maintainers): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88476
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Oct 2004 04:39:44 +0000 (04:39 +0000)]
* MAINTAINERS (Write After Approval): Remove those that are
maintainers of some subsystem.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88475
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Mon, 4 Oct 2004 00:40:26 +0000 (00:40 +0000)]
Convert diagnostics to use quoting flag q 2/n
* class.c (build_base_path, add_method, alter_access,
handle_using_decl, check_bases,
maybe_warn_about_overly_private_class, find_final_overrider,
warn_hidden, finish_struct_anon,
add_implicitly_declared_members,
check_bitfield_decl, check_field_decls, layout_empty_base,
build_base_field, check_methods, layout_virtual_bases,
warn_about_ambiguous_bases, layout_class_type,
finish_struct_1,
resolve_address_of_overloaded_function, instantiate_type,
note_name_declared_in_class): Use format flag "q" for quoting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88473
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 4 Oct 2004 00:19:57 +0000 (00:19 +0000)]
* config/locale/generic/c_locale.cc (__convert_to_v): Use
_GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof.
Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99
to check for presence of strtold.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88472
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 4 Oct 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88470
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 4 Oct 2004 00:10:07 +0000 (00:10 +0000)]
2004-10-03 Andrew Pinski <pinskia@physics.uc.edu>
PR c/17178, PR c/17820
* c-decl.c (pop_scope): Do not warn about unused static
variables as they warned in the middle-end.
2004-10-03 Andrew Pinski <pinskia@physics.uc.edu>
PR c/17178
* gcc.dg/unused-4.c: Adjust to be correct.
PR c/17820
* gcc.dg/unused-7.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88467
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 4 Oct 2004 00:04:58 +0000 (00:04 +0000)]
* builtins.c (expand_builtin_memcpy): Delete duplicate code
and make the first parameter the expression not the arglist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88466
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 3 Oct 2004 23:02:30 +0000 (23:02 +0000)]
Convert diagnostics to use quoting flag q 1/n
* error.c (locate_error): Ignore quoting flag q.
* call.c (build_user_type_conversion_1,
build_operator_new_call,
build_object_call, op_error, build_conditional_expr,
build_new_op, build_op_delete_call, enforce_access,
convert_like_real, convert_arg_to_ellipsis, build_x_va_arg,
convert_default_arg, build_over_call, build_new_method_call,
joust, perform_implicit_conversion, initialize_reference): Use
the
quoting flag q.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88465
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sun, 3 Oct 2004 22:50:18 +0000 (22:50 +0000)]
* expr.c (expand_expr_addr_expr): Only accept Pmode or ptr_mode
as valid modes to expand address expressions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88464
138bc75d-0d04-0410-961f-
82ee72b054a4
fche [Sun, 3 Oct 2004 21:17:29 +0000 (21:17 +0000)]
* fixing typos in accidental checkin
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88463
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 3 Oct 2004 20:53:05 +0000 (20:53 +0000)]
* c-aux-info.c, c-common.c, c-common.h, c-cppbuiltin.c, c-decl.c,
c-format.c, c-incpath.c, c-lex.c, c-objc-common.c, c-opts.c,
c-parse.in, c-pch.c, c-ppoutput.c, c-pragma.c, c-typeck.c: Follow
code formatting conventions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88462
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 3 Oct 2004 20:13:54 +0000 (20:13 +0000)]
* config/mips/mips.md (<u>mulsidi3_32bit_r4000): Fix unsigned case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88461
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 3 Oct 2004 19:24:17 +0000 (19:24 +0000)]
* da.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88459
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sun, 3 Oct 2004 18:17:52 +0000 (18:17 +0000)]
2004-10-03 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17797
* g++.dg/overload/template2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88458
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sun, 3 Oct 2004 18:07:56 +0000 (18:07 +0000)]
2004-10-03 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17797
* typeck.c (build_reinterpret_cast): Return if the inner type
is error_mark_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88457
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 3 Oct 2004 15:50:32 +0000 (15:50 +0000)]
2004-10-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_list.h: Trivial formatting fixes.
* include/bits/stl_tree.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88451
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Oct 2004 15:33:20 +0000 (15:33 +0000)]
PR tree-optimization/16632
* fold-const.c (fold) [EQ_EXPR]: When seeing if D & ~C != 0 to
fold (A & C) == D into 0, fold ~C. Similarly, for the case
where | is used instead of &.
PR tree-optimization/16632
* testsuite/gcc.dg/tree-ssa/
20041002-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88450
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Oct 2004 15:31:54 +0000 (15:31 +0000)]
* fold-const.c (fold) [EQ_EXPR]: When seeing if D & ~C != 0 to
fold (A & C) == D into 0, fold ~C. Similarly, for the case
where | is used instead of &.
* testsuite/gcc.dg/tree-ssa/
20041002-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88449
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Sun, 3 Oct 2004 14:01:51 +0000 (14:01 +0000)]
* gfortran.dg/pr17286.f90: Add dg-do line. Explicitly test bug,
rather than relying on default formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88448
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Sun, 3 Oct 2004 13:30:37 +0000 (13:30 +0000)]
2004-10-03 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* simplify.c (range_check): Remove blank line at beginning of function.
(gfc_simplify_dint): Same at end of function.
(gfc_simplify_exponent, gfc_simplify_fraction): Simplify calculations.
(gfc_simplify_bound): Fix indentation.
(gfc_simplify_log10): Simplify calculation.
(gfc_simplify_min, gfc_simplify_max): Remove blank line at beginning
of function.
(gfc_simplify_nearest): Same at end of function.
(gfc_simplify_nint, gfc_simplify_idnint): Same at beginning of
function.
(gfc_simplify_rrspacing, gfc_simplify_set_exponent,
gfc_simplify_spacing): Simplify calulations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88447
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Sun, 3 Oct 2004 13:27:06 +0000 (13:27 +0000)]
2004-10-03 Feng Wang <fengwang@nudt.edu.cn>
* trans-intrinsic.c: Fix comments on spacing and rrspacing
(gfc_conv_intrinsic_rrspacing): Add fold on constant trees.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88446
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Oct 2004 13:25:05 +0000 (13:25 +0000)]
* ginclude/stddef.h: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88445
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Sun, 3 Oct 2004 12:04:15 +0000 (12:04 +0000)]
2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
* intrinsics/abort.c ("libgfortran.h"): Move.
* intrinsics/date_and_time.c ("libgfortran.h"): Same.
* intrinsics/write.c ("libgfortran.h"): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88444
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 3 Oct 2004 11:33:53 +0000 (11:33 +0000)]
2004-10-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/sstream.tcc (seekpos): In case of success, just
return __sp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88443
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 3 Oct 2004 08:00:39 +0000 (08:00 +0000)]
PR target/17443
* config.gcc (i?86-*-solaris2*): Restore correct logic
for --enable-threads option.
(sparc64-*-solaris2*): Likewise.
(sparc-*-solaris2*): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88442
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sun, 3 Oct 2004 03:31:38 +0000 (03:31 +0000)]
* config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define.
(OS_MISSING_POWERPC64): Move, and comment.
* config/rs6000/linux64.h (TARGET_C99_FUNCTIONS): Define.
(OS_MISSING_POWERPC64): Move, and comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88440
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sun, 3 Oct 2004 03:04:21 +0000 (03:04 +0000)]
* arm.c (output_call_mem): Add missing \t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88438
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 3 Oct 2004 01:53:09 +0000 (01:53 +0000)]
* builtins.c (expand_builtin_memcmp, expand_builtin_strcmp,
expand_builtin_strncmp): Delete duplicate code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88437
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 3 Oct 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88435
138bc75d-0d04-0410-961f-
82ee72b054a4
fche [Sat, 2 Oct 2004 23:12:49 +0000 (23:12 +0000)]
2004-10-02 Frank Ch. Eigler <fche@redhat.com>
* tree-mudflap.c (mf_build_check_statement_for): Reorganize to
take check-base and -limit arguments.
(mf_xform_derefs_1): Reorganize slightly to pass proper base/limit
check ranges for ARRAY_REF and COMPONENT_REF.
(execute_mudflap_fnction_ops, ..._decls): Limit unnecessary
instrumentation.
2004-10-02 Frank Ch. Eigler <fche@redhat.com>
* testsuite/libmudflap.c/pass50-frag.c, fail33-frag.c, fail34-frag.c:
New tests for proper base/limit checking for aggregates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88432
138bc75d-0d04-0410-961f-
82ee72b054a4