- 28 Nov, 2005 11 commits
-
-
.: PR c++/21166 * c-decl.c (finish_struct): Only set DECL_PACKED on a field when its natural alignment is > BITS_PER_UNIT. * stor-layout.c (finalize_type_size): Revert my patch of 2005-08-08. * c-common.c (handle_packed_attribute): Ignore packing on a field whose type is naturally char aligned. cp: PR c++/21166 * class.c (check_field_decls): Only set DECL_PACKED on a field when its natural alignment is > BITS_PER_UNIT. From-SVN: r107599
Nathan Sidwell committed -
2005-11-28 Richard Guenther <rguenther@suse.de> * c-common.c (strict_aliasing_warning): Handle all component-ref like accesses. * gcc.dg/alias-9.c: New testcase. * g++.dg/warn/Wstrict-aliasing-7.C: Likewise. From-SVN: r107598
Richard Guenther committed -
PR middle-end/20219 * fold-const.c (fold binary) <RDIV_EXPR>: Optimize sin(x)/tan(x) as cos(x) and tan(x)/sin(x) as 1.0/cos(x) when flag_unsafe_math_optimizations is set and we don't care about NaNs or Infinities. Move x/expN(y) and x/pow(y,z) transformation into common flag_unsafe_math_optimizations section. testsuite/ * gcc.dg/builtins-20.c: Add checks for sin(x)/tan(x) and tan(x)/sin(x) transformations. Co-Authored-By: Uros Bizjak <uros@kss-loka.si> From-SVN: r107597
Roger Sayle committed -
* intrinsics/ftell.c (ftell, FTELL_SUB): Add unlock_unit call. * intrinsics/fget.c (fgetc, fputs): Likewise. * intrinsics/tty.c (ttynam): Likewise. From-SVN: r107595
Jakub Jelinek committed -
From-SVN: r107594
Mark Mitchell committed -
From-SVN: r107593
Alan Modra committed -
* doc/invoke.texi (powerpc msdata-data): Static data doesn't go in small data sections. * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Make global. * config/rs6000/rs6000-protos.h: (rs6000_elf_in_small_data_p): Declare. * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Rename to.. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): ..this, adding extra parm. Don't output locals to sbss if !rs6000_elf_in_small_data_p. (ASM_OUTPUT_ALIGNED_BSS): Adjust for above. From-SVN: r107592
Alan Modra committed -
PR target/24997 * config/rs6000/rs6000.c (legitimate_indexed_address_p): Allow pattern generated by reload. * config/rs6000/predicates.md (indexed_or_indirect_operand): Use indexed_or_indirect_address. (indexed_or_indirect_address): Don't test for base reg. Call address_operand last. Make it a special predicate. From-SVN: r107591
Alan Modra committed -
From-SVN: r107590
Daniel Jacobowitz committed -
2005-11-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/25109 * io/unit.c (init_units): Set default flag to BLANK_NULL per requirement of F95 standard. Set PAD_YES for stdin. From-SVN: r107588
Jerry DeLisle committed -
From-SVN: r107585
GCC Administrator committed
-
- 27 Nov, 2005 17 commits
-
-
PR c++/24979 * cp-tree.h (DECL_MAIN_P): Remove duplicate definition. From-SVN: r107578
Volker Reichelt committed -
* intrinsics/random.c: Include config.h * io/size_from_kind.c: Include config.h and libgfortran.h * io/io.h: Revert 2005-11-21 change. From-SVN: r107577
David Edelsohn committed -
From-SVN: r107576
Kazu Hirata committed -
2005-11-27 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24575 * fold-const.c (negate_expr_p): Add case for signed divides if overflow is undefined. (negate_expr): Likewise. 2005-11-27 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24575 * gcc.dg/tree-ssa/divide-3.c: New test. * gcc.dg/tree-ssa/divide-4.c: New test. From-SVN: r107575
Andrew Pinski committed -
* config/m68k/m68k.c: Reindent and fix whitespace, remove redundant parens. From-SVN: r107574
Andreas Schwab committed -
2005-11-27 Janne Blomqvist <jb@gcc.gnu.org> * m4/*: Add const restrict to function arguments. * generated/*.c: Regenerate. From-SVN: r107573
Janne Blomqvist committed -
2005-11-27 Bernhard Fischer <rep.nop@aon.at> * gfortran.h: remove superfluous whitespace and use GNU comment-style for the documentation of backend_decl. From-SVN: r107571
Bernhard Fischer committed -
PR fortran/24917 * primary.c (match_boz_constant): Implement postfix BOZ constants; (match_string_constant): Peek for b, o, z, and x * gfortran.dg/boz_6.f90: New test. From-SVN: r107568
Steven G. Kargl committed -
PR fortran/23912 * iresolve.c (gfc_resolve_dim, gfc_resolve_mod, gfc_resolve_modulo): When arguments have different kinds, fold the lower one to the largest kind. * check.c (gfc_check_a_p): Arguments of different kinds is not a hard error, but an extension. * simplify.c (gfc_simplify_dim, gfc_simplify_mod, gfc_simplify_modulo): When arguments have different kinds, fold the lower one to the largest kind. * gfortran.dg/modulo_1.f90: New test. From-SVN: r107566
Francois-Xavier Coudert committed -
* cfgcleanup.c (try_crossjump_to_edge): Always split SRC2 if it has EH predecessor edges. From-SVN: r107565
Steven Bosscher committed -
From-SVN: r107564
Francois-Xavier Coudert committed -
PR libfortran/24919 * io/list_read.c (eat_separator, finish_separator, read_character): Handle CRLF separators correctly during reads. (nml_query): Use the HAVE_CRLF macro to print adequate newlines. * io/io.h (st_parameter_dt): Add comment about the possible values for sf_seen_eor. * io/unix.c (tempfile, regular_file): HAVE_CRLF doesn't imply that O_BINARY is defined, so we add that condition. (stream_at_bof): Fix typo in comment. * io/transfer.c (read_sf): Handle correctly CRLF, setting sf_seen_eor value to 2 instead of 1. (formatted_transfer_scalar): Use the sf_seen_eor value to handle CRLF the right way. * io/write.c (nml_write_obj, namelist_write): Use CRLF as newline when HAVE_CRLF is defined. * gfortran.dg/ftell_1.f90: Modify testcase so that it doesn't fail on CRLF platforms. * gfortran.dg/ftell_2.f90: Likewise. From-SVN: r107563
Francois-Xavier Coudert committed -
2005-11-26 Eric Christopher <echristo@apple.com> * gcc.dg/intmax_t-1.c: Remove mips xfail. From-SVN: r107562
Eric Christopher committed -
i386.md (*zero_extendqihi2_movzbw): Avoid partial register stalls by zero extending to the full register. 2005-11-26 Eric Christopher <echristo@apple.com> * config/i386/i386.md (*zero_extendqihi2_movzbw): Avoid partial register stalls by zero extending to the full register. From-SVN: r107559
Eric Christopher committed -
* config/floatunsisf.c, config/floatunsidf.c, config/floatunsixf.c, config/floatunsitf.c: New files. * config/ia64/t-hpux: Add floatunsitf.c. * config/ia64/ia64.c (ia64_init_libfuncs): Use _U_Qfcnvxuf_dbl_to_quad for unsigned DImode-to-TFmode conversion. From-SVN: r107558
Joseph Myers committed -
2005-11-26 Andrew Pinski <pinskia@physics.uc.edu> * objc.dg/gnu-runtime-3.m: Simplify. From-SVN: r107556
Andrew Pinski committed -
From-SVN: r107553
GCC Administrator committed
-
- 26 Nov, 2005 9 commits
-
-
* io/list_read.c (nml_parse_qualifier): Use ssize_t instead of int in dtp->u.p.value. From-SVN: r107545
Richard Henderson committed -
* c-lex.c (pragma_lex): Rename from c_lex. * c-pch.c: Update for pragma_lex rename. * c-pragma.c, c-pragma.h, config/ia64/ia64-c.c: Likewise. * config/m32c/m32c-pragma.c, config/darwin-c.c: Likewise. * config/rs6000/rs6000-c.c, config/c4x/c4x-c.c: Likewise. * config/sol2-c.c, config/v850/v850-c.c: Likewise. * doc/tm.texi: Likewise. cp/ * lex.c: Update for pragma_lex rename. * parser.c: Likewise. From-SVN: r107544
Richard Henderson committed -
2005-11-26 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/23669 * fold-const.c (fold_binary): Convert -A/-B to A/B for signed types when overflow is undefined. 2005-11-26 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/23669 * gcc.dg/tree-ssa/divide-1.c: New test. * gcc.dg/tree-ssa/divide-2.c: New test. From-SVN: r107543
Andrew Pinski committed -
md.texi (Insn Canonicalizations): Refer to the function commutative_operand_precedence for further rules. * doc/md.texi (Insn Canonicalizations): Refer to the function commutative_operand_precedence for further rules. From-SVN: r107541
Hans-Peter Nilsson committed -
2005-11-26 Janne Blomqvist <jb@gcc.gnu.org> PR libgfortran/24945 * gfortran.dg/open_status_2.f90: Fix wrong PR number in comment. From-SVN: r107540
Janne Blomqvist committed -
2005-11-26 Janne Blomqvist <jb@gcc.gnu.org> PR libgfortran/24945 * io/open.c (edit_modes): Check for STATUS_UNKNOWN flag. testsuite ChangeLog 2005-11-26 Janne Blomqvist <jb@gcc.gnu.org> PR libgfortran/24945 * gfortran.dg/open_status_2.f90: New test. From-SVN: r107538
Janne Blomqvist committed -
PR middle-end/21309 * expmed.c (choose_mult_variant): Return immediately when mult_cost is less than zero. Limit mult_cost to a reasonable upper bound for the synthetic multiplication sequence. From-SVN: r107537
Roger Sayle committed -
PR middle-end/25022 * builtins.c (expand_builtin_printf, expand_builtin_fprintf, fold_builtin_fputs, fold_builtin_printf, fold_builtin_fprintf): Lookup the explicit replacement functions for any unlocked stdio builtin transformations. testsuite: * gcc.c-torture/execute/builtins/fprintf.c, gcc.c-torture/execute/builtins/fputs-lib.c, gcc.c-torture/execute/builtins/fputs.c, gcc.c-torture/execute/builtins/lib/fprintf.c, gcc.c-torture/execute/builtins/lib/printf.c, gcc.c-torture/execute/builtins/printf.c: Test the unlocked style. From-SVN: r107535
Kaveh R. Ghazi committed -
From-SVN: r107531
GCC Administrator committed
-
- 25 Nov, 2005 3 commits
-
-
* standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi. * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi to bc. * gnu/CORBA/ObjectCreator.java: New override file for missing VMStackWalker issue. * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938 * gnu/CORBA/DynAn/RecordAny.java: Likewise * sources.am: Regenerated. * Makefile.in: Regenerated From-SVN: r107522
Mark Wielaard committed -
* io/list_read.c (nml_parse_qualifier): Use memcpy to extract values from dtp->u.p.value. * io/io.h (struct st_parameter_dt): Change reversion_flag, first_item, seen_dollar, sf_seen_eor, eor_condition, no_leading_blank, char_flag, input_complete, at_eol, comma_flag, namelist_mode, nml_read_error to single-bit fields. Move value to where it'll be at least pointer aligned. From-SVN: r107520
Richard Henderson committed -
* config/cris/cris.md ("reload_out<mode>"): Mark operand 2 as earlyclobber. * targhooks.c (default_secondary_reload): Don't require operand 2 for an input reload to be earlyclobber. From-SVN: r107517
Hans-Peter Nilsson committed
-