r123364 - in /branches/fixed-point: ./ configur...
chaoyingfu@gcc.gnu.org
chaoyingfu@gcc.gnu.org
Fri Mar 30 18:33:00 GMT 2007
Author: chaoyingfu
Date: Fri Mar 30 19:33:12 2007
New Revision: 123364
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123364
Log:
Merged revisions 123223-123240 via svnmerge from
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r123223 | steven | 2007-03-26 12:37:11 -0700 (Mon, 26 Mar 2007) | 30 lines
* ifcvt.c (noce_try_store_flag_constants): Don't check
no_new_pseudos here.
(noce_try_store_flag_constants): Don't check no_new_pseudos.
(noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove_arith,
noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
noce_try_sign_mask): Likewise.
(if_convert): Check no_new_pseudos here.
(cond_exec_process_if_block, noce_process_if_block, find_if_block):
Remove prototypes.
(struct noce_if_info): Add then_bb, else_bb, join_bb members.
(noce_get_condition): Handle new then_else_reversed argument.
(noce_init_if_info): Remove, fold into noce_find_if_block.
(noce_process_if_block): Take a struct noce_if_info as the
argument. Don't set up one based on ce_if_info. Update pointer
references accordingly.
(cond_move_process_if_block): Likewise.
(process_if_block): Removed.
(find_if_block): Removed. Move functionality two new functions,
noce_find_if_block and cond_exec_find_if_block.
(noce_find_if_block): New function. Be aware of IF-THEN-JOIN
blocks and the symmetric IF-ELSE-JOIN case.
(cond_exec_find_if_block): Also new function mostly based on old
find_if_block and process_if_block.
(find_if_header): Replace find_if_block call with separately
guarded calls to noce_find_if_block and cond_exec_find_if_block.
(find_cond_trap): Update noce_get_condition call.
(dead_or_predicable): Likewise.
........
r123224 | jsm28 | 2007-03-26 12:56:59 -0700 (Mon, 26 Mar 2007) | 3 lines
* tree-pretty-print.c (dump_generic_node): Report precision of
unnamed integer types.
........
r123225 | brooks | 2007-03-26 13:14:51 -0700 (Mon, 26 Mar 2007) | 20 lines
* gfortran.dg/func_derived_4.f90: Fix module cleanup.
* gfortran.dg/gomp/appendix-a/a.22.4.f90: Clean up modules.
* gfortran.dg/gomp/appendix-a/a.26.2.f90: Likewise.
* gfortran.dg/gomp/appendix-a/a.32.1.f90: Likewise.
* gfortran.dg/overload_1.f90: Likewise.
* gfortran.dg/impure_assignment_1.f90: Likewise.
* gfortran.dg/error_recovery_3.f90: Likewise.
* gfortran.dg/alloc_comp_basics_1.f90: Likewise.
* gfortran.dg/sequence_types_1.f90: Likewise.
* gfortran.dg/internal_references_1.f90: Likewise.
* gfortran.dg/present_1.f90: Likewise.
* gfortran.dg/volatile10.f90: Likewise.
* gfortran.dg/module_equivalence_2.f90: Likewise.
* gfortran.dg/use_4.f90: Likewise.
* gfortran.dg/elemental_result_1.f90: Likewise.
* gfortran.dg/generic_actual_arg.f90: Likewise.
* gfortran.dg/private_type_5.f90: Likewise.
* gfortran.dg/protected_4.f90: Likewise.
* gfortran.dg/interface_3.f90: Likewise.
........
r123226 | zack | 2007-03-26 13:45:01 -0700 (Mon, 26 Mar 2007) | 5 lines
* gengtype-lex.l: Remove all rules and states relating to yacc
input files.
* gengtype-yacc.y: Similarly.
* gengtype.c (note_yacc_type): Delete function.
* gengtype.h: Update prototypes.
........
r123227 | zack | 2007-03-26 13:46:29 -0700 (Mon, 26 Mar 2007) | 2 lines
* gengtype-lex.l: Remove rules for parsing pointer-to-function
typedefs that use the old PARAMS macro.
........
r123229 | zack | 2007-03-26 13:49:17 -0700 (Mon, 26 Mar 2007) | 15 lines
* vec.h: Remove all #if IN_GENGTYPE blocks.
Add comment saying that changes may require adjustments to gengtype.
* gengtype.c: Don't include coretypes.h or tm.h.
Add comment to inclusion of errors.h.
(note_def_vec, note_def_vec_alloc): New functions.
* gengtype.h: Declare new functions.
* gengtype-lex.l: Don't include coretypes.h.
(YY_INPUT, macro_input, push_macro_expansion, mangle_macro_name):
Delete.
(update_lineno): Remove unnecessary prototype.
(DEF_VEC_* rules): Simplify using note_def_vec / note_def_vec_alloc.
(VEC rule): Just return VEC_TOKEN.
* gengtype-yacc.y (VEC_TOKEN): New token type.
(type): Add a production for VEC(a,b).
* Makefile.in: Update dependencies.
........
r123231 | zack | 2007-03-26 13:55:10 -0700 (Mon, 26 Mar 2007) | 22 lines
* gengtype.h (struct type): Replace 'sc' with boolean, scalar_is_char.
(string_type): Don't declare.
(do_scalar_typedef): Declare.
(create_scalar_type): Update prototype.
* gengtype.c (string_type): Make static.
(scalar_nonchar, scalar_char): New.
(do_scalar_typedef): Export. Always use scalar_nonchar for the type.
(resolve_typedef): Use scalar_nonchar for error recovery.
(create_scalar_type): Remove name_len field. Return scalar_char
or scalar_nonchar as appropriate.
(adjust_field_type): Look at scalar_is_char boolean to decide whether
to use string_type.
(throughout): Use scalar_nonchar instead of calling create_scalar_type,
whenever possible.
(main): Initialize scalar_char and scalar_nonchar before calling
gen_rtx_next.
* gengtype-lex.l: Adjust for removal of second argument to
create_scalar_type. Use yylval.s instead of yylval.t when
returning SCALAR.
* gengtype-yacc.y: Type of SCALAR is string. Call
create_scalar_type from type:SCALAR rule. Adjust for removal of
second argument to create_scalar_type.
........
r123232 | zack | 2007-03-26 14:00:20 -0700 (Mon, 26 Mar 2007) | 8 lines
* gengtype-lex.l: Distinguish unions from structures in the
token type. Don't call find_structure; return the tag as a string.
* gengtype-yacc.y: Add new token types ENT_TYPEDEF_UNION and ENT_UNION.
Type of these, ENT_TYPEDEF_STRUCT, and ENT_STRUCT is string.
Reorganize typedef_struct production accordingly.
Use create_nested_ptr_option.
* gengtype.c (create_nested_ptr_option): New function.
* gengtype.h: Declare it.
........
r123233 | zack | 2007-03-26 14:04:59 -0700 (Mon, 26 Mar 2007) | 21 lines
* gengtype.h: Remove all type definitions to gengtype.c; leave
only definitions of options_p, type_p, and pair_p as opaque
pointers. Update prototypes.
* gengtype.c: Many type definitions moved here from gengtype.h.
Consolidate type definitions at the top of the file.
(xvasprintf): Delete.
(xasprintf): Make static.
(create_nested_pointer_option): Add 'next' parameter.
(create_field_all, create_field_at): New functions.
(create_field): Now a thin wrapper around create_field_all.
(create_optional_field): Rename create_optional_field_ and add
line argument. Original name is now a macro which supplies
__LINE__.
(oprintf): Use vsnprintf directly.
(close_output_files): Use fatal rather than perror/exit.
(note_def_vec, note_def_vec_alloc): Use create_field_at.
(main): Set progname. Don't use exit.
* gengtype-yacc.y (struct_fields): Use create_field_at.
(option, optionseqopt): Delete.
(optionseq): Consolidate productions from option here so we
can use the first argument to create_option.
........
r123234 | zack | 2007-03-26 14:07:27 -0700 (Mon, 26 Mar 2007) | 22 lines
* gengtype.c: Don't include gtyp-gen.h.
(srcdir): Declare here.
(base_files, lang_dir_names): Allocate dynamically.
(gt_files, num_gt_files, num_lang_dirs): New globals.
(measure_input_list, read_input_line, read_input_list)
(set_lang_bitmap): New functions.
(get_base_file_bitmap): Rename get_lang_bitmap and drastically
simplify, relying on read_input_list to set up the bitmaps.
(main): Arguments are no longer unused. Check for correct number
of command line arguments, set srcdir and srcdir_len, then call
read_input_list, before doing anything else. No need to worry
about duplicates in main loop.
* configure.ac: Simplify the calculation of all_gtfiles.
Put language tags in there. Don't set or substitute
all_gtfiles_files_langs or all_gtfiles_files_frags.
* Makefile.in: Revamp the way gengtype is invoked, now that it
takes a file on its command line with a much simpler format.
Remove or replace with gtyp-input.list all references to gtyp-gen.h.
(GTFILES): Remove duplicates and C source files.
* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
* objcp/config-lang.in: Add c-pragma.h to gtfiles.
* configure: Regenerate.
........
r123235 | zack | 2007-03-26 14:18:43 -0700 (Mon, 26 Mar 2007) | 31 lines
* gengtype-parse.c: New file.
* gengtype-yacc.y: Delete.
* gengtype-lex.l: Don't include gengtype-yacc.h.
Define YY_DECL and yyterminate appropriately for recursive
descent parser. yylval is now a string out-parameter to yylex.
(HWS, EOID): New shorthand.
(IWORD): Add a couple more types.
(yylex): Add a setup stanza. Remove the complex rules for
detecting GTY'ed types and typedefs; replace with simple
keyword detectors. Adjust everything for the changed
definition of yylval. Ignore all pp-directives, not just #define.
(yyerror): Delete.
(parse_file): Rename yybegin; do not call yyparse.
(yyend): New.
* gengtype.c (xasprintf): Export again.
(this_file): New. Use everywhere __FILE__ was being used.
(get_lang_bitmap): Special case types defined in gengtype.c.
(do_typedef, new_structure): Suppress definition of certain types.
(new_structure): Improve diagnostics of duplicate definitions.
Make sure location_s is associated with input.h.
(nreverse_pairs, define_location_structures): New functions.
(main): Improve tagging of kludge types. Remove old kludges
for input.h types; use define_location_structures.
* gengtype.h: Update prototypes. Define token codes here.
* Makefile.in: Remove all references to gengtype-yacc.
Add rules for gengtype-parse.o. Adjust rules for gengtype-lex.o
and gengtype.
* bitmap.h (struct bitmap_head_def): Coalesce definitions,
add GTY((skip)) to the field that's only conditionally there.
* doc/install.texi: Document that Bison is no longer required
unless building treelang.
........
r123236 | brooks | 2007-03-26 14:35:20 -0700 (Mon, 26 Mar 2007) | 2 lines
* lang.opt: Minor edits to descriptions.
........
r123237 | ian | 2007-03-26 14:43:30 -0700 (Mon, 26 Mar 2007) | 8 lines
./:
* tree-vrp.c (extract_range_from_binary_expr): Turn ranges like
[+INF, +INF(OVF)] into VARYING.
testsuite/:
* gcc.c-torture/compile/pr31345-1.c: New test.
........
r123238 | paolo | 2007-03-26 14:55:03 -0700 (Mon, 26 Mar 2007) | 13 lines
2007-03-26 Paolo Carlini <pcarlini@suse.de>
* pt.c (instantiate_decl): Set in_system_header.
2007-03-26 Paolo Carlini <pcarlini@suse.de>
* g++.dg/warn/pragma-system_header1.C: New test.
* g++.dg/warn/pragma-system_header2.C: New test.
* g++.dg/warn/pragma-system_header1.h. New.
* g++.dg/warn/pragma-system_header2.h. New.
........
r123239 | paolo | 2007-03-26 14:55:19 -0700 (Mon, 26 Mar 2007) | 13 lines
2007-03-26 Paolo Carlini <pcarlini@suse.de>
* pt.c (instantiate_decl): Set in_system_header.
2007-03-26 Paolo Carlini <pcarlini@suse.de>
* g++.dg/warn/pragma-system_header1.C: New test.
* g++.dg/warn/pragma-system_header2.C: New test.
* g++.dg/warn/pragma-system_header1.h. New.
* g++.dg/warn/pragma-system_header2.h. New.
........
r123240 | tromey | 2007-03-26 15:15:14 -0700 (Mon, 26 Mar 2007) | 5 lines
2007-03-26 Stepan Kasal <skasal@redhat.com>
* tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
field.
(getParser): Use new field.
........
Added:
branches/fixed-point/gcc/testsuite/g++.dg/warn/pragma-system_header1.C
- copied unchanged from r123240, trunk/gcc/testsuite/g++.dg/warn/pragma-system_header1.C
branches/fixed-point/gcc/testsuite/g++.dg/warn/pragma-system_header1.h
- copied unchanged from r123240, trunk/gcc/testsuite/g++.dg/warn/pragma-system_header1.h
branches/fixed-point/gcc/testsuite/g++.dg/warn/pragma-system_header2.C
- copied unchanged from r123240, trunk/gcc/testsuite/g++.dg/warn/pragma-system_header2.C
branches/fixed-point/gcc/testsuite/g++.dg/warn/pragma-system_header2.h
- copied unchanged from r123240, trunk/gcc/testsuite/g++.dg/warn/pragma-system_header2.h
branches/fixed-point/gcc/testsuite/gcc.c-torture/compile/pr31345-1.c
- copied unchanged from r123240, trunk/gcc/testsuite/gcc.c-torture/compile/pr31345-1.c
Modified:
branches/fixed-point/ (props changed)
branches/fixed-point/configure
branches/fixed-point/gcc/ChangeLog
branches/fixed-point/gcc/Makefile.in
branches/fixed-point/gcc/bitmap.h
branches/fixed-point/gcc/c-config-lang.in
branches/fixed-point/gcc/configure.ac
branches/fixed-point/gcc/cp/ChangeLog
branches/fixed-point/gcc/cp/config-lang.in
branches/fixed-point/gcc/cp/pt.c
branches/fixed-point/gcc/doc/install.texi
branches/fixed-point/gcc/fortran/ChangeLog
branches/fixed-point/gcc/fortran/lang.opt
branches/fixed-point/gcc/gengtype-lex.l
branches/fixed-point/gcc/gengtype-yacc.y
branches/fixed-point/gcc/gengtype.c
branches/fixed-point/gcc/gengtype.h
branches/fixed-point/gcc/ifcvt.c
branches/fixed-point/gcc/input.h
branches/fixed-point/gcc/objc/config-lang.in
branches/fixed-point/gcc/objcp/config-lang.in
branches/fixed-point/gcc/testsuite/ChangeLog
branches/fixed-point/gcc/testsuite/gfortran.dg/alloc_comp_basics_1.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/elemental_result_1.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/error_recovery_3.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/func_derived_4.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/generic_actual_arg.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/gomp/appendix-a/a.22.4.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/gomp/appendix-a/a.26.2.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/gomp/appendix-a/a.32.1.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/impure_assignment_1.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/interface_3.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/internal_references_1.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/module_equivalence_2.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/overload_1.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/present_1.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/private_type_5.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/protected_4.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/sequence_types_1.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/use_4.f90
branches/fixed-point/gcc/testsuite/gfortran.dg/volatile10.f90
branches/fixed-point/gcc/tree-pretty-print.c
branches/fixed-point/gcc/tree-vrp.c
branches/fixed-point/gcc/vec.h
branches/fixed-point/libjava/classpath/ChangeLog
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main$1.class
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main$10.class
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main$2.class
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main$3.class
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main$4.class
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main$5.class
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main$6.class
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main$7.class
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main$8.class
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main$9.class
branches/fixed-point/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main.class
branches/fixed-point/libjava/classpath/tools/gnu/classpath/tools/javah/Main.java
Propchange: branches/fixed-point/
('svnmerge-integrated' modified)
More information about the Gcc-cvs
mailing list