Commit Graph

83118 Commits

Author SHA1 Message Date
Ben Elliston
731c68a204 * Makefile.in (c-opts.o): Add $(TM_P_H) as a dependency.
From-SVN: r128071
2007-09-04 19:48:04 +10:00
Ben Elliston
0b2dffe116 * c-opts.c: Include "tm_p.h".
From-SVN: r128070
2007-09-04 19:33:40 +10:00
Uros Bizjak
8d67c58f94 sse4a-check.h: New file.
* gcc.target/i386/sse4a-check.h: New file.
	* gcc.target/i386/sse4a-extract.c: Include sse4a-check.h. Remove main.
	* gcc.target/i386/sse4a-insert.c: Ditto.
	* gcc.target/i386/sse4a-montsd.c: Ditto.
	* gcc.target/i386/sse4a-montss.c: Ditto.
	* gcc.target/i386/mmx-check.h: New file.
	* gcc.target/i386/mmx-4.c: Include mmx-check.h. Remove main.
	* gcc.target/i386/builtin-apply-mmx.c: Ditto.
	* gcc.target/i386/sse-check.h: New file.
	* gcc.target/i386/pr13685: Include sse-check.h. Remove main.
	* gcc.target/i386/sse-3.c: Ditto.
	* gcc.target/i386/sse-7.c: Ditto.
	* gcc.target/i386/sse-9.c: Ditto.
	* gcc.target/i386/ssefn-3.c: Ditto.
	* gcc.target/i386/sse-recip.c: Ditto.
	* gcc.target/i386/sse-recip-vec.c: Ditto.
	* gcc.target/i386/20020523.c: Ditto. Rename from 20020523-2.c.
	* gcc.target/i386/20020523-1.c: Remove.
	* gcc.target/i386/sse2-lrint-vec.c: Include sse2-check.h. Remove main.
	* gcc.target/i386/sse2-lrintf-vec.c: Ditto.
	* gcc.target/i386/ssefn-4.c: Ditto.
	* gcc.target/i386/sse-6.c: Ditto.
	* gcc.target/i386/sse-10.c: Ditto.
	* gcc.target/i386/sse-11.c: Ditto.
	* gcc.target/i386/sse-18.c: Ditto.
	* gcc.target/i386/fpprec-1.c: Ditto.
	* g++.dg/other/i386-1.C: Ditto.

From-SVN: r128069
2007-09-04 11:02:56 +02:00
Richard Guenther
04d86531d7 re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 (ok with gcc-4.2.1))
2007-09-04  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/33291
	* tree-pretty-print.c (dump_generic_node): Dump all
	qualifiers for pointer types, not only first.  Dump
	qualifiers for aggregate types as well.
	* tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Always
	use the canonical type for building ARRAY_REFs.
	* gimplify.c (canonicalize_addr_expr): Clean up.  The
	correct validness check is compatibility of the pointer
	types.  Always use the canonical type for building
	ARRAY_REFs and ADDR_EXPRs.
	* tree-ssa-forwprop.c (forward_propagate_addr_expr): Revert
	change that disabled propagation of ADDR_EXPRs into statements
	with volatile ops.

	* gcc.dg/volatile2.c: New testcase.
	* gcc.dg/pr32721.c: Adjust volatile reference pattern.
	* gcc.dg/tree-ssa/forwprop-1.c: Remove xfail.
	* gcc.dg/tree-ssa/forwprop-2.c: Likewise.
	* gcc.dg/tree-ssa/pr17141-1.c: Likewise.

From-SVN: r128068
2007-09-04 08:38:56 +00:00
Zack Weinberg
fc7a6a0dfa * config/arm/arm.md (mulsidi3, umulsidi3, mulsi3_highpart)
(umulsi3_highpart): Make into expanders; existing insns are
	now named *[insn]_nov6.  Add stars to existing [insn]_v6
	counterparts' names.

From-SVN: r128067
2007-09-04 04:44:47 +00:00
Daniel Jacobowitz
72c6567431 * Makefile.in (DRIVER_DEFINES, gcc.o, gccspec.o, protoize.o)
(unprotoize.o): Remove SHLIB_MULTILIB.

	* Make-lang.in (jvspec.o): Remove SHLIB_MULTILIB.

	* Make-lang.in (g++spec.o): Remove SHLIB_MULTILIB.

	* Make-lang.in (gfortranspec.o): Remove SHLIB_MULTILIB.

From-SVN: r128066
2007-09-04 02:25:27 +00:00
GCC Administrator
1abaafd348 Daily bump.
From-SVN: r128064
2007-09-04 00:17:14 +00:00
Eric Weddington
79532d3472 * doc/extend.texi: Document progmem attribute for AVR.
From-SVN: r128061
2007-09-04 01:17:14 +04:00
Anatoly Sokolov
93976860d0 re PR target/28902 (Fix for "alingment of XXX is greater than maximum object alignment" on AVR)
PR target/28902
 	* config/avr/avr.h (TARGET_VTABLE_ENTRY_ALIGN): Define.

From-SVN: r128059
2007-09-04 00:35:10 +04:00
Zack Weinberg
a3324f269e optabs.c (expand_ffs): Initialize val and defined_at_zero to avoid warnings.
* optabs.c (expand_ffs): Initialize val and defined_at_zero
	to avoid warnings.

From-SVN: r128058
2007-09-03 19:53:02 +00:00
Jerry DeLisle
b356020960 re PR libfortran/33253 (namelist: reading back a string with apostrophe)
2007-09-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/33253
	* io/list_read.c (read_character): Use DELIM_APOSTROPHE and DELIM_QUOTE
	in check of first character in string.

From-SVN: r128057
2007-09-03 19:29:17 +00:00
Jerry DeLisle
ae6cd761c4 re PR libfortran/33253 (namelist: reading back a string with apostrophe)
2007-09-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/33253
	* gfortran.dg/namelist_15.f90: Update test.
	* gfortran.dg/namelist_24.f90: Update test.
	* gfortran.dg/namelist_38.f90: New test.

From-SVN: r128056
2007-09-03 19:27:48 +00:00
Maciej W. Rozycki
8d5c5e35a7 Makefile.am: Unify MIPS_IRIX and MIPS_LINUX into MIPS.
* Makefile.am: Unify MIPS_IRIX and MIPS_LINUX into MIPS.
* configure.ac: Likewise.
* Makefile.in: Regenerate.
* include/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* configure: Likewise.

From-SVN: r128055
2007-09-03 18:08:54 +00:00
Zack Weinberg
9cce5b20d6 optabs.c: Remove unnecessary forward declarations.
* optabs.c: Remove unnecessary forward declarations.
	(expand_unop_direct): New, broken out of expand_unop.
	(expand_doubleword_clz): New.
	(expand_ctz): Move above expand_ffs.  Use
	start_sequence, end_sequence, add_equal_note, and
	expand_unop_direct.  Add more commentary.
	(expand_ffs): Try both ctz optab and expand_ctz.
	Generate a test and branch if the hardware doesn't give us
	a useful value for input zero.  Style improvements similar to
	expand_ctz.

	* config/arm/arm.md (ffssi2, ctzsi2): Delete.

From-SVN: r128054
2007-09-03 17:48:44 +00:00
Paolo Carlini
d46c958bfa re PR libstdc++/33293 (inlining std::inner_product())
2007-09-03  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/33293
	* include/bits/stl_numeric.h (accumulate, inner_product):
	Add inline function-specifier.

From-SVN: r128053
2007-09-03 17:48:31 +00:00
Zack Weinberg
96a3900df6 config.gcc: Delete stanza for arm-semi-aof and armel-semi-aof targets.
* config.gcc: Delete stanza for arm-semi-aof and
	armel-semi-aof targets.
	* config/arm/arm-protos.h
	* config/arm/arm.c
	* config/arm/arm.h: Delete all #ifdef AOF_ASSEMBLER blocks;
	make all #ifndef AOF_ASSEMBLER blocks unconditional.  Also
	delete aof_pic_label and remove mention of AOF in comments.
	* config/arm/arm.md: Delete patterns used only for AOF assembly.
	* config/arm/aof.h
	* config/arm/semiaof.h
	* config/arm/t-semi: Delete file.

From-SVN: r128052
2007-09-03 17:11:32 +00:00
Kaveh R. Ghazi
b1d5455a5e system.h (CONST_CAST2, [...]): New macros for type-specific casts.
* system.h (CONST_CAST2, CONST_CAST_TREE, CONST_CAST_RTX,
	CONST_CAST_BB): New macros for type-specific casts.
	(CONST_CAST): Add a TYPE parameter and define it in terms of
	CONST_CAST2.

	* c-decl.c (c_make_fname_decl): Supply a TYPE for CONST_CAST.
	* c-lex.c (cb_ident, lex_string): Likewise,
	* c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise,
	* config/i386/i386.c (ix86_function_regparm,
	ix86_function_sseregparm): Use CONST_CAST_TREE.
	* config/mmix/mmix.c (mmix_encode_section_info): Supply a TYPE for
	CONST_CAST.
	* gcc.c (set_spec, read_specs, for_each_path, execute, do_spec_1,
	give_switch, set_multilib_dir): Likewise,
	* gengtype-parse.c (string_seq, typedef_name): Likewise,
	* gimple-low.c (block_may_fallthru): Use CONST_CAST_TREE.
	* jump.c (reversed_comparison_code_parts): Use CONST_CAST_RTX.
	* passes.c (execute_one_pass): Supply a TYPE for CONST_CAST.
	* prefix.c (update_path): Likewise,
	* pretty-print.c (pp_base_destroy_prefix): Likewise,
	* rtlanal.c (keep_with_call_p): Use CONST_CAST_RTX.
	* tree-cfg.c (tree_can_merge_blocks_p,
	tree_block_ends_with_condjump_p): Use CONST_CAST_BB.
	* tree-eh.c (lookup_stmt_eh_region_fn): USe CONST_CAST_TREE.
	* tree.c (build_string): Supply a TYPE for CONST_CAST.
	(attribute_list_contained): Use CONST_CAST_TREE.

cp:
	* call.c (name_as_c_string): Supply a TYPE for CONST_CAST.
	* decl.c (cp_make_fname_decl): Likewise,
	* parser.c (cp_parser_string_literal): Likewise,
	* tree.c (pod_type_p, zero_init_p): Use CONST_CAST_TREE.
	* typeck.c (cp_type_quals, cp_type_readonly, cp_has_mutable_p):
	Likewise,

fortran:
	* gfortranspec.c (lang_specific_driver): Use CONST_CAST2.
	* options.c (gfc_post_options): Supply a TYPE for CONST_CAST.
	* parse.c (parse_omp_structured_block): Likewise,
	* st.c (gfc_free_statement): Likewise,

java:
	* jcf-parse.c (read_class, java_parse_file): Supply a TYPE for
	CONST_CAST.
	* jcf.h (JCF_FINISH): Likewise.

From-SVN: r128051
2007-09-03 17:09:20 +00:00
Francois-Xavier Coudert
d74b97cc7e re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file)
PR fortran/31675

	* libgfortran.h: New file.
	* iso-fortran-env.def: Use macros in the new header instead of
	hardcoded integer constants.
	* Make-lang.in (F95_PARSER_OBJS, GFORTRAN_TRANS_DEPS): Add
	fortran/libgfortran.h.
	* gfortran.h (GFC_STD_*, GFC_FPE_*, options_convert,
	ioerror_codes): Remove.
	* trans.c (ERROR_ALLOCATION): Remove.
	(gfc_call_malloc, gfc_allocate_with_status,
	gfc_allocate_array_with_status): Use LIBERROR_ALLOCATION.
	* trans-types.h (GFC_DTYPE_*): Remove.
	* trans-decl.c (gfc_generate_function_code): Use
	GFC_CONVERT_NATIVE instead of CONVERT_NATIVE.
	* trans-io.c (set_parameter_value, set_parameter_ref): Use
	LIBERROR_* macros instead of IOERROR_ macros.
	* trans-intrinsic.c (gfc_conv_intrinsic_function): Use
	LIBERROR_END and LIBERROR_EOR instead of hardcoded constants.
	* options.c (gfc_init_options): Use GFC_CONVERT_NATIVE instead of
	CONVERT_NATIVE.
	(gfc_handle_option): Use GFC_CONVERT_* macros instead of CONVERT_*.

	* libgfortran.h: Include gcc/fortran/libgfortran.h.
	Remove M_PI, GFC_MAX_DIMENSIONS, GFC_DTYPE_*, GFC_NUM_RANK_BITS,
	error_codes, GFC_STD_*, GFC_FPE_* and unit_convert.
	* runtime/environ.c (variable_table): Use GFC_*_UNIT_NUMBER instead
	of hardcoded constants.
	(do_parse, init_unformatted): Use GFC_CONVERT_* macros instead of
	CONVERT_*.
	* runtime/string.c (find_option): Use LIBERROR_BAD_OPTION instead
	of ERROR_BAD_OPTION.
	* runtime/error.c (translate_error, generate_error): Use
	LIBERROR_* macros instead of ERROR_*.
	* io/file_pos.c (formatted_backspace, unformatted_backspace,
	st_backspace, st_rewind, st_flush): Rename macros.
	* io/open.c (convert_opt, edit_modes, new_unit, already_open,
	st_open): Likewise.
	* io/close.c (st_close): Likewise.
	* io/list_read.c (next_char, convert_integer, parse_repeat,
	read_logical, read_integer, read_character, parse_real,
	check_type, list_formatted_read_scalar, namelist_read,
	nml_err_ret): Likewise.
	* io/read.c (convert_real, read_l, read_decimal, read_radix,
	read_f): Likewise.
	* io/inquire.c (inquire_via_unit): Likewise.
	* io/unit.c (get_internal_unit): Likewise.
	* io/transfer.c (read_sf, read_block, read_block_direct,
	write_block, write_buf, unformatted_read, unformatted_write,
	formatted_transfer_scalar, us_read, us_write, data_transfer_init,
	skip_record, next_record_r, write_us_marker, next_record_w_unf,
	next_record_w, finalize_transfer, st_read, st_write_done):
	Likewise.
	* io/format.c (format_error): Likewise.

From-SVN: r128050
2007-09-03 16:44:15 +00:00
Krister Walfridsson
4392a547f5 * config/netbsd-elf.h (USE_LD_AS_NEEDED): Define.
From-SVN: r128049
2007-09-03 16:14:04 +00:00
Richard Sandiford
c722c7daaf re PR middle-end/33290 (gcc.c-torture/execute/930921-1.c fails at -O1 and above now)
gcc/
	PR middle-end/33290
	* optabs.c (avoid_expensive_constant): Canonicalize CONST_INTs
	before forcing them into a register.

From-SVN: r128048
2007-09-03 15:35:52 +00:00
Richard Sandiford
171cb6996f mips.md (fetchop_bit): Use define_code_iterator rather than define_code_macro.
gcc/
	* config/mips/mips.md (fetchop_bit): Use define_code_iterator
	rather than define_code_macro.

From-SVN: r128047
2007-09-03 15:33:51 +00:00
Francois-Xavier Coudert
47d3331890 gcc.c (xputenv): New function.
* gcc.c (xputenv): New function.
	(putenv_from_prefixes): Use xputenv instead of putenv.
	(process_command): Use xputenv instead of putenv.
	(set_collect_gcc_options): Use xputenv instead of putenv.
	(main): Use xputenv instead of putenv.

From-SVN: r128046
2007-09-03 15:24:48 +00:00
H.J. Lu
7ddb87782d no-tree-scev-cprop-vect-iv-1.c: Restored.
2007-09-03  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/vect/no-tree-scev-cprop-vect-iv-1.c: Restored.  Moved
	to ...
	* gcc.dg/vect/no-scevccp-vect-iv-1.c: New test.
	* gcc.dg/vect/no-tree-scev-cprop-vect-iv-2.c: Restored.  Moved
	to ...
	* gcc.dg/vect/no-scevccp-vect-iv-2.c: New test.
	* gcc.dg/vect/no-tree-scev-cprop-vect-iv-3.c: Restored.  Moved
	to ...
	* gcc.dg/vect/no-scevccp-vect-iv-3.c: New test.

From-SVN: r128045
2007-09-03 08:19:17 -07:00
Jesper Nilsson
9816d522ce builtin_bswap_v3.c: New testcase.
* gcc.target/cris/builtin_bswap_v3.c: New testcase.
	* gcc.target/cris/builtin_bswap_v8.c: New testcase.

From-SVN: r128044
2007-09-03 13:41:43 +00:00
Jesper Nilsson
df638b2780 cris.h (TARGET_HAS_SWAP): Defined to describe availability of swap instruction.
* config/cris/cris.h (TARGET_HAS_SWAP): Defined to describe
	availability of swap instruction.
	* config/cris/cris.md (bswapsi2): Implement using swap instruction.

From-SVN: r128043
2007-09-03 13:37:44 +00:00
Revital Eres
127494408f Update -fmodulo-sched-allow-regmoves documentation
From-SVN: r128041
2007-09-03 11:55:40 +00:00
Vladimir Yanovsky
c894383202 Change SMS behavior upon failure
Co-Authored-By: Ayal Zaks <zaks@il.ibm.com>
Co-Authored-By: Revital Eres <eres@il.ibm.com>

From-SVN: r128040
2007-09-03 11:50:45 +00:00
Jesper Nilsson
d4d96a5aef * gcc.dg/torture/cris-asm-mof-1.c: Skip if -march defined.
From-SVN: r128039
2007-09-03 11:38:28 +00:00
Nick Clifton
d70c0bd666 Make-lang.in: Change copyright header to refer to version 3 of the GNU General Public License...
* Make-lang.in: Change copyright header to refer to version 3 of the GNU
  General Public License and to point readers at the COPYING3 file and 
  the FSF's license web page.
* ada-tree.def, nmake.adt, nlists.h, snames.h, utils.c,
  Makefile.rtl, Makefile.in, config-lang.in, uintp.h, urealp.h,
  namet.h, decl.c, utils2.c, lang.opt, elists.h, atree.h, types.h,
  treeprs.adt, lang-specs.h, cuintp.c, stringt.h, gnatbl.c: Likewise.

From-SVN: r128038
2007-09-03 10:06:52 +00:00
David Daney
8d2fc1c481 mips.md (UNSPEC_COMPARE_AND_SWAP, [...]): New define_constants.
2007-09-02  David Daney  <ddaney@avtrex.com>

	* config/mips/mips.md (UNSPEC_COMPARE_AND_SWAP, UNSPEC_SYNC_OLD_OP,
	UNSPEC_SYNC_NEW_OP, UNSPEC_SYNC_EXCHANGE): New define_constants.
	(optab, insn): Add more attributes.
	(fetchop_bit): New code macro.
	(immediate_insn): New code macro attribute.
	(sync): Change condition to ISA_HAS_SYNC.
	(rdhwr): Change predicate for operand 0 to register_operand.
	(memory_barrier): New expand.
	(sync_compare_and_swap<mode>, sync_add<mode>, sync_sub<mode>,
	sync_old_add<mode>, sync_old_sub<mode>, sync_new_add<mode>,
	sync_new_sub<mode>, sync_<optab><mode>,	sync_old_<optab><mode>,
	sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>,
	sync_new_nand<mode>, sync_lock_test_and_set<mode>): New insns.
	* config/mips/mips.h (ISA_HAS_SYNC, ISA_HAS_LL_SC): New ISA predicates.
	(MIPS_COMPARE_AND_SWAP, MIPS_SYNC_OP, MIPS_SYNC_OLD_OP,
	MIPS_SYNC_NEW_OP, MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND,
	MIPS_SYNC_NEW_NAND, MIPS_SYNC_EXCHANGE): New Macros.
	
2007-09-02  David Daney  <ddaney@avtrex.com>
	* gcc.target/mips/gcc-have-sync-compare-and-swap-1.c: New test.
	* gcc.target/mips/gcc-have-sync-compare-and-swap-2.c: Ditto.
	* gcc.target/mips/atomic-memory-1.c: Ditto.
	* testsuite/gcc.target/mips/atomic-memory-2.c: Ditto.

From-SVN: r128037
2007-09-03 05:34:30 +00:00
Steven G. Kargl
200c50363b invoke.texi: Fix the -frange-checking option entry.
2007-09-02  Steven G. Kargl  <kargl@gcc.gnu.org>

        * invoke.texi: Fix the -frange-checking option entry.

From-SVN: r128036
2007-09-03 04:07:04 +00:00
Hans-Peter Nilsson
5c2e1082d5 Correct tested target
From-SVN: r128035
2007-09-03 01:04:22 +00:00
Jesper Nilsson
e636e50827 cris.h (TARGET_HAS_LZ, [...]): Defined to describe availability and behavior of CLZ.
* config/cris/cris.h (TARGET_HAS_LZ, CLZ_DEFINED_VALUE_AT_ZERO):
	Defined to describe availability and behavior of CLZ.
	* config/cris/cris.md (clzsi2): Implement using lz instruction.
	* config/cris/cris.opt: Tweak comment for "-metrax4".
	* config/cris/arit.c (LZ): When defined, define as __builtin_clz.
	* longlong.h [__CRIS__ && __CRIS_arch_version >= 3]
	(count_leading_zeros): Define.

Co-Authored-By: Hans-Peter Nilsson <hp@axis.com>

From-SVN: r128034
2007-09-03 00:47:30 +00:00
Jesper Nilsson
f568cd7be8 builtin_clz_v0.c: New testcase.
* gcc.target/cris/builtin_clz_v0.c: New testcase.
	* gcc.target/cris/builtin_clz_v3.c: New testcase.

From-SVN: r128033
2007-09-03 00:45:11 +00:00
GCC Administrator
f819c0c06b Daily bump.
From-SVN: r128031
2007-09-03 00:17:27 +00:00
Roger Sayle
f2449db41c decl.c (match_string_p): New helper function to explicitly match a string of characters.
* decl.c (match_string_p): New helper function to explicitly match
	a string of characters.
	(match_attr_spec): Remove no longer needed DECL_COLON from decl_types.
	Delete decls array and peek_char.  Rewrite decl attribute parser to
	avoid calling gfc_match_strings.
	* match.c (gfc_match_strings): Delete unused function.
	* match.h (gfc_match_strings): Delete prototype.

From-SVN: r128028
2007-09-02 17:44:37 +00:00
Tobias Schlüter
b35c5f019f dump-parse-tree.c (show_char_const): New function.
fortran/
* dump-parse-tree.c (show_char_const): New function.
(gfc_show_expr): Use it.
* expr.c (find_substring_ref): Rework to not keep characters
dangling beyond end of string.
testsuite/
* gfortran.dg/substr_6.f90: New test.

From-SVN: r128027
2007-09-02 17:04:11 +02:00
Paolo Carlini
3c83544d62 2007-09-02 Paolo Carlini <pcarlini@suse.de>
* Remove junk in ChangeLog.

From-SVN: r128026
2007-09-02 13:06:31 +00:00
Paolo Carlini
8bcebc69b8 re PR c++/33208 (Broken diagnostic: 'component_ref' not supported by dump_decl)
/cp
2007-09-02  Paolo Carlini  <pcarlini@suse.de>

	PR c++/33208
	* typeck.c (build_unary_op): Fix error message for
	Boolean expression as operand to operator--.

/testsuite
2007-09-02  Paolo Carlini  <pcarlini@suse.de>

	PR c++/33208
	* g++.dg/other/error18.C: New.
	* g++.dg/expr/bitfield3.C: Adjust.

From-SVN: r128025
2007-09-02 13:02:31 +00:00
H.J. Lu
669141025a re PR fortran/33276 (465.tonto in SPEC CPU 2006 fails to compile)
gcc/fortran/

2007-09-02  H.J. Lu  <hongjiu.lu@intel.com>

	PR fortran/33276
	* array.c (expand_iterator): Initialize frame.prev.

gcc/testsuite/

2007-09-02  H.J. Lu  <hongjiu.lu@intel.com>

	PR fortran/33276
	* gfortran.fortran-torture/compile/pr33276.f90: New.

From-SVN: r128024
2007-09-02 05:23:04 -07:00
Laurynas Biveinis
ead8827dd6 ggc-page.c (ggc_pch_read): Call validate_free_objects.
2007-09-01  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

	* ggc-page.c (ggc_pch_read): Call validate_free_objects.

From-SVN: r128023
2007-09-02 00:44:59 +00:00
GCC Administrator
1c19c4787e Daily bump.
From-SVN: r128021
2007-09-02 00:17:12 +00:00
Joseph Myers
b09869ff41 re PR middle-end/33272 (Compiler does not take advantage of restrict)
PR middle-end/33272
	* c-decl.c (grokdeclarator): Apply qualifiers to type of parameter
	decayed from array.

testsuite:
	* gcc.dg/c99-arraydecl-3.c: New test.

From-SVN: r128018
2007-09-02 01:11:20 +01:00
Kazu Hirata
15dc95cbcc arm.c, [...]: Fix comment typos.
* config/arm/arm.c, config/rs6000/ppu_intrinsics.h,
	config/spu/spu.c, df-scan.c, fixed-value.c, fold-const.c,
	ginclude/tgmath.h, haifa-sched.c, optabs.c, recog.c,
	sched-deps.c, sched-int.h, system.h, target.h,
	tree-ssa-live.c, tree-vect-transform.c, tree-vectorizer.c,
	tree.def: Fix comment typos.

From-SVN: r128016
2007-09-01 20:13:45 +00:00
Kazu Hirata
8785d88cf1 m68k.c (TARGET_DEFAULT_TARGET_FLAGS): Remove.
* config/m68k/m68k.c (TARGET_DEFAULT_TARGET_FLAGS): Remove.
	(override_options): Turn on -mstrict-align on non-ColdFire
	targets.
	* config/m68k/m68k.h (BIGGEST_ALIGNMENT): Update a comment.

From-SVN: r128015
2007-09-01 18:55:48 +00:00
Kaveh R. Ghazi
755478019a c-common.c (const_strip_array_types): Delete.
* c-common.c (const_strip_array_types): Delete.
	* c-common.h (const_strip_array_types): Likewise.
	* emit-rtl.c (const_next_insn, const_previous_insn,
	const_next_nonnote_insn, const_prev_nonnote_insn,
	const_next_real_insn, const_prev_real_insn,
	const_next_active_insn, const_prev_active_insn, const_next_label,
	const_prev_label): Delete.
	* gimple-low.c (block_may_fallthru): Use expr_last.
	* jump.c (reversed_comparison_code_parts): Use prev_nonnote_insn.
	* rtl.h (const_previous_insn, const_next_insn,
	const_prev_nonnote_insn, const_next_nonnote_insn,
	const_prev_real_insn, const_next_real_insn,
	const_prev_active_insn, const_next_active_insn, const_prev_label,
	const_next_label): Delete.
	* rtlanal.c (keep_with_call_p): Use next_nonnote_insn.
	* system.h (CONST_CAST): Update comment.
	* tree-cfg.c (tree_can_merge_blocks_p): Use last_stmt.
	(const_first_stmt, const_last_stmt): Delete.
	(tree_block_ends_with_condjump_p): Use last_stmt.
	* tree-flow.h (const_first_stmt, const_last_stmt): Delete.
	* tree-iterator.c (const_expr_first, const_expr_last,
	const_expr_only): Delete.
	* tree.c (const_lookup_attribute): Likewise.
	(attribute_list_contained): Use lookup_attribute.
	* tree.h (const_lookup_attribute, const_expr_first,
	const_expr_last, const_expr_only): Delete.
	
cp:
	* tree.c (pod_type_p, zero_init_p): Use strip_array_types.
	* typeck.c (cp_type_quals, cp_type_readonly, cp_has_mutable_p):
	Likewise.

From-SVN: r128014
2007-09-01 17:18:03 +00:00
Richard Guenther
b65e51a81f tree-ssa-alias.c (create_name_tags): Use TYPE_VOLATILE instead of TREE_THIS_VOLATILE.
2007-09-01  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-alias.c (create_name_tags): Use TYPE_VOLATILE
	instead of TREE_THIS_VOLATILE.
	* tree-ssa-operands.c (add_virtual_operand): Do not set
	has_volatile_ops.  Do not check s_ann for NULL.
	(get_indirect_ref_operands): Likewise.
	(get_expr_operands): Likewise.  For all reference trees
	set has_volatile_ops based on TREE_THIS_VOLATILE.  Also
	check base of reference for TREE_THIS_VOLATILE.

From-SVN: r128012
2007-09-01 09:07:17 +00:00
Richard Guenther
9822c455b9 tree-cfg.c (verify_gimple_expr): Fix check for conversions between integral types.
2007-09-01  Richard Guenther  <rguenther@suse.de>

	* tree-cfg.c (verify_gimple_expr): Fix check for conversions
	between integral types.  Also allow conversions between
	pointer types.

From-SVN: r128011
2007-09-01 09:05:05 +00:00
GCC Administrator
72e8c304e9 Daily bump.
From-SVN: r128008
2007-09-01 00:17:11 +00:00
Andrew Pinski
7fecf2c7db optabs.c (prepare_float_lib_cmp): Use libgcc_cmp_return_mode instead of word_mode.
2007-08-31  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * optabs.c (prepare_float_lib_cmp): Use
        libgcc_cmp_return_mode instead of word_mode.
        * config/dfp-bit.h: Likewise.
        * config/fp-bit.h: Likewise.
        * config/spu/spu.c (spu_libgcc_cmp_return_mode):
        New function.
        (spu_libgcc_shift_count_mode): New function.
        (TARGET_LIBGCC_CMP_RETURN_MODE): Define.
        (TARGET_LIBGCC_SHIFT_COUNT_MODE): Define.

From-SVN: r128005
2007-08-31 15:45:43 -07:00