- 09 Apr, 2004 6 commits
-
-
* java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to modified lookup(). * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a StackTraceElement directly. (newElement): New native helper method to create StackTraceElement bypassing Java access control. (createStackTraceElement): Use newElement() instead of directly calling StackTraceElement's constructor. * gnu/gcj/runtime/natNameFinder.cc (newElement): New method. From-SVN: r80541
Ranjit Mathew committed -
* function.c (gen_mem_addressof): When changing the RTX from a REG to a MEM, clear MEM_VOLATILE_P which was formerly REG_USERVAR_P. From-SVN: r80540
Roger Sayle committed -
PR target/14888 * config/i386/i386.md (truncdfsf2_noop, truncxfsf2_noop, truncxfdf2_noop): Provide dummy "fmov" implementations. * g++.dg/opt/pr14888.C: New test case. From-SVN: r80539
Roger Sayle committed -
From-SVN: r80538
Ian Lance Taylor committed -
* config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address): Return 1 if file was successfully mapped. From-SVN: r80537
Ian Lance Taylor committed -
From-SVN: r80534
GCC Administrator committed
-
- 08 Apr, 2004 15 commits
-
-
2004-04-08 Geoffrey Keating <geoffk@apple.com> PR pch/13419 PR pch/14137 Radar #: 3315288 * doc/invoke.texi (Precompiled Headers): Suggest -o to put an output file in a particular place. Be more detailed about which options affect PCH validity and which options might not work. * c-pch.c (pch_matching): New. (MATCH_SIZE): New. (struct c_pch_validity): New field 'match'. (pch_init): Handle pch_matching. (c_common_valid_pch): Check pch_matching. Index: testsuite/ChangeLog 2004-04-08 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pch/valid-1.c, gcc.dg/pch/valid-2.c, gcc.dg/pch/valid-3.c, gcc.dg/pch/valid-4.c, gcc.dg/pch/valid-5.c, gcc.dg/pch/valid-6.c, gcc.dg/pch/valid-1.hs, gcc.dg/pch/valid-2.hs, gcc.dg/pch/valid-3.hs, gcc.dg/pch/valid-4.hs, gcc.dg/pch/valid-5.hs, gcc.dg/pch/valid-6.hs: New tests. From-SVN: r80531
Geoffrey Keating committed -
From-SVN: r80530
Geoffrey Keating committed -
* doc/invoke.texi (Precompiled Headers): Warn about known problems. From-SVN: r80529
Mark Mitchell committed -
PR c++/14808 * defaults.h (TARGET_USE_LOCAL_THUNK_ALIAS_P): New macro. Default to 1 if ASM_OUTPUT_DEF is defined. * doc/tm.texi (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document. * config/i386/cygming.h (TARGET_USE_LOCAL_THUNK_ALIAS_P): Define. Set to non-zero iff not a one_only decl. * cp/method.c (use_thunk): Test TARGET_USE_LOCAL_THUNK_ALIAS_P rather than ASM_OUTPUT_DEF. From-SVN: r80525
Danny Smith committed -
* arm.h (CLASS_LIKELY_SPILLED_P): Define. testsuite * gcc.dg/spill-1.c: New test. From-SVN: r80519
Paul Brook committed -
* explow.c (promote_mode): Use PROMOTE_FUNCTION_MODE instead of PROMOTE_FOR_CALL_ONLY. * config/arm/arm-protos.h (arm_function_value): Declare. * config/arm/arm.h (TARGET_PROMOTE_FUNCTION_ARGS): Define. (TARGET_PROMOTE_PROTOTYPES): Return false. (arm_function_value): New function. * config/arm/arm.h (PROMOTE_FUNCTION_MODE): Define. (FUNCTION_VALUE): Call arm_function_value. * config/cris/cris.h (PROMOTE_MODE): Rename ... (PROMOTE_FUNCTION_MODE): ... to this. (PROMOTE_FOR_CALL_ONLY): Remove. * config/mmix/mmix.h: Likewise. * config/s390/s390.h: Likewise. * config/sparc/sparc.h: Likewise. * config/sparc/sparc.c: Update comments about PROMOTE_MODE. * doc/tm.texi (PROMOTE_FUNCTION_MODE): Document. (TARGET_PROMOTE_FUNCTION_MODE, TARGET_PROMOTE_FUNCTION_RETURN): Update. (PROMOTE_FOR_CALL_ONLY): Remove. From-SVN: r80518
Paul Brook committed -
2004-04-08 Joel Sherrill <joel@oarcorp.com> PR ada/14538 * ada/5rosinte.adb: Remove fake mprotect() body. * ada/5rosinte.ads: Add SA_SIGINFO. * ada/5rtpopsp.adb: Rewrite to use new interface. * ada/init.c: Reorder so the simple single OS conditional __rtems__ is tested before more complex ones which mix UNIX and embedded systems in the conditional. From-SVN: r80517
Joel Sherrill committed -
2004-04-08 Joel Sherrill <joel@oarcorp.com> PR ada/14665 * ada/osint.adb (Find_Program_Name): Rework to properly handle filenames which end in .exe or have versioning suffixes like VMS. From-SVN: r80514
Joel Sherrill committed -
re PR target/10129 ([3.4 only] Ada bootstrap fails on PPC-Darwin - invalid assembler emitted - PIC related) 2004-04-08 Andrew Pinski <pinskia@physics.uc.edu> PR target/10129 * config/darwin.c (darwin_encode_section_info): When the decl has a DECL_INITIAL, it is only defined also when it is not a common. From-SVN: r80512
Andrew Pinski committed -
darwin.c (darwin_encode_section_info): When the decl has a DECL_INITIAL, it is only defined also when it is not a common. 2004-04-08 Andrew Pinski <pinskia@physics.uc.edu> * config/darwin.c (darwin_encode_section_info): When the decl has a DECL_INITIAL, it is only defined also when it is not a common. From-SVN: r80511
Andrew Pinski committed -
* builtins.c (fold_builtin_isascii, fold_builtin_toascii): New. (fold_builtin): Handle BUILT_IN_ISASCII and BUILT_IN_TOASCII. testsuite: * gcc.dg/torture/builtin-ctype-2.c: New test. From-SVN: r80508
Kaveh R. Ghazi committed -
* decl2.c (mark_used): Don't segfault if cfun != NULL but current_function_decl == NULL. From-SVN: r80506
Jakub Jelinek committed -
2004-04-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * trans.c (tree_transform): Shortcut returning error_mark_node for statements in annotate_only_mode. (tree_transform, case N_Label, case N_Return_Statement, N_Goto_Statement): Make statement tree instead of generating code. (tree_transform, case N_Assignment_Statement): No longer check type_annotate_only. (gnat_expand_stmt, case GOTO_STMT, case LABEL_STMT, case RETURN_STMT): New. (first_nondeleted_insn, build_block_stmt, make_expr_stmt_from_rtl): New fcns. (gnat_to_gnu): Collect any RTL generated and deal with it. (tree_transform, case N_And_Then): Refine when have non-null RTL_EXPR. (tree_transform case N_If_Statement): Rewrite to make IF_STMT. (gnat_expand_stmt, case BLOCK_STMT, IF_STMT): New cases. * ada-tree.def (GOTO_STMT, LABEL_STMT, RETURN_STMT): New tree nodes. * ada-tree.def (EXPR_STMT): Fix typo in name. (BLOCK_STMT, IF_STMT): New nodes. * ada-tree.h (GOTO_STMT_LABEL, LABEL_STMT_LABEL, LABEL_STMT_FIRST_IN_EH): New macros. (RETURN_STMT_EXPR): Likewise. * ada-tree.h: (BLOCK_STMT_LIST, IF_STMT_COND, IF_STMT_TRUE, IF_STMT_ELSEIF, IF_STMT_ELSE): New macros. 2004-04-08 Thomas Quinot <quinot@act-europe.fr> * atree.ads: Correct documentation on extended nodes. * link.c: Set run_path_option for FreeBSD. 2004-04-08 Vincent Celier <celier@gnat.com> * mlib-prj.adb (Build_Library.Check_Libs): On OpenVMS, if dec.ali is one of the ALI file, do not link with DEC lib. * par.adb Remove the last two characters ("%s" or "%b") when checking if a language defined unit may be recompiled. 2004-04-08 Ed Schonberg <schonberg@gnat.com> * sem_ch4.adb (Remove_Abstract_Operations): Improve error message when removal of abstract operation leaves no possible interpretation for expression. * sem_eval.adb (Eval_Qualified_Expression): Use Set_Raises_Constraint_Error on node when needed, so that it does not get optimized away by subsequent optimizations. * sem_res.adb (Resolve_Intrinsic_Operator): Save interpretations of operands even when they are not wrapped in a type conversion. 2004-04-08 Olivier Hainque <hainque@act-europe.fr> * sem_prag.adb (Set_Exported): Warn about making static as result of export only when the export is coming from source. This may be not be true e.g. on VMS where we expand export pragmas for exception codes together with imported or exported exceptions, and we don't want the user to be warned about something he didn't write. 2004-04-08 Thomas Quinot <quinot@act-europe.fr> * sem_util.adb (Note_Possible_Modification): Reorganize to remove code duplication between normal entities and those declared as renamings. No functional change. * s-fileio.ads (Form): Remove pragma Inline, as we cannot currently inline functions returning an unconstrained result. 2004-04-08 Eric Botcazou <ebotcazou@act-europe.fr> * utils.c (type_for_mode): Handle BLKmode and VOIDmode properly, to conform to what other front-ends do. 2004-04-08 Doug Rupp <rupp@gnat.com> * 5vml-tgt.adb: Use Gas instead of VMS Macro to build auto init shared libraries. From-SVN: r80504
Arnaud Charlet committed -
2004-04-07 H.J. Lu <hongjiu.lu@intel.com> * config/ia64/ia64.c (ia64_encode_section_info): Don't prod global register variables. From-SVN: r80501
H.J. Lu committed -
From-SVN: r80496
GCC Administrator committed
-
- 07 Apr, 2004 13 commits
-
-
time_members.cc (__timepunct<char>::_M_initialize_timepunct, [...]): the correct _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively. 2004-04-07 Paolo Carlini <pcarlini@suse.de> * config/locale/generic/time_members.cc (__timepunct<char>::_M_initialize_timepunct, __timepunct<wchar_t>::_M_initialize_timepunct): the correct _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively. * config/locale/gnu/time_members.cc (__timepunct<char>::_M_initialize_timepunct, __timepunct<wchar_t>::_M_initialize_timepunct): Ditto. * testsuite/22_locale/time_get/get_monthname/char/4.cc: New. * testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New. * testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk. * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_get/get_date/char/1.cc: Ditto. * testsuite/22_locale/time_get/get_date/char/2.cc: Ditto. * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto. * testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto. * testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto. * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto. * testsuite/22_locale/time_get/get_time/char/1.cc: Ditto. * testsuite/22_locale/time_get/get_time/char/2.cc: Ditto. * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto. * testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto. * testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto. * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto. * testsuite/22_locale/time_get/get_year/char/1.cc: Ditto. * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_put/put/char/1.cc: Ditto. * testsuite/22_locale/time_put/put/char/2.cc: Ditto. * testsuite/22_locale/time_put/put/char/3.cc: Ditto. * testsuite/22_locale/time_put/put/char/4.cc: Ditto. * testsuite/22_locale/time_put/put/char/5.cc: Ditto. * testsuite/22_locale/time_put/put/char/6.cc: Ditto. * testsuite/22_locale/time_put/put/char/7.cc: Ditto. * testsuite/22_locale/time_put/put/char/8.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto. * testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos. From-SVN: r80493
Paolo Carlini committed -
From-SVN: r80492
Ian Lance Taylor committed -
* fixinc/inclhack.def (rpc_xdr_lvalue_cast_a, rpc_xdr_lvalue_cast_b): New fixes. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/rpc/xdr.h: Add new tests. From-SVN: r80490
Joseph Myers committed -
* config/rs6000/rs6000.c (processor_target_table): Add MASK_MFCRF to power4 and power5 entries. From-SVN: r80486
David Edelsohn committed -
2004-04-06 Geoffrey Keating <geoffk@apple.com> * c-common.h (pending_lang_change): Mark for PCH. Index: testsuite/ChangeLog 2004-04-06 Geoffrey Keating <geoffk@apple.com> * g++.dg/pch/externc-1.Hs: New. * g++.dg/pch/externc-1.C: New. From-SVN: r80484
Geoffrey Keating committed -
2004-04-07 Caroline Tice <ctice@apple.com> * gcc.c (main): Move 'break' in main loops (on an error) to wait until error processing has occurred. From-SVN: r80483
Caroline Tice committed -
* gcc_release (build_sources): Do not use "-r" and "-D" at the same time with "cvs export". From-SVN: r80480
Mark Mitchell committed -
* config/locale/gnu/monetary_members.cc (moneypunct<wchar_t>::_M_initialize_moneypunct): Prefer _NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC, and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC, _NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING. * config/locale/gnu/numeric_members.cc (numpunct<char>::_M_initialize_numpunct): Prefer DECIMAL_POINT and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP. From-SVN: r80477
Paolo Carlini committed -
2004-04-06 Benjamin Kosnik <bkoz@redhat.com> Fixups for EDG front end. * include/ext/rope: Instead of non-existent function _Data_allocate, use allocator's allocate. Use this. (namespace _Rope_constants): Move _S_max_rope_depth, and _Tag enumerations from _Rope_RopeRep here. * include/ext/ropeimpl.h: Same. * src/ext-inst.cc (_S_min_len): Fix up definition. * config/locale/gnu/ctype_members.cc: Qualify base class members with this. * config/locale/generic/ctype_members.cc: Same. * config/locale/gnu/messages_members.h: Same. * config/locale/generic/messages_members.h: Same. * src/ctype.cc: Same. * include/bits/codecvt.h: Same. * include/bits/boost_concept_check.h: Declare. (__error_type_must_be_an_unsigned_integer_type): Remove this. (__error_type_must_be_an_integer_type): Remove this. (__error_type_must_be_a_signed_integer_type): Remove this. * config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast. * libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception specification to definition. (__cxa_allocate_exception): Same. * libsupc++/eh_catch.cc (__cxa_begin_catch): Same. * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same. (__cxa_get_globals): Same. * libsupc++/del_op.cc: Add comment about freestanding. From-SVN: r80475
Benjamin Kosnik committed -
re PR bootstrap/14760 (A bug in configure{,.in} prevents using both --program-suffix and --program-prefix) PR bootstrap/14760 * configure.in: When computing baseargs, strip *all* copies of offending options. Also, don't match/substitute the trailing space, so that this actually works when two similar options are separated by only one space. * configure: Regenerate. From-SVN: r80474
Nathanael Nerode committed -
* config.gcc: Stop changing enable_threads midstream. Replace uses of enable_threads_flag with enable_threads. * configure.ac: Replace uses of enable_threads_flag with enable_threads. Improve autoconf quotation in one place. * configure: Regenerate. From-SVN: r80473
Nathanael Nerode committed -
* gcc.dg/compat/struct-by-value-5a_main.c, gcc.dg/compat/struct-by-value-5b_main.c: New files. * gcc.dg/compat/struct-by-value-5_main.c: Delete. * gcc.dg/compat/struct-by-value-5a_x.c, gcc.dg/compat/struct-by-value-5b_x.c: New, split out from gcc.dg/compat/struct-by-value-5_x.c. * gcc.dg/compat/struct-by-value-5a_y.c, gcc.dg/compat/struct-by-value-5b_y.c: New, split out from gcc.dg/compat/struct-by-value-5_y.c. * gcc.dg/compat/struct-by-value-6a_main.c, gcc.dg/compat/struct-by-value-6b_main.c: New files. * gcc.dg/compat/struct-by-value-6_main.c: Delete. * gcc.dg/compat/struct-by-value-6a_x.c, gcc.dg/compat/struct-by-value-6b_x.c: New, split out from gcc.dg/compat/struct-by-value-6_x.c. * gcc.dg/compat/struct-by-value-6a_y.c, gcc.dg/compat/struct-by-value-6b_y.c: New, split out from gcc.dg/compat/struct-by-value-6_y.c. * gcc.dg/compat/struct-by-value-7a_main.c, gcc.dg/compat/struct-by-value-7b_main.c: New files. * gcc.dg/compat/struct-by-value-7_main.c: Delete. * gcc.dg/compat/struct-by-value-7a_x.c, gcc.dg/compat/struct-by-value-7b_x.c: New, split out from gcc.dg/compat/struct-by-value-7_x.c. * gcc.dg/compat/struct-by-value-7a_y.c, gcc.dg/compat/struct-by-value-7b_y.c: New, split out from gcc.dg/compat/struct-by-value-7_y.c. From-SVN: r80472
Kaveh R. Ghazi committed -
From-SVN: r80469
GCC Administrator committed
-
- 06 Apr, 2004 6 commits
-
-
* gcc.dg/i386-sse-8.c: Don't use -march=pentium3 on x86_64. * gcc.dg/i386-local.c: Expect %edi, not %eax register on x86_64. * gcc.dg/20020103-1.c: Add -fno-asynchronous-unwind-tables to options. From-SVN: r80464
Jakub Jelinek committed -
2004-04-06 Uros Bizjak <uros@kss-loka.si> * builtins.c: Implement support for sincos function. (expand_builtin_mathfn): Remove BUILT_IN_SIN{,F,L} and BUILT_IN_COS{,F,L}. (expand_builtin_mathfn_3): New function. (expand_builtin): Expand BUILT_IN_SIN{,F,L} and BUILT_IN_COS{,F,L} using expand_builtin_mathfn_3 if flag_unsafe_math_optimization is set. * optabs.h (enum optab_index): Add new OTI_sincos. (sincos_optab): Define corresponding macro. * optabs.c (init_optabs): Initialize sincos_optab. (expand_twoval_unop): New function. * genopinit.c (optabs): Implement sincos_optab using sincos?f3 patterns. * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_SINCOS_COS and UNSPEC_SINCOS_SIN. * config/i386/i386.md (sincosdf3, sincossf3, *sincosextendsfdf3, sincosxf3): New patterns to implement sincos, sincosf and sincosl built-ins as inline x87 intrinsics. Define splits for sindf2, sinsf2, *sinextendsfdf2, sinxf2, cosdf2, cossf2, *cosextendsfdf2 and cosxf2 patterns from corresponding sincos patterns. (sindf2, sinsf2, sinxf2): Rename to *sindf2, *sinsf2, *sinxf2. (cosdf2, cossf2, cosxf2): Rename to *cosdf2, *cossf2, *cosxf2. (UNSPEC_SINCOS_SIN, UNPEC_SINCOS_COS): New unspecs to represent x87's unspec insn. * gcc.dg/builtins-36.c: New test. From-SVN: r80463
Uros Bizjak committed -
PR 14467 * config/darwin.h (LINK_COMMAND_SPEC): Use c++filt instead of c++filt3. From-SVN: r80461
Devang Patel committed -
2004-04-06 H.J. Lu <hongjiu.lu@intel.com> * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch for gcc >= 3.0. (PREFETCH_FOR_WRITE): Likewise. From-SVN: r80459
H.J. Lu committed -
* configure.in (powerpc-*-aix*): Remove target-libada from noconfigdirs. (rs6000-*-aix*): Same. * configure: Regenerate. From-SVN: r80458
David Edelsohn committed -
From-SVN: r80457
John David Anglin committed
-