- 05 Jan, 2005 16 commits
-
-
PR middle-end/19100 * c-common.c: Include real.h. (c_common_truthvalue_conversion): Avoid destructively modifying expr. Correctly handle TREE_CONSTANT_OVERFLOW for INTEGER_CST. Correctly handle TREE_CONSTANT_OVERFLOW and NaNs for REAL_CST. * Makefile.in (c-common.o): Update dependencies. * gcc.dg/conv-3.c: New test case. From-SVN: r92957
Roger Sayle committed -
From-SVN: r92956
Joseph Myers committed -
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child process. From-SVN: r92953
Mark Mitchell committed -
* c-parse.in (asm_string): New. Don't allow wide strings in 'asm'. (simple_asm_expr, asm_argument, asm_operand, asm_clobbers): Use asm_string instead of STRING. testsuite: * gcc.dg/asm-wide-1.c: New test. From-SVN: r92952
Joseph Myers committed -
* c-typeck.c (constructor_no_implicit): Remove. (set_designator, process_init_element): Don't check constructor_no_implicit. From-SVN: r92951
Joseph Myers committed -
PR target/16482 * lcm.c (create_pre_exit): New. (optimize_mode_switching): In MODE_ENTRY / MODE_EXIT case, set ENTRY_EXIT_EXTRA to 3. Use create_pre_exit. Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org> From-SVN: r92950
J"orn Rennecke committed -
* 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 1 commit
-
-
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
-