aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-09-13re PR c/28768 (Preprocessor doesn't parse tokens correctly?)Joseph Myers11-16/+99
libcpp: PR c/28768 PR preprocessor/14634 * lex.c (lex_string): Pedwarn for unterminated literals. libgomp: * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument to AC_DEFINE. * configure: Regenerate. gcc/testsuite: * gcc.dg/cpp/include2.c, gcc.dg/cpp/macspace1.c, gcc.dg/cpp/macspace2.c, gcc.dg/cpp/multiline.c, gcc.dg/cpp/trad/literals-2.c: Update expected diagnostics. From-SVN: r116915
2006-09-13Daily bump.GCC Administrator1-1/+1
From-SVN: r116913
2006-09-12* cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.Jan Hubicka2-0/+6
From-SVN: r116909
2006-09-12re PR rtl-optimization/28243 (internal consistency failure when building ↵Eric Botcazou4-6/+69
fontforge with -O3 -fPIC -ftracer) PR rtl-optimization/28243 * combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past the insn to which the note was originally attached. From-SVN: r116906
2006-09-12* expr.c (push_value): Always flush quick stack.Tom Tromey2-0/+11
From-SVN: r116905
2006-09-12re PR fortran/28971 (ICE: Segmentation fault on valid code)Paul Thomas2-0/+26
2006-09-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/28971 gfortran.dg/pr28971.f90: New test to act as a backstop in case this undiagnosed regression reappears. From-SVN: r116904
2006-09-12dwarf2out.c (file_table_last_lookup): Move this GC'd declaration outside of ↵Andrew Pinski2-2/+10
#ifdef DWARF2_DEBUGGING_INFO to fix... * dwarf2out.c (file_table_last_lookup): Move this GC'd declaration outside of #ifdef DWARF2_DEBUGGING_INFO to fix bootstrap failure on platforms that don't use dwarf for debug info. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r116903
2006-09-12re PR java/29013 (gcj generates a MetalLookAndFeel class that fails cacao's ↵Tom Tromey5-3/+28
verifier) gcc/java PR java/29013: * jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Always note the push of the called method's return result. libjava PR java/29013: * testsuite/libjava.lang/PR29013.out: Likewise. * testsuite/libjava.lang/PR29013.java: New file. From-SVN: r116902
2006-09-12jvspec.c (lang_specific_driver): Read spec file even if -fsyntax-only.Tom Tromey2-2/+6
* jvspec.c (lang_specific_driver): Read spec file even if -fsyntax-only. From-SVN: r116901
2006-09-12re PR middle-end/28493 (Wrong address of stack object used for destructor ↵Jason Merrill3-1/+37
call on PPC) PR middle-end/28493 * builtins.c (expand_builtin_setjmp_receiver): Clobber hard_frame_pointer_rtx after using it to update the frame pointer. From-SVN: r116900
2006-09-12eh_globals.cc: Remove __gnu_internal.Benjamin Kosnik6-33/+39
2006-09-12 Benjamin Kosnik <bkoz@redhat.com> * libsupc++/eh_globals.cc: Remove __gnu_internal. * config/io/basic_file_stdio.cc: Same. * config/abi/compatibility.h: Same. * config/cpu/generic/atomicity_mutex/atomicity.h: Same. * config/cpu/sh/atomicity.h: Same. From-SVN: r116899
2006-09-12target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.Roger Sayle3-2/+19
* target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef. (TARGET_ASM_CLOSE_PAREN): Likewise. * config/alpha/osf5.h (TARGET_ASM_OPEN_PAREN): Define. (TARGET_ASM_CLOSE_PAREN): Likewise. From-SVN: r116898
2006-09-12re PR target/22223 (New testsuite failure on Tru64 UNIX V5.1B: ↵Roger Sayle2-3/+14
gcc.c-torture/compile/20050622-1.c) PR target/22223 * config/alpha/alpha.c (alpha_start_function): Don't emit stack frame information for frames larger than 512 Kbytes on Tru64 when using the native assembler. From-SVN: r116895
2006-09-12c-torture.exp (c-torture-compile, [...]): Treat $srcdir as a literal.Kazu Hirata5-7/+17
* lib/c-torture.exp (c-torture-compile, c-torture-execute): Treat $srcdir as a literal. * lib/fortran-torture.exp (fortran-torture-compile, fortran-torture-execute): Likewise. * lib/objc-torture.exp (objc-torture-compile, objc-torture-execute): Likewise. * lib/profopt.exp (profopt-execute): Likewise. From-SVN: r116894
2006-09-12re PR libffi/23935 ($PREFIX/include/ffi.h needs to go to a target- and ↵David Daney6-56/+6455
-version-dependent location) PR libffi/23935 * include/Makefile.am: Install both ffi.h and ffitarget.h in $(libdir)/gcc/$(target_alias)/$(gcc_version)/include. * aclocal.m4: Regenerated for automake 1.9.6. * Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. From-SVN: r116893
2006-09-12* testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.Tom Tromey2-5/+5
From-SVN: r116892
2006-09-12re PR middle-end/4520 (cselib.c hash_rtx incorrectly hashes based on rtx ↵Roger Sayle2-5/+26
address) PR middle-end/4520 PR bootstrap/28784 * cselib.c (cselib_hash_rtx): Avoid hashing on the address of labels and symbols. Instead use the implementation from cse.c's hash_rtx. From-SVN: r116891
2006-09-12re PR java/28754 (java.lang.nullPointerException while accessing final ↵Tom Tromey2-1/+12
static members of an interface) PR java/28754: * expr.c (expand_java_field_op): Initialize field's declaring interface if necessary. From-SVN: r116890
2006-09-12re PR java/28892 (assignment to static field not in class initializer)Tom Tromey2-15/+10
PR java/28892: * expr.c (expand_java_field_op): No error for assignments not in class initializer or constructor. From-SVN: r116889
2006-09-12re PR middle-end/28071 (A file that can not be compiled in reasonable ↵Jan Hubicka10-38/+69
time/space) PR rtl-optimization/28071 * tree-vect-transform.c (vect_create_data_ref_ptr): Kill cast. (vect_transform_loop): Likewise. * tree-vectorizer.c (new_loop_vec_info): Likewise. (new_loop_vec_info): Likewise. (destroy_loop_vec_info): Likewise. * tree-dfa.c (create_var_ann): Use GCC_CNEW. (create_stmt_ann): Likewise. (create_tree_ann): Rename to ... (create_tree_common_ann): ... this one; allocate only the common part of annotations. * tree-vn.c (set_value_handle): Use get_tree_common_ann. (get_value_handle): Likewise. * tree-ssa-pre.c (phi_translate): Delay annotation allocation for get_tree_common_ann. * tree-vectorizer.h (set_stmt_info): Take stmt annotation. (vinfo_for_stmt): Use stmt annotations. * tree-flow.h (tree_ann_common_t): New type. (tree_common_ann, get_tree_common_ann, create_tree_common_ann): New. (tree_ann, get_tree_ann, create_tree_ann): New. * tree-flow-inline.h (get_function_ann): Do more type checking. (stmt_ann): Likewise. (tree_ann): Rename to ... (tree_common_ann): ... this one; return ony common_ann (get_tree_ann): Rename to ... (tree_common_ann): This one; return only common_ann. * tree-vect-patterns.c (vect_pattern_recog_1): Update call of set_stmt_info. From-SVN: r116886
2006-09-12Fix some whitespace issues in the changelog.Andrew Pinski1-14/+14
From-SVN: r116883
2006-09-12Fix some whitespace issues in the changelog.Andrew Pinski1-18/+18
From-SVN: r116882
2006-09-12Fix some whitespace issues in the changelog.Andrew Pinski1-42/+42
From-SVN: r116881
2006-09-12Fix some whitespace issues in the changelog.Andrew Pinski1-11/+11
From-SVN: r116880
2006-09-12Fix some whitespace issues in the changelog.Andrew Pinski1-6/+6
From-SVN: r116879
2006-09-12Fix some whitespace issues in the changelog.Andrew Pinski1-5/+5
From-SVN: r116878
2006-09-12Fix some whitespace issues in the changeLog.Andrew Pinski1-4/+4
From-SVN: r116877
2006-09-12Fix some white space issues in the changelog.Andrew Pinski1-12/+12
From-SVN: r116876
2006-09-12Fix white space issues in the ChangeLog.Andrew Pinski1-3/+3
From-SVN: r116875
2006-09-12config.gcc (i[34567]86-*-darwin*): Set with_arch and with_cpu by default.Geoffrey Keating2-0/+10
* config.gcc (i[34567]86-*-darwin*): Set with_arch and with_cpu by default. From-SVN: r116874
2006-09-12dwarf2out.c (dwarf_file_data): New.Geoffrey Keating4-218/+337
* dwarf2out.c (dwarf_file_data): New. (enum dw_val_class): Add dw_val_class_file. (struct dw_val_struct): Add val_file. (file_table): Change to a hash table. (file_table_emitted): Delete. (file_table_last_lookup_index): Delete. (emitcount): Delete. (last_emitted_file): New. (lookup_filename): Change prototype to return a struct dwarf_file_data. (init_file_table): Delete. (maybe_emit_file): Change prototype to take a struct dwarf_file_data. (AT_addr): Add comment. (add_AT_file): New. (AT_file): New. (get_AT_file): New. (print_die): Handle dw_val_class_file. (print_dwarf_line_table): Update for new file table structure. (attr_checksum): Do checksum a filename. (same_dw_val_p, same_attr_p): Do compare a filename. (size_of_die): Handle dw_val_class_file. (value_format): Likewise. (output_die): Likewise. Also, call maybe_emit_file here. (struct file_info): Constify filenames. Make file_idx a pointer to a struct dwarf_file_data. (struct dir_info): Constify directory names. Remove 'used' field. (struct file_name_acquire_data): New. (file_name_acquire): New. (output_file_names): Modify to handle new file data structures. (add_src_coords_attributes): Use add_AT_file. (add_call_src_coords_attributes): Likewise. (dwarf2out_imported_module_or_decl): Likewise. (gen_subprogram_die): Modify for new file data structures. (gen_variable_die): Likewise. (file_table_eq): New. (file_table_hash): New. (file_table_last_lookup): New. (lookup_filename): Rewrite to handle new file data structures. (maybe_emit_file): Rewrite to handle new file data structures. (dwarf2out_source_line): Always call lookup_filename and maybe_emit_file. (dwarf2out_init): Create file_table here. (prune_unused_types_walk_attribs): Don't call maybe_emit_file here. (file_table_relative_p): New. (dwarf2out_finish): Change detection of relative filenames to work with new file data structures. Move output_line_info call after debug_info output. From-SVN: r116873
2006-09-12re PR testsuite/28950 (regex wrong for testing on darwin in ↵Jack Howarth2-2/+7
gcc/testsuite/gcc.target/powerpc/ppc-and-1.c) 2006-09-11 Jack Howarth <howarth@bromo.med.uc.edu> PR testsuite/28950 * gcc.target/powerpc/ppc-and-1.c: Fix regex. From-SVN: r116867
2006-09-12Daily bump.GCC Administrator1-1/+1
From-SVN: r116865
2006-09-11intrinsic.c: Update Copyright date.Steven G. Kargl3-3/+8
2006-09-11 Steven G. Kargl <kargl@gcc.gnu.org> * intrinsic.c: Update Copyright date. * intrinsic.h: Ditto. From-SVN: r116861
2006-09-11re PR target/13685 (Building simple test application with -march=pentium3 ↵H.J. Lu4-6/+56
-Os gives SIGSEGV (unaligned sse instruction)) gcc/ 2006-09-11 H.J. Lu <hongjiu.lu@intel.com> PR target/13685 PR target/27537 PR target/28621 * config/i386/i386.c (override_options): Always default to 16 byte stack boundary. gcc/testsuite/ 2006-09-11 H.J. Lu <hongjiu.lu@intel.com> PR target/13685 * gcc.target/i386/pr13685.c: New test. From-SVN: r116860
2006-09-11re PR target/28672 (Gcc went into infinite loop when building libstdc++)Alexandre Oliva2-3/+35
2006-09-11 Alexandre Oliva <aoliva@redhat.com> PR target/28672 * var-tracking.c (dump_dataflow_set): Start dumping at register zero. (clobber_variable_part): Kill only the variable part in registers holding it, leaving other variables alone. From-SVN: r116859
2006-09-11extend.texi (Other Builtins): Actually use the macro argument in the ↵Josh Triplett2-1/+7
documentation example for... 2006-09-11 Josh Triplett <josh@freedesktop.org> * doc/extend.texi (Other Builtins): Actually use the macro argument in the documentation example for __builtin_types_compatible_p. From-SVN: r116858
2006-09-11re PR rtl-optimization/28726 (-fsched2-use-superblock produces wrong code)Eric Botcazou4-90/+131
PR rtl-optimization/28726 * sched-deps.c (sched_analyze_reg): New function extracted from... (sched_analyze_1): ...here. Call it to analyze references to registers. Treat again writes to a stack register as writing to the register. (sched_analyze_2): ...and here. Call it to analyze references to registers. Treat again reads of a stack register as reading the register. From-SVN: r116855
2006-09-11nrv3.c: Increase size of structure.Josh Conner4-3/+9
* gcc.dg/nrv3.c: Increase size of structure. * gcc.dg/nrv4.c: Likewise. * gcc.dg/nrv5.c: Likewise. From-SVN: r116854
2006-09-11re PR classpath/28580 (HTTP HEAD fails on chuncked encoding)David Daney2-3/+20
PR classpath/28580 * gnu/java/net/protocol/http/Request.java (readResponse): Call createResponseBodyStream in more cases and with new parameter. (createResponseBodyStream): Added new parameter mayHaveBody. Handle HEAD and !mayHaveBody responses specially. From-SVN: r116853
2006-09-11re PR target/27287 (returning constant double)Guenter Roeck2-7/+32
2006-09-11 Guenter Roeck <guenter@roeck-us.net> David Edelsohn <edelsohn@gnu.org> PR target/27287 * config/rs6000/spe.md (frob_df_di): Remove %H. (frob_di_df): Remove %H. Change evmergelo to mr. (frob_di_df_2): Remove %H. Change evldd to two loads. Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r116850
2006-09-11cpp.texi: Fix names of charset options.Hideki Iwamoto2-1/+5
gcc/ 2006-09-11 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp> * doc/cpp.texi: Fix names of charset options. From-SVN: r116841
2006-09-11re PR fortran/28890 (ICE on write)Paul Thomas5-6/+83
2006-09-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/28890 trans-expr.c (gfc_conv_function_call): Obtain the string length of a dummy character(*) function from the symbol if it is not already translated. For a call to a character(*) function, use the passed, hidden string length argument, which is available from the backend_decl of the formal argument. resolve.c (resolve_function): It is an error if a function call to a character(*) function is other than a dummy procedure or an intrinsic. 2006-09-11 Paul Thomas <pault@gcc.gnu.org> PR libfortran/28890 gfortran.dg/assumed_charlen_function_5.f90: New test. From-SVN: r116839
2006-09-11re PR c++/28991 (Static constructor emitted instead of initialized variable)Mark Mitchell6-0/+56
PR c++/28991 * cp-objcp-common.c (cxx_staticp): New function. * cp-objcp-common.h (LANG_HOOOKS_STATICP): Use it. * cp-tree.h (cxx_staticp): New function. PR c++/289991 * g++.dg/init/static3.C: New test. From-SVN: r116838
2006-09-11Daily bump.GCC Administrator1-1/+1
From-SVN: r116836
2006-09-10re PR testsuite/29007 (FAIL: gcc.dg/long-long-cst1.c execution test)Andrew Pinski2-1/+9
2006-09-10 Andrew Pinski <pinskia@physics.uc.edu> PR testsuite/29007 * gcc.dg/long-long-cst1.c (t): Add cast to __SIZE_TYPE__ before casting to int. (main): Return 0 on success. From-SVN: r116832
2006-09-10re PR target/29009 (ice in kernel build)Andrew Pinski2-1/+8
2006-09-10 Andrew Pinski <pinskia@physics.uc.edu> PR target/29009 * config/i386/i386.c (override_options): Use 128-bit stack boundary always for 64bits. From-SVN: r116831
2006-09-10re PR rtl-optimization/28636 (Miscompiled loop)Eric Botcazou4-12/+63
PR rtl-optimization/28636 * combine.c (force_to_mode): Test for side-effects before substituting by zero. (simplify_shift_const): Likewise for zero or other constants. From-SVN: r116827
2006-09-10re PR middle-end/26983 (Missing label with builtin_setjmp/longjmp)Steven Bosscher4-0/+36
PR middle-end/26983 gcc/ * builtins.c (expand_builtin_setjmp): Force next_lab to be preserved. testsuite/ * gcc.dg/pr26983.c: New test. From-SVN: r116826
2006-09-10re PR target/29006 (Incorrect zeroing of unaligned 64-bit fields on MIPS ↵Richard Sandiford6-6/+43
targets) gcc/ PR target/29006 * config/mips/mips-protos.h (mips_mem_fits_mode_p): Declare. * config/mips/mips.c (mips_expand_unaligned_store): Use the mode returned by mode_for_size, rather than the mode of src itself, to choose between 32-bit and 64-bit patterns. (mips_mem_fits_mode_p): New function. * config/mips/mips.md (mov_<load>l, mov_<load>r): Use it to check that the size of the source matches the size of the destination. (mov_<store>l, mov_<store>r): Likewise. gcc/testsuite/ PR target/29006 * gcc.c-torture/execute/pr29006.c: New test. From-SVN: r116822