aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-10-31re PR bootstrap/9863 (Absence of awk isn't properly diagnosed at configure time)Nathanael Nerode3-221/+237
PR bootstrap/9863 * configure.in: Bail out if awk is missing. * configure: Regenerate. From-SVN: r73126
2003-10-31re PR ada/12761 ([3.3 only] Segmentation fault in gnat1 compiling a-except.adb)Nathanael Nerode4-5/+24
(gcc) PR ada/12761 * Makefile.in: Move default definitions of X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from ada/Make-lang.in to here. (gcc/ada) PR ada/12761 * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in. From-SVN: r73125
2003-10-30c-objc-common.c (c_tree_printer): Handle types correctly.Richard Henderson2-13/+30
* c-objc-common.c (c_tree_printer): Handle types correctly. Factor code a bit. From-SVN: r73121
2003-10-31C90 prototype updates.R. Kelley Cook33-1092/+701
From-SVN: r73113
2003-10-31Daily bump.GCC Administrator1-1/+1
From-SVN: r73110
2003-10-30fix date on changelog from last checkin.Eric Christopher1-1/+1
From-SVN: r73108
2003-10-30function.c (purge_addressof_1): Add case for REG_RETVAL notes when modes are ↵Eric Christopher2-5/+13
unequal. 2003-10-25 Eric Christopher <echristo@redhat.com> * function.c (purge_addressof_1): Add case for REG_RETVAL notes when modes are unequal. From-SVN: r73107
2003-10-30* i386-modes.def: Add XFmode format adjustment.Jan Hubicka2-0/+7
From-SVN: r73106
2003-10-30* real.c (encode_ieee_extended): Back out previous patch.Jan Hubicka2-5/+4
From-SVN: r73105
2003-10-30real.c (encode_ieee_extended): Initialize whole array.Jan Hubicka7-1149/+280
* real.c (encode_ieee_extended): Initialize whole array. * reg-stack.c (move_for_stack_reg0: Use always XFmode. * i386-modes.def: Change definitions of TFmode and XFmode. * i386.c (classify_argument): Rename TFmodes to XFmodes; add new TFmode code. (construct_container): Allow constructing of TFmode integer containers. (ix86_return_in_memory): XFmode is not returned in memory. (init_ext_80387_constants): Always use XFmode. (print_operand): Likewise. (ix86_prepare_fp_compare_regs): Likewise. (split_to_parts): Deal with TFmode. (split_long_move): Simplify. (ix86_init_mmx_sse_builtins): Add __float80, __float128. (ix86_memory_move_cost): Do not confuse TFmode. * i386.h (LONG_DOUBLE_TYPE_SIZE): Set to 96. (IS_STACK_MODE): TFmode is not stack mode. (HARD_REGNO_NREGS, CLASS_MAX_NREGS): Deal nicely with XFmode. (VALID_SSE_REG_MODE): Allow TFmode. (VALID_FP_MODE_P): Disallow TFmode. (VALID_INT_MODE_P): Allow TFmode in 64bit mode. * i386.md (TFmode patterns): Kill. (movtf, motf_rex64): New patterns. From-SVN: r73099
2003-10-30* config/mips/mips.md (adddi3): Fix typo in mips16 stack pointer code.Richard Sandiford2-1/+5
From-SVN: r73096
2003-10-30mips.md (mov_lwl): Use memory_operand where appropriate.Richard Sandiford2-12/+18
* config/mips/mips.md (mov_lwl): Use memory_operand where appropriate. (mov_lwr, mov_swl, mov_swr): Likewise. (mov_ldl, mov_ldr, mov_sdl, mov_sdr): Likewise. From-SVN: r73095
2003-10-30* config/mips/mips.c (mips_global_pointer): Don't try to use $25.Richard Sandiford2-1/+6
From-SVN: r73094
2003-10-30mips.c (mips_build_builtin_va_list): Use runtime test for irix6 rather than ↵Richard Henderson2-9/+10
preprocessor test. * config/mips/mips.c (mips_build_builtin_va_list): Use runtime test for irix6 rather than preprocessor test. From-SVN: r73089
2003-10-30* cppcharset.c (one_utf8_to_utf16): Initialize 's' to silence warning.Richard Henderson2-1/+5
From-SVN: r73087
2003-10-30Complete previous check in.Arnaud Charlet1-2/+2
From-SVN: r73086
2003-10-30run_all.sh: Do not print PASS messages to stdout, as done by dejagnu.Arnaud Charlet2-1/+7
* ada/acats/run_all.sh: Do not print PASS messages to stdout, as done by dejagnu. From-SVN: r73085
2003-10-30s390.c (struct machine_function): Use save_return_addr_p as a general flag ↵Ulrich Weigand4-93/+136
that the return address register needs... * config/s390/s390.c (struct machine_function): Use save_return_addr_p as a general flag that the return address register needs to be saved, not necessarily because of __builtin_return_addr (0). (s390_split_branches): Remove TEMP_REG and TEMP_USED arguments, remove special handling of zSeries machines. (s390_optimize_prolog): Remove TEMP_USED argument, treat the return register as a regular register on zSeries machines. (s390_reorg): Adjust calls to s390_split_branches and s390_optimize_prolog. (s390_frame_info): On zSeries machines, do not assume the return register is always used. Update regs_ever_live with current data for the special registers. (s390_emit_epilogue): Use save_return_addr_p to determine whether the return register was saved. * config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Do not mark RETURN_REGNUM fixed on zSeries machines. (REG_ALLOC_ORDER): Use RETURN_REGNUM last. * config/s390/s390.md ("*doloop_si"): Handle branch overflow via ahi-jgne pair on zSeries machines. ("*doloop_di"): Likewise. ("*doloop_di_long"): Remove. From-SVN: r73084
2003-10-303vtrasym.adb: Demangle Ada symbols returned by TBK$SYMBOLIZE.Arnaud Charlet17-66/+459
* 3vtrasym.adb: Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line numbers when symbol name is too long. * g-signal.ads, g-signal.adb: New files * impunit.adb: (Non_Imp_File_Names): Added "g-signal" * Makefile.rtl: Introduce GNAT.Signals * freeze.adb: Minor reformatting * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb, par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb: New handling of Id_Check parameter to improve recognition of keywords used as identifiers. Update copyright notice to include 2003 From-SVN: r73083
2003-10-30arm.c (arm_override_options): Revert change of arm_constant_limit when ↵Richard Earnshaw2-5/+10
optimizing for size. * arm.c (arm_override_options): Revert change of arm_constant_limit when optimizing for size. From-SVN: r73082
2003-10-29fold-const.c (fold_single_bit_test): Convert the input to the operational ↵Richard Henderson2-6/+12
intermediate type. * fold-const.c (fold_single_bit_test): Convert the input to the operational intermediate type. From-SVN: r73077
2003-10-29builtins.c (std_build_builtin_va_list): New.Richard Henderson41-103/+118
* builtins.c (std_build_builtin_va_list): New. * expr.h (std_build_builtin_va_list): Declare. * defaults.h (BUILD_VA_LIST_TYPE): New. * system.h (BUILD_VA_LIST_TYPE): Poison. * target-def.h (TARGET_BUILD_BUILTIN_VA_LIST): New. * target.h (struct gcc_target): Add build_builtin_va_list. * tree.c (build_common_tree_nodes_2): Use it. * config/alpha/alpha-protos.h, config/alpha/alpha.c, config/alpha/alpha.h, config/alpha/unicosmk.h, config/d30v/d30v-protos.h, config/d30v/d30v.c, config/d30v/d30v.h, config/i386/i386-protos.h, config/i386/i386.c, config/i386/i386.h, config/i860/i860-protos.h, config/i860/i860.c, config/i860/i860.h, config/i960/i960-protos.h, config/i960/i960.c, config/i960/i960.h, config/mips/iris6.h, config/mips/mips-protos.h, config/mips/mips.c, config/mips/mips.h, config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h, config/sh/sh-protos.h, config/sh/sh.c, config/sh/sh.h, config/xtensa/xtensa-protos.h, config/xtensa/xtensa.c, config/xtensa/xtensa.h: Rename foo_build_va_list to foo_build_builtin_va_list; make it static. Define TARGET_BUILD_BUILTIN_VA_LIST. Remove BUILD_VA_LIST_TYPE. Update protos. * config/i386/i386.c (ix86_expand_carry_flag_compare): Make static. * config/iq2000/iq2000.h (BUILD_VA_LIST_TYPE): Remove. From-SVN: r73076
2003-10-29Fix problem noticed by Dale Johannesen on the gcc list.James E Wilson3-43/+45
* recog.c (asm_operand_ok): Add missing break after case 'X'. Change if statements to else if statements in default case. (extract_constrain_insn_cached): Fix misspelling of constrain_operands in comment. (constrain_operands_cached): Likewise. (constrain_operands): Change if statements to else if statements in default case. * reload.c (find_reloads): Likewise. From-SVN: r73074
2003-10-29m68k.c (notice_update_cc): Clear cc status for shifts and rotates.Richard Henderson2-4/+14
* config/m68k/m68k.c (notice_update_cc): Clear cc status for shifts and rotates. From-SVN: r73073
2003-10-30* pa.md: Missed update in previous commit.John David Anglin1-62/+164
From-SVN: r73072
2003-10-30Daily bump.GCC Administrator1-1/+1
From-SVN: r73070
2003-10-30* config/rs6000/rs6000.md: Remove duplicate pattern.Alan Modra2-15/+4
From-SVN: r73068
2003-10-29* real.c (do_divide): Initialize result with a 0.Hans-Peter Nilsson2-0/+4
From-SVN: r73066
2003-10-29configure.in: Look for <valgrind/memcheck.h> first.Hans-Peter Nilsson7-242/+318
* configure.in <enable-checking for valgrind>: Look for <valgrind/memcheck.h> first. AC_DEFINE HAVE_VALGRIND_MEMCHECK_H if it exists. * configure, config.in: Regenerate. * ggc-common.c [ENABLE_VALGRIND_CHECKING && HAVE_VALGRIND_MEMCHECK_H]: Include <valgrind/memcheck.h>. Use #elif for other alternatives. * ggc-page.c: Ditto. * ggc-zone.c: Don't assume <valgrind/memcheck.h>; instead copy include structure from ggc-common.c. From-SVN: r73065
2003-10-29pa-linux.h (ASM_OUTPUT_ADDR_VEC_ELT): Use label in big switch ELTs.John David Anglin4-83/+81
* pa-linux.h (ASM_OUTPUT_ADDR_VEC_ELT): Use label in big switch ELTs. (ASM_OUTPUT_ADDR_DIFF_ELT): Use label difference in big switch ELTs. * pa.c (pa_adjust_insn_length): Check for btable branches using attribute TYPE_BTABLE_BRANCH. (pa_reorg): Simplify. * pa.h (CASE_VECTOR_MODE): Change big switch mode to SImode. (ASM_OUTPUT_ADDR_VEC_ELT): As above. (ASM_OUTPUT_ADDR_DIFF_ELT): As above. * pa.md (btable_branch): New instruction type. (in_branch_delay, in_nullified_branch_delay, in_call_delay): Disallow btable branches. (define_delay): Add btable branches to insn types that may have an insn in the delay position. (Z2, Z3): Add btable branch to list. Simplify unamed pattern set copy pic_label_operand to register. Add PA 2.0 variant. (short_jump): New jump for use in branch tables. (casesi, casesi0): Revise for new branch table formats. (casesi32, casesi32p, casesi64p): New casesi patterns. (indirect_jump): Move. From-SVN: r73064
2003-10-29rs6000.h (UNITS_PER_WORD): Revert to !TARGET_POWERPC64.David Edelsohn2-6/+13
* config/rs6000/rs6000.h (UNITS_PER_WORD): Revert to !TARGET_POWERPC64. (UNITS_PER_GPR_WORD): Delete. (HARD_REGNO_NREGS): Revert to UNITS_PER_WORD. (HARD_REGNO_MODE_OK): Same. (CLASS_MAX_NREGS): Same. From-SVN: r73060
2003-10-29* pa.h (ASM_COMMENT_START): Define.John David Anglin2-0/+10
From-SVN: r73059
2003-10-29run_all.sh: Redirect mv output to /dev/null Avoid non pure sh syntax.Arnaud Charlet3-11/+21
* ada/acats/run_all.sh: Redirect mv output to /dev/null Avoid non pure sh syntax. Add more logging. * ada/acats/norun.lst: Disable cdd2a03, since it is expected to fail. From-SVN: r73052
2003-10-29genmodes.c (complete_mode): Record MODE_CC...Zack Weinberg2-3/+9
* genmodes.c (complete_mode): Record MODE_CC, MODE_INT, MODE_FLOAT, and MODE_PARTIAL_INT modes as having one component, not zero. From-SVN: r73051
2003-10-29* config/ia64/t-ia64 (LIB2ADDEH): Add $(srcdir)/gthr-gnat.c.Andreas Schwab2-1/+5
From-SVN: r73050
2003-10-29Added a missing word.Eric Botcazou1-2/+2
From-SVN: r73045
2003-10-29sparc.c (function_arg_partial_nregs): Never return 1 for complex integral ↵Eric Botcazou2-20/+28
modes whose size is lesser or equal to a word. * config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]: Never return 1 for complex integral modes whose size is lesser or equal to a word. (function_arg_pass_by_reference) [TARGET_ARCH64]: Mention CTImode in the comment. (function_arg_advance) [TARGET_ARCH64]: Don't special-case complex modes. (sparc_va_arg) [TARGET_ARCH64]: Handle any types whose is greater than 16 bytes by reference. From-SVN: r73044
2003-10-29ia64.c (ia64_assemble_integer): Test POINTER_SIZE, not TARGET_ILP32.Richard Kenner2-4/+11
* config/ia64/ia64.c (ia64_assemble_integer): Test POINTER_SIZE, not TARGET_ILP32. (ia64_initialize_trampoline): Use globalize_label target call. From-SVN: r73039
2003-10-29* ada/acats/run_all.sh: Redirect mv output to /dev/nullArnaud Charlet2-1/+5
From-SVN: r73037
2003-10-293vtrasym.adb, [...]: Minor reformattingArnaud Charlet31-314/+966
* 3vtrasym.adb, 5vtraent.ads, sprint.adb, sem_ch10.adb: Minor reformatting * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands (Expand_Assign_Record): Test right hand side for bit unaligned as well * 3vtrasym.adb: * 5vtraent.adb: * 5vtraent.ads: * tb-alvms.c: Support for TBK$SYMBOLIZE-based symbolic traceback. * exp_disp.adb: Revert previous change, that did not work well when pragma No_Run_Time was used in conjunction with a run-time other than ZFP. * make.adb: (Gnatmake): When there are no Ada mains in attribute Main, disable the bind and link steps only is switch -z is not used. * Makefile.generic: Remove duplicated setting of CC. * Makefile.prolog: Set CC to gcc by default, to override make's default (cc). * einfo.h: Regenerated. * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for current body, after compiling subunit. * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype when in deleted code, because gigi needs properly ordered freeze actions to annotate types. * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to prevent the premature freezing of record type that contains subcomponents with a private type that does not yet have a completion. * sem_ch12.adb: (Analyze_Package_Instantiation): Check that instances can not be used in limited with_clauses. * sem_ch8.adb: (Analyze_Package_Renaming): Check that limited withed packages cannot be renamed. Improve text on error messages related to limited with_clauses. * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute. * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses. Update copyright notice. * sem_ch10.adb: (Build_Limited_Views): Complete its documentation. (Install_Limited_Context_Clauses): New subprogram that isolates all the checks required for limited context_clauses and installs the limited view. (Install_Limited_Withed_Unit): Complete its documentation. (Analyze_Context): Check that limited with_clauses are only allowed in package specs. (Install_Context): Call Install_Limited_Context_Clauses after the parents have been installed. (Install_Limited_Withed_Unit): Add documentation. Mark the installed package as 'From_With_Type'; this mark indicates that the limited view is installed. Used to check bad usages of limited with_clauses. (Build_Limited_Views): Do not add shadow entities to the scope's list of entities. Do not add real entities to the Non_Limited_Views chain. Improve error notification. (Remove_Context_Clauses): Remove context clauses in two phases: limited views first and regular views later (to maintain the stack model). (Remove_Limited_With_Clause): If the package is analyzed then reinstall its visible entities. * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible with any type that Is_Fixed_Point_Type. * sinfo.ads: Fix documentation for Associated_Node attribute. * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when both '-gnatc' and '-gnatt' are specified. * atree.adb (Initialize): Add initialization for Node_Count (set to zero). * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value, do not consider as Pure. Part of implementation of function-at-a-time: * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt. (tree_transform): Add new argument to build_component_ref. (tree_transform, case N_Assignment_Statement): Make and return an EXPR_STMT. (tree_transform): If result IS_STMT, set flags and return it. (gnat_expand_stmt, set_lineno_from_sloc): New functions. * utils2.c (build_simple_component_ref, build_component_ref): Add new arg, NO_FOLD_P. (build_binary_op, case EQ_EXPR): Pass additional arg to it. (build_allocator): Likewise. * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert): Add new arg to build_component_ref. (maybe_unconstrained_array, unchecked_convert): Likewise. * ada-tree.def (EXPR_STMT): New code. * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros. * decl.c (gnat_to_gnu_entity, case object): Add extra arg to build_component_ref calls. * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt. * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions. (build_component_ref): Add new argument, NO_FOLD_P. From-SVN: r73032
2003-10-29install.texi (Building): Add a sentence about building Ada for a canadian cross.Andreas Schwab2-1/+8
* doc/install.texi (Building): Add a sentence about building Ada for a canadian cross. From-SVN: r73031
2003-10-29ia64.c (cmptf_libfunc): New static.Zack Weinberg3-6/+86
* config/ia64/ia64.c (cmptf_libfunc): New static. (ia64_expand_compare): Add logic to open-code calls to _U_Qfcmp for TFmode comparisons. (ia64_hpux_init_libfuncs): Initialize cmptf_libfunc. Set libfuncs for TFmode eq/ne/gt/ge/lt/gt to 0; these should never be generated anymore. * config/ia64/ia64.md (cmptf): New expander. From-SVN: r73028
2003-10-29ia64.md (UNSPEC_SETF_EXP,UNSPEC_FR_SQRT_RECIP_APPROX): New constants.Zack Weinberg4-4/+534
* ia64.md (UNSPEC_SETF_EXP,UNSPEC_FR_SQRT_RECIP_APPROX): New constants. (*sqrt_approx): New instruction pattern for approximate square roots. (*setf_exp_xf): New instruction pattern for exponentiation. (*maddxf4_alts_truncsf): New instruction pattern for truncation. (sqrtsf2_internal_thr): New define_and_split implementing throughput-optimized inline calculation of SFmode square root. (sqrtdf2_internal_thr): Likewise for DFmode. (sqrtxf2_internal_thr): Likewise for XFmode. (sqrtsf2, sqrtdf2, sqrtxf2): New expanders to choose between latency- and throughput-optimized square root algorithms. * ia64.h (MASK_INLINE_SQRT_LAT, MASK_INLINE_SQRT_THR, TARGET_INLINE_SQRT_LAT, TARGET_INLINE_SQRT_THR, TARGET_INLINE_SQRT): New macros. (TARGET_SWITCHES): Add -minline-sqrt-min-latency and -minline-sqrt-max-throughput. * ia64.c (ia64_override_options): If both -minline-sqrt-min-latency and -minline-sqrt-max-throughput are given, notify the user that both options cannot be used simultaneously. If -minline-sqrt-min-latency is given, notify the user that this mode is not yet implemented. (rtx_needs_barrier): Reformat initial comment to obey 72-character width limit. Support UNSPEC_SETF_EXP and UNSPEC_FR_SQRT_RECIP_APPROX. From-SVN: r73027
2003-10-29Daily bump.GCC Administrator1-1/+1
From-SVN: r73025
2003-10-29rs6000.md (movdf_softfloat64): Allow dummy ctr,ctr moves.Alan Modra2-5/+11
* config/rs6000/rs6000.md (movdf_softfloat64): Allow dummy ctr,ctr moves. From-SVN: r73022
2003-10-28re PR libffi/10610 ([powerpc-linux] 230 testsuite failures due to alignment ↵Franz Sirl2-0/+39
errors) 2003-10-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR libgcj/10610 * gcc.dg/ppc-stackalign-1.c: New test. From-SVN: r73019
2003-10-28re PR target/11598 (testcase gcc.dg/20020118-1.c fails runtime check of ↵Franz Sirl2-0/+21
__attribute__((aligned(16)))) 2003-10-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR target/11598 PR libgcj/10610 * config/rs6000/sysv4.h (PREFERRED_STACK_BOUNDARY): New macro. From-SVN: r73017
2003-10-28Add missing ChangeLog entry for gcc.c-torture/execute/20031020-1.c.Falk Hueffner1-0/+5
From-SVN: r73015
2003-10-28* approved by aphFrank Ch. Eigler2-3/+5
2003-10-28 Frank Ch. Eigler <fche@redhat.com> * verify.c (verify_jvm_instructions): Don't warn about legal eh binding regions generated for example by jdk 1.4.1. From-SVN: r73012
2003-10-28run_all.sh: Only run [a-z]* directories, to filter out e.g.Arnaud Charlet2-2/+4
* ada/acats/run_all.sh: Only run [a-z]* directories, to filter out e.g. CVS. Redirect build output to log file. From-SVN: r73010