aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-11-08arm.c (arm_handle_notshared_attribute): Wrap declaration and use with #if ↵Richard Earnshaw2-0/+9
TARGET_DLLIMPORT_DECL_ATTRIBUTES. * arm.c (arm_handle_notshared_attribute): Wrap declaration and use with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES. From-SVN: r90272
2004-11-08tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if" statements that ↵Kazu Hirata2-18/+19
always trigger. * tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if" statements that always trigger. From-SVN: r90267
2004-11-08arith.c, [...]: Fix comment formatting.Kazu Hirata25-111/+119
* arith.c, array.c, decl.c, expr.c, f95-lang.c, gfortran.h, gfortranspec.c, interface.c, intrinsic.c, iresolve.c, match.c, module.c, parse.c, parse.h, primary.c, resolve.c, scanner.c, trans-array.c, trans-array.h, trans-expr.c, trans-intrinsic.c, trans-io.c, trans-stmt.c, trans.h: Fix comment formatting. From-SVN: r90266
2004-11-08class.c, [...]: Fix comment formatting.Kazu Hirata9-45/+50
* class.c, decl.c, lex.c, name-lookup.c, parser.c, pt.c, search.c, typeck2.c: Fix comment formatting. From-SVN: r90265
2004-11-08decl.c (end_java_method): Remove duplicated code.Andrew Pinski2-8/+4
2004-11-08 Andrew Pinski <pinskia@physics.uc.edu> * decl.c (end_java_method): Remove duplicated code. From-SVN: r90264
2004-11-08* a-numaux-x86.adb (Tan): Fix fdivp syntax.Rainer Orth2-1/+5
From-SVN: r90263
2004-11-08tree-cfg.c, [...]: Replace TREE_CHAIN with PHI_CHAIN where appropriate.Kazu Hirata10-35/+43
* tree-cfg.c, tree-if-conv.c, tree-into-ssa.c, tree-scalar-evolution.c, tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa.c, tree-vectorizer.c: Replace TREE_CHAIN with PHI_CHAIN where appropriate. From-SVN: r90262
2004-11-08cgraph.h (cgraph_calls_p): Remove.Ben Elliston5-37/+8
* cgraph.h (cgraph_calls_p): Remove. * cgraph.c (cgraph_calls_p): Likewise. * varray.h (varray_copy): Remove. * varray.c (varray_copy): Likewise. From-SVN: r90261
2004-11-07re PR target/18269 (-m64 -fPIC does not work on ppc-darwin)Andrew Pinski5-141/+214
2004-11-07 Andrew Pinski <pinskia@physics.uc.edu> PR target/18269 * config/darwin.c (machopic_indirect_data_reference): Call gen_macho_high and gen_macho_low instead of checking the mode and calling gen_macho_high_di directly. * config/rs6000/rs6000.c (rs6000_emit_move): Likewise. * config/rs6000/rs6000.md: Move most of TARGET_MACHO expand/insns to darwin.md. (movdf_low, movsf_low, movsf_low_st, movsi_low, macho_correct_pic, load_macho_picbase, macho_low, macho_high): Removed. (builtin_setjmp_receiver): Call gen_macho_high and gen_macho_low instead of checking the mode and calling gen_macho_high_di directly. * config/rs6000/darwin.md (load_macho_picbase_di): Use the MD constant. (movdf_low_si, movsf_low_si, movsf_low_st_si, movsi_low_st): Moved from rs6000.md. (macho_high): New expander. (macho_high_si): Renamed version of macho_high from rs6000.md. (macho_low): New expander. (macho_low_si): Renamed version of macho_low from rs6000.md. (load_macho_picbase): New expander. (load_macho_picbase_si): Renamed version of load_macho_picbase from rs6000.md. (macho_correct_pic): New expander. (macho_correct_pic_si): Renamed version of macho_correct_pic from rs6000.md. From-SVN: r90257
2004-11-08Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90248.2
2004-11-07* de.po: Update.Joseph Myers2-398/+398
From-SVN: r90241
2004-11-07* Makefile.in (install-gnatlib): Remove spurious hyphen.Andreas Schwab2-1/+5
From-SVN: r90221
2004-11-07c-decl.c (finish_struct): Use complete sentences for diagnostic for ↵Joseph Myers2-3/+21
structures or unions with no members... * c-decl.c (finish_struct): Use complete sentences for diagnostic for structures or unions with no members or named members. From-SVN: r90217
2004-11-07c-typeck.c (build_unary_op): Replace unreachable diagnostic for taking ↵Joseph Myers2-7/+7
address of bit-field by assertion. * c-typeck.c (build_unary_op): Replace unreachable diagnostic for taking address of bit-field by assertion. From-SVN: r90216
2004-11-07Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90212.2
2004-11-07s390.md (attribute "op_type"): Default to "NN".Ulrich Weigand2-132/+111
* config/s390/s390.md (attribute "op_type"): Default to "NN". (attribute "atype"): Default to "agen". (attribute "length"): Default to 6. (define_asm_attibutes): Remove. ("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa", "*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf", "*clc", "*mvc", "*nc", "*oc", "*xc", "*xc_zero"): Do not set type attribute to "cs" where already default. ("*cmpint_si", "*cmpint_di", "fix_truncdfsi2_ibm", "floatsidf2_ibm", "*negdi2_31"): Do not set type attribute to "other" where already default. ("movti", "*movdi_64", "*movdi_31", "*movdf_31", "*strlendi", "*strlensi", "*movmem_long_64", "*movmem_long_31", "*clrmem_long_64", "*clrmem_long_31", "*cmpmem_long_64", "*cmpmem_long_31", "*cmpint_si", "*cmpint_di", "addti3", "*adddi3_31z", "*adddi3_31", "subti3", "*subdi3_31z", "*subdi3_31", "*negdi2_31", "*sconddi", "*scondsi", "*sconddi_neg", "*scondsi_neg", "fix_truncdfsi2_ibm", "floatsidf2_ibm", "extendsfdf2_ibm", "*pool_entry", "pool_align", "pool_section_start", "pool_section_end", "main_pool", "reload_base_31", "pool"): Do not set op_type attribute to "NN" where already default. ("*extractqi", "*extracthi", "*zero_extendhisi2_31", "*zero_extendqisi2_31", "*zero_extendqihi2_31", "fix_truncdfsi2_ibm", "floatsidf2_ibm"): Do not set atype attribute to "agen" where already default. ("*movmem_short", "*clrmem_short", "*cmpmem_short"): Don't set op_type. From-SVN: r90208
2004-11-06* config/mips/t-iris6 (tp-bit.c): Fix target filename.Richard Sandiford2-1/+5
From-SVN: r90197
2004-11-06re PR target/16830 (Including <sys/immu.h> with -mabi=n32 causes an error.)Richard Sandiford2-10/+22
PR target/16830 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define the R3000 and R4000 macros on IRIX. From-SVN: r90195
2004-11-06re PR target/16286 (Compile errors on altivec ops after #undef vector)Andreas Schwab4-676/+691
PR target/16286 * config/rs6000/altivec.h: Replace bool by __bool and pixel by __pixel. testsuite: * gcc.dg/pr16286.c: Also test for bool and pixel. From-SVN: r90194
2004-11-06anon-struct-6.c, [...]: New tests.Joseph Myers19-0/+245
* gcc.dg/anon-struct-6.c, gcc.dg/anon-struct-7.c, gcc.dg/anon-struct-8.c, gcc.dg/bitfld-10.c, gcc.dg/bitfld-11.c, gcc.dg/bitfld-12.c, gcc.dg/func-outside-1.c, gcc.dg/func-outside-2.c, gcc.dg/label-decl-1.c, gcc.dg/label-decl-2.c, gcc.dg/label-decl-3.c, gcc.dg/label-decl-4.c, gcc.dg/struct-empty-1.c, gcc.dg/struct-empty-2.c, gcc.dg/struct-empty-3.c, gcc.dg/struct-semi-1.c, gcc.dg/struct-semi-2.c, gcc.dg/struct-semi-3.c: New tests. From-SVN: r90193
2004-11-06Fix wrong entry.Eric Botcazou1-1/+1
From-SVN: r90192
2004-11-06* tree-ssa-copyrename.c (rename_ssa_copies): Make it static.Kazu Hirata2-3/+5
From-SVN: r90191
2004-11-062064.md ("z_int", "z_agen"): Ensure the condition matches no insns already ↵Ulrich Weigand4-55/+76
matched by other reservations. * config/s390/2064.md ("z_int", "z_agen"): Ensure the condition matches no insns already matched by other reservations. * config/s390/2084.md ("x_int", "x_agen"): Ensure the condition matches no insns already matched by other reservations. ("x_ss"): Remove, replace by ... ("x_cs"): ... this new reservation. Check type instead of op_type. Update bypasses to use x_cs instead of x_ss. ("x_nn"): Remove, replace by ... ("x_other"): ... this new reservation. Check type instead of op_type. Add x_other and x_branch to bypasses. ("x_vs"): New reservation. * config/s390/s390.md (attribute "type"): Default according to op_type. ("*execute"): Set type to "cs". From-SVN: r90190
2004-11-06* g++.dg/opt/nothrow1.C: Use -42 instead of 42.Eric Botcazou2-2/+6
From-SVN: r90189
2004-11-06generate-random.c (generate_random_data unsafe_state): Do not use C99 ↵Eric Botcazou2-7/+12
designators. * gcc.dg/compat/generate-random.c (generate_random_data unsafe_state): Do not use C99 designators. From-SVN: r90188
2004-11-06fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR if we are in GIMPLE.Kazu Hirata2-0/+10
* fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR if we are in GIMPLE. From-SVN: r90187
2004-11-06* g++.dg/other/pragma-re-1.C (p, q): Fix type and remove cast.Eric Botcazou2-2/+6
From-SVN: r90185
2004-11-06simd-5.c: Do not XFAIL on SPARC 64-bit.Eric Botcazou4-32/+10
* gcc.c-torture/compile/simd-5.c: Do not XFAIL on SPARC 64-bit. * gcc.c-torture/execute/20020227-1.x: Likewise. * gcc.c-torture/execute/simd-5.x: Remove. From-SVN: r90184
2004-11-06re PR rtl-optimization/17933 (ICE: in schedule_insns, at /sched-rgn.c:2555)Hans-Peter Nilsson2-44/+66
PR rtl-optimization/17933 * rtlanal.c (dead_or_set_regno_p): Break out common code to... (covers_regno_p): New function. Handle SETs of PARALLEL, and defer the rest to... (covers_regno_no_parallel_p): New function. From-SVN: r90183
2004-11-06re PR rtl-optimization/17933 (ICE: in schedule_insns, at /sched-rgn.c:2555)Andrew Pinski2-0/+19
PR rtl-optimization/17933 * gcc.dg/torture/pr17933-1.c: New test. From-SVN: r90182
2004-11-06sparc.c (function_arg_record_value_1): Skip fields with zero length.Eric Botcazou2-8/+32
* config/sparc/sparc.c (function_arg_record_value_1): Skip fields with zero length. (function_arg_record_value_2): Likewise. (function_arg_record_value_3): Use smallest_mode_for_size instead of mode_for_size. (function_arg_union_value): Return naked register for unions with zero length. From-SVN: r90180
2004-11-06sparc.c (scan_record_type): Handle vector types.Eric Botcazou2-72/+232
* config/sparc/sparc.c (scan_record_type): Handle vector types. (function_arg_slotno): Handle vector types specially. (function_arg_record_value_1): Split fields with vector type and BLKmode into their subparts. (function_arg_record_value_2): Likewise. Be prepared to handle more than 2 registers per field. (function_arg_union_value): Increment regno inside the loop. (function_arg_vector_value): New function. (function_arg): Use it to split fields with vector type and BLKmode into their subparts and build a PARALLEL. Treat other vector types like floats. (function_value): Likewise. (sparc_pass_by_reference): Handle vector types. (sparc_return_in_memory): Likewise. From-SVN: r90179
2004-11-06tree-cfg.c (find_taken_edge_cond_expr): Remove an "if" statement that never ↵Kazu Hirata2-5/+5
triggers. * tree-cfg.c (find_taken_edge_cond_expr): Remove an "if" statement that never triggers. From-SVN: r90176
2004-11-062064.md ("z_o2", "z_o3"): Remove.Ulrich Weigand4-50/+42
* config/s390/2064.md ("z_o2", "z_o3"): Remove. * config/s390/2084.md ("x_o2", "x_o3"): Remove. ("x_fdivd"): Use also for fsqrtd type. ("x_fdivs"): Use also for fsqrts type. * config/s390/s390.md (attribute "type"): Remove "o2" and "o3" types. ("fix_truncdfsi2_ieee"): Set type to "ftoi". ("fix_truncdfsi2_ibm"): Set type to "other". ("floatdidf2", "floatdisf2"): Do not clobber CC. ("floatsidf2", "floatsidf2_ieee"): Likewise. ("floatsisf2", "floatsisf2_ieee"): Likewise. ("truncdfsf2", "truncdfsf2_ieee"): Only allow "register_operand". ("truncdfsf2_ibm"): Only allow "nonimmediate_operand". Use LER instead of LRER. ("extendsfdf2_ibm"): Do not set atype. Set type to "floads". ("sqrtdf2"): Set type to "fsqrtd". ("sqrtsf2"): Set type to "fsqrts". From-SVN: r90174
2004-11-06tree-phinodes.c (remove_all_phi_nodes_for): Speed up using a pointer to the ↵Kazu Hirata2-12/+11
last PHI node in the new PHI chain. * tree-phinodes.c (remove_all_phi_nodes_for): Speed up using a pointer to the last PHI node in the new PHI chain. From-SVN: r90173
2004-11-06sh.c (prepare_move_operands): Emit a use of r12 for non-PIC ↵Kaz Kojima2-1/+10
TLS_MODEL_INITIAL_EXEC case. * config/sh/sh.c (prepare_move_operands): Emit a use of r12 for non-PIC TLS_MODEL_INITIAL_EXEC case. From-SVN: r90172
2004-11-06* expmed.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r90171
2004-11-06re PR fortran/18023 (ice on trying to convert between int and float)Tobias Schlüter2-2/+7
PR fortran/18023 * io.c (resolve_tag): Tighten up exception for assigned FORMAT. From-SVN: r90169
2004-11-06lex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well.Zack Weinberg2-1/+11
* lex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well. Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com> From-SVN: r90168
2004-11-05re PR target/18106 (Weak symbols are unimplemented on Windows)Aaron W. LaFramboise4-1/+31
PR target/18106 * config/i386/cygming.h [HAVE_GAS_WEAK] (ASM_WEAKEN_LABEL): Macro defined. * lib/target-supports.exp (check_weak_available): Support Windows. From-SVN: r90164
2004-11-06* gfortranspec.c: Replace GNU CC with GCC.Kazu Hirata2-1/+5
From-SVN: r90163
2004-11-06* config/sh/sh4a.md: Fix copyright.Kazu Hirata2-1/+5
From-SVN: r90161
2004-11-06darwin.md, sh4a.md: Replace GNU CC with GCC.Kazu Hirata3-3/+8
* config/rs6000/darwin.md, config/sh/sh4a.md: Replace GNU CC with GCC. From-SVN: r90160
2004-11-05rs6000.md (scc patterns): Replace subfc with subf when carry not used.David Edelsohn3-28/+55
* config/rs6000/rs6000.md (scc patterns): Replace subfc with subf when carry not used. Suggested by Torbjorn Granlund. * config/rs6000/rs6000.c (rs6000_emit_move): Don't force_reg operand[1] unnecessarily. Suggested by Eric Christopher. (rs6000_adjust_cost): Increase latency of store to wider load. (rs6000_rtx_costs): mulli only allows 16-bit constants. From-SVN: r90159
2004-11-06* gcc.pot: Regenerate.Joseph Myers2-3535/+3619
From-SVN: r90158
2004-11-06rs6000.c (machopic_output_stub): Output ldu instead of lwzu for 64-bit stubs.Stan Shebs2-1/+7
* config/rs6000/rs6000.c (machopic_output_stub): Output ldu instead of lwzu for 64-bit stubs. From-SVN: r90157
2004-11-05alpha.c (alpha_expand_unaligned_load): Special case size 2 with BWX.Richard Henderson2-1/+58
* config/alpha/alpha.c (alpha_expand_unaligned_load): Special case size 2 with BWX. (alpha_expand_unaligned_store): Likewise. From-SVN: r90156
2004-11-06struct-layout-1_generate.c (main): Generate a call to fflush(stdout) before ↵Danny Smith2-3/+27
abort. 2004-11-05 Danny Smith <dannysmith@users.sourceforge.net> * gcc.dg/compat/struct-layout-1_generate.c (main): Generate a call to fflush(stdout) before abort. (my_ffsll): New function. (generate_fields): Use it. From-SVN: r90155
2004-11-06Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90152.2
2004-11-05expmed.c (extract_force_align_mem_bit_field): New.Richard Henderson2-1/+153
* expmed.c (extract_force_align_mem_bit_field): New. (extract_split_bit_field): Call it. From-SVN: r90150