aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-12-13Tests by Zack Weinberg <zackw@stanford.edu>.Neil Booth3-5/+115
* gcc.dg/cpp/defined.c: Update. * gcc.dg/cpp/defined_trad.c: New tests. From-SVN: r38229
2000-12-13(ASM_OUTPUT_SECTION_NAME): emit @nobitsAldy Hernandez6-0/+19
From-SVN: r38228
2000-12-13cppfiles.c (read_name_map): Return null if open () fails.Neil Booth2-28/+29
* cppfiles.c (read_name_map): Return null if open () fails. (remap_filename): Simplify logic. Add ICE if it doesn't work as expected. Perform secondary lookup attempt on base filename only. From-SVN: r38227
2000-12-13flow.c (notice_stack_pointer_modification_1): Notice midifications using ↵Jan Hubicka2-0/+7
PRE_MODIFY and POST_MODIFY. * flow.c (notice_stack_pointer_modification_1): Notice midifications using PRE_MODIFY and POST_MODIFY. From-SVN: r38226
2000-12-13fix dateDJ Delorie1-1/+1
From-SVN: r38223
2000-12-13typeck.c (build_binary_op): Do signed/unsigned warnings for >?DJ Delorie2-1/+7
* typeck.c (build_binary_op): Do signed/unsigned warnings for >? and <? operators. From-SVN: r38222
2000-12-13* genoutput.c (process_template): Add sanity checking for '@' templates.Jan Hubicka2-0/+13
From-SVN: r38220
2000-12-13Plug a memory leak.Bernd Schmidt2-0/+7
From-SVN: r38218
2000-12-13Daily bump.Jeff Law2-2/+2
From-SVN: r38216
2000-12-13* gcc.dg/cpp/tr-direct.c: Update.Neil Booth2-2/+6
From-SVN: r38215
2000-12-12* Makefile.in (distclean): Remove safe-ctype.c as well.Mike Stump2-1/+5
From-SVN: r38213
2000-12-12tradcpp.c (do_error): Cast difference of pointers to int for error message.Brad Lucier2-1/+6
* tradcpp.c (do_error): Cast difference of pointers to int for error message. From-SVN: r38212
2000-12-12linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...Franz Sirl3-3/+18
2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here... * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here. From-SVN: r38211
2000-12-12Fix for ia64-linux miscompilation of glibc nan tests.Jim Wilson1-0/+4
* rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT. From-SVN: r38210
2000-12-12Fix for ia64-linux glibc miscompilation of nan tests.Jim Wilson1-1/+9
* rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT. From-SVN: r38209
2000-12-12configure.in: Simplify language enabling/disabling code.Alexandre Oliva8-274/+299
* configure.in: Simplify language enabling/disabling code. * configure: Rebuilt. * ch/config-lang.in (target_libs): Set. (build_by_default): Set to no. * cp/config-lang.in (target_libs): Set. * f/config-lang.in (target_libs): Set. * java/config-lang.in (target_libs): Set. * objc/config-lang.in (target_libs): Set. From-SVN: r38207
2000-12-12tradcpp.c (enum node_type): Add T_ERROR.Neil Booth2-0/+19
* tradcpp.c (enum node_type): Add T_ERROR. (do_error): New function. (directive_table): Add #error handler. From-SVN: r38205
2000-12-12configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for ↵Franz Sirl1-0/+9
powerpc*-*-*. 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*. * configure: Regenerated. * config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define. * config/rs6000/rs6000.c (rs6000_unique_section): Use STRIP_NAME_ENCODING. From-SVN: r38204
2000-12-12configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for ↵Franz Sirl4-7/+9
powerpc*-*-*. 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*. * configure: Regenerated. * config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define. * config/rs6000/rs6000.c (rs6000_unique_section): Use STRIP_NAME_ENCODING. From-SVN: r38203
2000-12-12Daily bump.Jeff Law2-2/+2
From-SVN: r38202
2000-12-11* gcc.dg/cpp/defined_trad.c: Update.Neil Booth1-1/+6
From-SVN: r38199
2000-12-11pa.c (cmpib_comparison_operator): Remove GEU and LTU.Jeffrey A Law3-4/+8
* pa.c (cmpib_comparison_operator): Remove GEU and LTU. * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding changes. From-SVN: r38197
2000-12-11emit initial value for all fieldsBruce Korb3-131/+136
From-SVN: r38196
2000-12-11* gcc.dg/cpp/defined_trad.c: New test.Neil Booth2-0/+16
From-SVN: r38195
2000-12-11* tradcpp.h: For tradcpp, NUL is not whitespace.Neil Booth2-1/+5
From-SVN: r38194
2000-12-11* fix-header.c (read_scan_file): Macro expansion is not a file buffer.Neil Booth2-1/+5
From-SVN: r38192
2000-12-11avr.c (compare_condition, [...]): New functions.Marek Michalkiewicz2-18/+44
* config/avr/avr.c (compare_condition, compare_sign_p): New functions. (compare_diff_p, compare_eq_p): Call compare_condition. (out_tsthi, out_tstsi): Call compare_sign_p. (avr_progmem_p): Check for error_mark_node. From-SVN: r38190
2000-12-11Daily bump.Jeff Law2-2/+2
From-SVN: r38189
2000-12-11* gcc.dg/cpp/if-2.c: Separate tests so that which failed is obvious.Neil Booth2-2/+10
From-SVN: r38187
2000-12-11cpperror.c (print_location): New function.Neil Booth8-112/+159
* cpperror.c (print_location): New function. (print_containing_files): Simplify. (_cpp_begin_message): Simplify and use print_location. * cppfiles.c (stack_include_file): Update. (_cpp_pop_file_buffer): Update. * cpphash.h (struct cpp_buffer): New members include_stack_listed and type. * cpplib.c (_cpp_handle_directive): Buffer->inc is not null. (run_directive): Take buffer type. cpp_push_buffer cannot fail. (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef, handle_assertion): Update. (cpp_push_buffer): Take a buffer type and file name. (cpp_pop_buffer): Update. Clear include_stack_listed. * cpplib.h (input_stack_listing_current): Remove. (enum cpp_buffer_type): New. (cpp_push_buffer): New prototype. * cppmacro.c (builtin_macro): Simplify; buffer cannot be null. * fix-header.c (read_scan_file): Update. From-SVN: r38186
2000-12-11install.texi (i*86-*-sco3.2v5*): Remove information duplicated in html version.Robert Lipe2-25/+6
* install.texi (i*86-*-sco3.2v5*): Remove information duplicated in html version. From-SVN: r38180
2000-12-10jcf-io.c (find_class): Correct the logic that tests to see if a .java file ↵Mo DeJong2-1/+7
is newer than its .class file. 2000-12-07 Mo DeJong <mdejong@redhat.com> * jcf-io.c (find_class): Correct the logic that tests to see if a .java file is newer than its .class file. The compiler was incorrectly printing a warning when file mod times were equal. (http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00530.html) From-SVN: r38177
2000-12-10i386.md (andqi_ext_0_cc): Use matching constraint for op1 to op0.Richard Henderson1-2/+2
* config/i386/i386.md (andqi_ext_0_cc): Use matching constraint for op1 to op0. From-SVN: r38176
2000-12-10genrecog.c (find_operand): Handle 'V' format code.Richard Henderson2-21/+100
* genrecog.c (find_operand): Handle 'V' format code. (find_matching_operand): New. (validate_pattern): Accept '=' for an in-out operand if there is another operand with a matching constraint. From-SVN: r38175
2000-12-10* genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.Richard Henderson2-1/+4
From-SVN: r38174
2000-12-10Daily bump.Jeff Law2-2/+2
From-SVN: r38170
2000-12-09Top level ChangeLog:Alexandre Petit-Bianco3-5/+10
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com> * libjava: Imported from /cvs/java. * libffi: Likewise. * Boehm-gc: Likewise. libjava/ChangeLog: 2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com> * Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip. (ZIP): Points at fastjar instead of zip. (libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip. (libgcj_la_LDFLAGS): Correctly point at libsupc++. (libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip. (libgcjx_la_LDFLAGS): Correctly point at libsupc++. ($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip. ($(x_java_source_files:.java=.class):): Likewise. (libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses fastar's flags. (CLEANFILES): libgcj.jar replaces libgcj.zip. (java/lang/ClassLoader.h:): Depends on libgcj.jar. (gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:, java/lang/String.h:, java/lang/reflect/Constructor.h:, java/lang/reflect/Field.h:, java/lang/reflect/Method.h:, gnu/gcj/runtime/VMClassLoader.h:, java/io/ObjectInputStream$$GetField.h:, java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise. (Makefile.in): Rebuilt. gcc/java/ChangeLog: 2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com> * Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip. jcf-path.c: Likewise. From-SVN: r38167
2000-12-10zipfile.h (ZipDirectory): Declare size, uncompressed_size, filestart and ↵Anthony Green2-4/+9
filename_length as int values. * zipfile.h (ZipDirectory): Declare size, uncompressed_size, filestart and filename_length as int values. From-SVN: r38165
2000-12-09genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and STRICT_LOW_PART ↵Richard Henderson2-19/+47
as SET_DEST have in-out constraints. * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and STRICT_LOW_PART as SET_DEST have in-out constraints. From-SVN: r38164
2000-12-09c-common.c (check_function_format): Don't suggest adding format attributes ↵Joseph Myers4-2/+46
to functions with no parameter to which... * c-common.c (check_function_format): Don't suggest adding format attributes to functions with no parameter to which to add them. testsuite: * gcc.dg/format-miss-2.c: New test. From-SVN: r38163
2000-12-09Remove some psurious whitespaceNick Clifton1-4/+4
From-SVN: r38161
2000-12-09Mark the generated insn not the set as being DWARF2_FRAME_RELATED_P.Nick Clifton2-1/+6
From-SVN: r38160
2000-12-09Clean up copy-initialization in overloading code.Jason Merrill1-4/+4
* call.c (build_user_type_conversion_1): Die if we are asked to convert to the same or a base type. (implicit_conversion): Avoid doing so. Lose reference binding code. (convert_like_real): Treat BASE_CONV and RVALUE_CONV as implicit direct-initialization. Also do direct-init part of copy-init. (build_user_type_conversion): Don't provide context to convert_like. * cvt.c (ocp_convert): build_user_type_conversion will now provide the constructor call for copy-init. From-SVN: r38159
2000-12-09error.c (dump_function_name): Don't let the user see __comp_ctor.Jason Merrill8-82/+128
* error.c (dump_function_name): Don't let the user see __comp_ctor. Clean up copy-initialization in overloading code. * call.c (build_user_type_conversion_1): Die if we are asked to convert to the same or a base type. (implicit_conversion): Avoid doing so. Lose reference binding code. (convert_like_real): Treat BASE_CONV and RVALUE_CONV as implicit direct-initialization. Also do direct-init part of copy-init. (build_user_type_conversion): Don't provide context to convert_like. * cvt.c (ocp_convert): build_user_type_conversion will now provide the constructor call for copy-init. * pt.c (tsubst_decl): Call clone_function_decl here if this is an instantiation of a member template. (do_decl_instantiation): Not here. From-SVN: r38158
2000-12-09Makefile.in: use $(build_exeext) for all build system executable targets.Laurynas Biveinis2-46/+54
* Makefile.in: use $(build_exeext) for all build system executable targets. From-SVN: r38157
2000-12-09oops, that was a mistakeDJ Delorie1-98/+48
From-SVN: r38156
2000-12-09install.texi: remove i[345]86-*-winnt3.5 section.Laurynas Biveinis8-303/+104
* install.texi: remove i[345]86-*-winnt3.5 section. * configur.bat: removed. * config/msdos: directory removed. From-SVN: r38153
2000-12-09lineflags.c: New tests.Neil Booth5-4/+51
* gcc.dg/cpp/lineflags.c: New tests. * gcc.dg/cpp/poison.c: Update. * gcc.dg/cpp/redef2.c: Update. * gcc.dg/cpp/skipping.c: New test. From-SVN: r38151
2000-12-09cppfiles.c (NEVER_REREAD, [...]): Move from cpphash.h.Neil Booth6-56/+72
* cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h. * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete. * cpplex.c (parse_identifier): Improve diagnostic. (_cpp_lex_token): Return unconditionally at the end of a directive. * cpplib.c (read_flag): Verify legality of each flag. (end_directive): Resotre pfile->skipping before skip_rest_of_line. (do_line): Use the new read_flag. * cppmacro.c (struct cpp_macro, parse_arg, replace_args, check_macro_redefinition, parse_params): Rename var_args to variadic. From-SVN: r38150
2000-12-09cvsignore: Add info files.Joseph Myers4-0/+12
* .cvsignore: Add info files. f: * .cvsignore: New file; add info files. From-SVN: r38149