- 12 Mar, 2007 22 commits
-
-
* gcc.c (main): Handle target_sysroot_hdrs_suffix being NULL for some multilibs. From-SVN: r122865
Joseph Myers committed -
2007-03-12 Kyle Galloway <kgallowa@redhat.com> * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count as a sigle slot. From-SVN: r122864
Kyle Galloway committed -
2007-03-12 Kyle Galloway <kgallowa@redhat.com> * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count as a sigle slot. From-SVN: r122863
Kyle Galloway committed -
PR 30635 * doc/install.texi: Document --enable-stage1-languages From-SVN: r122861
Brooks Moses committed -
2007-03-12 Marco Trudel <mtrudel@gmx.ch> * java/lang/natString.cc (getBytes (jstring enc)): Fixed the loop for multiple cycles, Code cleanup From-SVN: r122859
Marco Trudel committed -
* tree-pass.h (pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode): Declare. * cfglayout.c (into_cfg_layout_mode, outof_cfg_layout_mode, pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode): New. * passes.c (pass_into_cfg_layout_mode): Schedule before jump2. (pass_outof_cfg_layout_mode): Schedule after pass_rtl_ifcvt. From-SVN: r122858
Steven Bosscher committed -
From-SVN: r122856
Brooks Moses committed -
fixincludes/ * Makefile.in: Add dummy "install-info" target. <toplevel> * Makefile.def (fixincludes): Remove unneeded "missing" lines. * Makefile.in: Regenerate From-SVN: r122855
Brooks Moses committed -
ChangeLog: 2007-03-12 Seongbae Park <seongbae.park@gmail.com> * gcc/doc/invoke.texi (Wvla): New warning. gcc/ChangeLog: 2007-03-12 Seongbae Park <seongbae.park@gmail.com> * c-decl.c (warn_variable_length_array): New function. Refactored from grokdeclarator to handle warn_vla and handle unnamed array case. (grokdeclarator): Refactored VLA warning case. * c.opt (Wvla): New flag. gcc/cp/ChangeLog: 2007-03-12 Seongbae Park <seongbae.park@gmail.com> * decl.c (compute_array_index_type): New warning flag warn_vla. gcc/testsuite/ChangeLog: 2007-03-12 Seongbae Park <seongbae.park@gmail.com> * gcc.dg/wvla-1.c: New test * gcc.dg/wvla-2.c: New test * gcc.dg/wvla-3.c: New test * gcc.dg/wvla-4.c: New test * gcc.dg/wvla-5.c: New test * gcc.dg/wvla-6.c: New test * gcc.dg/wvla-7.c: New test * g++.dg/warn/Wvla-1.C: New test * g++.dg/warn/Wvla-2.C: New test * g++.dg/warn/Wvla-3.C: New test From-SVN: r122851
Seongbae Park committed -
* config/alpha/alpha.c (alpha_elf_section_type_flags): New. (TARGET_SECTION_TYPE_FLAGS): New. From-SVN: r122850
Richard Henderson committed -
* config/darwin.c (machopic_reloc_rw_mask): New. * config/darwin-protos.h (machopic_reloc_rw_mask): Declare. * config/darwin.h (TARGET_ASM_RELOC_RW_MASK): New. From-SVN: r122846
Richard Henderson committed -
PR c++/30108 * call.c (convert_default_arg): Copy non-constant arguments. PR c++/30108 * g++.dg/other/default6.C: New test. From-SVN: r122844
Mark Mitchell committed -
* cppdefault.c (cpp_EXEC_PREFIX): New variable. * cppdefault.h (cpp_PREFIX): Document. (cpp_PREFIX_len): Likewise. (cpp_EXEC_PREFIX): New variable. * Makefile.in (PREPROCESSOR_DEFINES): Add STANDARD_EXEC_PREFIX. * c-incpath.c (add_standard_paths): Correct logic for relocating paths within prefix. From-SVN: r122843
Mark Mitchell committed -
2007-03-12 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algo.h (swap_ranges): Move... * include/bits/stl_algobase.h: ... here. * include/tr1/array: Trim includes, stl_algobase.h is enough. From-SVN: r122840
Paolo Carlini committed -
i386.md (fixuns_trunc<mode>hi2): Implement from fixuns_truncsfhi2 and fixuns_truncdfhi2 using SSEMODEF mode macro. * config/i386/i386.md (fixuns_trunc<mode>hi2): Implement from fixuns_truncsfhi2 and fixuns_truncdfhi2 using SSEMODEF mode macro. (fix_trunc<mode>di_sse): Implement from fix_truncsfdi_sse and fix_truncdfdi_sse using SSEMODEF mode macro. (fix_trunc<mode>si_sse): Implement from fix_truncsfsi_sse and fix_truncdfsi_sse using SSEMODEF mode macro. (fix_trunc?f?i_sse peephole2): Implement using SSEMODEF mode macro. (fix_trunc?f?i_sse K8 peephole2): Fix register constraint. From-SVN: r122839
Uros Bizjak committed -
gcc/testsuite/ * lib/target-supports.exp (check_profiling_available): Return false for VxWorks. (check_effective_target_vxworks_kernel): New procedure. * gcc.dg/20040813-1.c: Extend list of stabless targets to include VxWorks. * gcc.dg/builtins-config.h: Do not define HAVE_C99_RUNTIME on VxWorks. * gcc.dg/intmax_t-1.c: Extend the list of targets without inttypes.h to include VxWorks. * gcc.dg/vxworks/initpri2.c: Require vxworks_kernel. From-SVN: r122838
Richard Sandiford committed -
gcc/ * config.gcc (i[4567]86-wrs-vxworks, i[4567]86-wrs-vxworksae): Add elfos.h to tm_file. From-SVN: r122837
Richard Sandiford committed -
gcc/testsuite/ * gcc.c-torture/compile/981006-1.c: Use the non-PIC options if PIC is not supported. * gcc.dg/20020103-1.c: Add dg-require-effective-target fpic. * gcc.dg/20020426-2.c: Likewise. * gcc.dg/pr28243.c: Likewise. * gcc.dg/visibility-11.c: Likewise. * gcc.dg/tls/opt-9.c: Likewise. * gcc.dg/tls/opt-10.c: Likewise. * gcc.dg/tls/pic-1.c: Likewise. * gcc.dg/tls/struct-1.c: Likewise. * gcc.target/i386/20000807-1.c: Likewise. * gcc.target/i386/20000904-1.c: Likewise. * gcc.target/i386/20011119-1.c: Likewise. * gcc.target/i386/990213-2.c: Likewise. * gcc.target/i386/990214-1.c: Likewise. * gcc.target/i386/compress-float-387-pic.c: Likewise. * gcc.target/i386/compress-float-sse-pic.c: Likewise. * gcc.target/i386/pic-1.c: Likewise. * gcc.target/i386/pr21518.c: Likewise. * gcc.target/i386/pr23098.c: Likewise. * gcc.target/i386/pr23943.c: Likewise. From-SVN: r122836
Richard Sandiford committed -
From-SVN: r122835
Olga Golovanevsky committed -
From-SVN: r122832
Brooks Moses committed -
PR c++/30328 * semantics.c (finish_typeof): Use unlowered_expr_type. PR c++/30328 * g++.dg/ext/bitfield1.C: New test. PR c++/31038 * parser.c (cp_parser_postfix_expression): Disallow compound literals in constant expressions. PR c++/31038 * g++.dg/template/complit2.C: New test. From-SVN: r122829
Mark Mitchell committed -
From-SVN: r122827
GCC Administrator committed
-
- 11 Mar, 2007 9 commits
-
-
2007-03-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/30883 * parse.c (parse_interface): Use the default types from the formal namespace if a function or its result do not have a type after parsing the specification statements. 2007-03-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/30883 * gfortran.dg/interface_11.f90: New test. From-SVN: r122822
Paul Thomas committed -
re PR middle-end/31115 (libstdc++ 22_locale/num_get/get/char/2.cc 27_io/basic_ostream/inserters_arithmetic/char/6.cc) 2007-03-11 Richard Guenther <rguenther@suse.de> PR tree-optimization/31115 * tree-vrp.c (extract_range_from_binary_expr): Make sure the shift count is positive and non-anti-range for RSHIFT_EXPR. A shift count of zero is not special as with *_DIV_EXPR. (vrp_int_const_binop): Handle RSHIFT_EXPR for determining overflow direction. * gcc.dg/torture/pr31115.c: New testcase. From-SVN: r122821
Richard Guenther committed -
tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and the *_DIV_EXPR codes correctly with overflow infinities. * tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and the *_DIV_EXPR codes correctly with overflow infinities. From-SVN: r122820
Ian Lance Taylor committed -
2007-03-11 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (final) * include/std/iosfwd: Do not include <bits/c++io.h>. * config/io/basic_file_stdio.h: Do it here. * include/ext/stdio_sync_filebuf.h: Likewise. * include/ext/rope: Include <bits/gthr.h> unconditionally. * include/std/fstream: Do not include <bits/gthr.h>. * include/std/ios: Do not include <cstdio>. * include/bits/ios_base.h: Do it here. * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error line numbers. * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. From-SVN: r122818
Paolo Carlini committed -
tree-data-ref.c (analyze_offset): Add a return value (bool) to indicate success/failure of the analysis. * tree-data-ref.c (analyze_offset): Add a return value (bool) to indicate success/failure of the analysis. Add negation to subtrahend in case of subtraction. Fail if both operands contain constants. (create_data_ref): Fail if analyze_offset fails. From-SVN: r122817
Ira Rosen committed -
From-SVN: r122816
Uros Bizjak committed -
* config/i386/i386.md (frndintxf2): Rename to ... (rintxf2): ... this. Remove expander having same name. (rintsf2, rintdf2): Implement using SSEMODEF macro. (roundsf2, rounddf2): Ditto. (lrint<mode>di2, lrint<mode>si2): Implement using SSEMODEI24 macro. (lround<mode>di2, lround<mode>si2): Ditto. From-SVN: r122815
Uros Bizjak committed -
PR c++/30274 * cp-tree.h (unlowered_expr_type): New function. * typeck.c (is_bitfield_expr_with_lowered_type): Handle COMPOUND_EXPR, MODIFY_EXPR, and SAVE_EXPR. (unlowered_expr_type): New function. (build_unary_op): Disallow predecrements of bool bitfields. * call.c (build_conditional_expr): Use unlowered_expr_type. * pt.c (type_unification_real): Likewise. PR c++/30274 * g++.dg/expr/bitfield3.C: New test. * g++.dg/expr/bitfield4.C: Likewise. * g++.dg/expr/bitfield5.C: Likewise. * g++.dg/expr/bitfield6.C: Likewise. From-SVN: r122813
Mark Mitchell committed -
From-SVN: r122810
GCC Administrator committed
-
- 10 Mar, 2007 9 commits
-
-
* lower-subreg.c: Include except.h. (decompose_multiword_subregs): Verify that the only control flow insns we can split are loads to multi-words pseudos. Handle breaking such blocks after splitting, instead of calling find_many_sub_basic_blocks. * loop-unroll.c (split_edge_and_insert): Don't set BB_SUPERBLOCK on the new basic block. Add a lengthy comment explaining why we thought this was necessary. * cfglayout.c (cfg_layout_finalize): Don't break superblocks. From-SVN: r122807
Steven Bosscher committed -
2007-03-10 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * include/std/memory: Move C++03 implementation... * include/bits/stl_memory.h: ... here, new. * include/Makefile.am: Add. * include/bits/stl_tempbuf.h: Include the latter instead. * include/tr1/hashtable: Include allocator.h instead of the whole <memory>. * include/tr1/hashtable_policy.h: Include stl_function.h instead of <functional>. * include/Makefile.in: Regenerate. * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error line numbers. From-SVN: r122805
Paolo Carlini committed -
From-SVN: r122804
Mark Mitchell committed -
PR c++/20924 * tree.c (walk_type_fields): Recurse into the element type of ARRAY_TYPEs if there is a pointer set. PR c++/20924 * g++.dg/template/array18.C: New test. From-SVN: r122801
Mark Mitchell committed -
2007-03-10 Dirk Mueller <dmueller@suse.de> * c-common.c (warn_logical_operator): Fix condition. From-SVN: r122800
Dirk Mueller committed -
2007-03-10 Dirk Mueller <dmueller@suse.de> * gcc.dg/Wlogical-op-1.c: Remove duplicated part. * g++.dg/warn/Wlogical-op-1.C: Remove duplicated part. From-SVN: r122799
Dirk Mueller committed -
2007-03-10 Dirk Mueller <dmueller@suse.de> PR c++/17946 * gcc.dg/Wlogical-op-1.c: Remove duplicated part. * g++.dg/warn/Wlogical-op-1.C: Remove duplicated part. From-SVN: r122798
Dirk Mueller committed -
From-SVN: r122797
Tobias Schlüter committed -
* config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Add missing quotation mark. * config/i386/darwin.c (machopic_select_section): Remove superfluous argument in call to categorize_decl_for_section. Remove unused variable shlib. From-SVN: r122796
Tobias Schlüter committed
-