- 05 Jan, 2005 10 commits
-
-
* arm.h (TARGET_OPTIONS): Correctly record -mhard-float and -msoft-float in target_float_switch. * arm.c (arm_override_options): Fix processing of target_float_switch. From-SVN: r92949
Richard Earnshaw committed -
* arm/vfp.md (arm_movsi_vfp): Hide VFP register classes from register preferencing. From-SVN: r92948
Richard Earnshaw committed -
istream.cc (basic_istream<char>::ignore(streamsize), [...]): At the end, first check _M_gcount vs __n. 2005-01-05 Paolo Carlini <pcarlini@suse.de> * src/istream.cc (basic_istream<char>::ignore(streamsize), basic_istream<char>::ignore(streamsize, int_type), basic_istream<wchar_t>::ignore(streamsize), basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end, first check _M_gcount vs __n. * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Likewise. * testsuite/27_io/basic_istream/ignore/char/4.cc: New. * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. From-SVN: r92947
Paolo Carlini committed -
cp: PR c++/19030 * cp-tree.h (start_decl): Take pointer to pushed scope, not bool. * name-lookup.h (push_scope): Return pushed scope, not flag. * name-lookup.c (push_scope): Return scope that should be popped, not a flag. * decl.c (start_decl): Adjust. (grokfndecl): Adjust scope push and pop. * decl2.c (check_classfn): Likewise. * parser.c (cp_parser_condition, cp_parser_conversion_function_id, cp_parser_init_declarator, cp_parser_direct_declarator, cp_parser_class_specifier, cp_parser_class_head, cp_parser_lookup_name, cp_parser_constructor_declarator_p): Likewise. * pt.c (instantiate_class_template, resolve_typename_type): Likewise. testsuite: PR c++/19030 * g++.dg/parse/crash22.C: New From-SVN: r92946
Nathan Sidwell committed -
invoke.texi (Intel 386 and AMD x86-64 Options): Replace i387 with 'i386 compiler' in -mfpmath=sse option. * doc/invoke.texi (Intel 386 and AMD x86-64 Options): Replace i387 with 'i386 compiler' in -mfpmath=sse option. From-SVN: r92943
Uros Bizjak committed -
From-SVN: r92930
Richard Henderson committed -
* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the sync_info element of the object if needed. From-SVN: r92922
Eric Botcazou committed -
* ifcvt.c (find_if_case_1): Avoid creating an empty forwarder block, if deleting the then-block allows the test-block to fallthru to the else-block. From-SVN: r92919
Roger Sayle committed -
2005-01-04 Andrew Pinski <pinskia@physics.uc.edu> PR c/19152 * c-decl.c (diagnose_mismatched_decls): Accept "extern inline" declared after the full declaration if the are in two different TUs. From-SVN: r92918
Andrew Pinski committed -
From-SVN: r92915
GCC Administrator committed
-
- 04 Jan, 2005 23 commits
-
-
2005-01-04 Richard Henderson <rth@redhat.com> PR tree-opt/19158 * tree-sra.c (generate_one_element_init): Just call gimplify_and_add. (generate_element_init): Record the new referenced variables and mark them for renaming and split out to ... (generate_element_init_1): This. (scalarize_init): Don't call push_gimplify_context/ pop_gimplify_context. From-SVN: r92911
Richard Henderson committed -
From-SVN: r92910
Geoffrey Keating committed -
* fold-const.c (fold_single_bit_test): Delete unreachable handling of TRUTH_NOT_EXPR. (fold): Don't call fold_single_bit_test with a TRUTH_NOT_EXPR, as all the cases handled by it are inverted by invert_truthvalue. From-SVN: r92909
Roger Sayle committed -
PR 19257 * gcc.dg/cpp/subframework1.c: Run only on Darwin. From-SVN: r92903
Geoffrey Keating committed -
* config/sparc/sparc.md (save_register_windowdi): Add missing mode. (save_register_windowsi): Likewise. From-SVN: r92902
Eric Botcazou committed -
From-SVN: r92901
Richard Henderson committed -
PR middle-end/17767 * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt any simplifications of vector mode comparison operators. * simplify-rtx.c (simplify_relational_operation): Fix variable name. testsuite: * gcc.dg/i386-mmx-6.c: New test case. From-SVN: r92896
Uros Bizjak committed -
gcc: 2005-01-04 Paolo Bonzini <bonzini@gnu.org> Devang Patel <dpatel@apple.com> PR tree-optimization/18308 * tree-if-conv.c (add_to_dst_predicate_list): Gimplify the operands before creating a new expression. * dojump.c (do_jump): Make drop_through_label available for all cases. Add expansion of COND_EXPR. gcc/testsuite: 2005-01-04 Paolo Bonzini <bonzini@gnu.org> * gcc.dg/vect/pr18308.c: New testcase. Co-Authored-By: Devang Patel <dpatel@apple.com> From-SVN: r92895
Paolo Bonzini committed -
2005-01-04 Ira Rosen <irar@il.ibm.com> * tree-vectorizer.c (vect_analyze_offset_expr): Test for INTEGER_CST instead of TREE_CONSTANT. (vect_gen_niters_for_prolog_loop): Test for INTEGER_CST instead of TREE_CONSTANT. (vect_analyze_pointer_ref_access): Test for INTEGER_CST instead of TREE_CONSTANT. From-SVN: r92894
Ira Rosen committed -
* tree-eh.c (replace_goto_queue): Return early if the queue is empty. From-SVN: r92893
Eric Botcazou committed -
From-SVN: r92892
Arnaud Charlet committed -
PR target/19240 * config/i386/i386.md (*fop_df_1_i387): Disable for TARGET_SSE_MATH. (*fop_df_1_i387): Disable for (TARGET_SSE2 && TARGET_SSE_MATH). From-SVN: r92891
Uros Bizjak committed -
* fold-const.c (force_fit_type): Cope with types larger than 2 HWI. (fold_convert_const_int_from_int, fold_convert_const_int_from_real, fold_convert_const_real_from_real): Split out from ... (fold_convert_const): ... here. From-SVN: r92890
Richard Henderson committed -
PR target/19235 * config/i386/i386.md (movdi_2): Separate SSE1 and SSE2 alternatives. (mov<MMXMODEI>_internal): Likewise. (movdf_nointeger): Prefer Y while not preferring, but allowing, x. Add V2SF case; use it for SSE1; don't use TI. (movdf_integer): Likewise. (mov<SSEMODEI>_internal, movti_internal): Force V4SF for SSE1. From-SVN: r92889
Richard Henderson committed -
2005-01-03 Ira Rosen <irar@il.ibm.com> * tree-vectorizer.c (vect_strip_conversions): New function. (vect_analyze_offset_expr): Call vect_strip_conversions. Add check for binary class. From-SVN: r92888
Ira Rosen committed -
From-SVN: r92887
Andreas Jaeger committed -
From-SVN: r92886
R. Kelley Cook committed -
2005-01-03 Geoffrey Keating <geoffk@apple.com> * files.c (_cpp_find_file): Add files found by search_path_exhausted to the list of all files. Index: gcc/testsuite/ChangeLog 2005-01-03 Geoffrey Keating <geoffk@apple.com> Robert Bowdidge <bowdidge@apple.com> * gcc.dg/cpp/subframework1.c: New. * gcc.dg/cpp/frame/one.framework/Frameworks/OneSub.framework/Headers/A.h: New. * gcc.dg/cpp/frame/one.framework/Frameworks/OneSub.framework/Headers/B.h: New. * gcc.dg/cpp/frame/one.framework/Frameworks/OneSub.framework/Headers/C.h: New. * gcc.dg/cpp/frame/one.framework/Headers/one-includeSubs.h: New. Co-Authored-By: Robert Bowdidge <bowdidge@apple.com> From-SVN: r92883
Geoffrey Keating committed -
2005-01-03 Daniel Berlin <dberlin@dberlin.org> Fix PR debug/17924 Fix PR debug/19191 * dwarf2out.c (block_ultimate_origin): Follow decl origin if origin is a decl. * gimple-low.c (mark_blocks_with_used_vars): New function. (mark_blocks_with_used_subblocks): Ditto. (mark_used_blocks): Ditto. (pass_mark_used_blocks): New pass. * tree-inline.c: Include debug.h. (expand_call_inline): Call outlining_inline_function here. * tree-optimize.c (init_tree_optimization_passes): Add pass_mark_used_blocks. * tree-pass.h (pass_mark_used_blocks): New. * Makefile.in (tree-inline.o): Add debug.h dependency. From-SVN: r92882
Daniel Berlin committed -
* testsuite/testsuite_hooks.cc: Use __throw_exception_again instead of just throw. From-SVN: r92881
Mark Mitchell committed -
* testsuite/testsuite_hooks.cc: Update coypright and follow style guidelines. * testsuite/testsuite_hooks.h: Likewise. * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use semaphores, not sleep. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. From-SVN: r92877
Mark Mitchell committed -
From-SVN: r92875
GCC Administrator committed -
From-SVN: r92872
Mark Mitchell committed
-
- 03 Jan, 2005 7 commits
-
-
2005-01-03 Geoffrey Keating <geoffk@apple.com> * config/darwin.c (darwin_handle_weak_import_attribute): Permit VAR_DECLs to have weak_import attribute. Index: testsuite/ChangeLog 2005-01-03 Geoffrey Keating <geoffk@apple.com> * gcc.dg/darwin-weakimport-1.c: Remove check for variables producing warning. * gcc.dg/darwin-weakimport-2.c: New. From-SVN: r92871
Geoffrey Keating committed -
* config/rs6000/darwin-fallback.c: Use 'ucontext_t' rather than 'struct ucontext'. From-SVN: r92870
Geoffrey Keating committed -
* passes.c (rest_of_compilation): Don't run regmove if only flag_expensive_optimizations, require flag_regmove instead. From-SVN: r92869
Steven Bosscher committed -
* arith.c: Add system.h; remove string.h * decl.c: Ditto * matchexp.c: Ditto * parse.c: Ditto * resolve.c: Ditto * st.c: Ditto * check.c: Remove stdlib.h and stdarg.h * error.c: Remove stdlib.h, stdarg.h, stdio.h, string.h * expr.c: Add system.h; remove stdarg.h, stdio.h, and string.h * f95-lang.c: Add system.h; remove stdio.h * interface.c: Add system.h; remove stdlib.h and string.h * intrinsic.c: Remove stdarg.h, stdio.h, and string.h * io.c: Remove string.h * simplify.c: Ditto * match.c: Remove stdarg.h and string.h * misc.c: Update copyright; add system.h; remove stdlib.h, string.h, and sys/stat.h * module.c: Add system.h; remove string.h, stdio.h, errno.h, unistd.h, and time.h * option.c: Remove string.h and stdlib.h * primary.c: Ditto * scanner.c: Update copyright; add system.h; remove stdlib.h, stdio.h, string.h, and strings.h * symbol.c: Add system.h; remove stdlib.h, stdio.h, and string.h * trans-array.c: Remove stdio.h and gmp.h * trans-const.c: Ditto * trans-expr.c: Ditto * trans-io.c: Ditto * trans-stmt.c: Ditto * trans.c: Ditto * trans-intrinsic.c: Remove stdio.h and string.h From-SVN: r92866
Steven G. Kargl committed -
* configure.ac: Check for sys/ipc.h and sys/sem.h. * config.h.in: Regenerated. * configure: Likewise. * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally define. (sys/types.h): Include. (sys/ipc.h): Likewise. (sys/sem.h): Likewise. (__gnu_test::semun): New type. (__gnu_test::semaphore::sempaphore): New function. (__gnu_test::semaphore::~semaphore): Likewise. (__gnu_test::semaphore::wait): Likewise. (__gnu_test::semaphore::signal): Likewise. * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class. * testsuite/27_io/basic_filebuf/close/char/4789.cc: Use semaphores, not sleep. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/wchar_t/9961-1.cc: Likewise. From-SVN: r92865
Mark Mitchell committed -
* config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not register "sparc". * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise. * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete. * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. From-SVN: r92864
Eric Botcazou committed -
From-SVN: r92863
Richard Henderson committed
-