- Apr 29, 2002
-
-
Bernd Schmidt authored
From-SVN: r52903
-
Jakub Jelinek authored
PR c++/6477 * decl.c (follow_tag_typedef): Check if TYPE_NAME (original) is non-NULL first. * g++.dg/parse/typedef1.C: New test. From-SVN: r52900
-
Jan Hubicka authored
From-SVN: r52899
-
Mark Mitchell authored
PR c++/6492 * pt.c (tsubst_friend_class): If the friend has an explicit scope, enter that scope before name lookup. PR c++/6486 * method.c (do_build_copy_constructor): Avoid building cv-qualified reference types. PR c++/6486 * g++.dg/template/friend6.C: New test. PR c++/6492 * g++.dg/init/copy1.C: New test. From-SVN: r52895
-
Gerald Pfeifer authored
* doc/contrib.texi (Contributors): Add Paolo Carlini and Janis Johnson. Update Richard Henderson, Jakub Jelinek, and Mark Mitchell. Refer to Objective-C instead of ObjC, SPARC instead of sparc, and CPU instead of cpu. From-SVN: r52893
-
Jan Hubicka authored
* toplev.c (flag_if_conversion, flag_if_conversion2): New static variables. (lang_independent_options): Add -fif-conversion, -fif-conversion2 (rest_of_compilation): Do if conversion only when asked for. (parse_options_and_default_flags): Set new variables to 1 for -O1 * invoke.texi (-fif-conversion, -fif-conversion2): Document. From-SVN: r52891
-
Jan Hubicka authored
From-SVN: r52890
-
Jan Hubicka authored
* predict.c (real_zero, real_one, real_almost_one, real_br_prob_base, real_one_half, real_bb_freq_max): New static variables. (debug_profile_bbauxs): Kill. (process_note_predictions): Kill unused variable. (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of volatile double. (propagate_freq): Use REAL_ARITHMETICS. (estimate_bb_frequencies): Likevise; init new static variables. * Makefile.in (predict.o): Add dependency on real.h From-SVN: r52889
-
Nathan Sidwell authored
cp: PR c++/5719 * decl.c (grok_op_properties): Assignment ops don't have to return by value. operator% should. testsuite: * g++.dg/warn/effc1.C: New test. From-SVN: r52888
-
Joseph Myers authored
* invoke.texi: Use @gol at ends of lines inside @gccoptlist. * g77.texi: Update last update date. From-SVN: r52885
-
GCC Administrator authored
From-SVN: r52883
-
Benjamin Kosnik authored
2002-04-28 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/5280 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int. (__basic_file::sys_ungetc): Take int. * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same. * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common): Use sys_getc for unbuffered input. * testsuite/27_io/narrow_stream_objects.cc (test06): New. * src/ios.cc (_M_grow_words): Adjust error checking. * testsuite/27_io/ios_base_storage.cc: Same. From-SVN: r52879
-
David S. Miller authored
2002-04-28 David S. Miller <davem@redhat.com> * configure.in, configure: Fix SPARC test in previous change. From-SVN: r52878
-
David S. Miller authored
2002-04-28 David S. Miller <davem@redhat.com> PR target/6500 * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs. 64-bit TARGET_V9. Do not use prefetch page, use prefetch for several {reads,writes} instead. * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): Define. From-SVN: r52876
-
Gerhard Tonn authored
2002-04-29 Gerhard Tonn <GerhardTonn@swol.de> * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390. From-SVN: r52874
-
Gerhard Tonn authored
2002-04-29 Gerhard Tonn <GerhardTonn@swol.de> * Makefile.am: Add Linux for S/390 support. * Makefile.in: Regenerate. * configure.in: Add Linux for S/390 support. * configure: Regenerate. * include/ffi.h.in: Add Linux for S/390 support. * src/s390/ffi.c: New file from libffi CVS tree. * src/s390/sysv.S: New file from libffi CVS tree. From-SVN: r52873
-
David S. Miller authored
2002-04-27 David S. Miller <davem@redhat.com> PR target/6494 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful of the stack bias. * config/sparc/linux.h, config/sparc/linux64.h: Don't bother including signal.h and sys/ucontext.h, not needed. From-SVN: r52872
-
Hans-Peter Nilsson authored
* varasm.c (output_constant_def): Correct test for not calling ENCODE_SECTION_INFO for INTEGER_CST. From-SVN: r52870
-
Adam King authored
2002-04-29 Adam King <aking@dreammechanics.com> * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end of file in APPEND mode. From-SVN: r52869
-
- Apr 28, 2002
-
-
Neil Booth authored
* cppexp.c (lex): Move some code to _cpp_parse_expr, but keep most cases as function eval_token. (eval_token): New function. (_cpp_parse_expr): Read token here for improved diagnostics. Don't use op_as_text. Detect bad ':' here. (reduce): Don't detect bad ':' here. (op_as_text): Remove. * cpphash.h (_cpp_test_assertion): Change prototype. * cpplib.c (_cpp_test_assertion): Change prototype. testsuite: * gcc.dg/cpp/if-cexp.c: Add a test. From-SVN: r52866
-
Richard Henderson authored
* ggc-common.c (ggc_mark_rtx_children_1): Rename from... (ggc_mark_rtx_children): New. From-SVN: r52864
-
Jakub Jelinek authored
PR target/6496 * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump after call peepholes for UltraSPARC. (call + jump 64-bit peepholes): Remove. From-SVN: r52863
-
Franz Sirl authored
2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR c/6497 * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use result as temporary value. From-SVN: r52860
-
Jakub Jelinek authored
* configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working %r_disp32(). * src/sparc/v8.S: Use it. * src/sparc/v9.S: Likewise. * fficonfig.h.in: Rebuilt. * configure: Rebuilt. From-SVN: r52858
-
Jakub Jelinek authored
PR c++/6396 * toplev.c (rest_of_compilation): Only run regrename and copy propagation if optimizing. From-SVN: r52857
-
Jakub Jelinek authored
From-SVN: r52856
-
Jakub Jelinek authored
PR optimization/6475 * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo register of REGNO_DECL (i). * Makefile.in (reload1.o): Add $(TREE_H). * gcc.dg/20020426-2.c: New test. From-SVN: r52855
-
Neil Booth authored
* cppexp.c (lex): Update to use state.skip_eval. (struct op): Remove prio and flags members. (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS, SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove. (LEFT_ASSOC): New macro. (optab): New table of operator priorities and flags. (SHIFT): Update. (_cpp_parse_expr): Clean up logic. Return bool. Use a malloc-ed parser stack. (reduce): New; reduce the operator stack. (_cpp_expand_op_stack): Expand the operator stack as necessary. * cpphash.h (struct op): Predeclare. (struct cpp_reader): New members op_stack, op_limit. (struct lexer_state): New member skip_eval. (_cpp_parse_expr): Update. (_cpp_expand_op_stack): New. * cpplib.c (do_if): Update. * cppinit.c (cpp_create_reader): Create op stack. (cpp_destroy): And destroy it. * cpplib.h (CPP_LAST_CPP_OP): Correct. (TTYPE_TABLE): Correct. testsuite: * gcc.dg/cpp/if-mop.c: Update. * gcc.dg/cpp/if-mpar.c: Add test. * gcc.dg/cpp/if-oppr.c: Update. From-SVN: r52853
-
Mark Mitchell authored
From-SVN: r52845
-
Franz Sirl authored
2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR c/6343 * c-decl.c (duplicate_decls): Call merge_weak. * c-pragma.c (apply_pragma_weak): Warn about misuse. * output.h (merge_weak): Prototype merge_weak. * varasm.c (merge_weak): New function. (declare_weak): Make sure we don't give an error on VAR_DECLs. Mark RTL with SYMBOL_REF_WEAK. cp: * decl.c (duplicate_decls): Call merge_weak. testsuite: * gcc.dg/weak-[2-7].c: New tests. From-SVN: r52844
-
Paolo Carlini authored
2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> * include/ext/stl_hashtable.h: Import __iterator_category 2002-04-28 Paolo Carlini <pcarlini@unitus.it> Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> * testsuite/ext/hash_set.cc: New testfile. From-SVN: r52843
-
GCC Administrator authored
From-SVN: r52842
-
Benjamin Kosnik authored
2002-04-27 Benjamin Kosnik <bkoz@redhat.com> * config/os/solaris/solaris2.5/bits/os_defines.h: Remove _G_USING_THUNKS. * config/os/solaris/solaris2.6/bits/os_defines.h: Same. * config/os/solaris/solaris2.7/bits/os_defines.h: Same. From-SVN: r52838
-
- Apr 27, 2002
-
-
Tom Tromey authored
* parse.y (string_convert_int_cst): New function. (merge_string_cste): Use it. From-SVN: r52835
-
Kurt Garloff authored
tree-inline.c (inlinable_function_p): Improve heuristics by using a smoother function to cut down allowable inlinable... * tree-inline.c (inlinable_function_p): Improve heuristics by using a smoother function to cut down allowable inlinable size. * param.def: Add parameters max-inline-insns-single, max-inline-slope, min-inline-insns that determine the exact shape of the above function. * param.h: Likewise. From-SVN: r52832
-
GCC Administrator authored
From-SVN: r52831
-
Richard Henderson authored
* c-parse.in (malloced_yyss, malloced_yyvs): New. (yyoverflow): Re-add. Set them. (free_parser_stacks): New. * c-common.h: Declare it. * c-lex.c (c_common_parse_file): Call it. * parse.y (malloced_yyss, malloced_yyvs): New. (yyoverflow): Re-add. Set them. (free_parser_stacks): New. From-SVN: r52827
-
Richard Henderson authored
* cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn for fallthru search. From-SVN: r52826
-
Eric Christopher authored
2002-04-26 Eric Christopher <echristo@redhat.com> PR optimization/3700 * config/mips/mips.c (mips_issue_rate): Define. New function. (TARGET_SCHED_ISSUE_RATE): Use. From-SVN: r52825
-
Mark Mitchell authored
PR bootstrap/6445 * config/i386/i386.md (untyped_call): Return the value in a float register if TARGET_FLOAT_RETURNS_IN_80387, not just if TARGET_80387. From-SVN: r52824
-