aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-04-29invoke.texi (Objective-C Dialect Options): Don't prefix options with "-" in ↵Ben Elliston2-10/+17
the option index. * doc/invoke.texi (Objective-C Dialect Options): Don't prefix options with "-" in the option index. (SPARC Options): Likewise. (M32R/D Options): Likewise. From-SVN: r81272
2004-04-29Fix typo.Kaveh Ghazi1-1/+1
From-SVN: r81270
2004-04-29convert.c (convert_to_integer): Convert (long)round -> lround, etc.Kaveh R. Ghazi4-0/+134
* convert.c (convert_to_integer): Convert (long)round -> lround, etc. testsuite: * gcc.dg/torture/builtin-convert-2.c: New test. From-SVN: r81269
2004-04-29Daily bump.GCC Administrator1-1/+1
From-SVN: r81266
2004-04-28rs6000.c (registers_ok_for_quad_peep): Return false if we do not have fp ↵Andrew Pinski7-18/+110
register. 2004-04-28 Andrew Pinski <pinskia@physics.uc.edu> * config/rs6000/rs6000.c (registers_ok_for_quad_peep): Return false if we do not have fp register. (addrs_ok_for_quad_peep): Rename to ... (mems_ok_for_quad_peep): this. Add check for volatile memory. * config/rs6000/rs6000-protos.h (addrs_ok_for_quad_peep): Rename to ... (mems_ok_for_quad_peep): this. * config/rs6000/rs6000.md: Change peephole's for lfq/stq to peephole2's. (lfq_power2): New instruction. (stfq_power2): Likewise. 2004-04-28 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/rs6000-power2-1.c: New test. * gcc.dg/rs6000-power2-2.c: New test. From-SVN: r81262
2004-04-28Makefile.in: Add target macro definitions for s390*-linux*.Ulrich Weigand4-0/+344
* Makefile.in: Add target macro definitions for s390*-linux*. * system-linux-s390.ads: New file. * system-linux-s390x.ads: New file. From-SVN: r81261
2004-04-28re PR c/15004 ([unit-at-a-time] no warning for unused paramater in static ↵Jan Hubicka7-12/+53
function) * gcc.dg/unused-6.c: New test. PR c/15004 * function.c (do_warn_unused_parameter): Break out form ... (expand_function_end): ... here; warn only when not using cgraphunit. * function.h (do_warn_unused_parameter): Declare. * cgraphunit.c: Include function.h. (cgraph_finalize_function): Do unused parameter warning. * Makefile.in (cgraphunit.o): Depend on function.h From-SVN: r81260
2004-04-28Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition calling ↵Joseph Myers2-4/+8
install-info on $(DESTDIR)$(infodir)/dir already being... * Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition calling install-info on $(DESTDIR)$(infodir)/dir already being present. From-SVN: r81256
2004-04-28* dwarf2out.c (mem_loc_descriptor): Handle shifts.Paul Brook2-3/+24
From-SVN: r81252
2004-04-28* gnat_ugn.texi: Correct argument to @setfilename.Joseph Myers2-1/+11
From-SVN: r81251
2004-04-28a-exexpr.adb (Unwind_Word): New data type.Ulrich Weigand3-3/+13
* a-exexpr.adb (Unwind_Word): New data type. (Unwind_Exception): Use it as type of Private1 and Private2. * raise.c (db_action_for): Fix debug printf. From-SVN: r81250
2004-04-28gcse.c (find_moveable_store): Do not accept store insns with REG_EH_REGION note.Ulrich Weigand2-0/+10
* gcse.c (find_moveable_store): Do not accept store insns with REG_EH_REGION note. From-SVN: r81249
2004-04-28calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.Paul Brook4-5/+11
* calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY. * function.c (assign_temp): Ditto. * system.h (PROMOTE_FOR_CALL_ONLY): Poison. From-SVN: r81247
2004-04-28* config/arm/lib1funcs.asm: Recognize armv5tej and armv6.Paul Brook2-6/+19
From-SVN: r81246
2004-04-28Makefile.in: Add target pairs for powerpc darwin* tasking support.Arnaud Charlet5-3/+1150
* Makefile.in: Add target pairs for powerpc darwin* tasking support. * a-intnam-darwin.ads, s-osinte-darwin.adb, s-osinte-darwin.ads, system-darwin-ppc.ads: New files. From-SVN: r81245
2004-04-28var-tracking.c (variable_different_p): Add a parameter ↵Josef Zlomek2-8/+28
compare_current_location... * var-tracking.c (variable_different_p): Add a parameter compare_current_location, compare current location of variable parts if it is true. (dataflow_set_different_1): Pass compare_current_location == false. (dataflow_set_different_2): Pass compare_current_location == false. (emit_notes_for_differences_1): Pass compare_current_location == true. From-SVN: r81242
2004-04-28s390.md ("casesi"): Mark jump table access as non-trapping and unchanging.Ulrich Weigand2-0/+7
* config/s390/s390.md ("casesi"): Mark jump table access as non-trapping and unchanging. From-SVN: r81240
2004-04-28Daily bump.GCC Administrator1-1/+1
From-SVN: r81237
2004-04-27re PR debug/14829 (Bootstrap comparison failure on hppa64-hp-hpux11.11)John David Anglin2-9/+18
PR debug/14829 * dwarf2out.c (reg_number): Rename to dbx_reg_number. Adjust all callers. (multiple_reg_loc_descriptor, reg_loc_descriptor): Use gcc register number for indexing hard_regno_nregs array. From-SVN: r81233
2004-04-27darwin.h (STARTFILE_SPEC): Use %s to find crt2.o.Geoffrey Keating3-3/+15
* config/darwin.h (STARTFILE_SPEC): Use %s to find crt2.o. * config/darwin-crt2.c: Only have contents on __ppc__. From-SVN: r81230
2004-04-27xtensa.c (call_insn_operand): Check SYMBOL_REF_EXTERNAL_P in addition to ↵Bob Wilson4-4/+15
SYMBOL_REF_LOCAL_P. * config/xtensa/xtensa.c (call_insn_operand): Check SYMBOL_REF_EXTERNAL_P in addition to SYMBOL_REF_LOCAL_P. * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND): Likewise. * config/xtensa/xtensa.md (call, call_value): Likewise. From-SVN: r81228
2004-04-27gthr-win32.h (__gthread_mutex_t): Change typedef to new structure.Wu Yongwei3-25/+58
2004-04-27 Wu Yongwei <adah@sh163.net> * gthr-win32.h (__gthread_mutex_t): Change typedef to new structure. (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust. (__gthread_mutex_init_function): Replace CreateMutex with initialization of custom mutex using CreateSemaphore. (__gthread_mutex_lock): Use InterlockedIncrement. (__gthread_mutex_trylock): Use InterlockedCompareExchange. (__gthread_mutex_unlock): Use InterlockedDecrement and ReleaseSemaphore to unlock * config/i386/gthr-win32.c (__gthread_mutex_init_function, __gthread_mutex_lock, __gthread_mutex_trylock, __gthread_mutex_unlock): Adjust to match inline versions in gthr-win32.h. From-SVN: r81227
2004-04-27arm.c (arm_promote_prototypes): New function.Paul Brook2-1/+17
* config/arm/arm.c (arm_promote_prototypes): New function. (TARGET_PROMOTE_PROTOTYPES): Use it. From-SVN: r81223
2004-04-27[multiple changes]Arnaud Charlet7-42/+49
2004-04-27 Ed Schonberg <schonberg@gnat.com> * a-wtmoio.ads: Formal type must be a modular type, not a signed integer type. 2004-04-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * decl.c (gnat_to_gnu_entity, case object): Call __builtin_update_setjmp_buf. * gigi.h (update_setjmp_buf): Deleted. (ADT_update_setjmp_buf_decl, update_setjmp_buf_decl): New. * misc.c: (update_setjmp_buf): Deleted. * trans.c (gnat_to_gnu): Call do_pending_stack_adjust and emit_queue around block of RTL. * utils.c (init_gigi_decls): Initialize update_setjmp_buf. From-SVN: r81218
2004-04-27* config/arm/arm.c (arm_expand_epilogue): Count blocks of 4 regs.Paul Brook2-0/+5
From-SVN: r81216
2004-04-26Patch from Bernard Giroud.Bernard Giroud2-4/+9
* config/alpha.c (alpha_end_function): For OpenVMS gas, correctly output .pdesc directive before .end. From-SVN: r81214
2004-04-26Bug 14927James E Wilson2-8/+26
Bug 14927 * config/ia64/ia64.md (movxf): New local op0. Handle case where operands[0] is a SUBREG. Handle case where operands[1] is a GR reg. From-SVN: r81211
2004-04-27Daily bump.GCC Administrator1-1/+1
From-SVN: r81206
2004-04-27hpux.h: Predefine __STDCPP__ when compiling C++.Zack Weinberg4-28/+39
* config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++. * config/pa/pa-hpux10.h: Likewise. * config/pa/pa-hpux11.h: Likewise. From-SVN: r81202
2004-04-26run_all.sh: Define $target variable.Laurent GUERBY2-1/+8
* ada/acats/run_all.sh: Define $target variable. Co-Authored-By: Ulrich Weigand <uweigand@de.ibm.com> From-SVN: r81201
2004-04-26invoke.texi (Overall Options): Document default for -o for PCH files.Geoffrey Keating2-4/+11
* doc/invoke.texi (Overall Options): Document default for -o for PCH files. From-SVN: r81199
2004-04-26builtins.c (expand_builtin_update_setjmp_buf): New function.Richard Kenner3-0/+55
* builtins.c (expand_builtin_update_setjmp_buf): New function. (expand_builtin, case BUILT_IN_UPDATE_SETJMP_BUF): New case. * builtins.def (BUILT_IN_UPDATE_SETJMP_BUF): New code. From-SVN: r81198
2004-04-26* config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets.Paul Brook2-2/+7
From-SVN: r81189
2004-04-26re PR c++/15119 (internal compiler error: in substitute_placeholder_in_expr, ↵Andrew Pinski3-0/+48
at tree.c:2155) 2004-04-26 Andrew Pinski <pinskia@physics.uc.edu> PR c++/15119 * g++.dg/other/vararg-1.C: New test. PR c++/4794 * g++.dg/eh/cleanup3.C: New test. From-SVN: r81188
2004-04-26[multiple changes]Arnaud Charlet11-75/+262
2004-04-26 Thomas Quinot <quinot@act-europe.fr> * sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local subprogram for which no pragma All_Calls_Remote applies, store the address of the real subprogram in the underlying record type, so local dereferences do not go through the PCS. 2004-04-26 Robert Dewar <dewar@gnat.com> * i-c.ads: Add some type qualifications to avoid ambiguities when compiling with s-auxdec.ads and a non-private address type. 2004-04-26 Arnaud Charlet <charlet@act-europe.fr> * Makefile.rtl: Fix error in previous check-in: Add s-addope.o to non tasking object list (rather than tasking object list). 2004-04-26 Javier Miranda <miranda@gnat.com> * sem_aggr.adb: Fix typo in comments (Resolve_Aggr_Expr): Propagate the type to the nested aggregate. Required to check the null-exclusion attribute. * sem_attr.adb (Resolve_Attribute): Check the accessibility level in case of anonymous access types in record and array components. For a component definition the level is the same of the enclosing composite type. * sem_ch3.adb (Analyze_Component_Declaration): In case of components that are anonymous access types the level of accessibility depends on the enclosing type declaration. In order to have this information, set the scope of the anonymous access type to the enclosing record type declaration. (Array_Type_Declaration): In case of components that are anonymous access types the level of accessibility depends on the enclosing type declaration. In order to have this information, set the scope of the anonymous access type to the enclosing array type declaration. * sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous access type. * sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that renaming of anonymous access-to-constant types allowed if and only if the renamed object is access-to-constant. * sem_util.adb (Type_Access_Level): In case of anonymous access types that are component_definition or discriminants of a nonlimited type, the level is the same as that of the enclosing component type. 2004-04-26 Sergey Rybin <rybin@act-europe.fr> * sem_elim.adb: Some minor code reorganization from code reading. Fix misprint in the function name (File_Name_Match). From-SVN: r81186
2004-04-26Clean up previous change.Arnaud Charlet1-2/+2
From-SVN: r81182
2004-04-26* config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets.Paul Brook2-7/+9
From-SVN: r81180
2004-04-26fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to fold (build1 ↵Roger Sayle2-5/+23
(NEGATE_EXPR, ...)). * fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to fold (build1 (NEGATE_EXPR, ...)). Optimize X / -1 as -X and X % -1 as 0. From-SVN: r81177
2004-04-26re PR bootstrap/15141 (MMIX breakage in ↵Hans-Peter Nilsson2-2/+21
except.c:connect_post_landing_pads:handle insns after actual call insn) PR bootstrap/15141 * except.c (connect_post_landing_pads): Delete insns after the barrier when generating a unwind_resume_libfunc call. From-SVN: r81176
2004-04-26Daily bump.GCC Administrator1-1/+1
From-SVN: r81173
2004-04-25PR/c++ 15119Richard Kenner2-2/+21
PR/c++ 15119 * tree.c (substitute_placeholder_in_expr, case 4): New case, for TARGET_EXPR. From-SVN: r81170
2004-04-25Fix typo in comment.Richard Kenner1-1/+1
From-SVN: r81169
2004-04-25gcov-io.h (__gcov_fork, [...]): Do not declare when inhibit_libc is defined.Zdenek Dvorak2-0/+8
* gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, __gcov_execv, __gcov_execvp, __gcov_execve): Do not declare when inhibit_libc is defined. From-SVN: r81164
2004-04-25run_all.sh: Handle cd2a83c, cd2a91c (target_bit) and ad8011a (target_insn).Laurent GUERBY4-3/+39
2004-04-24 Laurent GUERBY <laurent@guerby.net> * ada/acats/run_all.sh: Handle cd2a83c, cd2a91c (target_bit) and ad8011a (target_insn). * ada/acats/support/macro.dfs: Likewise. * ada/acats/support/impbit.adb: New file. From-SVN: r81158
2004-04-25mips-protos.h (mips_linked_macc_p): Declare.Richard Sandiford5-15/+197
* config/mips/mips-protos.h (mips_linked_macc_p): Declare. * config/mips/mips.h (TUNE_MACC_CHAINS): New macro. * config/mips/mips.c (TARGET_SCHED_REORDER): Define. (TARGET_SCHED_VARIABLE_ISSUE): Define. (mips_adjust_cost): Move later in file, next to other sched hooks. (mips_macc_chains_last_hilo): New variable. (mips_linked_madd_p, mips_macc_chains_record, mips_macc_chains_reorder) (mips_promote_ready, mips_sched_reorder, mips_variable_issue): New. * config/mips/mips.md (may_clobber_hilo): New attribute. From-SVN: r81157
2004-04-25Daily bump.GCC Administrator1-1/+1
From-SVN: r81152
2004-04-24inclhack.def (aix_syswait_2): New fix.Roger Sayle4-5/+72
* fixinc/inclhack.def (aix_syswait_2): New fix. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/sys/wait.h: Update for new test. Co-Authored-By: Bruce Korb <bkorb@gnu.org> From-SVN: r81147
2004-04-24re PR target/14960 ([3.4 only] -maltivec affects vector return with ↵Alan Modra3-15/+27
-mabi=no-altivec) PR target/14960 * config/rs6000/rs6000.c (rs6000_stack_info): Rename total_raw_size to non_fixed_size, and leave out fixed_size from the sum. (generate_set_vrsave): Correct clobbers. (rs6000_emit_epilogue): Test TARGET_ALTIVEC with TARGET_ALTIVEC_SAVE. (rs6000_function_value): Test TARGET_ALTIVEC and TARGET_ALTIVEC_ABI. (rs6000_libcall_value): Likewise. * config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Likewise. (FUNCTION_ARG_REGNO_P): Likewise. From-SVN: r81129
2004-04-24expmed.c (expand_mult_highpart_adjust): Do not assume OP1 is a CONST_INT.Ulrich Weigand2-3/+9
* expmed.c (expand_mult_highpart_adjust): Do not assume OP1 is a CONST_INT. (expand_mult_highpart_optab): Call expand_mult_highpart_adjust with NARROW_OP1 instead of OP1. From-SVN: r81127
2004-04-24* gcc.dg/const-elim-1.c: XFAIL on s390*-*-*.Ulrich Weigand2-2/+6
From-SVN: r81125