- 15 Apr, 2003 9 commits
-
-
* include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit. * include/bits/concept_check.h: Fix multi-line comment. * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header when target is *-*-freebsd*. From-SVN: r65620
Loren J. Rittle committed -
* argv.c: Use ANSI_PROTOTYPES instead of __STDC__. * memchr.c: Likewise. * strcasecmp.c: Likewise. * strncasecmp.c: Likewise. * strncmp.c: Likewise. * xatexit.c: Likewise. * xmalloc.c: Likewise. * copysign.c: Use traditional function declaration instead of DEFUN. * sigsetmask.c: Likewise. * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN. * memset.c: Likewise. * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy. * memmove.c: Likewise. From-SVN: r65619
Roger Sayle committed -
* doc/extend.texi (Empty Structures): Correct description of G++'s handling of these structures. From-SVN: r65618
Mark Mitchell committed -
* resolve.cc (_Jv_PrepareClass): Round up class size to multiple of alignment. From-SVN: r65617
Tom Tromey committed -
From-SVN: r65616
Roger Sayle committed -
* c-decl.c (grokdeclarator): Reject extern redeclarations of static variables. * gcc.c-torture/execute/scope-2.c: Move to ... * gcc.dg/noncompile/scope.c: .... here. From-SVN: r65615
Mark Mitchell committed -
2003-04-14 Ziemowit Laski <zlaski@apple.com> * tree.c (build_cplus_array_type_1): Do not call uses_template_parms() on a NULL index_type. From-SVN: r65613
Ziemowit Laski committed -
From-SVN: r65612
GCC Administrator committed -
From-SVN: r65605
Loren J. Rittle committed
-
- 14 Apr, 2003 28 commits
-
-
rs6000.md (define_constants): Define constants for all UNSPEC usage, including new values for TLS support. 2003-04-14 Janis Johnson <janis187@us.ibm.com> * config/rs6000/rs6000.md (define_constants): Define constants for all UNSPEC usage, including new values for TLS support. (aux_truncdfsf2, fctiwz, movsi_got, movsi_got_internal, load_toc_aix_si, load_toc_aix_di, load_toc_v4_pic_si, load_toc_v4_PIC_1, load_toc_v4_PIC_1b, load_macho_picbase, macho_correct_pic, blockage, move_from_CR_ov_bit, movesi_from_cr, stack_tie, movsi_to_cr_one, movsi_to_cr, mtcrfsi, eh_set_lr_si, eh_set_lr_di): Use them. * rs6000.c: (mtcrf_operation, uses_TOC, rs6000_emit_prologue, rs6000_emit_epilogue) Use them. From-SVN: r65604
Janis Johnson committed -
2003-04-14 Nathan Myers <ncm@cantrip.org> Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9701 (in_avail()) * include/std/std_streambuf.h (in_avail): Simplify, in_avail doesn't care if there is anything in some putback cell. * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add. * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some unused string literals. Co-Authored-By: Paolo Carlini <pcarlini@unitus.it> From-SVN: r65603
Nathan Myers committed -
2003-04-14 Janis Johnson <janis287@us.ibm.com> * rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value. From-SVN: r65602
Janis Johnson committed -
From-SVN: r65601
Neil Booth committed -
explow.c (round_push): Use HOST_WIDE_INT instead of int for the temporary used to round CONST_INT sizes. * explow.c (round_push): Use HOST_WIDE_INT instead of int for the temporary used to round CONST_INT sizes. From-SVN: r65600
Olivier Hainque committed -
* dbxout.c (print_int_cst_bounds_in_octal_p): New function, extracted from dbxout_type. (dbxout_range_type): print large bounds in octal format. (dbxout_type): Replace extracted code by call to print_int_cst_bounds_in_octal_p. From-SVN: r65599
Joel Brobecker committed -
* tree.c (int_fits_type_p): Extract generic checks from the case of constant type bounds. Refine the checks against constant type bounds to allow for possible decisions against each of these bounds without requiring both bounds to be constant. (tree_int_cst_msb): Put back. * tree.h (tree_int_cst_msb): Likewise. From-SVN: r65598
Olivier Hainque committed -
global.c (global_conflicts): Prevent allocation of call clobbered hard regs to pseudos live across abnormal... * global.c (global_conflicts): Prevent allocation of call clobbered hard regs to pseudos live across abnormal edges, as later passes are not ready to handle them. From-SVN: r65597
Olivier Hainque committed -
From-SVN: r65596
Douglas B Rupp committed -
* stor-layout.c (layout_type, case ARRAY_TYPE): Add missing code to handle "superflat arrays" in Ada. From-SVN: r65595
Richard Kenner committed -
* integrate.c (expand_inline_function): Don't inline if would lose /u on a BLKmode TARGET. From-SVN: r65594
Richard Kenner committed -
* dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 instead of DW_LANG_Ada83 for Ada units. From-SVN: r65591
Joel Brobecker committed -
From-SVN: r65590
Olivier Hainque committed -
* expr.c (highest_pow2_factor): Return unsigned. * expr.h (offset_address): Likewise. * emit-rtl.c (offset_address): POW2 argument now unsigned. From-SVN: r65589
Olivier Hainque committed -
* builtins.c (expand_builtin_strlen): Evaluate the lengths of string literals at compile-time. From-SVN: r65585
Roger Sayle committed -
* fold-const.c (fold): Transform (c1 - x) cmp c2, where cmp is a comparison operation and c1/c2 are floating point constants into x swap(cmp) (c1 - c2). * gcc.dg/20030414-2.c: New test case. From-SVN: r65584
Roger Sayle committed -
2003-04-14 Paolo Carlini <pcarlini@unitus.it> * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set _M_out_end, _M_set_indeterminate() does it. From-SVN: r65582
Paolo Carlini committed -
2003-04-14 Vladimir Makarov <vmakarov@redhat.com> * genautomata.c (output_translate_vect): Fix a typo in loop condition. From-SVN: r65580
Vladimir Makarov committed -
PR target/10377 * config/cris/cris.md ("*mov_sideqi", "*mov_sidehi") ("*mov_sidesi", "*mov_sideqi_mem", "*mov_sidehi_mem") ("*mov_sidesi_mem", "*clear_sidesi", "*clear_sidehi") ("*clear_sideqi", "*ext_sideqihi", "*ext_sideqisi") ("*ext_sidehisi", "*op_sideqi", "*op_sidehi", "*op_sidesi") ("*op_swap_sideqi", "*op_swap_sidehi", "*op_swap_sidesi") ("*extopqihi_side", "*extopqisi_side", "*extophisi_side") ("*extopqihi_swap_side", "*extopqisi_swap_side") ("*extophisi_swap_side", 8th, 9th, 10th, 11th, 14th peepholes): When next to constraint R, replace constraint i with n. From-SVN: r65575
Hans-Peter Nilsson committed -
* configure.in (HAVE_UINTPTR_T): Always define. * configure: Regenerated. From-SVN: r65574
Kaveh R. Ghazi committed -
PR opt/10024 * cfgrtl.c (force_nonfallthru_and_redirect): Use unchecked_make_edge. From-SVN: r65571
Jan Hubicka committed -
PR target/10377 * gcc.dg/20030414-1.c: New test. From-SVN: r65565
Hans-Peter Nilsson committed -
From-SVN: r65563
Kriang Lerdsuwanakij committed -
From-SVN: r65562
Tom Tromey committed -
* tree.h (DECL_BUILT_IN_NONANSI): Remove. * c-common.c (builtin_function_2): Don't set DECL_BUILT_IN_NONANSI. * c-decl.c (duplicate_decls): Use invariant DECL_BUILT_IN_NONANSI implies DECL_BUILT_IN to simplify logic. * print-tree.c (print_node): Don't dump DECL_BUILT_IN_NONANSI. From-SVN: r65561
Roger Sayle committed -
* builtin-types.def (BT_FN_STRING_CONST_STRING): New builtin type. (BT_FN_PTR_SIZE_SIZE): Likewise. * builtins.def (BUILT_IN_MALLOC, BUILT_IN_CALLOC, BUILT_IN_STRDUP): New built-in functions for malloc, calloc and strdup respectively. * calls.c (special_function_p): No need to handle malloc-like functions any longer. ECF_MALLOC is set via built-in attributes. * c-decl.c (duplicate_decls): Preserve pure and malloc attributes. * cp/decl.c (duplicate_decls): Preserve pure and malloc attributes. * f/com.c (duplicate_decls): Preserve pure and malloc attributes. * doc/extend.texi: Document these new built-in functions. * gcc.dg/builtins-13.c: New test case. * gcc.dg/builtins-14.c: New test case. From-SVN: r65560
Roger Sayle committed -
From-SVN: r65559
Kaveh Ghazi committed -
From-SVN: r65558
GCC Administrator committed
-
- 13 Apr, 2003 3 commits
-
-
gcc: * builtins.c (expand_builtin_memcpy): Add `endp' argument, use it. (expand_builtin_stpcpy): New. (expand_builtin): Add BUILT_IN_MEMPCPY & BUILT_IN_STPCPY. * builtins.def: Add mempcpy & stpcpy support. * doc/extend.texi (mempcpy, stpcpy): Document new builtins. testsuite: * gcc.c-torture/execute/string-opt-18.c: New test. From-SVN: r65551
Kaveh R. Ghazi committed -
PR c++/10300 * init.c (build_new_1): Reorganize. PR c++/10300 * g++.dg/init/new5.C: New test. From-SVN: r65550
Mark Mitchell committed -
From-SVN: r65549
Nick Clifton committed
-