]> gcc.gnu.org Git - gcc.git/log
gcc.git
19 years ago* g++.dg/rtti/tinfo1.C: Allow newline after assembler label.
Joseph Myers [Wed, 9 Feb 2005 11:25:20 +0000 (11:25 +0000)]
* g++.dg/rtti/tinfo1.C: Allow newline after assembler label.

From-SVN: r94765

19 years agoa-rbtgso.adb, [...]: New files.
Arnaud Charlet [Wed, 9 Feb 2005 11:14:42 +0000 (11:14 +0000)]
a-rbtgso.adb, [...]: New files.

* a-rbtgso.adb, a-crbtgo.ads, a-crbtgo.adb, a-crbtgk.ads,
a-crbtgk.adb, a-crbltr.ads, a-coprnu.ads, a-coprnu.adb,
a-coorse.ads, a-coorse.adb, a-convec.ads, a-convec.adb,
a-contai.ads, a-coinve.ads, a-coinve.adb, a-cohata.ads,
a-cohama.ads, a-cohama.adb, a-ciorse.ads, a-ciorse.adb,
a-cihama.ads, a-cihama.adb, a-cidlli.ads, a-cidlli.adb,
a-chtgop.ads, a-chtgop.adb, a-cgcaso.ads, a-cgcaso.adb,
a-cgarso.ads, a-cgarso.adb, a-cdlili.ads, a-cdlili.adb,
a-cgaaso.adb, a-coormu.adb, a-ciormu.adb, a-cihase.adb,
a-cihase.ads, a-cohase.adb, a-cohase.ads, a-ciorma.ads,
a-coorma.ads, a-swunha.ads, a-stunha.ads, a-ciormu.ads,
a-coormu.ads, a-rbtgso.ads, a-swunha.adb, a-stunha.adb,
a-cgaaso.ads, a-ciorma.adb, a-coorma.adb, a-secain.adb,
a-secain.ads, a-slcain.ads, a-slcain.adb, a-shcain.ads,
a-shcain.adb, a-chtgke.ads, a-chtgke.adb, a-stwiha.ads,
a-stwiha.adb, a-strhas.ads, a-strhas.adb, a-chzla1.ads,
a-chzla9.ads, a-lfztio.ads, a-liztio.ads, a-llfzti.ads,
a-llizti.ads, a-sfztio.ads, a-siztio.ads, a-ssizti.ads,
a-stzbou.adb, a-stzbou.ads, a-stzfix.adb, a-stzfix.ads,
a-stzhas.adb, a-stzhas.ads, a-stzmap.adb, a-stzmap.ads,
a-stzsea.adb, a-stzsea.ads, a-stzsup.adb, a-stzsup.ads,
a-stzunb.adb, a-stzunb.ads, a-swunau.adb, a-swunau.ads,
a-szmzco.ads, a-szunau.adb, a-szunau.ads, a-szunha.adb,
a-szunha.ads, a-szuzti.adb, a-szuzti.ads, a-tiunio.ads,
a-wwunio.ads, a-ztcoau.adb, a-ztcoau.ads, a-ztcoio.adb,
a-ztcoio.ads, a-ztcstr.adb, a-ztcstr.ads, a-ztdeau.adb,
a-ztdeau.ads, a-ztdeio.adb, a-ztdeio.ads, a-ztedit.adb,
a-ztedit.ads, a-ztenau.adb, a-ztenau.ads, a-ztenio.adb,
a-ztenio.ads, a-ztexio.adb, a-ztexio.ads, a-ztfiio.adb,
a-ztfiio.ads, a-ztflau.adb, a-ztflau.ads, a-ztflio.adb,
a-ztflio.ads, a-ztgeau.adb, a-ztgeau.ads, a-ztinau.adb,
a-ztinau.ads, a-ztinio.adb, a-ztinio.ads, a-ztmoau.adb,
a-ztmoau.ads, a-ztmoio.adb, a-ztmoio.ads, a-zttest.adb,
a-zttest.ads, a-zzunio.ads: New files. Part of new Ada 2005
library.

From-SVN: r94764

19 years agoURI.java (AUTHORITY_REGEXP): Handle case where user name or port is missing.
Tom Tromey [Wed, 9 Feb 2005 02:56:03 +0000 (02:56 +0000)]
URI.java (AUTHORITY_REGEXP): Handle case where user name or port is missing.

* java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
name or port is missing.
(AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
AUTHORITY_PORT_GROUP): Updated.

From-SVN: r94760

19 years agore PR c++/19733 (ICE on invalid destructor call)
Mark Mitchell [Wed, 9 Feb 2005 02:53:41 +0000 (02:53 +0000)]
re PR c++/19733 (ICE on invalid destructor call)

PR c++/19733
* class.c (add_method): Don't set TYPE_HAS_DESTRUCTOR.
(check_bases): Give warnings about a base class with a
non-virtual destructor, even if it is implicit.
(finish_struct_bits): Don't copy TYPE_HAS_DESTRUCTOR.
(maybe_warn_about_overly_private_class): Don't use
TYPE_HAS_DESTRUCTOR.
(finish_struct_methods): Don't set TYPE_HAS_DESTRUCTOR.
(check_for_override): Give it external linkage.
(add_implicitly_declared_members): Generate destructors lazily.
(check_field_decls): Use TYPE_HAS_NONTRIVIAL_DESTRUCTOR, not
TYPE_HAS_DESTRUCTOR.
(check_bases_and_members): Call check_methods before
check_field_decls.
(check_bases_and_members): Use TYPE_HAS_NONTRIVIAL_DESTRUCTOR, not
TYPE_HAS_DESTRUCTOR.
(finish_struct_1): Do not use TYPE_HAS_DESTRUCTOR.
* cp-tree.def (PSEUDO_DTOR_EXPR): Document.
* cp-tree.h (TYPE_HAS_DESTRUCTOR): Remove.
(lang_type_class): Add lazy_destructor.
(CLASSTYPE_LAZY_DESTRUCTOR): New macro.
(CLASSTYPE_DESTRUCTORS): Robustify.
(TYPE_HAS_DESTRUCTOR): Remove.
(check_for_override): Declare.
(build_vbase_delete): Remove.
* cvt.c (convert_to_void): Issue errors about pseudo-destructor
expressions.
* decl.c (cxx_maybe_build_cleanup): Remove dead code.
* except.c (dtor_nothrow): Lazily create destructors if necessary.
(build_throw): Use TYPE_HAS_NONTRIVIAL_DESTRUCTOR.
* init.c (build_delete): Lazily create destructors, if necessary.
(build_vbase_delete): Remove.
* method.c (locate_dtor): Simplify.
(implicitly_declare_fn): Add support for destructors.
* parser.c (cp_parser_lookup_name): Lazily create destructors, if
necessary.
* pt.c (check_explicit_specialization): Don't use
TYPE_HAS_DESTRUCTOR.
(instantiate_class_template): Likewise.
* ptree.c (cxx_print_type): Don't print TYPE_HAS_DESTRUCTOR.
* rtti.c (emit_support_tinfos): Robustify.
* search.c (lookup_fnfields_1): Lazily create destructors.
* typeck.c (build_class_member_access_expr): Remove
PSEUDO_DTOR_EXPR handling.
(lookup_destructor): Likewise.

PR c++/19733
* g++.dg/parse/crash23.C: New test.
* g++.dg/warn/Weff1.C: New test.

From-SVN: r94759

19 years ago* gcc.dg/20050209-1.c: New test.
Joseph Myers [Wed, 9 Feb 2005 02:05:52 +0000 (02:05 +0000)]
* gcc.dg/20050209-1.c: New test.

From-SVN: r94757

19 years agore PR target/19799 (sibcall-3.c and sibcall-4.c xfailed on hppa64-*-hpux*)
Joseph Myers [Wed, 9 Feb 2005 01:43:50 +0000 (01:43 +0000)]
re PR target/19799 (sibcall-3.c and sibcall-4.c xfailed on hppa64-*-hpux*)

PR target/19799
* gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: XFAIL on hppa*64*-*.

From-SVN: r94756

19 years agofiles.c (pchf_adder): Remove.
Mike Stump [Wed, 9 Feb 2005 01:23:56 +0000 (01:23 +0000)]
files.c (pchf_adder): Remove.

        * files.c (pchf_adder): Remove.
        (struct pchf_adder_info): Likewise.
        (_cpp_save_file_entries): Write out all files so that #import works.

From-SVN: r94755

19 years ago* gcc.dg/uninit-4.c: XFAIL bogus warning for powerpc64.
Janis Johnson [Wed, 9 Feb 2005 00:17:32 +0000 (00:17 +0000)]
* gcc.dg/uninit-4.c: XFAIL bogus warning for powerpc64.

From-SVN: r94754

19 years agoDaily bump.
GCC Administrator [Wed, 9 Feb 2005 00:16:18 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r94752

19 years agoconfigure: Rebuilt.
Tom Tromey [Tue, 8 Feb 2005 21:51:34 +0000 (21:51 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
AC_CHECK_HEADERS.

From-SVN: r94748

19 years agoffitarget.h: Remove PPC stuff which does not belong to frv.
Andreas Tobler [Tue, 8 Feb 2005 21:10:50 +0000 (22:10 +0100)]
ffitarget.h: Remove PPC stuff which does not belong to frv.

2005-02-08  Andreas Tobler  <a.tobler@schweiz.ch>

* src/frv/ffitarget.h: Remove PPC stuff which does not belong to frv.

From-SVN: r94747

19 years agoexpr.c (add_type_assertion): Use the proper enumeration type, since this is what...
Marcin Dalecki [Tue, 8 Feb 2005 19:14:39 +0000 (20:14 +0100)]
expr.c (add_type_assertion): Use the proper enumeration type, since this is what htab_find_slot() is expecting.

2005-02-08  Marcin Dalecki  <martin@dalecki.de>

* expr.c (add_type_assertion): Use the proper enumeration type,
since this is what htab_find_slot() is expecting.

From-SVN: r94743

19 years agonatRuntime.cc (insertSystemProperties): Set sun.boot.class.path earlier.
Tom Tromey [Tue, 8 Feb 2005 17:44:13 +0000 (17:44 +0000)]
natRuntime.cc (insertSystemProperties): Set sun.boot.class.path earlier.

* java/lang/natRuntime.cc (insertSystemProperties): Set
sun.boot.class.path earlier.

From-SVN: r94740

19 years ago* config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
Mark Mitchell [Tue, 8 Feb 2005 16:37:02 +0000 (16:37 +0000)]
* config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.

From-SVN: r94739

19 years agore PR target/19806 (cris-axis-elf testsuite failure: gcc.c-torture/execute/20001130...
Hans-Peter Nilsson [Tue, 8 Feb 2005 15:35:12 +0000 (15:35 +0000)]
re PR target/19806 (cris-axis-elf testsuite failure: gcc.c-torture/execute/20001130-1.c compilation,  -O0)

PR target/19806
* config/cris/cris.c (in_code): New variable.
(cris_output_addr_const): Now a static function, a wrapper for
output_addr_const.
(cris_asm_output_symbol_ref): New function, broken out SYMBOL_REF
case from old cris_output_addr_const.
(cris_asm_output_label_ref): Similar for LABEL_REF.
(cris_output_addr_const_extra): Similar for UNSPEC.
* config/cris/cris.h (OUTPUT_ADDR_CONST_EXTRA)
(ASM_OUTPUT_SYMBOL_REF, ASM_OUTPUT_LABEL_REF): Define.
* config/cris/cris-protos.h (cris_output_addr_const): Remove
declaration.
(cris_asm_output_symbol_ref, cris_output_addr_const_extra)
(cris_asm_output_label_ref): Declare.

From-SVN: r94738

19 years agore PR preprocessor/19801 (cppinternals.texi references old file names)
Paolo Bonzini [Tue, 8 Feb 2005 15:08:07 +0000 (15:08 +0000)]
re PR preprocessor/19801 (cppinternals.texi references old file names)

2005-02-08  Paolo Bonzini  <bonzini@gnu.org>

PR preprocessor/19801
* doc/cppinternals.texi (Conventions, Lexer, Files): Adjust
filenames that changed when libcpp was moved to the toplevel.

From-SVN: r94737

19 years agocxx-pretty-print.c, [...]: Update copyright.
Kazu Hirata [Tue, 8 Feb 2005 14:46:52 +0000 (14:46 +0000)]
cxx-pretty-print.c, [...]: Update copyright.

* cxx-pretty-print.c, cxx-pretty-print.h, decl.h: Update
copyright.

From-SVN: r94736

19 years agoexpr.c (gfc_copy_expr): Don't copy 'op1' and 'op2' for EXPR_SUBSTRING.
Tobias Schlüter [Tue, 8 Feb 2005 13:41:08 +0000 (14:41 +0100)]
expr.c (gfc_copy_expr): Don't copy 'op1' and 'op2' for EXPR_SUBSTRING.

fortran/
* expr.c (gfc_copy_expr): Don't copy 'op1' and 'op2' for
EXPR_SUBSTRING.
(gfc_is_constant_expr): Check 'ref' to determine if substring
reference is constant.
(gfc_simplify_expr): Simplify 'ref' instead of 'op1' and 'op2'.
(check_init_expr, check_restricted): Check 'ref' instead of 'op1'
and 'op2'.
* module.c (mio_expr): Read / write 'ref' instead of 'op1' and 'op2'.

testsuite/
* gfortran.dg/substr_1.f90: New test.

From-SVN: r94735

19 years agoparser.c (cp_lexer_start_debugging): Avoid arithmetic operations on boolean variables.
Mark Mitchell [Tue, 8 Feb 2005 04:11:04 +0000 (04:11 +0000)]
parser.c (cp_lexer_start_debugging): Avoid arithmetic operations on boolean variables.

* parser.c (cp_lexer_start_debugging): Avoid arithmetic operations
on boolean variables.
(cp_lexer_stop_debugging): Likewise.

From-SVN: r94731

19 years agosimplify-rtx.c (simplify_relational_operation_1): Avoid creating zero extensions...
Roger Sayle [Tue, 8 Feb 2005 03:38:26 +0000 (03:38 +0000)]
simplify-rtx.c (simplify_relational_operation_1): Avoid creating zero extensions of BImode operands.

* simplify-rtx.c (simplify_relational_operation_1): Avoid creating
zero extensions of BImode operands.  Call lowpart_subreg instead
of gen_lowpart_common and gen_lowpart_SUBREG.

From-SVN: r94730

19 years agoDaily bump.
GCC Administrator [Tue, 8 Feb 2005 00:16:16 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r94725

19 years agore PR ada/19489 (gnat tools not buildable cross)
Nathanael Nerode [Mon, 7 Feb 2005 23:10:56 +0000 (23:10 +0000)]
re PR ada/19489 (gnat tools not buildable cross)

PR ada/19489
* libada-mk.in: Use cc_for_cross_gnattools, not cc_set_by_configure.
* configure.ac: Set cc_for_cross_gnattools.
* configure: Regenerate.

From-SVN: r94720

19 years ago5.cc: Make buf static.
Loren J. Rittle [Mon, 7 Feb 2005 22:56:11 +0000 (22:56 +0000)]
5.cc: Make buf static.

* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
src static.

From-SVN: r94719

19 years agogfortran.h (gfc_add_dimension, [...]): Add argument.
Tobias Schlüter [Mon, 7 Feb 2005 22:16:13 +0000 (23:16 +0100)]
gfortran.h (gfc_add_dimension, [...]): Add argument.

* gfortran.h (gfc_add_dimension, gfc_add_result, gfc_add_save,
gfc_add_dummy, gfc_add_generic, gfc_add_in_common, gfc_add_data,
gfc_add_in_namelist, gfc_add_sequence, gfc_add_function,
gfc_add_subroutine, gfc_add_access, gfc_add_flavor, gfc_add_entry,
gfc_add_procedure): Add argument.
* array.c (gfc_set_array_spec), decl.c (var_element, get_proc_name,
gfc_match_null, match_type_spec, match_attr_spec,
gfc_match_formal_arglist, match_result, gfc_match_function_decl):
Update callers to match.
(gfc_match_entry) : Likewise, fix comment typo.
(gfc_match_subroutine, attr_decl1, gfc_add_dimension,
access_attr_decl, do_parm, gfc_match_save, gfc_match_modproc,
gfc_match_derived_decl): Update callers.
* interface.c (gfc_match_interface): Likewise.
* match.c (gfc_match_label, gfc_add_flavor,
gfc_match_call, gfc_match_common, gfc_match_block_data,
gfc_match_namelist, gfc_match_module, gfc_match_st_function):
Likewise.
* parse.c (parse_derived, parse_interface, parse_contained),
primary.c (gfc_match_rvalue, gfc_match_variable): Likewise.
* resolve.c (resolve_formal_arglist, resolve_entries): Update callers.
* symbol.c (check_conflict, check_used): Add new 'name' argument,
use when printing error message.
(gfc_add_dimension, gfc_add_result, gfc_add_save, gfc_add_dummy,
gfc_add_generic, gfc_add_in_common, gfc_add_data,
gfc_add_in_namelist, gfc_add_sequence, gfc_add_function,
gfc_add_subroutine, gfc_add_access, gfc_add_flavor, gfc_add_entry,
gfc_add_procedure): Add new 'name' argument.  Pass along to
check_conflict and check_used.
(gfc_add_allocatable, gfc_add_external, gfc_add_intrinsic,
gfc_add_optional, gfc_add_pointer, gfc_add_target, gfc_add_elemental,
gfc_add_pure, gfc_add_recursive, gfc_add_intent,
gfc_add_explicit_interface, gfc_copy_attr): Pass NULL for new
argument in calls to any of the modified functions.

From-SVN: r94718

19 years agodefineclass.cc (handleClassBegin): Use _Jv_RegisterInitiatingLoader.
Tom Tromey [Mon, 7 Feb 2005 21:29:04 +0000 (21:29 +0000)]
defineclass.cc (handleClassBegin): Use _Jv_RegisterInitiatingLoader.

* defineclass.cc (handleClassBegin): Use
_Jv_RegisterInitiatingLoader.
* java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
* java/lang/natVMClassLoader.cc (resolveClass): Don't register
class.  Use _Jv_UnregisterInitiatingLoader.
* java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
New function.

From-SVN: r94717

19 years agore PR target/19803 (__builtin_expect does not modify branch prediction for power4/5)
Alan Modra [Mon, 7 Feb 2005 21:11:42 +0000 (21:11 +0000)]
re PR target/19803 (__builtin_expect does not modify branch prediction for power4/5)

PR target/19803
* predict.c (PROB_VERY_UNLIKELY): Use 1% instead of 10%.

From-SVN: r94714

19 years agoReported by Timo Lindfors <timo.lindfors@iki.fi> java/util/regex/Matcher.java...
Mark Wielaard [Mon, 7 Feb 2005 20:44:27 +0000 (20:44 +0000)]
Reported by Timo Lindfors <timo.lindfors@iki.fi> java/util/regex/Matcher.java...

2005-02-07  Mark Wielaard  <mark@klomp.org>

        Reported by Timo Lindfors <timo.lindfors@iki.fi>
        java/util/regex/Matcher.java (lookingAt): Set position when match
        found.
        (matches): Implemented through lookingAt().

2005-02-07  Mark Wielaard  <mark@klomp.org>

        Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
        * java/util/regex/Pattern.java (split(CharSequence,int)):
        Fix while empties > 0 loops.

From-SVN: r94713

19 years agoFix messing of the simplify_relational_operation_1 function in Roger's changelog.
Andrew Pinski [Mon, 7 Feb 2005 20:35:58 +0000 (12:35 -0800)]
Fix messing of the simplify_relational_operation_1 function in Roger's changelog.

From-SVN: r94712

19 years agoISO_8859_1.java, [...]: Fixed canonical names and aliases according to...
Robert Schuster [Mon, 7 Feb 2005 20:34:17 +0000 (20:34 +0000)]
ISO_8859_1.java, [...]: Fixed canonical names and aliases according to...

2005-02-07  Robert Schuster  <thebohemian@gmx.net>

        * gnu/java/nio/charset/ISO_8859_1.java,
        gnu/java/nio/charset/US_ASCII.java,
        gnu/java/nio/charset/UTF_16.java,
        gnu/java/nio/charset/UTF_16_LE.java,
        gnu/java/nio/charset/UTF_16_BE.java,
        gnu/java/nio/charset/UTF_8.java: Fixed canonical names
         and aliases according to
         "http://www.iana.org/assignments/character-sets",
         "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
         and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
        * gnu/java/nio/charset/Provider.java: Made charset lookup
         case-insensitive which fixes bug #11740.

From-SVN: r94711

19 years agore PR libgcj/19611 (create 'sources.zip' for use in eclipse)
Tom Tromey [Mon, 7 Feb 2005 20:19:58 +0000 (20:19 +0000)]
re PR libgcj/19611 (create 'sources.zip' for use in eclipse)

PR libgcj/19611:
* Makefile.in: Rebuilt.
* Makefile.am (src.zip): New target.
(install-src.zip): Likewise.
(sourcesdir): New variable.

From-SVN: r94710

19 years agore PR debug/19327 (gcc.c-torture/execute/921215-1.c compilation -O3 -g)
Eric Botcazou [Mon, 7 Feb 2005 19:32:59 +0000 (20:32 +0100)]
re PR debug/19327 (gcc.c-torture/execute/921215-1.c compilation  -O3 -g)

PR debug/19327
* dbxout.c (dbxout_symbol) <FUNCTION_DECL>: Skip inline instance
of nested functions.

From-SVN: r94709

19 years agoForgot to commit registerImageIOSpis change
Anthony Green [Mon, 7 Feb 2005 17:12:24 +0000 (17:12 +0000)]
Forgot to commit registerImageIOSpis change

From-SVN: r94707

19 years agoextend.texi: Document deprecated extensions allowing static floating-point members...
Jonathan Wakely [Mon, 7 Feb 2005 17:11:39 +0000 (17:11 +0000)]
extend.texi: Document deprecated extensions allowing static floating-point members to have...

2005-02-07  Jonathan Wakely  <redi@gcc.gnu.org>

* doc/extend.texi: Document deprecated extensions allowing
static floating-point members to have initializers and allowing
floating-point literals in integral constant expressions.

From-SVN: r94706

19 years ago* cse.c: Update comments.
Kazu Hirata [Mon, 7 Feb 2005 17:10:27 +0000 (17:10 +0000)]
* cse.c: Update comments.

From-SVN: r94705

19 years agocfgcleanup.c, [...]: Update copyright.
Kazu Hirata [Mon, 7 Feb 2005 15:53:36 +0000 (15:53 +0000)]
cfgcleanup.c, [...]: Update copyright.

* cfgcleanup.c, df.h, diagnostic.c, rtl.c, tree-vectorizer.h,
config/darwin7.h, config/mips/mips.c,
config/rs6000/altivec.md, config/rs6000/darwin-tramp.asm:
Update copyright.

From-SVN: r94704

19 years agore PR middle-end/19775 (sqrt(pow(x,y)) != pow(x,y*0.5) (with -ffast-math))
Richard Guenther [Mon, 7 Feb 2005 13:24:38 +0000 (13:24 +0000)]
re PR middle-end/19775 (sqrt(pow(x,y)) != pow(x,y*0.5) (with -ffast-math))

2005-02-07  Richard Guenther  <rguenth@gcc.gnu.org>

PR middle-end/19775
* builtins.c (fold_builtin_sqrt): Transform
sqrt(pow(x,y)) to pow(fabs(x),y*0.5), not
pow(x,y*0.5).

* gcc.dg/torture/builtin-power-1.c: Disable test for
invalid transformation.
* gcc.dg/builtins-10.c: Likewise.  Disable one test we
no longer optimize.
* gcc.dg/builtins-47.c: New testcase.

From-SVN: r94701

19 years agoAdd new files from last change.
Anthony Green [Mon, 7 Feb 2005 13:23:38 +0000 (13:23 +0000)]
Add new files from last change.

From-SVN: r94700

19 years ago[multiple changes]
Anthony Green [Mon, 7 Feb 2005 13:22:36 +0000 (13:22 +0000)]
[multiple changes]

2005-02-06  Jerry Quinn  <jlquinn@optonline.net>

        * javax/imageio/metadata/IIOMetadataNode.java:
        Implemented.
        * javax/imageio/metadata/IIOAttr.java,
        javax/imageio/metadata/IIONamedNodeMap.java,
        javax/imageio/metadata/IIONodeList.java:
        New files

2005-02-06  Graydon Hoare  <graydon@redhat.com>

        * gnu/java/awt/ClasspathToolkit.java
        (registerImageIOSpis): New method.
        * javax/imageio/ImageIO.java
        (WriterFormatFilter.filter): Fix copy-and-paste typos.
        (WriterMIMETypeFilter.filter): Likewise.
        (ImageReaderIterator): Pass extension argument through to SPI.
        (getReadersByFilter): Likewise.
        (getWritersByFilter): Likewise.
        (getImageReadersByFormatName): Likewise.
        (getImageReadersByMIMEType): Likewise.
        (getImageReadersBySuffix): Likewise.
        (getImageWritersByFormatName): Likewise.
        (getImageWritersByMIMEType): Likewise.
        (getImageWritersBySuffix): Likewise.
        (read): Implement.
        (write): Implement.
        * javax/imageio/ImageReader.java
        (progressListeners): Initialize.
        (setInput): Implement.
        * javax/imageio/ImageWriter.java
        (progressListeners): Initialize.
        (warningListeners): Likewise.
        (warningLocales): Likewise.
        (setOutput): Test "isInstance" rather than class equality.
        * javax/imageio/spi/IIORegistry.java
        (static): Add reader and writer SPIs.
        (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.

2004-02-06  Michael Koch  <konqueror@gmx.de>

        * javax/imageio/metadata/IIOInvalidTreeException.java
        (IIOInvalidTreeException): Reformatted.
        * javax/imageio/spi/IIORegistry.java
        (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
        * javax/imageio/stream/MemoryCacheImageInputStream.java:
        Reworked import statements.

2004-02-06  Michael Koch  <konqueror@gmx.de>

        * javax/imageio/stream/FileImageOutputStream.java:
        Implemented.

2004-02-06  Michael Koch  <konqueror@gmx.de>

        * javax/imageio/stream/FileCacheImageInputStream.java,
        javax/imageio/stream/FileCacheImageOutputStream.java,
        javax/imageio/stream/FileImageInputStream.java,
        javax/imageio/stream/ImageInputStreamImpl.java,
        javax/imageio/stream/ImageOutputStreamImpl.java,
        javax/imageio/stream/MemoryCacheImageInputStream.java,
        javax/imageio/stream/MemoryCacheImageOutputStream.java:
        Added all missing methods in javax.imageio.stream.

From-SVN: r94698

19 years agoinvoke.texi (ftree-vectorizer-verbose): New.
Leehod Baruch [Mon, 7 Feb 2005 10:07:07 +0000 (10:07 +0000)]
invoke.texi (ftree-vectorizer-verbose): New.

        * doc/invoke.texi (ftree-vectorizer-verbose): New.
        * opts.c (OPT_ftree_vectorizer_verbose_): New case for switch.
        * common.opt (ftree-vectorizer-verbose): New Flag for the vectorizer
        was added.
        * tree.h (vect_set_verbosity_level): New extern function declaration
        added.
        * tree-vectorizer.h (verbosity_levels): New enum type.
        * tree-vectorizer.c (vect_debug_stats): Function removed.
        (vect_debug_details): Likewise.
        (vect_verbosity_level): Global variable was defined and initialized.
        (vect_dump): Global variable definition.
        (vect_print_dump_info): New function.
        (vect_set_dump_settings): New function.
        (vect_set_verbosity_level): New function.
        (vectorize_loops): Add call to vect_set_dump_settings.

        (slpeel_make_loop_iterate_ntimes): Dump condition was changed.
        (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
        (slpeel_tree_peel_loop_to_edge): Likewise.

        (vect_analyze_offset_expr): Call to vect_print_dump_info with
        appropriate verbosity level instead of call to vect_debug_details
        or vect_debug_stats.
        (vect_get_base_and_offset):
        (vect_create_addr_base_for_vector_ref):
        (get_vectype_for_scalar_type):
        (vect_create_data_ref_ptr):
        (vect_init_vector):
        (vect_get_vec_def_for_operand):
        (vect_finish_stmt_generation):
        (vectorizable_assignment):
        (vectorizable_operation):
        (vectorizable_store):
        (vectorizable_load):
        (vect_transform_stmt):
        (vect_update_ivs_after_vectorizer):
        (vect_do_peeling_for_loop_bound):
        (vect_update_inits_of_drs):
        (vect_do_peeling_for_alignment):
        (vect_transform_loop):
        (vect_is_simple_use):
        (vect_analyze_operations):
        (vect_is_simple_iv_evolution):
        (vect_analyze_scalar_cycles):
        (vect_analyze_data_ref_dependence):
        (vect_analyze_data_ref_dependences):
        (vect_compute_data_ref_alignment):
        (vect_enhance_data_refs_alignment):
        (vect_analyze_data_refs_alignment):
        (vect_analyze_data_ref_access):
        (vect_analyze_data_ref_accesses):
        (vect_analyze_pointer_ref_access):
        (vect_get_memtag_and_dr):
        (vect_analyze_data_refs):
        (vect_mark_relevant):
        (vect_stmt_relevant_p):
        (vect_mark_stmts_to_be_vectorized):
        (vect_can_advance_ivs_p):
        (vect_get_loop_niters):
        (vect_analyze_loop_form):
        (vect_analyze_loop):
        (vectorize_loops): Likewise.

        (vect_do_peeling_for_loop_bound): Dump format slightly changed.
        (vect_update_inits_of_drs):
        (vect_do_peeling_for_alignment):
        (vect_transform_loop):
        (vect_analyze_operations):
        (vect_analyze_scalar_cycles):
        (vect_analyze_data_ref_dependences):
        (vect_analyze_data_refs_alignment):
        (vect_analyze_data_ref_accesses):
        (vect_analyze_data_refs):
        (vect_mark_stmts_to_be_vectorized):
        (vect_get_loop_niters):
        (vect_analyze_loop_form):
        (vect_analyze_loop): Likewise.
        (vect_mark_stmts_to_be_vectorized): Add call to print_generic_expr.

Co-Authored-By: Dorit Naishlos <dorit@il.ibm.com>
From-SVN: r94697

19 years agore PR target/19796 (Bootstrap fails: Unresolved data symbol "set_fpc_csr")
Richard Sandiford [Mon, 7 Feb 2005 09:27:47 +0000 (09:27 +0000)]
re PR target/19796 (Bootstrap fails: Unresolved data symbol "set_fpc_csr")

PR bootstrap/19796
Revert:
2005-01-26  Richard Sandiford  <rsandifo@redhat.com>
* config/mips/iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if
either -ffast-math or -funsafe-math-optimizations is in use.

2005-01-24  Richard Sandiford  <rsandifo@redhat.com>
* config/mips/irix-csr.c: New file.
* config/mips/t-iris6 (irix-csr.o): New rule to build it.
(EXTRA_MULTILIB_PARTS): Add irix-csr.o.
* config/mips/iris6.h (ENDFILE_SPEC): Include it in n32 and n64
executables.

From-SVN: r94696

19 years agolinux.h (LIB_SPEC, [...]): Remove redundant, incorrect definitions.
Alexandre Oliva [Mon, 7 Feb 2005 08:11:10 +0000 (08:11 +0000)]
linux.h (LIB_SPEC, [...]): Remove redundant, incorrect definitions.

* config/mn10300/linux.h (LIB_SPEC, STARTFILE_SPEC): Remove
redundant, incorrect definitions.

From-SVN: r94695

19 years agofrv.md ("tls_indirect_call"): Turn into libcall-like expand.
Alexandre Oliva [Mon, 7 Feb 2005 08:06:29 +0000 (08:06 +0000)]
frv.md ("tls_indirect_call"): Turn into libcall-like expand.

* config/frv/frv.md ("tls_indirect_call"): Turn into libcall-like
expand.
("*tls_indirect_call"): New, reference hard regs directly.
* config/frv/frv.c (gen_inlined_tls_plt): Adjust.

From-SVN: r94694

19 years agortems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Let !-mhard-float !-msoft-float imply -mfpu...
Ralf Corsepius [Mon, 7 Feb 2005 06:00:02 +0000 (07:00 +0100)]
rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Let !-mhard-float !-msoft-float imply -mfpu=softfpa.

2005-02-07  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC):
Let !-mhard-float !-msoft-float imply -mfpu=softfpa.

From-SVN: r94693

19 years agore PR rtl-optimization/19800 (mmix-knuth-mmixware broken, building newlib/libm/common...
Roger Sayle [Mon, 7 Feb 2005 05:39:05 +0000 (05:39 +0000)]
re PR rtl-optimization/19800 (mmix-knuth-mmixware broken, building newlib/libm/common/s_fmax.c)

PR rtl-optimization/19800
* simplify_rtx.c (simplify_relational_operaration_1): Explicitly
call gen_lowpart_common and gen_lowpart_SUBREG instead of calling
gen_lowpart.

From-SVN: r94691

19 years agot-rtems (MULTILIB_MATCHES): Let m528x match m5200.
Ralf Corsepius [Mon, 7 Feb 2005 05:13:25 +0000 (06:13 +0100)]
t-rtems (MULTILIB_MATCHES): Let m528x match m5200.

2005-02-07  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config/m68k/t-rtems (MULTILIB_MATCHES): Let m528x match m5200.

From-SVN: r94690

19 years agore PR other/17135 (-freorder-functions mis-documented)
Joseph Myers [Mon, 7 Feb 2005 01:52:27 +0000 (01:52 +0000)]
re PR other/17135 (-freorder-functions mis-documented)

PR other/17135
* doc/invoke.texi: Correct documentation of -freorder-functions.

From-SVN: r94689

19 years agore PR other/14402 (gccbug confusion)
Joseph Myers [Mon, 7 Feb 2005 01:10:12 +0000 (01:10 +0000)]
re PR other/14402 (gccbug confusion)

PR other/14402
* doc/invoke.texi: Don't mention gccbug.

From-SVN: r94686

19 years agosimplify-rtx.c (simplify_relational_operation_1): Simplify (ne:SI (zero_extract:SI...
Roger Sayle [Sun, 6 Feb 2005 23:33:25 +0000 (23:33 +0000)]
simplify-rtx.c (simplify_relational_operation_1): Simplify (ne:SI (zero_extract:SI FOO (const_int 1) BAR) (const_int 0)) into...

* simplify-rtx.c (simplify_relational_operation_1): Simplify
(ne:SI (zero_extract:SI FOO (const_int 1) BAR) (const_int 0))
into just (zero_extract:SI FOO (const_int 1) BAR).

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
Co-Authored-By: Paolo Bonzini <paolo.bonzini@lu.unisi.ch>
From-SVN: r94684

19 years agocpp.texi: Include gcc-common.texi.
Joseph Myers [Sun, 6 Feb 2005 20:20:59 +0000 (20:20 +0000)]
cpp.texi: Include gcc-common.texi.

* doc/cpp.texi: Include gcc-common.texi.  Don't define gcctabopt
macro locally.  Don't give last revision date.  Use GCC version
number from gcc-common.texi.
* doc/cppinternals.texi: Include gcc-common.texi.  Don't give last
revision date.  Use GCC version number from gcc-common.texi.
Describe being a library as current state rather than as 3.x
history.
* doc/gcc.texi: Remove last update date.
* doc/gccint.texi: Likewise.  Update copyright dates.
* doc/install.texi: Update copyright dates.

fortran:
* gfortran.texi: Don't give last update date.

java:
* gcj.texi: Update copyright dates.

treelang:
* treelang.texi: Don't use local treelang version number.  Don't
give last update date.

From-SVN: r94683

19 years agore PR other/7549 (gcc3.1: Documentation glitches in info-files)
Joseph Myers [Sun, 6 Feb 2005 19:37:24 +0000 (19:37 +0000)]
re PR other/7549 (gcc3.1: Documentation glitches in info-files)

PR other/7549
* doc/invoke.texi: Mention for each option included in -Wall that
it is included in -Wall.
* doc/gcc.texi: Update copyright and last modification date.

From-SVN: r94682

19 years agotree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Do not add unnecessary cast...
Zdenek Dvorak [Sun, 6 Feb 2005 18:48:58 +0000 (19:48 +0100)]
tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Do not add unnecessary cast to original induction variable increments.

* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Do not add
unnecessary cast to original induction variable increments.

From-SVN: r94681

19 years agore PR tree-optimization/18219 (bloats code by 31%)
Zdenek Dvorak [Sun, 6 Feb 2005 18:47:12 +0000 (19:47 +0100)]
re PR tree-optimization/18219 (bloats code by 31%)

PR tree-optimization/18219
* tree-ssa-loop-ivopts.c (get_computation_at): Produce computations
in distributed form.

From-SVN: r94680

19 years agoexpmed.c (store_bit_field): Make the SUBREG code adjust bitnum.
Richard Sandiford [Sun, 6 Feb 2005 15:39:07 +0000 (15:39 +0000)]
expmed.c (store_bit_field): Make the SUBREG code adjust bitnum.

* expmed.c (store_bit_field): Make the SUBREG code adjust bitnum.
Set bitpos and offset later in the function.  Do nothing if the
target is a register and if the bitfield lies completely outside
that register.
(extract_bit_field): Make the same SUBREG, bitpos and offset changes
here.  Return an uninitialised register if the source value is stored
in a register and the bitfield lies completely outside that register.

From-SVN: r94677

19 years agodf.c (df_insn_refs_record): Use XEXP to get the operand of a USE, not SET_DEST.
Steven Bosscher [Sun, 6 Feb 2005 11:57:47 +0000 (11:57 +0000)]
df.c (df_insn_refs_record): Use XEXP to get the operand of a USE, not SET_DEST.

* df.c (df_insn_refs_record): Use XEXP to get the operand of a USE,
not SET_DEST.

From-SVN: r94672

19 years ago* diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
Marcin Dalecki [Sun, 6 Feb 2005 10:56:46 +0000 (11:56 +0100)]
* diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.

From-SVN: r94671

19 years ago* gcc.dg/altivec-19.c: New.
Geoffrey Keating [Sun, 6 Feb 2005 08:51:32 +0000 (08:51 +0000)]
* gcc.dg/altivec-19.c: New.

From-SVN: r94670

19 years agoconfig.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.
Geoffrey Keating [Sun, 6 Feb 2005 08:34:34 +0000 (08:34 +0000)]
config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.

* config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.
* config/darwin8.h: New.
* config/darwin7.h: Update comment.

From-SVN: r94669

19 years agoInetAddress.java (InetAddress): Make a private copy of the address.
David Daney [Thu, 3 Feb 2005 17:44:20 +0000 (17:44 +0000)]
InetAddress.java (InetAddress): Make a private copy of the address.

2005-02-02  David Daney  <ddaney@avtrex.com>

* java/net/InetAddress.java (InetAddress): Make a private copy of
the address.
* java/net/Inet4Address.java (getAddress): Return a copy of the
address.
* java/net/Inet6Address.java (Inet6Address): Use private copy of
the address
(getAddress): Return a copy of the address.
(equals): Rewrote.

From-SVN: r94664

19 years agotree-vectorizer.h (LOC): New type.
Leehod Baruch [Thu, 3 Feb 2005 16:22:31 +0000 (16:22 +0000)]
tree-vectorizer.h (LOC): New type.

* tree-vectorizer.h (LOC): New type.
(UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros.
(loop_line_number): New field in struct _loop_vec_info.
(LOOP_VINFO_LOC, LOOP_LOC): New macros.

* tree-vectorizer.c (input.h): Included.
(find_loop_location): New function.
(vect_debug_stats): Argument changed from loop to LOC. Computation of
loop line number removed.
(vect_debug_details): Likewise.
(new_loop_vec_info): Initialize new field LOOP_VINFO_LOC.

(slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in
call to vect_debug_details/stats changed from loop to loop_loc.
(slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
(slpeel_tree_peel_loop_to_edge): Likewise.

(vect_analyze_offset_expr): Argument in call to vect_debug_details/stats
changed from NULL to UNKNOWN_LOC.
(vect_get_base_and_offset):
(vect_create_addr_base_for_vector_ref):
(get_vectype_for_scalar_type):
(vect_create_data_ref_ptr):
(vect_init_vector):
(vect_get_vec_def_for_operand):
(vect_finish_stmt_generation):
(vectorizable_assignment):
(vectorizable_operation):
(vectorizable_store):
(vectorizable_load):
(vect_transform_stmt):
(vect_update_ivs_after_vectorizer):
(vect_do_peeling_for_loop_bound):
(vect_do_peeling_for_alignment):
(vect_transform_loop):
(vect_is_simple_use):
(vect_analyze_operations):
(vect_is_simple_iv_evolution):
(vect_analyze_scalar_cycles):
(vect_analyze_data_ref_dependences):
(vect_compute_data_ref_alignment):
(vect_enhance_data_refs_alignment):
(vect_analyze_data_ref_access):
(vect_analyze_data_ref_accesses):
(vect_analyze_pointer_ref_access):
(vect_get_memtag_and_dr):
(vect_analyze_data_refs):
(vect_mark_relevant):
(vect_stmt_relevant_p):
(vect_mark_stmts_to_be_vectorized):
(vect_can_advance_ivs_p):
(vect_get_loop_niters):
(vect_analyze_loop):
(vectorize_loops): Likewise.

(vectorizable_load): Argument in call to vect_debug_details/stats
changed from loop to LOOP_LOC (loop_vinfo).
(vect_transform_loop):
(vect_analyze_operations):
(vect_analyze_scalar_cycles):
(vect_analyze_data_ref_dependence):
(vect_enhance_data_refs_alignment):
(vect_analyze_data_ref_accesses):
(vect_analyze_pointer_ref_access):
(vect_analyze_data_refs):
(vect_analyze_loop): Likewise.

(vect_analyze_loop_form): Argument in call to vect_debug_details/stats
changed from loop to loop_loc.

(vect_enhance_data_refs_alignment): Removed unused variable loop.

From-SVN: r94663

19 years agotree-vectorizer.h (LOC): New type.
Leehod Baruch [Thu, 3 Feb 2005 16:22:22 +0000 (16:22 +0000)]
tree-vectorizer.h (LOC): New type.

        * tree-vectorizer.h (LOC): New type.
        (UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros.
        (loop_line_number): New field in struct _loop_vec_info.
        (LOOP_VINFO_LOC, LOOP_LOC): New macros.

        * tree-vectorizer.c (input.h): Included.
        (find_loop_location): New function.
        (vect_debug_stats): Argument changed from loop to LOC. Computation of
        loop line number removed.
        (vect_debug_details): Likewise.
        (new_loop_vec_info): Initialize new field LOOP_VINFO_LOC.

        (slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in
        call to vect_debug_details/stats changed from loop to loop_loc.
        (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
        (slpeel_tree_peel_loop_to_edge): Likewise.

        (vect_analyze_offset_expr): Argument in call to vect_debug_details/stats
        changed from NULL to UNKNOWN_LOC.
        (vect_get_base_and_offset):
        (vect_create_addr_base_for_vector_ref):
        (get_vectype_for_scalar_type):
        (vect_create_data_ref_ptr):
        (vect_init_vector):
        (vect_get_vec_def_for_operand):
        (vect_finish_stmt_generation):
        (vectorizable_assignment):
        (vectorizable_operation):
        (vectorizable_store):
        (vectorizable_load):
        (vect_transform_stmt):
        (vect_update_ivs_after_vectorizer):
        (vect_do_peeling_for_loop_bound):
        (vect_do_peeling_for_alignment):
        (vect_transform_loop):
        (vect_is_simple_use):
        (vect_analyze_operations):
        (vect_is_simple_iv_evolution):
        (vect_analyze_scalar_cycles):
        (vect_analyze_data_ref_dependences):
        (vect_compute_data_ref_alignment):
        (vect_enhance_data_refs_alignment):
        (vect_analyze_data_ref_access):
        (vect_analyze_data_ref_accesses):
        (vect_analyze_pointer_ref_access):
        (vect_get_memtag_and_dr):
        (vect_analyze_data_refs):
        (vect_mark_relevant):
        (vect_stmt_relevant_p):
        (vect_mark_stmts_to_be_vectorized):
        (vect_can_advance_ivs_p):
        (vect_get_loop_niters):
        (vect_analyze_loop):
        (vectorize_loops): Likewise.

        (vectorizable_load): Argument in call to vect_debug_details/stats
        changed from loop to LOOP_LOC (loop_vinfo).
        (vect_transform_loop):
        (vect_analyze_operations):
        (vect_analyze_scalar_cycles):
        (vect_analyze_data_ref_dependence):
        (vect_enhance_data_refs_alignment):
        (vect_analyze_data_ref_accesses):
        (vect_analyze_pointer_ref_access):
        (vect_analyze_data_refs):
        (vect_analyze_loop): Likewise.

        (vect_analyze_loop_form): Argument in call to vect_debug_details/stats
        changed from loop to loop_loc.

        (vect_enhance_data_refs_alignment): Removed unused variable loop.

From-SVN: r94662

19 years agotree-vectorizer.c (vect_analyze_data_ref_dependence): Function declaration added.
Leehod Baruch [Thu, 3 Feb 2005 16:13:17 +0000 (16:13 +0000)]
tree-vectorizer.c (vect_analyze_data_ref_dependence): Function declaration added.

        * tree-vectorizer.c (vect_analyze_data_ref_dependence): Function
        declaration added.
        (vect_analyze_data_ref_dependences): Likewise.

        (vect_is_simple_use): Argument changed from loop structure to
        loop_vect_info structure.
        (vect_can_advance_ivs_p): Likewise.
        (vect_create_index_for_vector_ref): Likewise.
        (vect_update_ivs_after_vectorizer): Likewise.
        (new_stmt_vec_info): Likewise.

        (new_loop_vec_info): Second argument in call to new_stmt_vec_info was
        changed from loop to loop_vinfo.
        (vect_create_data_ref_ptr): First argument in call to
        vect_create_index_for_vector_ref was changed from loop to loop_vinfo.
        (vectorizable_assignment): Second argument in call to vect_is_simple_use
        was changed from loop to loop_vinfo.
        (vectorizable_operation): Likewise.
        (vectorizable_store): Likewise.
        (vect_mark_stmts_to_be_vectorized): Likewise.
        (vect_do_peeling_for_loop_bound): First argument in call to
        vect_update_ivs_after_vectorizer was changed from loop to loop_vinfo.
        (vect_analyze_operations): Argument in call to vect_can_advance_ivs_p
        was changed from loop to loop_vinfo.
        (vect_analyze_data_ref_dependences): Third argument in call to
        vect_analyze_data_ref_dependence was changed from loop to loop_vinfo.

        (vect_create_index_for_vector_ref): Get the loop from loop_vinfo.
        (vect_create_data_ref_ptr): Likewise.
        (vect_init_vector): Likewise.
        (vect_get_vec_def_for_operand): Likewise.
        (vectorizable_assignment): Likewise.
        (vectorizable_operation): Likewise.
        (vectorizable_store): Likewise.
        (vectorizable_load): Likewise.
        (vect_update_ivs_after_vectorizer): Likewise.
        (vect_is_simple_use): Likewise.
        (vect_analyze_data_ref_dependence): Likewise.
        (vect_analyze_pointer_ref_access): Likewise.
        (vect_can_advance_ivs_p): Likewise.

        * tree-vectorizer.h: (_loop_vec_info): Definition and macros moved
        before _stmt_vec_info.
        (_stmt_vec_info): Loop field replaced by loop_vec_info.
        (STMT_VINFO_LOOP): Replaced with STMT_VINFO_LOOP_VINFO.
        (new_stmt_vec_info): Argument changed from loop structure to
        loop_vect_info structure

        (vect_analyze_data_ref_dependences): Unnecessary line was removed.
        (vect_analyze_offset_expr): Avoid 80 columns overflow.
        (vect_create_addr_base_for_vector_ref): Likewise.
        (vect_analyze_pointer_ref_access): Likewise.

Co-Authored-By: Dorit Naishlos <dorit@il.ibm.com>
From-SVN: r94661

19 years agore PR tree-optimization/19768 (ICE: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set)
Andrew Pinski [Thu, 3 Feb 2005 15:26:29 +0000 (15:26 +0000)]
re PR tree-optimization/19768 (ICE: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set)

2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/19768
        * g++.dg/opt/pr19768.C: New test.

2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/19768
        * tree-ssa-dse.c (fix_phi_uses): Update the occurs in abnormal
        phi flag if the phi is abnormal.

From-SVN: r94660

19 years agofix PR number in the testsuite/Changelog:
Andrew Pinski [Thu, 3 Feb 2005 15:16:20 +0000 (07:16 -0800)]
fix PR number in the testsuite/Changelog:

2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/19736
        * gcc.c-torture/compile/pr19736.c: New test.

From-SVN: r94659

19 years agore PR tree-optimization/19736 (ICE with type mismatch between SSA_NAME and its symbol)
Andrew Pinski [Thu, 3 Feb 2005 15:13:45 +0000 (15:13 +0000)]
re PR tree-optimization/19736 (ICE with type mismatch between SSA_NAME and its symbol)

2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/19763
        * gcc.c-torture/compile/pr19736.c: New test.

2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/19736
        * tree-ssa.c (replace_immediate_uses): Update the immediate_uses
        information for the new statement.

From-SVN: r94658

19 years agore PR driver/19117 (gcc -v should include target information)
Joseph Myers [Thu, 3 Feb 2005 13:03:20 +0000 (13:03 +0000)]
re PR driver/19117 (gcc -v should include target information)

PR driver/19117
* gcc.c (main): Include the target in -v output.

From-SVN: r94657

19 years agore PR c++/17401 (ICE with invalid pure specifier)
Giovanni Bajo [Thu, 3 Feb 2005 10:26:22 +0000 (10:26 +0000)]
re PR c++/17401 (ICE with invalid pure specifier)

PR c++/17401
* parser.c (cp_parser_pure_specifier): Emit a specific error
message with an invalid pure specifier.
* decl2.c (grok_function_init): Remove.
(grokfield): An initializer for a method is a always a pure
specifier.

PR c++/17401
* g++.dg/parse/error25.C: New test.

From-SVN: r94656

19 years agocombine.c (simplify_comparison, [...]): Do not drop the extend if we'd have to add...
Alexandre Oliva [Thu, 3 Feb 2005 09:09:42 +0000 (09:09 +0000)]
combine.c (simplify_comparison, [...]): Do not drop the extend if we'd have to add a paradoxical subreg later.

gcc/ChangeLog:
* combine.c (simplify_comparison, case SIGN_EXTEND, ZERO_EXTEND):
Do not drop the extend if we'd have to add a paradoxical subreg
later.  Include optabs.h and insn-codes.h.
* Makefile.in (combine.o): Depend on $(OPTABS_H).
gcc/testsuite/ChangeLog:
* gcc.c-torture/execute/20050203-1.c: New.

From-SVN: r94655

19 years agovect-85.c: Remove xfail.
Dorit Naishlos [Thu, 3 Feb 2005 08:19:46 +0000 (08:19 +0000)]
vect-85.c: Remove xfail.

        * gcc.dg/vect/vect-85.c: Remove xfail.
        * gcc.dg/vect/vect-86.c: Remove xfail.
        * gcc.dg/vect/vect-87.c: Remove xfail.
        * gcc.dg/vect/vect-88.c: Remove xfail.

From-SVN: r94654

19 years agore PR middle-end/19405 (18_support/numeric_limits.cc fails on ppc-darwin (long doubles))
Roger Sayle [Thu, 3 Feb 2005 06:44:35 +0000 (06:44 +0000)]
re PR middle-end/19405 (18_support/numeric_limits.cc fails on ppc-darwin (long doubles))

PR middle-end/19405
* real.h (REAL_MODE_FORMAT_COMPOSITE_P): New macro.
* fold-const.c (const_binop): Avoid constant folding floating
point operations in modes that use composite representations.
* simplify-rtx.c (simplify_binary_operation): Likewise.

From-SVN: r94653

19 years agoaltivec.md (altivec_dst): Make the first operand a REG, not a MEM.
Geoffrey Keating [Thu, 3 Feb 2005 06:36:02 +0000 (06:36 +0000)]
altivec.md (altivec_dst): Make the first operand a REG, not a MEM.

2005-02-02  Geoffrey Keating  <geoffk@apple.com>

* config/rs6000/altivec.md (altivec_dst): Make the first operand
a REG, not a MEM.
(altivec_dstt): Likewise.
(altivec_dstst): Likewise.
(altivec_dststt): Likewise.
* config/rs6000/rs6000.c (altivec_expand_dst_builtin): Adjust creation
of first operand.

Index: testsuite/ChangeLog
2005-02-02  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/altivec-19.c: New.

From-SVN: r94652

19 years agotree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy EXPR_LOCUS from orig_cond...
Dorit Naishlos [Thu, 3 Feb 2005 06:19:16 +0000 (06:19 +0000)]
tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy EXPR_LOCUS from orig_cond to the new cond_stmt.

        * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy
        EXPR_LOCUS from orig_cond to the new cond_stmt.
        (vect_finish_stmt_generation): Copy EXPR_LOCUS from stmt to
        the new vec_stmt.

        * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Call
        standard_iv_increment_position. Remove call to bsi_next
        (no need to bump the iterator anymore).
        (vect_create_index_for_vector_ref): Call
        standard_iv_increment_position. Remove second function argument.
        (vect_finish_stmt_generation): Remove call to bsi_next
        (no need to bump the iterator anymore).
        (vect_create_data_ref_ptr): Remove second argument (bsi) in call
        to vect_create_index_for_vector_ref.

        * tree-vectorizer.c (vect_mark_stmts_to_be_vectorized): Check if
        phis are used out of the loop.

From-SVN: r94651

19 years agore PR c/17807 (No warning/error for undefined local function.)
Joseph Myers [Thu, 3 Feb 2005 02:21:10 +0000 (02:21 +0000)]
re PR c/17807 (No warning/error for undefined local function.)

PR c/17807
* c-decl.c (undef_nested_function): New variable.
(pop_scope): Diagnose undefined nested functions.
(finish_function): Don't attempt cgraph processing or genericizing
if current top-level function contained an undefined nested
function.  Reset undef_nested_function at the end of a top-level
function.

testsuite:
* gcc.dg/nested-func-3.c: New test.
* gcc.dg/pr18596-3.c: Expect error for undefined nested function.

From-SVN: r94645

19 years agogen_directive_tests: Generate tests for selector expressions.
Janis Johnson [Thu, 3 Feb 2005 00:41:35 +0000 (00:41 +0000)]
gen_directive_tests: Generate tests for selector expressions.

* gcc.test-framework/gen_directive_tests: Generate tests for
selector expressions.

From-SVN: r94642

19 years agoDaily bump.
GCC Administrator [Thu, 3 Feb 2005 00:16:28 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r94639

19 years agoMakefile.in: Rebuilt.
Tom Tromey [Thu, 3 Feb 2005 00:15:46 +0000 (00:15 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (classes.stamp): New target, broken out from
libgcj.jar target.
($(all_java_class_files)): Depend on it.
(libgcj-@gcc_version@.jar): Likewise.
(all-recursive): Likewise.
(CLEANFILES): Include classes.stamp.

From-SVN: r94636

19 years agore PR c++/19628 (g++ no longer accepts __builtin_constant_p in constant-expressions)
Matt Austern [Thu, 3 Feb 2005 00:02:10 +0000 (00:02 +0000)]
re PR c++/19628 (g++ no longer accepts __builtin_constant_p in constant-expressions)

PR c++/19628

* cp-tree.h (builtin_valid_in_constant_expr_p): Declare.
* parser.c (cp_parser_postfix_expression): Accept function call in constant expression if builtin_valid_in_constant_expr_p is true for that function.
* pt.c (value_dependent_expression_p): Handle CALL_EXPRs properly.
* semantics.c (finish_id_expression): Accept function call in constant expression if builtin_valid_in_constant_expr_p is true for that function.
* tree.c (builtin_valid_in_constant_expr_p): New.

* g++/ext/builtin7.C: New.
* g++/ext/builtin8.C: New.

From-SVN: r94635

19 years agotree.c (build_int_cst_type): Take sign of the value into account when deciding whethe...
Zdenek Dvorak [Wed, 2 Feb 2005 23:13:53 +0000 (00:13 +0100)]
tree.c (build_int_cst_type): Take sign of the value into account when deciding whether sign extend the value.

* tree.c (build_int_cst_type): Take sign of the value into account
when deciding whether sign extend the value.

From-SVN: r94633

19 years agore PR c/18502 (trigraphs don't work with -std=gnu99)
Joseph Myers [Wed, 2 Feb 2005 23:01:11 +0000 (23:01 +0000)]
re PR c/18502 (trigraphs don't work with -std=gnu99)

PR c/18502
* gcc.c (cpp_unique_options): Remove %{trigraphs}.
(cpp_options, cc1_options): Change %{std*&ansi} to
%{std*&ansi&trigraphs}.

testsuite:
* gcc.dg/pr18502-1.c: New test.

From-SVN: r94632

19 years ago* cse.c: Update comments.
Kazu Hirata [Wed, 2 Feb 2005 22:31:41 +0000 (22:31 +0000)]
* cse.c: Update comments.

From-SVN: r94624

19 years ago* link.cc: Include <stdio.h>
Hans Boehm [Wed, 2 Feb 2005 22:29:31 +0000 (22:29 +0000)]
* link.cc: Include <stdio.h>

From-SVN: r94623

19 years agoRevert bad import
Zack Weinberg [Wed, 2 Feb 2005 22:09:16 +0000 (22:09 +0000)]
Revert bad import

From-SVN: r94621

19 years agore PR c++/17413 (local classes as template argument)
Volker Reichelt [Wed, 2 Feb 2005 21:58:46 +0000 (21:58 +0000)]
re PR c++/17413 (local classes as template argument)

PR c++/17413
* pt.c (check_instantiated_args): Improve error message.
Fix logic when to print its second part.

PR c++/17413
* g++.dg/template/local4.C: Tweak.

From-SVN: r94618

19 years agors6000.c (rs6000_spe_function_arg): Multi-reg arguments go on the stack.
Aldy Hernandez [Wed, 2 Feb 2005 21:55:32 +0000 (21:55 +0000)]
rs6000.c (rs6000_spe_function_arg): Multi-reg arguments go on the stack.

* config/rs6000/rs6000.c (rs6000_spe_function_arg): Multi-reg
arguments go on the stack.  Do not put complex doubles in odd/even
pairs.

From-SVN: r94617

19 years agors6000.c (rs6000_spe_function_arg): Multi-reg arguments go on the stack.
Aldy Hernandez [Wed, 2 Feb 2005 21:53:06 +0000 (21:53 +0000)]
rs6000.c (rs6000_spe_function_arg): Multi-reg arguments go on the stack.

* config/rs6000/rs6000.c (rs6000_spe_function_arg): Multi-reg
arguments go on the stack.  Do not put complex doubles in odd/even
pairs.

[[Split portion of a mixed commit.]]

From-SVN: r94616.2

19 years agoinvoke.texi: Update the options enabled at -O1, -O2, and -O3.
Steven Bosscher [Wed, 2 Feb 2005 21:50:16 +0000 (21:50 +0000)]
invoke.texi: Update the options enabled at -O1, -O2, and -O3.

* doc/invoke.texi: Update the options enabled at -O1, -O2,
and -O3.  Update the documentation for -fgcse-sm, -fgcse-las,
-ftree-pre, and -fthread-jumps.

From-SVN: r94615

19 years agocp-tree.h (complete_type_or_else): Remove macro.
Volker Reichelt [Wed, 2 Feb 2005 21:19:07 +0000 (21:19 +0000)]
cp-tree.h (complete_type_or_else): Remove macro.

* cp-tree.h (complete_type_or_else): Remove macro.
(complete_type_or_diagnostic): Rename to complete_type_or_else
and remove last argument.
* typeck.c (complete_type_or_diagnostic): Rename to
complete_type_or_else and remove last argument.

From-SVN: r94614

19 years agocp-tree.h (commonparms): Remove prototype.
Volker Reichelt [Wed, 2 Feb 2005 21:13:41 +0000 (21:13 +0000)]
cp-tree.h (commonparms): Remove prototype.

* cp-tree.h (commonparms): Remove prototype.
(convert_arguments): Likewise.
(PFN_FROM_PTRMEMFUNC): Remove.
* typeck.c (commonparms): Make static.
(convert_arguments): Add prototype. Make static.
(PFN_FROM_PTRMEMFUNC): Replace by pfn_from_ptrmemfunc.

From-SVN: r94613

19 years agogcj.texi (libgcj Runtime Properties): Default library_control to 'cache'.
Tom Tromey [Wed, 2 Feb 2005 21:09:25 +0000 (21:09 +0000)]
gcj.texi (libgcj Runtime Properties): Default library_control to 'cache'.

* gcj.texi (libgcj Runtime Properties): Default library_control
to 'cache'.

From-SVN: r94612

19 years agore PR libgcj/19681 (extension loading currently incorrect)
Tom Tromey [Wed, 2 Feb 2005 20:59:41 +0000 (20:59 +0000)]
re PR libgcj/19681 (extension loading currently incorrect)

PR libgcj/19681:
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added new class.
* java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
Use system_instance, not instance.
* gnu/gcj/runtime/SystemClassLoader.java: New file.
* gnu/gcj/runtime/VMClassLoader.java (init): Don't search
java.class.path.
(system_instance): New field.
(initialize): Initialize the system loader as well.
(VMClassLoader): Default to LIB_CACHE.

From-SVN: r94611

19 years agore PR tree-optimization/19578 (function pointer propagation fails for noreturn functi...
Richard Sandiford [Wed, 2 Feb 2005 20:58:39 +0000 (20:58 +0000)]
re PR tree-optimization/19578 (function pointer propagation fails for noreturn functions (part 2))

PR tree-optimization/19578
* tree-flow.h (modified_noreturn_calls): Declare.
(noreturn_call_p): Declare.
* tree-flow-inline.h (noreturn_call_p): New function.
(modify_stmt): Add modified noreturn calls to modified_noreturn_calls.
* tree-cfg.c (modified_noreturn_calls): New variable.
(cleanup_control_flow): Use noreturn_call_p.  Split basic blocks
that contain a mid-block noreturn call.
* tree-ssa.c (delete_tree_ssa): Clear modified_noreturn_calls.

From-SVN: r94610

19 years agodf.c (df_def_record_1, [...]): Don't use DF_FOR_REGALLOC.
Kazu Hirata [Wed, 2 Feb 2005 20:20:09 +0000 (20:20 +0000)]
df.c (df_def_record_1, [...]): Don't use DF_FOR_REGALLOC.

* df.c (df_def_record_1, df_uses_record): Don't use
DF_FOR_REGALLOC.
* df.h (DF_FOR_REGALLOC): Remove.

From-SVN: r94608

19 years agodebug.html: Fix broken tags.
Brad Spencer [Wed, 2 Feb 2005 19:38:38 +0000 (19:38 +0000)]
debug.html: Fix broken tags.

2005-02-02  Brad Spencer  <spencer@infointeractive.com>

* debug.html: Fix broken tags.
* documentation.html: Same.

From-SVN: r94602

19 years agolibstdc++.exp: Revert Geoffrey Keating's patch from 2005-01-28.
Andreas Jaeger [Wed, 2 Feb 2005 19:15:07 +0000 (20:15 +0100)]
libstdc++.exp: Revert Geoffrey Keating's patch from 2005-01-28.

* testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
from 2005-01-28.
* testsuite/Makefile.am: Likewise.
* testsuite/Makefile.in: Likewise.

From-SVN: r94601

19 years agoImported from mainline FSF repositories
Nick Clifton [Wed, 2 Feb 2005 19:06:59 +0000 (19:06 +0000)]
Imported from mainline FSF repositories

From-SVN: r94600

19 years agore PR java/15543 ("jv-scan --complexity" segfaults)
Ranjit Mathew [Wed, 2 Feb 2005 18:41:25 +0000 (18:41 +0000)]
re PR java/15543 ("jv-scan --complexity" segfaults)

        PR java/15543
        * parse-scan.y (formal_parameter): Use $2 (type) instead of $$
        (modifiers) when square brackets are present in a declaration for
        a final paramter.
        * jv-scan.c (main): Set input_filename and input_line.

From-SVN: r94598

19 years agoMAINTAINERS (Write After Approval): Add myself.
Richard Guenther [Wed, 2 Feb 2005 18:18:25 +0000 (18:18 +0000)]
MAINTAINERS (Write After Approval): Add myself.

2005-02-02  Richard Guenther  <rguenth@gcc.gnu.org>

* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r94597

19 years agore PR c/19435 (spurious warnings with nested array constructors)
Joseph Myers [Wed, 2 Feb 2005 18:03:20 +0000 (18:03 +0000)]
re PR c/19435 (spurious warnings with nested array constructors)

PR c/19435
* c-typeck.c (really_start_incremental_init): Reset
constructor_max_index for arrays of incomplete type.

testsuite:
* gcc.dg/c99-init-4.c: New test.

From-SVN: r94595

19 years agoPersistentByteMap.java: Fixed typo.
Tom Tromey [Wed, 2 Feb 2005 16:19:45 +0000 (16:19 +0000)]
PersistentByteMap.java: Fixed typo.

* gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
* prims.cc: Fixed comment.

From-SVN: r94592

19 years agogcse.c (struct reg_set): Store the block index where the register was set rather...
Jeff Law [Wed, 2 Feb 2005 15:59:59 +0000 (08:59 -0700)]
gcse.c (struct reg_set): Store the block index where the register was set rather than the setting insn.

        * gcse.c (struct reg_set): Store the block index where the register
        was set rather than the setting insn.
        (record_one_set, compute_transp): Corresponding changes.
        (pre_insert_copy_insn): Do not call replace_one_set.
        (replace_one_set): Remove.

From-SVN: r94591

19 years agore PR other/15514 (a typo in docs)
Joseph Myers [Wed, 2 Feb 2005 01:39:32 +0000 (01:39 +0000)]
re PR other/15514 (a typo in docs)

PR other/15514
* doc/gcov.texi: Fix typo.

From-SVN: r94580

This page took 0.110202 seconds and 5 git commands to generate.