aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-04-22Convert C++ comment to block commentZack Weinberg1-2/+2
From-SVN: r33349
2000-04-22boehm.c (mark_reference_fields): Added `last_view_index' argument.Tom Tromey2-20/+38
* boehm.c (mark_reference_fields): Added `last_view_index' argument. Use DECL_FIELD_OFFSET to determine field's offset. From-SVN: r33346
2000-04-22* loop.c (strength_reduce): Fix biv removal code.Jan Hubicka2-13/+5
From-SVN: r33344
2000-04-22predict.c (estimate_probability): Examine both sides of a branch for no exits.Richard Henderson2-32/+48
* predict.c (estimate_probability): Examine both sides of a branch for no exits. Use 90% not 50% for predict taken. Reorg for one copy of note generation code. From-SVN: r33343
2000-04-22* flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.Richard Henderson2-3/+10
From-SVN: r33342
2000-04-22diagnostic.c (init_output_buffer): Don't initialize format_args.Richard Henderson3-14/+28
* diagnostic.c (init_output_buffer): Don't initialize format_args. (output_clear): Likewise. (output_printf): Use va_copy. (vline_wrapper_message_with_location): Likewise. (v_message_with_decl): Likewise. (line_wrapper_printf): VA_START infor buffer.format_args directly. * system.h (va_copy): Provide default implementation. From-SVN: r33341
2000-04-22predict.c (expected_value_to_br_prob): Don't bomb if op1 of the collected ↵Richard Henderson2-1/+16
condition is not a constant. * predict.c (expected_value_to_br_prob): Don't bomb if op1 of the collected condition is not a constant. From-SVN: r33340
2000-04-22+ 2000-04-22 Anthony Green <green@cygnus.com> + + * include/jvm.h ↵Anthony Green7-34/+65
(__builtin_expect): Define as unused for now. + 2000-04-22 Anthony Green <green@cygnus.com> + + * include/jvm.h (__builtin_expect): Define as unused for now. + * java/lang/natObject.cc (_Jv_MonitorEnter): Add __builtin_expect. + (notify): Ditto. + (notifyAll): Ditto. + (wait): Ditto. + (_Jv_MonitorExit): Ditto. + * boehm.cc (_Jv_MarkObj): Ditto. + (_Jv_MarkObj): Ditto. + (_Jv_MarkArray): Ditto. + (_Jv_AllocBytes): Ditto. + * prims.cc (_Jv_AllocObject): Ditto. + (_Jv_NewObjectArray): Ditto. + (_Jv_NewPrimArray): Ditto. + (_Jv_Malloc): Ditto. + (_Jv_Realloc): Ditto. + (_Jv_MallocUnchecked): Ditto. + (_Jv_divI): Ditto. + (_Jv_remI): Ditto. + (_Jv_divJ): Ditto. + (_Jv_remJ): Ditto. + + * include/Makefile.in: Rebuilt. + * include/Makefile.am (include_HEADERS): Add jvmpi.h. + From-SVN: r33339
2000-04-22ir.texi: Document complex number representation.Gabriel Dos Reis2-1/+30
2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com> * ir.texi: Document complex number representation. From-SVN: r33338
2000-04-22diagnostic.h: New file.Gabriel Dos Reis4-117/+375
2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com> * diagnostic.h: New file. * Makefile.in (diagnostic.o): Depends on diagnostic.h * diagnostic.c: Tweak. Rationalize the output logic. Adjust various function prototypes. (diagnostic.h): #include. (struct output_buffer): Move into diagnostic.h. (get_output_prefix): Rename to output_get_prefix. Export. (init_output_buffer): Export. Break out. Ajust intialization. (output_space_left, output_append): Export. (output_newline): Rename to output_add_newline. Export. (output_clear): Nullify additional output_buffer fields. (output_puts): Rename to output_add_string. Export. (dump_output): Rename to output_flush_on. Export. (build_location_prefix): Constify return-type. (emit_output_prefix): Rename to output_emit_prefix. Export. (set_real_maximum_length): New function. (output_set_maximum_length): Ditto (output_clear): Ditto. (output_add_character): Ditto. (output_add_integer): Ditto. (output_add_space): Ditto. (output_format): Ditto. (output_printf): Adjust buffer initialization. (vline_wrapper_message_with_location): Ditto. (v_message_with_decl): Ditto. Adjust call to output_puts and get_output_prefix. (default_print_error_function): Adjust buffer intialization. From-SVN: r33337
2000-04-22expr.c (preexpand_calls, [...]): Don't look at TYPE_SIZE of VOID_TYPE.Richard Kenner2-1/+7
* expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE of VOID_TYPE. From-SVN: r33336
2000-04-22Daily bump.Jeff Law5-5/+5
From-SVN: r33335
2000-04-22Whitespace changeAlexandre Oliva1-11/+11
From-SVN: r33332
2000-04-21[multiple changes]Alexandre Petit-Bianco4-182/+331
Thu Apr 20 17:41:28 2000 Mo DeJong <mdejong@cygnus.com> * parse.h (INTERFACE_INNER_MODIFIERS): New macro. * parse.y (check_class_interface_creation): Fixed comments. Select permitted modifiers for (inner) interfaces. Changed error message to report rejected modifiers used with local classes. 2000-04-20 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.h (INNER_ENCLOSING_SCOPE_CHECK): Immediate inner classes of directly inherited type considered in scope. * parse.y (do_resolve_class): Search inherited classes for inner classes. (This fixes the PR #194 and #197: http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00008.html http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00011.html) From-SVN: r33330
2000-04-21Makefile.in (*-subdir): Revamp slightly to avoid losing on 4.3BSD systems.Michael Sokolov2-3/+9
2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> * Makefile.in (*-subdir): Revamp slightly to avoid losing on 4.3BSD systems. From-SVN: r33329
2000-04-21PipedInputStream.java, [...]: Yet another new version from Classpath.Tom Tromey3-27/+16
* java/io/PipedInputStream.java, java/io/PipedOutputStream.java: Yet another new version from Classpath. From-SVN: r33328
2000-04-21mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead of explicit 0.Alexandre Oliva2-2/+8
* config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead of explicit 0. From-SVN: r33327
2000-04-21mn10300.h (REGISTER_MOVE_COST): Provide more accurate data about SP moves.Alexandre Oliva2-1/+14
* config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more accurate data about SP moves. From-SVN: r33326
2000-04-21mn10300.h (ADDITIONAL_REGISTER_NAMES): Added aliases to AM33 registers.Alexandre Oliva2-1/+14
* config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added aliases to AM33 registers. From-SVN: r33325
2000-04-21mn10300.h (REG_CLASS_CONTENTS): Added register 16 to all EXTENDED bitmaps.Alexandre Oliva2-7/+12
* config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16 to all EXTENDED bitmaps. From-SVN: r33324
2000-04-21mn10300-protos.h (mn10300_address_cost): Declare.Alexandre Oliva4-0/+91
* config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare. * config/mn10300/mn10300.h (ADDRESS_COST): New macro. * config/mn10300/mn10300.c (mn10300_address_cost): New function. From-SVN: r33323
2000-04-21Update. Build with the same version of bison.Jeff Law2-506/+507
From-SVN: r33322
2000-04-21mn10300.md (movdi, movdf): Do not use `movu' when the operand is not constant.Alexandre Oliva2-8/+21
* config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when the operand is not constant. From-SVN: r33321
2000-04-21reload.c (find_equiv_reg): Checks all valueno and regno regs as a ↵Denis Chertykov2-10/+22
call-clobbered regs. * reload.c (find_equiv_reg): Checks all valueno and regno regs as a call-clobbered regs. From-SVN: r33320
2000-04-21re GNATS libgcj/15 (_REENTRANT should be defined more consistently)Tom Tromey3-164/+216
Fix for PR libgcj/15: * java/util/natGregorianCalendar.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't define. * java/net/natInetAddress.cc (_REENTRANT): Don't define. * java/lang/natSystem.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't define. * java/io/natFile.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't define. * configure: Rebuilt. * configure.in: If using POSIX threads, define _REENTRANT if needed. Define _POSIX_PTHREAD_SEMANTICS. Don't define GETHOSTBYNAME_R_NEEDS_REENTRANT. From-SVN: r33319
2000-04-21re GNATS libgcj/15 (_REENTRANT should be defined more consistently)Tom Tromey5-28/+16
Fix for PR libgcj/15: * java/util/natGregorianCalendar.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't define. * java/net/natInetAddress.cc (_REENTRANT): Don't define. * java/lang/natSystem.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't define. * java/io/natFile.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't define. * configure: Rebuilt. * configure.in: If using POSIX threads, define _REENTRANT if needed. Define _POSIX_PTHREAD_SEMANTICS. Don't define GETHOSTBYNAME_R_NEEDS_REENTRANT. From-SVN: r33318
2000-04-21libstdc++-v3: New directory.Benjamin Kosnik486-0/+109649
2000-04-21 Benjamin Kosnik <bkoz@redhat.com> * libstdc++-v3: New directory. From-SVN: r33317
2000-04-21PipedInputStream.java, [...]: New version from Classpath.Tom Tromey3-241/+214
* java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PipedOutputStream.java, java/io/PipedWriter.java: New version from Classpath. From-SVN: r33316
2000-04-21re GNATS gcj/124 (protected constructor for InvocationTargetException still ↵Tom Tromey3-238/+178
visible) * parse.y (not_accessible_p): Use member's class, not current class, when doing inheritance check for protected reference. Fixes PR gcj/124. From-SVN: r33315
2000-04-21rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.Richard Kenner10-13/+25
* rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG. * rtl.h: Likewise. * rtl.def: Update comment. * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER. * integrate.c (expand_inline_function): Likewise. * profile.c (branch_prob): Likewise. * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG. * print-rtl.c (print_rtx): Likewise. * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise. (reemit_notes): Likewise; also use enum insn_note. From-SVN: r33314
2000-04-21Add missing blankRichard Kenner1-1/+1
From-SVN: r33313
2000-04-21stor-layout.c (layout_decl): Only set DECL_MODE if not already set.Richard Kenner2-5/+13
* stor-layout.c (layout_decl): Only set DECL_MODE if not already set. (place_field): Properly compute know and actual alignment. From-SVN: r33312
2000-04-21gengenrtl.c (gencode): Write obstack_alloc_rtx function start in proper format.Richard Kenner2-1/+5
* gengenrtl.c (gencode): Write obstack_alloc_rtx function start in proper format. From-SVN: r33311
2000-04-21cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL note for REG1.Richard Kenner2-16/+23
* cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL note for REG1. From-SVN: r33310
2000-04-21cpphash.c (struct arg, [...]): Const-ify strings.Zack Weinberg6-512/+396
* cpphash.c (struct arg, struct arglist): Const-ify strings. (warn_trad_stringify, duplicate_arg_p): New helper functions. (collect_expansion): Rewrite to scan over a token list. Remove -traditional support. (collect_formal_parameters): Rename to collect_params; rewrite to scan over a token list. (_cpp_create_definition): Adjust to scan a token list. (_cpp_macroexpand): Remove -traditional support. (_cpp_compare_defs): Whitespace is now canonicalized. (comp_def_part): Delete function. * cpphash.h: Update prototypes. * cpplex.c (init_token_list): Don't set lineno if there is no buffer. (pedantic_whitespace): New function. (_cpp_scan_line): Mark tokens that had hspace before. Don't consume a newline. Use pedantic_whitespace. (_cpp_lex_token): Remove support for -traditional macros. (_cpp_get_define_token): Delete. (_cpp_get_directive_token): Do the real work here. Use pedantic_whitespace. (_cpp_init_input_buffer): Initialize pfile->directbuf. * cpplib.c (get_macro_name): Delete. (do_define): Read the entire line into pfile->directbuf, then feed the token list to _cpp_create_definition. * cpplib.h (HSPACE_BEFORE): new define. (struct cpp_reader): Add a toklist member, "directbuf". From-SVN: r33309
2000-04-21predict.c (estimate_probability): New heuristic...Zack Weinberg2-6/+33
* predict.c (estimate_probability): New heuristic: if a jump branches around a block with no successors, predict it taken. Disentangle control flow. From-SVN: r33308
2000-04-21re GNATS libgcj/213 (Another parallel build error)Tom Tromey3-68/+35
Fix for PR libgcj/213: * Makefile.in: Rebuilt. * Makefile.am (gij_SOURCES): Added gij.cc. (EXTRA_gij_SOURCES): Removed. (gij_LDADD): Removed gij.lo. (gij_DEPENDENCIES): Likewise. ($(gij_OBJECTS)): Depend on nat_headers. From-SVN: r33307
2000-04-21Handler.java (openConnection): Use `setURL', not `url.set'.Tom Tromey2-2/+7
* gnu/gcj/protocol/file/Handler.java (openConnection): Use `setURL', not `url.set'. From-SVN: r33306
2000-04-21typoAlexandre Oliva1-1/+1
From-SVN: r33305
2000-04-21Daily bump.Jeff Law5-5/+5
From-SVN: r33304
2000-04-20* loop.c (emit_iv_add_mult): Revert last change.Richard Henderson2-51/+9
From-SVN: r33302
2000-04-20jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.Jason Schroeder2-1/+5
Thu Apr 20 18:20:58 2000 Jason Schroeder <shrode@subnature.com> * jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction. From-SVN: r33301
2000-04-21Fix for PR java.io/204:Tom Tromey5-568/+1431
* java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PipedOutputStream.java, java/io/PipedWriter.java: Imported from Classpath. From-SVN: r33300
2000-04-2120000420-2.c: New test for stack misalignment when optimizing...Greg McGary2-0/+16
* compile/20000420-2.c: New test for stack misalignment when optimizing, but without sibling-call optimizations (-O1). From-SVN: r33299
2000-04-21block.java: New file.Alexandre Petit-Bianco3-0/+20
* libjava.compile/block.java: New file. * libjava.compile/block.out: New file. From-SVN: r33298
2000-04-20re GNATS libgcj/212 (build is broken on Linux/Alpha)Tom Tromey4-31/+36
Fix for PR libgcj/212: * gcj/javaprims.h (_Jv_word, _Jv_word2): Removed definitions. * include/jvm.h (_Jv_word, _Jv_word2): Define. * java/lang/Class.h (_Jv_word): Declare. From-SVN: r33292
2000-04-20throwit.out: Fixed output to be correct.Tom Tromey3-5/+18
* libjava.jni/throwit.out: Fixed output to be correct. * libjava.jni/noclass.java (main): `find_it' throws an exception. From-SVN: r33291
2000-04-20cpplib.h (enum cpp_ttype): Add token types for all punctuators.Zack Weinberg8-81/+391
* cpplib.h (enum cpp_ttype): Add token types for all punctuators. Distinguish pp-numbers from valid C numbers. Give some tokens better names. Initialize from macro. (struct cpp_name, cpp_token, cpp_toklist): New data structures. Update prototypes. * cpplex.c (bump_column, expand_name_space, expand_token_space, init_token_list, cpp_output_list, _cpp_scan_line): New functions. (output_line_command): Add third argument, new line number. * cpphash.h: Update prototypes. * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new token names. From-SVN: r33289
2000-04-20* config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.Richard Henderson2-0/+6
From-SVN: r33288
2000-04-20* gcc.dg/20000420-1.c: New test.Jeffrey A Law2-0/+23
From-SVN: r33286