- 05 May, 2003 17 commits
-
-
2003-05-05 Aldy Hernandez <aldyh@redhat.com> * testsuite/gcc.dg/20030505.c: New. * c-typeck.c (convert_for_assignment): Opaque pointers can interconvert. * config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node. (rs6000_init_builtins): Initialize opaque_p_V2SI_type_node. (spe_init_builtins): Rename all pv2si_type_node to opaque_p_V2SI_type_node. Remove declaration of pv2si_type_node. (is_ev64_opaque_type): Accept opaque pointers. From-SVN: r66495
Aldy Hernandez committed -
From-SVN: r66494
Jason Merrill committed -
2003-05-05 Geoffrey Keating <geoffk@apple.com> * toplev.c (check_global_declarations): Suppress not-used warning for volatile variables. Index: testsuite/ChangeLog 2003-05-05 Geoffrey Keating <geoffk@apple.com> * gcc.dg/unused-5.c: New test. From-SVN: r66493
Geoffrey Keating committed -
expr.c (expand_expr, [...]): Refine the test forcing usage of bitfield instructions for mode1 != BLKmode... * expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing usage of bitfield instructions for mode1 != BLKmode, only ignoring SLOW_UNALIGNED_ACCESS if the field is not byte aligned. (store_field): Likewise. From-SVN: r66492
Olivier Hainque committed -
rs6000.c (rs6000_expand_binop_builtin): Add evsubifw to builtins accepting 5-bit unsigned constants. 2003-05-05 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add evsubifw to builtins accepting 5-bit unsigned constants. (easy_vector_constant): Return if V1DImode. Fix typo. [[Split portion of a mixed commit.]] From-SVN: r66490.2
Aldy Hernandez committed -
2003-05-05 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.h: Revert licensing change from last patch. From-SVN: r66486
Aldy Hernandez committed -
* config/stormy16/stormy16.md (negsi2): Allocate the pseudos before reload, but defer the split until after. * config/stormy16/stormy16.c (xstormy16_expand_arith): Modify to match. From-SVN: r66485
DJ Delorie committed -
From-SVN: r66484
Kriang Lerdsuwanakij committed -
re PR c++/10496 ([diagnostic] erroneus suggestion in diagnostic asks the user to write "&const class::memfun" which is illegal) PR c++/10496 * typeck.c (build_unary_op): Don't output const qualifier when output invalid pointer-to-member diagnostics. * g++.dg/warn/pmf1.C: New test. From-SVN: r66481
Kriang Lerdsuwanakij committed -
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support. * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440. From-SVN: r66480
David Edelsohn committed -
From-SVN: r66479
Michael Koch committed -
2003-05-04 Michael Koch <konqueror@gmx.de> * java/io/DataInputStream.java: Reordered methods to match libgcj. From-SVN: r66478
Michael Koch committed -
From-SVN: r66477
Kriang Lerdsuwanakij committed -
PR c++/4494 * decl.c (start_function): Use same_type_p to check return type of main. * g++.dg/warn/main.C: New test. From-SVN: r66476
Kriang Lerdsuwanakij committed -
* libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc is defined. From-SVN: r66475
Zdenek Dvorak committed -
>2003-05-02 Michael Koch <konqueror@gmx.de> > > * java/net/URI.java > (create): Doesnt throws any exceptions. From-SVN: r66474
Michael Koch committed -
From-SVN: r66473
GCC Administrator committed
-
- 04 May, 2003 19 commits
-
-
* update_version (textstring_FILES): Only version.c needs to be updated, now that we do not consider older branches any more. From-SVN: r66471
Gerald Pfeifer committed -
* gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of "version". * gnu/awt/gtk/GtkComponentPeer.java: Likewise. * gnu/awt/gtk/GtkContainerPeer.java: Likewise. * gnu/awt/gtk/GtkFramePeer.java: Likewise. * gnu/awt/gtk/GtkLabelPeer.java: Likewise. * gnu/awt/gtk/GtkMainThread.java: Likewise. * gnu/awt/gtk/GtkToolkit.java: Likewise. * gnu/awt/gtk/GtkWindowPeer.java: Likewise. * java/security/Key.java: Likewise. * java/security/PrivateKey.java: Likewise. * java/security/Provider.java: Likewise. * java/security/PublicKey.java: Likewise. From-SVN: r66469
Matt Kraai committed -
builtin-attrs.def (ATTR_NOTHROW_NONNULL_1, [...]): Renamed from ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3. gcc: * builtin-attrs.def (ATTR_NOTHROW_NONNULL_1, ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3. (ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4, ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1): New. * builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument. (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment (BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY, BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET, BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT, BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY, BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN, BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN, BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN, BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF, BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED, BUILT_IN_STRDUP): Add "nonnull" attribute. testsuite: * gcc.dg/nonnull-3.c: New test. From-SVN: r66468
Kaveh R. Ghazi committed -
* configure.in (AC_CHECK_FUNCS): Don't make multiple calls. * configure: Regenerate. From-SVN: r66467
Kaveh R. Ghazi committed -
2003-05-04 Paolo Carlini <pcarlini@unitus.it> * testsuite/21_strings/basic_string/find/char/3.cc: New file, testing basic_string<char>::find_first_not_of. * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise for basic_string<wchar_t>. From-SVN: r66466
Paolo Carlini committed -
* expr.c (store_field): Don't clobber TEMP in shift: it might be a variable. (get_inner_reference): Don't go through a VIEW_CONVERT_EXPR whose purpose is to step up the alignment. (expand_expr, case ADDR_EXPR): Force LO_SUM into memory, just like REG. From-SVN: r66465
Richard Kenner committed -
From-SVN: r66464
Neil Booth committed -
stor-layout.c (compute_record_mode): Relax restriction on fields crossing word boundaries forcing BLKmode. * stor-layout.c (compute_record_mode): Relax restriction on fields crossing word boundaries forcing BLKmode. From-SVN: r66463
Richard Kenner committed -
From-SVN: r66462
Neil Booth committed -
* cppinit.c (cpp_create_reader, post_options): Warn about trigraphs unless explicity set or -trigraphs. * cpplex.c (warn_in_comment): New. (_cpp_process_line_notes): Better handling of -Wtrigraphs. (_cpp_skip_block_comment): Add call to _cpp_process_line_notes. * doc/cppopts.texi, doc/cpp.texi: Update. testsuite: * gcc.dg/cpp/Wtrigraphs.c: Update. * gcc.dg/cpp/Wtrigraphs-2.c: New tests. From-SVN: r66459
Neil Booth committed -
* Makefile.in (LIBGCOV): Add _gcov_merge_add. * gcov-io.h: Make GCOV_LINKAGE extern in libgcov and prevent resulting namespace clash. (GCOV_MERGE_FUNCTIONS): New. (gcov_merge_fn): Declare. (struct gcov_ctr_info): New field "merge". (__gcov_merge_add): Declare. * coverage.c (ctr_merge_functions): New. (build_ctr_info_type, build_ctr_info_value): Initialize merge field of gcov_ctr_info type. * libgcov.c (__gcov_merge_add): New. (gcov_exit): Call a hook to merge values of counters. From-SVN: r66457
Zdenek Dvorak committed -
* toplev.h (pedwarn_with_file_and_line): Don't declare. * diagnostic.c (pedwarn_with_file_and_line): Remove. From-SVN: r66456
Gabriel Dos Reis committed -
From-SVN: r66454
Gabriel Dos Reis committed -
* Make-lang.in (java/parse.o, java/parse-scan.o): Depend on input.h. * lex.h: #include input.h. * jv-scan.c (input_filename): Remove. From-SVN: r66452
Nathan Sidwell committed -
From-SVN: r66451
Gerald Pfeifer committed -
* builtins.c (expand_builtin_constant_p, expand_builtin_strlen, expand_builtin_frame_address): Update prototypes. (expand_builtin_constant_p, expand_builtin_strlen, expand_builtin_strcpy, expand_builtin_memset, expand_builtin_bzero, expand_builtin_args_info, expand_builtin_frame_address): Pass in just the argument(s) needed, not the entire expression `exp'. (expand_builtin): Update all calls to these functions. From-SVN: r66448
Kaveh R. Ghazi committed -
* builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove. <BUILT_IN_DWARF_SP_COLUMN>: New. * builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove. (BUILT_IN_DWARF_SP_COLUMN): New. * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove. (expand_builtin_dwarf_sp_column): New. * except.h: Update to match. * unwind-dw2.c (execute_stack_op): Correct stack push typo. (execute_cfa_program): Record location expression address before extracting length. (uw_update_context_1): Install old CFA into stack pointer column. (uw_init_context_1): Set cfa_reg to stack pointer column. From-SVN: r66447
Richard Henderson committed -
* config/rs6000/rs6000.c (constant_pool_expr_p): Make static and return bool. (toc_relative_expr_p): Likewise. (SPE_CONST_OFFSET_OK): Move from rs6000.h. (legitimate_constant_pool_address_p): Move from rs6000.h, change into a function, downcase all users. (legitimate_small_data_p): Likewise. (legitimate_offset_address_p): Likewise. (legitimate_indexed_address_p): Likewise. (legitimate_indirect_address_p): Likewise. (legitimate_lo_sum_address_p): Likewise. (rs6000_mode_dependent_address): Likewise. * rs6000.h (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): Remove. (SPE_CONST_OFFSET_OK, LEGITIMATE_CONSTANT_POOL_ADDRESS_P, LEGITIMATE_SMALL_DATA_P, LEGITIMATE_OFFSET_ADDRESS_P, LEGITIMATE_INDEXED_ADDRESS_P, LEGITIMATE_INDIRECT_ADDRESS_P, LEGITIMATE_LO_SUM_ADDRESS_P): Move into rs6000.c. (LEGITIMATE_ADDRESS_INTEGER_P): Remove. (GO_IF_MODE_DEPENDENT_ADDRESS): Use rs6000_mode_dependent_address. * config/rs6000/rs6000-protos.h: Update. From-SVN: r66445
Richard Henderson committed -
From-SVN: r66444
GCC Administrator committed
-
- 03 May, 2003 4 commits
-
-
* config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define. (REVERSE_CONDITION): Define. * gcc.dg/ppc-fsel-1.c: New test. From-SVN: r66442
Geoffrey Keating committed -
* config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent to branch_positive_comparison_operator. (ccr_bit): Check that sCOND conditions are actually a positive bit. (print_operand): Remove %D substitution. (rs6000_emit_sCOND): Generate complement operation to ensure that sCOND input is a positive bit. * config/rs6000/rs6000.md: Rearrange sCOND templates to be in the same order as bCOND, and add the missing ones. Remove the %D substitutions from the scc patterns. From-SVN: r66441
Geoffrey Keating committed -
* simplify-rtx.c (simplify_relational_operation): Add case for ! (fabs(x) < 0.0). From-SVN: r66440
Geoffrey Keating committed -
From-SVN: r66439
Bruce Korb committed
-