jsm28 [Thu, 13 May 2004 10:30:28 +0000 (10:30 +0000)]
* update_web_docs: Also remove old .gz files from subdirectories
on the 15th of the month.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81773
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 13 May 2004 10:14:00 +0000 (10:14 +0000)]
* update_web_docs (MANUALS): Add gfortran.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81772
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Thu, 13 May 2004 10:11:02 +0000 (10:11 +0000)]
PR fortran/15294
* gfortran.fortran-torture/execute/adjustr.f90: New file.
* io/intrinsic/string_intrinsics.c(adjustr): rework logic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81771
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 13 May 2004 10:09:25 +0000 (10:09 +0000)]
2004-05-13 Arnaud Charlet <charlet@act-europe.fr>
* update_web_docs: Fix generation of Ada docs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81770
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 13 May 2004 08:59:23 +0000 (08:59 +0000)]
* update_version (ADD_BRANCHES): Remove tree-ssa-
20020619-branch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81768
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 13 May 2004 08:54:30 +0000 (08:54 +0000)]
* gcc_release (DIFF): Remove -3 option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81767
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Thu, 13 May 2004 06:41:07 +0000 (06:41 +0000)]
Merge tree-ssa-
20020619-branch into mainline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81764
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 13 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81758
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 12 May 2004 08:32:00 +0000 (08:32 +0000)]
2004-05-12 Paolo Bonzini <bonzini@gnu.org>
Replace several arrays with a struct of arrays.
* combine.c (struct reg_stat): New.
(init_reg_last_arrays): Renamed to...
(init_reg_last): ...this. Callers adjusted.
(reg_stat): New.
(combine_instructions): Allocate it and use it.
(reg_last_death, reg_last_set, reg_last_set_value,
reg_last_set_label, reg_last_set_table_tick,
reg_last_set_invalid, reg_nonzero_bits, reg_sign_bit_copies,
reg_last_set_mode, reg_last_set_nonzero_bits,
reg_last_set_sign_bit_copies): Replace throughout
with items of reg_stat.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81740
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 12 May 2004 07:25:52 +0000 (07:25 +0000)]
PR target/15331
* 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81737
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Wed, 12 May 2004 04:32:01 +0000 (04:32 +0000)]
PR optimization/15100
* combine.c (distribute_notes): Don't create a dangling
REG_LIBCALL/REG_RETVAL note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81736
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 12 May 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81729
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 11 May 2004 23:41:08 +0000 (23:41 +0000)]
* config/rs6000/spe.md (spe_evneg): Rename to negv2si2.
* config/rs6000/rs6000.c (bdesc_1arg): Change spe_evneg to
negv2si2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81724
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 11 May 2004 23:35:57 +0000 (23:35 +0000)]
* doc/md.texi (Standard Names): Fix typo in vec_init description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81723
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 11 May 2004 22:54:55 +0000 (22:54 +0000)]
* utils.c (max_size): Use MIN_EXPR to find the minimum value of a
COND_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81721
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Tue, 11 May 2004 21:47:35 +0000 (21:47 +0000)]
2004-05-11 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-8.C: Use '-maltivec' instead of '-faltivec';
include <altivec.h> explicitly.
* gcc.dg/altivec-13.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81719
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 11 May 2004 21:35:57 +0000 (21:35 +0000)]
* doc/gty.texi (GTY Options): Clarify example.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81718
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Tue, 11 May 2004 20:59:12 +0000 (20:59 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81717
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Tue, 11 May 2004 20:29:48 +0000 (20:29 +0000)]
Test for AltiVec function vec_ld, passing a pointer to const vector.
Approved by Aldy Hernandez.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81716
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Tue, 11 May 2004 20:28:12 +0000 (20:28 +0000)]
Fixed problem related to vec_ld in c++ mode.
Approved by Aldy Hernandez.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81715
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 11 May 2004 19:48:45 +0000 (19:48 +0000)]
2004-05-11 Michael Koch <konqueror@gmx.de>
* gnu/java/net/natPlainSocketImplPosix.cc
(read): Fixed typo in expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81714
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 11 May 2004 18:00:43 +0000 (18:00 +0000)]
* gcc.c-torture/compile/
20010518-1.c: Force enum size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81707
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 11 May 2004 16:23:44 +0000 (16:23 +0000)]
* flags.h (flag_short_enums): Update comment.
* opts.c (decode_options): Set flag_short_enums to 2.
* toplev.c (flag_short_enums): Update comment.
(process_options): Call default_short_enums target hook.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81704
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 11 May 2004 15:40:08 +0000 (15:40 +0000)]
Fix entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81697
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 11 May 2004 07:37:16 +0000 (07:37 +0000)]
2004-05-10 Eric Christopher <echristo@redhat.com>
* gcc.dg/sibcall-3.c: Remove xfail for mips*-*-elf.
* gcc.dg/sibcall-4.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81695
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 11 May 2004 04:22:05 +0000 (04:22 +0000)]
2004-05-11 Andrew Pinski <pinskia@gcc.gnu.org>
PR target/14063
* config/rs6000/altivec.md (altivec_dssall):
Change to unspec_volatile.
(altivec_dss): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81694
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 11 May 2004 03:29:57 +0000 (03:29 +0000)]
* config/rs6000/altivec.md ("one_cmplv16qi2"): Change vnot to
vnor.
("one_cmplv8hi2"): Same.
("one_cmplv4si2"): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81693
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 11 May 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81689
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Mon, 10 May 2004 23:25:13 +0000 (23:25 +0000)]
PR target/15130
* config/sh/sh-protos.h (sh_expand_epilogue): Change prototype.
* config/sh/sh.c (output_stack_adjust): Take the sibcall epilogue
into account. Compute the correct number of general registers
for the return value. Generate a special push/pop sequence when
failing to get a temporary register for non SHmedia epilogue.
(sh_expand_epilogue): Add an argument to show whether it's for
sibcall or not. Set the 3rd argument of output_stack_adjust to
-1 if needed.
(sh_need_epilogue): Call sh_expand_epilogue with 0.
* config/sh/sh.md (sibcall_epilogue): Call sh_expand_epilogue
with 1.
(epilogue): Call sh_expand_epilogue with 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81683
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 10 May 2004 22:28:50 +0000 (22:28 +0000)]
2004-05-10 Andrew Pinski <pinskia@physics.uc.edu>
* gcse.c (eliminate_partially_redundant_loads): Instead of returning early,
goto a cleanup label. After the cleanup, free the allocated memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81682
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Mon, 10 May 2004 22:21:44 +0000 (22:21 +0000)]
[gcc/ChangeLog]
2004-05-10 Ziemowit Laski <zlaski@apple.com>
* config/rs6000/altivec.h (vec_sld): Add overloads for
argument/return types of 'vector bool int', 'vector bool short'
and 'vector bool char'.
[gcc/testsuite/ChangeLog]
2004-05-10 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-8.C: New test case.
* gcc.dg/altivec-13.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81681
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Mon, 10 May 2004 20:44:13 +0000 (20:44 +0000)]
2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libjava.exp (libjava_invoke): Add new argument
ld_library_additions. Adjust all calls to libjava_invoke to match
the new argument.
* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
path to cxxflagslist.
Pass path of libstdc++ to libjava_invoke.
* testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
libjava_invoke arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81679
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 10 May 2004 19:18:44 +0000 (19:18 +0000)]
* c-decl.c (store_parm_decls_newstyle): Correct test for a
nested function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81677
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 10 May 2004 18:35:43 +0000 (18:35 +0000)]
* read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted,
treating missing ones as "".
* config/mips/mips.md: Remove constraints from match_operands and
match_scratches if they appear in define_expands (except reload*),
define_peephole2s, define_splits or attribute specifications.
* config/mips/7000.md, config/mips/sb1.md: Remove match_operand
constraint strings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81676
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Mon, 10 May 2004 16:21:08 +0000 (16:21 +0000)]
2004-05-10 Andrew Haley <aph@redhat.com>
* parse.y (create_class): Set TYPE_VFIELD.
* decl.c (java_init_decl_processing): Likewise.
* expr.c (build_invokevirtual): Remove DECL_VINDEX offset adjustment.
* class.c (make_method_value): Replace DECL_VINDEX with call to
get_method_index().
(get_dispatch_vector): Likewise.
(layout_class_method): Likewise.
Replace set of DECL_VINDEX with call to set_method_index().
(set_method_index): New function.
(get_method_index): New function.
* java-tree.h (set_method_index): New function decl.
(get_method_index): New function decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81672
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 10 May 2004 16:18:54 +0000 (16:18 +0000)]
2004-05-10 Doug Rupp <rupp@gnat.com>
* 5qsystem.ads: Remove Short_Address subtype declaration. Moved to
system.aux_dec.
* s-auxdec.ads: Add Short_Address subtype (moved here from System).
* Makefile.in: [VMS]: Add translation for 5qauxdec.ads.
* init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha.
Fixes undefined symbols in IA64 gnatlib.
* 5vinmaop.adb: Reference s-auxdec for Short_Address.
* 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype
Short_Address). This will be moved to system.auxdec.
2004-05-10 Thomas Quinot <quinot@act-europe.fr>
* sem_util.adb: Replace test for presence of a node that is always
present with a call to Discard_Node.
* sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to
Analyze on the library unit node after generation of distribution stub
constructs. The call was a no-op because Unit_Node has already been
Analyzed, and the tree fragments for the distribution stubs are
analyzed as they are inserted in Exp_Dist.
Update comment regarding to distribution stubs to reflect that we
do not generate stub in separate files anymore.
* einfo.ads: Clarify the fact that a tagged private type has the
E_Record_Type_With_Private Ekind.
* erroutc.adb: Minor reformatting
* erroutc.ads (Max_Msg_Length): Increase to cover possible larger
values if line length is increased using -gnatyM (noticed during code
reading).
* eval_fat.adb: Minor reformatting
Put spaces around exponentiation operator
2004-05-10 Ed Schonberg <schonberg@gnat.com>
PR ada/15005
* sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix
has been rewritten as an explicit dereference, retrieve type of
original node to check for possibly unconstrained record type.
2004-05-10 Ed Schonberg <schonberg@gnat.com>
* exp_ch7.adb (Check_Visibly_Controlled): If given operation is not
overriding, use the operation of the parent unconditionally.
* sem_ch4.adb (Remove_Address_Interpretations): Remove address
operation when either operand is a literal, to avoid further
ambiguities.
* sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and
overridden by a previous explicit declaration, mark the previous entity
as overriding.
* sem_disp.adb (Check_Dispatching_Operation): New predicate
Is_Visibly_Controlled, to determine whether a declaration of a
primitive control operation for a derived type overrides an inherited
one. Add warning if the explicit declaration does not override.
2004-05-10 Vincent Celier <celier@gnat.com>
* gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in
some cases when the sources are no longer present.
* make.adb (Collect_Arguments): Fail if an external source, not part
of any project need to be compiled, when switch -x has not been
specified.
* makeusg.adb: Document new switch -x
* opt.ads (External_Unit_Compilation_Allowed): New Boolean flag,
defaulted to False.
* switch-m.adb (Scan_Make_Switches): New switch -x
* vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for
gnatmake switch -x.
* gnat_ugn.texi: Document new gnatmake switch -x
2004-05-10 Eric Botcazou <ebotcazou@act-europe.fr>
* misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0.
* utils.c (create_var_decl): Do not modify the DECL_COMMON flag.
(process_attributes): Likewise.
2004-05-10 Joel Brobecker <brobecker@gnat.com>
* s-inmaop.ads: Fix spelling mistake in one of the comments.
2004-05-10 Robert Dewar <dewar@gnat.com>
* gnat_ugn.texi: Document that for config pragma files, the maximum
line length is always 32767.
* gnat_rm.texi: For pragma Eliminate, note that concatenation of string
literals is now allowed.
* gnat-style.texi: Remove statement about splitting long lines before
an operator rather than after, since we do not follow this rule at all.
Clarify rule (really lack of rule) for spaces around exponentiation
* sem_elim.adb: Allow concatenation of string literals as well as a
single string literal for pragma arguments.
* sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function
* a-textio.adb (Terminate_Line): Do not add line feed if nothing
written for append case.
* frontend.adb: Changes to avoid checking max line length in config
pragma files.
* g-os_lib.ads: Minor reformatting
* mlib-utl.adb: Do not define Max_Line_Length locally (definition was
wrong in any case. Instead use standard value. Noticed during code
reading.
* opt.ads (Max_Line_Length): New field, used to implement removal of
limitation on length of lines when scanning config pragma files.
* osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb,
makeutl.ads, makeutl.adb: Minor reformatting
* scn.adb: Do not check line length while scanning config pragma files
Do not check line length while scanning out license information
* scng.adb: Changes to avoid line length checks while parsing config
pragma files.
2004-05-10 GNAT Script <nobody@gnat.com>
* Make-lang.in: Makefile automatically updated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81671
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 10 May 2004 15:08:07 +0000 (15:08 +0000)]
2004-05-10 Andrew Pinski <pinskia@physics.uc.edu>
* parse.y (check_pkg_class_access): Add new argument
and use it when cl is NULL to call lookup_cl on it.
(parser_check_super_interface): Do not call lookup_cl.
Pass this_decl to check_pkg_class_access and NULL
instead of lookup_cl.
(parser_check_super): Update for change in
check_pkg_class_access.
(do_resolve_class): Likewise.
(process_imports): Likewise.
(find_in_imports_on_demand): Likewise.
(resolve_qualified_expression_name): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81668
138bc75d-0d04-0410-961f-
82ee72b054a4
rmathew [Mon, 10 May 2004 14:50:56 +0000 (14:50 +0000)]
* testsuite/libjava.jacks/jacks.xfail: Update to reflect current
reality.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81667
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 10 May 2004 14:26:50 +0000 (14:26 +0000)]
* config/rs6000/rs6000.c (function_arg_boundary): Always align
AltiVec vectors.
(function_arg_advance): Pass TARGET_32BIT -mabi=no-altivec AltiVec
vectors by refererence. Align the same for TARGET_64BIT to a 16
byte boundary. Remove useless code. Add function comment.
(function_arg): Similarly. Move gpr rs6000_mixed_function_arg
call to where it belongs.
(function_arg_partial_nregs): Return true for all TARGET_32BIT
-mabi=no-altivec AltiVec vectors. Fix debug output.
(rs6000_va_arg): Adjust for AltiVec change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81666
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Mon, 10 May 2004 13:39:20 +0000 (13:39 +0000)]
* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
* config/arm/arm.h (TARGET_AAPCS_BASED): Define.
(TARGET_DOUBLEWORD_ALIGN): Use it.
(WCHAR_TYPE): Define.
(WCHAR_SIZE_TYPE): Define.
(SIZE_TYPE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81665
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 10 May 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81662
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sun, 9 May 2004 23:48:37 +0000 (23:48 +0000)]
* config/rs6000/rs6000.c (function_arg_boundary): Align for ABI_V4
when size is 8 bytes.
(function_arg_advance): Account for stack space used by AltiVec
args when -mabi=altivec. Simplify alignment calculations. For
ABI_V4, pass AltiVec vectors by reference when -mabi=no-altivec.
(function_arg): Similarly.
(function_arg_pass_by_reference): True for ABI_V4 AltiVec when
not AltiVec ABI.
(rs6000_va_arg): Correct fp arg test. Adjust for AltiVec change.
Correct alignment, and align before testing reg count. Remove
TREE_THIS_VOLATILE from reg. Don't emit unused labels.
(rs6000_complex_function_value): Check TARGET_HARD_FLOAT and
TARGET_FPRS here..
(rs6000_function_value): .. not here before call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81659
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Sun, 9 May 2004 22:32:31 +0000 (22:32 +0000)]
* config/rs6000/spe.md ("tstsflt_gpr"): Fix typo in unspec.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81656
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 9 May 2004 21:26:58 +0000 (21:26 +0000)]
PR 15007
* c-decl.c (current_file_decl): Rename to all_translation_units,
adjust comment.
(pop_scope): If popping file_scope, construct a
TRANSLATION_UNIT_DECL and make it the context of all the
symbols in the scope.
(push_file_scope): Don't construct a TRANSLATION_UNIT_DECL here.
(pushdecl): Clarify comment. Do not set DECL_CONTEXT of
anything to current_file_decl.
(pushdecl_top_level): Likewise.
(store_parm_decls_newstyle): Adjust check for nested function.
(c_write_global_declarations): Update for renamed variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81655
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 9 May 2004 20:24:26 +0000 (20:24 +0000)]
* Makefile.in (toolexecdir): Remove trailing space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81654
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Sun, 9 May 2004 14:32:49 +0000 (14:32 +0000)]
* config/rs6000/rs6000-protos.h
(rs6000_conditional_register_usage): Protoize.
* config/rs6000/rs6000.c (rs6000_conditional_register_usage): New.
* config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Call
function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81650
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 8 May 2004 17:36:21 +0000 (17:36 +0000)]
* fold-const.c (fold_div_compare): New function to optimize X/C1 op C2
where op is a comparison operator and C1 and C2 are integer constants
into a range check.
(fold): Call fold_div_compare.
* gcc.c-torture/execute/divcmp-1.c: New test case.
* gcc.c-torture/execute/divcmp-2.c: New test case.
* gcc.c-torture/execute/divcmp-3.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81645
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 8 May 2004 17:27:08 +0000 (17:27 +0000)]
* doc/install.texi (sparc-sun-solaris2*): Document bootstrap
problems with earlier versions of the GNU compiler.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81643
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Sat, 8 May 2004 17:08:51 +0000 (17:08 +0000)]
* config/rs6000/rs6000-protos.h (rs6000_hard_regno_mode_ok_p):
Declare.
* config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok_p): New.
(rs6000_hard_regno_mode_ok): New.
(rs6000_init_hard_regno_mode_ok): New.
(rs6000_override_options): Call rs6000_init_hard_regno_mode_ok.
* config/rs6000/rs6000.h (HARD_REGNO_NREGS): Use precomputed
result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81642
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Sat, 8 May 2004 05:02:55 +0000 (05:02 +0000)]
2004-05-07 Ziemowit Laski <zlaski@apple.com>
* config/rs6000/altivec.h (vector, pixel, bool): Do not
define as macros #ifdef __APPLE_ALTIVEC__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81641
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 8 May 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81638
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Fri, 7 May 2004 23:00:39 +0000 (23:00 +0000)]
Fixed altivec vararg problem.
Approved by Aldy Hernandez.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81635
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 7 May 2004 15:09:23 +0000 (15:09 +0000)]
* config/mips/mips.c (mips_va_arg): Fix calculation of osize for
EABI_FLOAT_VARARGS_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81625
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 7 May 2004 15:06:16 +0000 (15:06 +0000)]
* config/mips/mips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500.
* config/mips/mips.c (override_options): Disable branch likely
instructions if TUNE_MIPS5500.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81624
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 7 May 2004 15:03:31 +0000 (15:03 +0000)]
* config/mips/mips.c (override_options): Allow the hi and lo registers
to store any integral mode, not just MODE_INTs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81623
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 7 May 2004 14:59:43 +0000 (14:59 +0000)]
2004-05-07 Ranjit Mathew <rmathew@gmail.com>
* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
main binary against the JNI shared library.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81622
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Fri, 7 May 2004 14:40:44 +0000 (14:40 +0000)]
* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
* config/arm/arm.h (TARGET_AAPCS_BASED): Define.
(TARGET_DOUBLEWORD_ALIGN): Use it.
(WCHAR_TYPE): Define.
(WCHAR_SIZE_TYPE): Define.
(SIZE_TYPE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81621
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Fri, 7 May 2004 14:29:41 +0000 (14:29 +0000)]
2004-05-07 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.c (ix86_emit_fp_unordered_jump): Use
testb $4, %ah insn instead of sahf insn if !TARGET_USE_SAHF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81620
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 7 May 2004 14:17:33 +0000 (14:17 +0000)]
2004-05-07 Andrew Pinski <pinskia@physics.uc.edu>
* loop-doloop.c (doloop_valid_p): Make sure that body
gets freed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81619
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 7 May 2004 11:40:42 +0000 (11:40 +0000)]
* config/sparc/sparc-protos.h (sparc_skip_caller_unimp): New
declaration.
* config/sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Delete.
(sparc_skip_caller_unimp): New global variable.
(sparc_function_epilogue): Set 'sparc_skip_caller_unimp'.
Use it instead of SKIP_CALLERS_UNIMP_P.
* config/sparc/sparc.md (call expander): Add sanity check.
(call_address_struct_value_sp32): Re-sync with expander.
(call_symbolic_struct_value_sp32): Likewise.
(return peepholes): Use 'sparc_skip_caller_unimp' instead
of custom predicate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81617
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 7 May 2004 06:58:00 +0000 (06:58 +0000)]
PR c++/14962
* c-pragma.c (handle_pragma_redefine_extname): Only change
the assembler name of FUNCTION_DECLs and VAR_DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81610
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 7 May 2004 06:13:18 +0000 (06:13 +0000)]
Update ChangeLog to follow tree rules.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81608
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 7 May 2004 05:55:06 +0000 (05:55 +0000)]
* gcc.dg/i386-387-1.c: Add new test for __builtin_fmod.
* gcc.dg/i386-387-2.c: Likewise.
* gcc.dg/i386-387-5.c: Add new tests for __builtin_log1p and
__builtin_drem.
* gcc.dg/i386-387-6.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81607
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 7 May 2004 05:38:21 +0000 (05:38 +0000)]
* optabs.h (enum optab_index): Add new OTI_log1p.
(log1p_optab): Define corresponding macro.
* optabs.c (init_optabs): Initialize log1p_optab.
* genopinit.c (optabs): Implement log1p_optab using log1p?f2
patterns.
* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG1P{,F,L}
using log1p_optab.
(expand_builtin): Expand BUILT_IN_LOG1P{,F,L} using
expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2XP1.
* config/i386/i386.c (ix86_emit_i387_log1p): New function.
* config/i386/i386-protos.h (ix86_emit_i387_log1p):
Prototype here.
* config/i386/i386.md (UNSPEC_FYL2XP1): New unspec to represent
x87's fyl2xp1 instruction.
(*fyl2x_xf3): Rename insn definition to fyl2x_xf3.
(fyl2xp1_xf3): New pattern to implement fyl2xp1 x87 instruction.
(log1psf2, log1pdf2, log1pxf2): New expanders to implement log1pf,
log1p and log1pl built-ins as inline x87 intrinsics.
* testsuite/gcc.dg/builtins-33.c: Also check log1p*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81606
138bc75d-0d04-0410-961f-
82ee72b054a4
jlquinn [Fri, 7 May 2004 04:57:57 +0000 (04:57 +0000)]
2004-05-07 Jerry Quinn <jlquinn@optonline.net>
* java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
(SimpleTimeZone): Tweak docs. Add new variation.
(setStartRule,setEndRule): Add new variations. Use
startTimeMode and endTimeMode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81605
138bc75d-0d04-0410-961f-
82ee72b054a4
jlquinn [Fri, 7 May 2004 04:18:19 +0000 (04:18 +0000)]
ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81604
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 7 May 2004 03:45:03 +0000 (03:45 +0000)]
* config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Pass -Werror.
* config/arm/freebsd.h: Likewise.
* config/ia64/freebsd.h: Likewise.
* config/sparc/freebsd.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81602
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 7 May 2004 03:22:33 +0000 (03:22 +0000)]
PR optimization/15296
* gcc.c-torture/execute/pr15296.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81601
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 7 May 2004 03:20:24 +0000 (03:20 +0000)]
PR optimization/15296
* reorg.c (fill_simple_delay_slots): Use next_real_insn when
getting last consecutive label at a branch.
(relax_delay_slots): Similar, near top of loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81600
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 7 May 2004 03:16:12 +0000 (03:16 +0000)]
* gcc.c-torture/execute/pr15296.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81599
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 7 May 2004 03:09:15 +0000 (03:09 +0000)]
PR target/15202
* pa.md (movdi, movsi, movhi, movqi): Support move from shift amount
register to general register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81598
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 7 May 2004 02:01:13 +0000 (02:01 +0000)]
* config/rs6000/rs6000.h (STACK_BOUNDARY): Use 128 bit for either
TARGET_ALTIVEC or TARGET_ALTIVEC_ABI.
* config/rs6000/sysv4.h (ABI_STACK_BOUNDARY): Likewise.
(STACK_BOUNDARY): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81597
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 7 May 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81593
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Thu, 6 May 2004 22:02:05 +0000 (22:02 +0000)]
2004-05-06 Matthias Klose <doko@debian.org>
* include/backward/iterator.h: Add GPL copyright info,
with exception clause.
* include/bits/boost_concept_check.h: Likewise.
* include
* libsupc++/tinfo.h: Likewise.
* po/string_literals.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81581
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 6 May 2004 17:54:30 +0000 (17:54 +0000)]
Run the jni tests using the interpreter.
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
options_cxx to shared lib compile command.
(gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
they are used to link the shared lib, not the main binary.
Use libjava_invoke to run gij.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81574
138bc75d-0d04-0410-961f-
82ee72b054a4
rmathew [Thu, 6 May 2004 17:43:48 +0000 (17:43 +0000)]
Fixes PR java/9685, PR java/15073
* parse.y (accessibility_string): New method.
(not_accessible_field_error): Use accessibility_string()
instead of java_accstring_lookup().
(resolve_qualified_expression_name): Check with
check_pkg_class_access() before allowing access using
qualified names.
Fix comment typo.
Use check_pkg_class_access() instead of not_accessible_p()
for unqualified types.
(not_accessible_p): Use DECL_CONTEXT (member) instead of
REFERENCE for package-private access checking.
(patch_method_invocation): Use accessibility_string() instead
of java_accstring_lookup().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81573
138bc75d-0d04-0410-961f-
82ee72b054a4
stuart [Thu, 6 May 2004 16:10:25 +0000 (16:10 +0000)]
2004-05-06 Stuart Hastings <stuart@apple.com>
* gcc/doc/invoke.texi: Restore -fgcse-after-reload doc from 1.421,
mistakenly clobbered by 1.423.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81569
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 6 May 2004 15:55:00 +0000 (15:55 +0000)]
2004-05-06 Michael Koch <konqueror@gmx.de>
* java/util/logging/Level.java
(parse): Use == instead of String.equals().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81568
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 6 May 2004 15:27:19 +0000 (15:27 +0000)]
* doc/invoke.texi: Document -mvr4130-align.
* config/mips/mips.h (MASK_VR4130_ALIGN, TARGET_VR4130_ALIGN)
(TUNE_MIPS4120, TUNE_MIPS4130): New macros.
(TUNE_MACC_CHAINS): Include TUNE_MIPS4120 and TUNE_MIPS4130.
(TARGET_SWITCHES): Add -mvr4130-align and -mno-vr4130-align.
* config/mips/mips.md: Include sched-int.h.
(USEFUL_INSN_P, SEQ_BEGIN, SEQ_END, FOR_EACH_SUBINSN): New macros.
(mips_rtx_costs): Set integer multiplication costs for TUNE_MIPS4130.
(override_options): Enable -mvr4130-align at -O3 and above.
(mips_sim_insn): New variable.
(mips_sim): New structure.
(mips_sim_reset, mips_sim_init, mips_sim_next_cycle, mips_sim_wait_reg)
(mips_sim_wait_regs_2, mips_sim_wait_regs_1, mips_sim_wait_regs)
(mips_sim_wait_units, mips_sim_wait_insn, mips_sim_record_set)
(mips_sim_issue_insn, mips_sim_issue_nop, mips_sim_finish_insn)
(vr4130_avoid_branch_rt_conflict, vr4130_align_insns): New functions.
(mips_reorg): Call vr4130_align_insns.
(vr4130_last_insn): New variable.
(vr4130_true_reg_dependence_p_1, vr4130_true_reg_dependence_p)
(vr4130_swap_insns_p, vr4130_reorder): New functions.
(mips_sched_reorder, mips_variable_issue): Hook in vr4130 code.
(mips_issue_rate): Return 2 for PROCESSOR_R4130.
(mips_use_dfa_pipeline_interface): Return true for the same.
* config/mips/4130.md: New file.
* config/mips/mips.md: Include it. Add a peephole2 to convert
"mult;mflo" into "mtlo;macc".
(*macc, *umul_acc_di, *smul_acc_di): Use $1 rather than $0 as the
target of maccs.
(*msac_using_macc): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81567
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 6 May 2004 14:06:28 +0000 (14:06 +0000)]
* defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
verify_field_signature and verify_method_signature, not
_Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
(_Jv_ClassReader::handleField): Likewise.
(_Jv_ClassReader::handleMethod): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81563
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 6 May 2004 13:20:21 +0000 (13:20 +0000)]
2004-04-29 Uros Bizjak <uros@kss-loka.si>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81562
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 6 May 2004 13:04:07 +0000 (13:04 +0000)]
2004-05-06 Michael Koch <konqueror@gmx.de>
* javax/swing/table/TableColumn.java:
Reformated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81561
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 6 May 2004 12:27:37 +0000 (12:27 +0000)]
2004-05-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/spi/ImageReaderWriterSpi.java
(ImageReaderWriterSpi): Made it public.
* javax/imageio/stream/ImageInputStream.java:
Clean up imports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81560
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 6 May 2004 11:12:09 +0000 (11:12 +0000)]
2004-05-06 Michael Koch <konqueror@gmx.de>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
Removed empty line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81559
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 6 May 2004 10:25:02 +0000 (10:25 +0000)]
2004-05-06 Michael Koch <konqueror@gmx.de>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
New files.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
their own source file.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
(create): Define variable on top of function.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
(menu_pos): Prototyped.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(setTitle): Removed.
* jni/gtk-peer/gthread-jni.c
(gdk_threads_wake): Removed.
* Makefile.am (gtk_c_source_files): Added new files
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
* Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81558
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 6 May 2004 09:20:44 +0000 (09:20 +0000)]
* config/mips/5500.md (ir_vr55_store): Set latency to 0.
(ir_vr55_hilo): Split into...
(ir_vr55_mfhilo, ir_vr55_mthilo): ...these new reservations.
(ir_vr55_imul_si, ir_vr55_imadd): Change latency to 5.
(ir_vr55_imul_di): Change latency to 9. Reserve vr55_mac for 4 cycles.
Add various multiplication bypasses.
* config/mips/mips.c (mips_rtx_costs): Adjust VR5500 costs for integer
multiplication.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81557
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 6 May 2004 06:00:03 +0000 (06:00 +0000)]
* config/i386/i386.md (*fscalexf4): Correct insn "mode"
attribute to "XF".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81556
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 6 May 2004 05:19:24 +0000 (05:19 +0000)]
* optabs.h (enum optab_index): Add new OTI_fmod and OTI_drem.
(fmod_optab): Define corresponding macros.
* optabs.c (init_optabs): Initialize fmod_optab and drem_optab.
* genopinit.c (optabs): Implement fmod_optab and drem_optab
using fmod?f3 and drem?f3 patterns.
* builtins.c (expand_builtin_mathfn_2): Handle BUILT_IN_FMOD{,F,L}
using fmod_optab and BUILT_IN_DREM{,F,L} using drem_optab.
(expand_builtin): Expand BUILT_IN_FMOD{,F,L} and
BUILT_IN_DREM{,F,L} using expand_builtin_mathfn_2 if
flag_unsafe_math_optimizations is set.
* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FPREM_F,
UNSPEC_FPREM_U, UNSPEC_FPREM1_F and UNSPEC_FPREM1_U.
* config/i386/i386.c (ix86_emit_fp_unordered_jump): New function.
* config/i386/i386-protos.h (ix86_emit_fp_unordered_jump):
Prototype here.
* config/i386/i386.md (UNSPEC_FPREM_F, UNSPEC_FPREM_U,
UNSPEC_FPREM1_F, UNSPEC_FPREM1_U): New unspecs to represent x87's
fprem and fprem1 instructions.
(*x86_fnstsw_1): Change input parameter to (reg:CCFP 18).
Rename insn definition to x86_fnstsw_1.
(fpremxf4, fprem1xf4): New patterns to implement fprem and fprem1
x87 instructions.
(fmodsf3, fmoddf3, fmodxf3): New expanders to implement fmodf, fmod
and fmodl built-ins as inline x87 intrinsics.
(dremsf3, dremdf3, dremxf3): New expanders to implement dremf, drem
and dreml built-ins as inline x87 intrinsics.
* testsuite/gcc.dg/builtins-40.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81555
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 6 May 2004 03:24:49 +0000 (03:24 +0000)]
* reload1.c (inherit_piecemeal_p): Mark parameters potentially unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81554
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 6 May 2004 01:01:43 +0000 (01:01 +0000)]
PR driver/9822
* doc/invoke.texi (Spec Files): Remove documentation of %c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81553
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 6 May 2004 00:16:42 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81550
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Wed, 5 May 2004 23:15:27 +0000 (23:15 +0000)]
2004-05-05 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.md: Update the msub define_split for new mflo/mfhi
representation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81544
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Wed, 5 May 2004 23:11:55 +0000 (23:11 +0000)]
* config/arm/arm-protots.h (vfp_mem_operand): Rename ...
(arm_coproc_mem_operand): ... To this.
* config/arm/arm.c (arm_legitimate_address_p): Allow ldrd modes.
(arm_legitimate_index_p): Ditto.
(vfp_mem_operand): Rename ...
(arm_coproc_mem_operand): ... To this. Handle writeback modes.
(vfp_secondary_reload_class): Use it.
(output_move_double): Use doubleword load/store instructions.
(arm_hard_regno_mode_ok): Only allow even reg pairs for ldrd.
* config/arm/arm.h (TARGET_LDRD): Define.
(EXTRA_CONSTRAINT_STR_ARM): Add 'Uy'.
* config/gcc/arm/arm.md (arm_movdi): Allow all valid memory operands.
New splitter for invalid doubleword loads.
* config/arm/iwmmxt.md (iwmmxt_arm_movdi): Use Uy constraint.
* config/arm/vfp.md (arm_movdi_vfp): Allow all valid memory operands.
* doc/md.texi: Document Uy constraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81543
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 5 May 2004 20:58:54 +0000 (20:58 +0000)]
* testsuite/libjava.jni/pr11951.java: Add missing
System.loadLibrary() call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81542
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 5 May 2004 20:55:02 +0000 (20:55 +0000)]
PR opt/14980
* cgraphunit.c (cgraph_remove_unreachable_nodes): Deal properly with
inline clones.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81540
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 5 May 2004 20:17:08 +0000 (20:17 +0000)]
2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/15290
* config/i386/i386.c (ix86_split_to_parts): Use real_to_target
instead of REAL_VALUE_TO_TARGET_LONG_DOUBLE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81537
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Wed, 5 May 2004 18:25:52 +0000 (18:25 +0000)]
* config/darwin-c.c (add_framework): Copy the directory name as it
can be freed later. Also, ensure we always allocate enough room
for the cached framework information.
(find_subframework_header): Keep track of the directory where the
subframework header was found.
(framework_construct_pathname): Speed up by not trying to re-add a
framework.
* cppfiles.c (search_path_exhausted): Arrange for the missing
header callback to be able to set the directory where the header
was found.
(cpp_get_dir): Add.
* cpplib.h (missing_header_cb): Add a parameter.
(cpp_get_dir): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81534
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Wed, 5 May 2004 17:00:43 +0000 (17:00 +0000)]
Restore partial missing damaged in 1.423.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81530
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Wed, 5 May 2004 13:47:50 +0000 (13:47 +0000)]
* osint.adb (Find_Program_Name): Fix handling of VMS version
number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81527
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Wed, 5 May 2004 12:20:33 +0000 (12:20 +0000)]
* doc/invoke.texi (Directory Options): Document -iquote.
* doc/cpp.texi: Likewise.
* doc/cppopts.texi: Likewise.
* c-opts.c (c_common_missing_argument): Add -iquote processing.
(c_common_handle_option): Likewise.
* c.opt (iquote): Add.
* gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -iquote.
* c-incpath.c (merge_include_chains): Update comment to use -iquote.
* c-opts.c (case OPT_I): Deprecate -I- support.
* doc/invoke.texi: Likewise.
* doc/cpp.texi: Likewise.
* doc/cppopts.texi: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81521
138bc75d-0d04-0410-961f-
82ee72b054a4