* c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
* cpperror.c (print_containing_files): Get right line number.
(print_location): Output column of 1 if 0.
* cppfiles.c (stack_include_file): cpp_push_buffer handles
the callback.
* cpphash.h (_cpp_do_file_change): No longer external.
* cpplib.c (do_file_change): Now local to cpplib.c.
(do_line): Fake a buffer stack for preprocessed files.
(cpp_push_buffer): Create a file_change callback. Handle faked
buffers.
(cpp_pop_buffer): Similarly.
* cpplib.h: BUF_FAKE: New buffer type.
* cppmain.c: Update to handle correct file renaming where a
#line is the first line of the main file, and produce only
the renamed file, not the original file, as output.
From-SVN: r38319
* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
* config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
* config/c4x/c4x.c (c4x_init_pragma): New function.
(c_lex_func): New variable.
(c4x_parse_pragma): Use c_lex_func.
Co-Authored-By: Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
From-SVN: r38317
* libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
* libgcc2.c (__absvsi2): Use Wtype and DWtype.
(__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
(__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.
From-SVN: r38314
* i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
lshrhi3_cmpno): Remove redundant '@' from the template.
* i386.md (cmpstrsi_1): Fix type of the compare.
* genattrtab.c (attr_rtx_cost): New function.
(simplify_test_exp): Avoid overactive inlining; use temporary
obstacks for tests.
From-SVN: r38310
2000-12-15 Diego Novillo <dnovillo@redhat.com>
* i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
_GLOBAL_OFFSET_TABLE_ when using Intel syntax.
From-SVN: r38308
* tradcpp.c: T_WARNING: New.
(do_warning): New function.
(finclude): Skip past the newline and increase the line number
before calling output_line_command.
(do_line): Skip the new line after output_line_command. Don't
pre-decrement the line number.
From-SVN: r38305
* libjava.lang/stub.xfail: New file.
* libjava.lang/pr83.xfail: New file.
* libjava.lang/err8.xfail: New file.
* libjava.lang/err7.xfail: New file.
* libjava.lang/Shazam.xfail: New file.
* libjava.lang/err11.xfail: New file.
* libjava.lang/instinit2.java: Renamed class to `instinit2'.
* libjava.lang/anon3.out: Fixed typo.
* libjava.lang/Class_1.java (main): Uncommented out previously
failing code; now it works
From-SVN: r38297
* lib/libjava.exp (libjava_tcompile): New proc.
(test_libjava_from_source): Use it.
(test_libjava_from_javac): Likewise.
(find_javac): New proc.
(bytecompile_file): Use it.
(test_libjava_from_javac): Handle `xfail-gcjC' tag. If no-exec
set, then don't link even if program has a `main'.
* libjava.compile/static_3.xfail: New file.
* libjava.compile/weirddecl.xfail: New file.
* libjava.compile/static_2.xfail: New file.
* libjava.compile/not_a_redef.xfail: New file.
* libjava.compile/inner_1.xfail: New file.
* libjava.compile/assignment_2.xfail: New file.
* libjava.compile/assignment.xfail: New file.
* libjava.compile/abstr.xfail: New file.
* libjava.compile/PR375.xfail: New file.
* libjava.compile/PR374.java: New file.
* libjava.compile/PR238.xfail: New file.
* libjava.compile/PR208.xfail: New file.
* libjava.compile/PR207.xfail: New file.
From-SVN: r38296
* call.c (build_op_delete_call): See through ARRAY_TYPEs.
* call.c (build_new_function_call): Lose space before paren in
error message.
(build_new_method_call): Likewise.
* typeck2.c (build_m_component_ref): Propagate quals from datum.
From-SVN: r38287
* jump.c (jump_optimize_1): Don't delete the line note after the
prologue even if it seems redundant.
* config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
on all insns used to adjust the stack.
From-SVN: r38286
* genrecog.c (add_to_sequence): Remove special case for
const_int_operand.
(maybe_both_true): Return 1 when falling out of sequence when
trying to find common possition in the pattern.
From-SVN: r38284
* function.c (adjust_trampoline_addr): New function.
(trampoline_address): Call it instead of round_trampoline_addr().
* tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.
From-SVN: r38279
2000-12-15 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (end_artificial_method_body): Fixed undefined behavior.
Credits go to rth for finding it.
(http://gcc.gnu.org/ml/gcc/2000-12/msg00495.html)
From-SVN: r38278