GCC Administrator
015fde0ae5
Daily bump.
...
From-SVN: r75014
2003-12-25 00:16:06 +00:00
Kazu Hirata
2c338472ba
avr.c: Fix comment formatting.
...
* config/avr/avr.c: Fix comment formatting.
* config/avr/avr.md: Likewise.
From-SVN: r75011
2003-12-24 22:12:32 +00:00
Kazu Hirata
baac771ac4
re PR target/12721 (ICE when building a cross compiler for avr-elf)
...
PR target/12721.
* config/avr/avr.c: Include ggc.h.
(tmp_reg_rtx): Declare with GTY.
(zero_reg_rtx): Likewise.
(ldi_reg_rtx): Remove.
(avr_override_options): Initialize zero_reg_rtx and
ldi_reg_rtx.
(avr_init): Remove.
Include gt-avr.h.
* config/avr/avr.h (LDI_REG_REGNO): Remove.
Remove externs for tmp_reg_rtx, zero_reg_rtx, and ldi_reg_rtx.
From-SVN: r75010
2003-12-24 20:39:30 +00:00
David Edelsohn
2dcfc29d81
* doc/md.texi: Document PowerPC vector register constraint letter.
...
From-SVN: r75009
2003-12-24 11:19:16 -05:00
Mark Mitchell
8f23fc8185
calls.c (expand_call): Recognize calls to "sqrt" and create corresponding notes.
...
* calls.c (expand_call): Recognize calls to "sqrt" and create
corresponding notes.
* g++.dg/bprob/bprob.exp: Load target-supports.exp
* g77.dg/bprob/bprob.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise.
* gcc.dg/builtins-18.c: Use builtins-config.h. Do not test float
variants on systems where the library does not provide that
functionality.
* gcc.dg/builtins-20.c: Use builtins-config.h.
* gcc.dg/builtins-config.h: New file.
From-SVN: r75003
2003-12-24 06:52:27 +00:00
Kaveh R. Ghazi
ac5fe3fe51
mips.c (override_options): Use inform' instead of
warning' for -g -mabi=32 and native assembler.
...
* config/mips/mips.c (override_options): Use `inform' instead
of `warning' for -g -mabi=32 and native assembler.
* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
Don't pass -Wno-error.
From-SVN: r75002
2003-12-24 03:59:59 +00:00
David Edelsohn
8deb9aee94
function.c (assign_parms): Update max_parm_reg and parm_reg_stack_loc when adding new parm reg.
...
* function.c (assign_parms): Update max_parm_reg and
parm_reg_stack_loc when adding new parm reg.
From-SVN: r75001
2003-12-23 21:22:37 -05:00
Kelley Cook
2ab127f3ef
gnat_ug.texi: Force a CVS commit by updating copyright.
...
2003-12-23 Kelley Cook <kcook@gcc.gnu.org>
* gnat_ug.texi: Force a CVS commit by updating copyright.
* gnat_ug_vxw.texi: Regenerate.
* gnat_ug_wnt.texi: Regenerate.
* gnat_ug_vms.texi: Regenerate.
* gnat_ug_unx.texi: Regenerate.
From-SVN: r75000
2003-12-24 00:16:53 +00:00
GCC Administrator
c4a239e926
Daily bump.
...
From-SVN: r74998
2003-12-24 00:16:08 +00:00
Mark Mitchell
def66b107c
Makefile.in (OBJS-common): Remove dwarfout.o.
...
* Makefile.in (OBJS-common): Remove dwarfout.o.
(dwarfout.o): Remove.
* common.opt: Remove -gdwarf, -gdwarf+.
* defaults.h (PREFERRED_DEBUGGING_TYPE): Do not check for
DWARF_DEBUGGING_INFO.
* dwarf2out.c: Fix typo in comment.
* dwarfout.c: Remove.
* opts.c (common_handle_option): Remove OPT_gdwarf, OPT_gdwarf_.
* toplev.c (process_options): Remove check for
DWARF_DEBUGGING_INFO.
* config/elfos.h (DWARF_DEBUGGING_INFO): Do not #define it or
#undef it.
* config/netware.h (DWARF_DEBUGGING_INFO): Likewise.
* config/ptx4.h (DWARF_DEBUGGING_INFO): Likewise.
* config/vxworks.h (DWARF_DEBUGGING_INFO): Likewise.
* config/alpha/unicosmk.h (DWARF_DEBUGGING_INFO): Likewise.
* config/arc/arc.h (DWARF_DEBUGGING_INFO): Likewise.
* config/i386/sco5.h (DWARF_DEBUGGING_INFO): Likewise.
* config/i386/x86-64.h (DWARF_DEBUGGING_INFO): Likewise.
* config/m32r/m32r.h (DWARF_DEBUGGING_INFO): Likewise.
* config/mcore/mcore-elf.h (DWARF_DEBUGGING_INFO): Likewise.
* config/sparc/linux64.h (DWARF_DEBUGGING_INFO): Likewise.
* config/sparc/liteelf.h (DWARF_DEBUGGING_INFO): Likewise.
* config/sparc/sol26-sld.h (DWARF_DEBUGGING_INFO): Likewise.
* config/sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO): Likewise.
* doc/invoke.texi: Do not mention -gdwarf, -gdwarf-1, -gdwarf-1+,
or -gdwarf+.
* doc/tm.texi: Likewise.
From-SVN: r74996
2003-12-24 00:14:25 +00:00
Mark Mitchell
b8ee7f0279
gcc-dg.exp (dg-require-profiling): New function.
...
* lib/gcc-dg.exp (dg-require-profiling): New function.
* lib/target-supports.exp (check_profiling_available): Likewise.
* g++.dg/bprob/bprob.exp: Use check_profiling_available.
* g77.dg/bprob/bprob.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise.
* g++.old-deja/g++.law/profile1.C: Use dg-require-profiling.
* gcc.dg/20021014-1.c: Likewise.
* gcc.dg/nest.c: Likewise.
From-SVN: r74995
2003-12-23 23:55:06 +00:00
Mark Mitchell
7bd35dac24
java1.C: Use -fdollars-in-identifiers when compiling.
...
* g++.dg/lookup/java1.C: Use -fdollars-in-identifiers when
compiling.
* g++.dg/lookup/java2.C: Likewise.
* gcc.dg/cpp/lexident.c: Likewise.
From-SVN: r74992
2003-12-23 22:41:27 +00:00
Kazu Hirata
bfb26eddf5
* config/ns32k/ns32k.c: Convert to ISO-C.
...
From-SVN: r74989
2003-12-23 22:32:54 +00:00
Guilhem Lavaux
692fb023ef
2003-12-23 Guilhem Lavaux <guilhem@kaffe.org>
...
* java/io/ObjectInputStream.java
(getField): Handle transient and non persistent fields.
(readClassDescriptor): Better error handling, use the right
class loader.
(readFields): Fields marked as not present in the stream
or not to be set are not read and set.
* java/io/ObjectInputStream.java
(readFields): Changed implementation of GetField.
(readClassDescriptor): Documented.
* java/io/ObjectOutputStream.java
(writeClassDescriptor): Added condition when to write class super
class information.
From-SVN: r74985
2003-12-23 22:06:01 +00:00
Kazu Hirata
f2073745a8
20020604-1.c: XFAIL on H8 if -mn is given.
...
* gcc.c-torture/compile/20020604-1.c: XFAIL on H8 if -mn is
given.
* gcc.c-torture/compile/961203-1.c: Likewise.
* gcc.c-torture/compile/980506-1.c: Likewise.
From-SVN: r74981
2003-12-23 20:36:59 +00:00
Zack Weinberg
4c494a15bb
ia64.c (ia64_va_arg): Pass pointer for variable-sized type through convert_memory_address.
...
gcc:
* config/ia64/ia64.c (ia64_va_arg): Pass pointer for
variable-sized type through convert_memory_address.
(ia64_in_small_data_p): Always return false for FUNCTION_DECLs.
gcc/testsuite:
* lib/gcc-dg.exp (dg-prune-output): New annotation.
(additional_prunes): New global.
(gcc-dg-prune): Handle additional per-test pruning.
(dg-test): Clear additional_prunes between tests.
* gcc.c-torture/compile/920625-1.c: Remove xfail. Use
dg-prune-output to avoid spurious failures from assembler
complaining about nonexistent WAW violations.
* gcc.c-torture/compile/981223-1.c: Remove dg-options line.
Use dg-prune-output to avoid spurious failures from assembler
warning about Itanium B-step errata.
From-SVN: r74980
2003-12-23 20:25:49 +00:00
Fernando Nasser
baba70d019
GtkChoicePeer.java (postItemEvent): Rename to...
...
2003-12-22 Fernando Nasser <fnasser@redhat.com>
* gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to... (choicePostItemEvent): Change signature to more specific String object.
* java/awt/Choice.java (add): Generate ItemEvent for the first item
added.
(insert): Generate ItemEvent if insertion caused
selection to change.
(remove): Generate ItemEvent if removal cause selection to change.
(removeAll): Change algorithm to prevent generation of ItemEvents.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
(connect_choice_item_selectable_hook): Change argument type.
Fix argument value.
Make sure resources are feed by registering callback.
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
above function.
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
(item_activate): Ditto.
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
menuitem.
(item_removed): New function. Free resources.
* jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
name.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
(Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
choicePostItemEvent.
From-SVN: r74979
2003-12-23 19:24:00 +00:00
Kazu Hirata
459ac19fa5
* MAINTAINERS: Remove the mn10200 maintainer.
...
From-SVN: r74978
2003-12-23 18:48:46 +00:00
Jan Hubicka
a8a5f53add
common.opt (fprofile-generate,fprofile-use): Add.
...
* common.opt (fprofile-generate,fprofile-use): Add.
* gcc.c (LINK_COMMAND_SPEC): Arrange -fprofile-generate to imply -lgcov
* opts.c (profile_arc_flag_set, flag_profile_values_set,
flag_unroll_loops_set, flag_tracer_set,
flag_value_profile_transformations_set,
flag_peel_loops_set): New static variables.
(common_handle_option): Deal with -fprofile-generate/-fprofile-use
* invoke.texi (-fprofile-generate, -fprofile-use): Describe.
From-SVN: r74976
2003-12-23 17:55:33 +00:00
Mark Mitchell
57702a80e8
c-common.c (flag_abi_version): Default to 2.
...
* c-common.c (flag_abi_version): Default to 2.
* c-cppbuiltin.c (c_cpp_builtins): Define __GXX_ABI_VERSION
uniformly for versions above 2.
* doc/invoke.texi: Update documentation for -fabi-version.
* cp-lang.c (cp_expr_size): Return zero for empty classes.
* cp-tree.h (warn_if_uknown_interface): Remove unused function.
* decl2.c (warn_if_unknown_interface): Likewise.
* g++.dg/abi/macro0.C: New test.
* g++.dg/abi/macro1.C: Likewise.
* g++.dg/abi/macro2.C: Likewise.
* g++.dg/abi/bitfield5.C: Add explicit -fabi-version=1 option.
* g++.dg/abi/bitfield7.C: Likewise.
* g++.dg/abi/dtor2.C: Likewise.
* g++.dg/abi/mangle11.C: Likewise.
* g++.dg/abi/mangle12.C: Likewise.
* g++.dg/abi/mangle14.C: Likewise.
* g++.dg/abi/mangle17.C: Likewise.
* g++.dg/abi/vbase10.C: Likewise.
* g++.dg/abi/vbase14.C: Likewise.
* g++.dg/template/qualttp17.C: Likewise.
From-SVN: r74973
2003-12-23 16:53:53 +00:00
Michael Koch
32a2571b0c
Copies.java, [...]: New files.
...
2003-12-23 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/Copies.java,
javax/print/attribute/standard/JobImpressions.java,
javax/print/attribute/standard/JobMediaSheets.java,
javax/print/attribute/standard/JobPriority.java,
javax/print/attribute/standard/NumberOfDocuments.java,
javax/print/attribute/standard/NumberOfInterveningJobs.java,
javax/print/attribute/standard/NumberUp.java,
javax/print/attribute/standard/PagesPerMinuteColor.java,
javax/print/attribute/standard/PagesPerMinute.java,
javax/print/attribute/standard/QueuedJobCount.java: New files.
* Makefile.am (ordinary_java_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r74971
2003-12-23 11:55:30 +00:00
Andrew Pinski
4ea49dd051
re PR c/11995 (Error recovery problem after invalid labelled declaration in c99 mode)
...
2003-12-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c/11995
* gcc.dg/20031223-1.c: New test.
From-SVN: r74970
2003-12-23 02:33:00 -08:00
Michael Koch
c36d5c04b1
2003-12-23 Michael Koch <konqueror@gmx.de>
...
* javax/print/attribute/AttributeSetUtilities.java
(verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
* javax/print/attribute/HashAttributeSet.java
(HashAttributeSet): Call internal add methods, added missing
exceptions.
(add): Call addInternal, added exceptions to documentation.
(addInternal): New method.
(addAll): Call addAllInternal, added exception to documentation.
(addAllInternal): New method.
(clear): Added exception to documentation.
(remove): Likewise.
* javax/print/attribute/URISyntax.java
(serialVersionUID): Fixed value.
From-SVN: r74969
2003-12-23 10:21:31 +00:00
Nathan Sidwell
5d027e7b03
re PR c++/13387 (assignment to base class corrupts subclass)
...
PR c++/13387
* cp-lang.c (cxx_get_alias_set): Correct logic for a base type.
From-SVN: r74968
2003-12-23 09:02:12 +00:00
Geoffrey Keating
4b8a63d6c2
rs6000.md: Change many instances of '!
...
* config/rs6000/rs6000.md: Change many instances of '!
TARGET_POWERPC64' to 'TARGET_32BIT' when the pattern being guarded
was guarded only because it changed CR0 or the carry bit in XER.
From-SVN: r74966
2003-12-23 08:12:41 +00:00
Benjamin Kosnik
d38d4e5d18
new_allocator.h (new_allocator): Proper allocator class.
...
2003-12-23 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/new_allocator.h (new_allocator): Proper allocator class.
(__new_alloc): Delete.
* include/ext/malloc_allocator.h (malloc_allocator): Same.
(__malloc_alloc): Delete.
* include/ext/mt_allocator.h: Same, but weakly.
* include/ext/debug_allocator.h: Convert to the new style.
* include/ext/pool_allocator.h: Use global new and delete directly.
* include/backward/alloc.h: Don't inject malloc_allocator, or
debug_allocator.
* testsuite/ext/allocators.cc: Minimal fixups for usage of new
classes. Comment out tests with __pool_alloc for now.
* testsuite/performance/allocator.cc: Same.
From-SVN: r74965
2003-12-23 07:24:57 +00:00
Eric Botcazou
cbf6e52aa5
re PR rtl-optimization/13394 (noreturn attribute ignored on recursive invokation)
...
PR optimization/13394
* toplev.c (rest_of_compilation): Move call to
check_function_return_warnings right after the sibcall
optimization pass.
From-SVN: r74961
2003-12-23 05:32:02 +00:00
Eric Botcazou
b300633777
re PR c/13382 (Type information for const pointer disappears during optimisation.)
...
PR c/13382
* c-typeck.c (convert_for_assignment): When converting from
integral type to pointer type, always call convert.
From-SVN: r74960
2003-12-23 05:26:41 +00:00
Mark Mitchell
adb83beed2
* doc/invoke.texi: Deprecate -fwritable-strings.
...
From-SVN: r74959
2003-12-23 00:28:04 +00:00
GCC Administrator
28476563a2
Daily bump.
...
From-SVN: r74957
2003-12-23 00:16:07 +00:00
Matt Austern
34c878297e
stl_bvector.h (_Bvector_alloc_base): Eliminate.
...
* include/bits/stl_bvector.h (_Bvector_alloc_base): Eliminate.
(_Bvector_base): Inherit directly from word allocator.
* include/bits/stl_tree.h (_Rb_tree_alloc_base): Eliminate.
(_Rb_tree_base): Eliminate.
(_Rb_tree): Inherit directly from node allocator.
* include/ext/slist (_Alist_alloc_base): Eliminate.
(_Slist_base): Inherit direcly from node allocator.
From-SVN: r74955
2003-12-23 00:09:26 +00:00
Mark Mitchell
7813d14ccc
re PR c++/12862 (Conflicts Between typedefs/enums and Namespace Member Declarations)
...
* c-common.c (flag_external_templates): Remove.
(flag_alt_external_templates): Likewise.
* c-common.h (flag_external_templates): Remove.
(flag_alt_external_templates): Likewise.
* c-opts.c (c_common_handle_option): Unsupport
-falt-external-templates and -ftemplates.
* doc/invoke.texi: Remove mention of -fexternal-templates and
-falt-external-templates.
* decl.c (start_function): Do not check
flag_alt_external_templates or flag_external_templates.
* decl2.c (warn_if_unknown_interface): Likewise.
* lex.c (extract_interface_info): Likewise.
* pt.c (lookup_template_class): Likewise.
PR c++/12862
* name-lookup.c (pushdecl): Look up all namespace-scope entities
in their corresponding namespace.
* g++.old-deja/g++.jason/template18.C: Remove.
* g++.old-deja/g++.jason/template37.C: Likewise.
PR c++/12862
* g++.dg/lookup/ns1.C: New test.
From-SVN: r74954
2003-12-22 23:57:08 +00:00
Andrew Pinski
1c8cfe0351
re PR target/13466 (-mpowerpc64 causes ICE)
...
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
PR target/13466
* config.gcc (powerpc-*-darwin): Remove overridden value of need_64bit_hwint.
From-SVN: r74952
2003-12-22 14:04:19 -08:00
Benjamin Kosnik
941fe801b4
numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY.
...
2003-12-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/18_support/numeric_limits.cc: Add _GLIBCXX_ASSERT to
dg-options in testcases that use VERIFY.
* testsuite/23_containers/vector/invalidation/1.cc: Same.
* testsuite/23_containers/vector/invalidation/2.cc: Same.
* testsuite/23_containers/vector/invalidation/3.cc: Same.
* testsuite/23_containers/vector/invalidation/4.cc: Same.
* testsuite/23_containers/vector/resize/1.cc: Same.
* testsuite/26_numerics/complex_value.cc: Same.
* testsuite/27_io/ios_base/storage/1.cc: Same.
* testsuite/27_io/ios_base/storage/2.cc: Same.
* testsuite/27_io/ios_base/storage/3.cc: Same.
* testsuite/27_io/manipulators/standard/char/2.cc: Same.
* testsuite/backward/11460.cc: Same.
* testsuite/backward/strstream_members.cc: Same.
* include/ext/hash_set (class hash_multiset): Fix typo.
From-SVN: r74951
2003-12-22 21:05:22 +00:00
Mark Mitchell
1ffe6573a9
re PR c++/12397 (two-stage name lookup argument shadowed by global type)
...
PR c++/12397
* typeck.c (finish_class_member_access_expr): Don't tree
IDENTIFIER_NODEs as non-dependent expressions.
PR c++/12397
* g++.dg/template/lookup3.C: New test.
From-SVN: r74949
2003-12-22 20:52:55 +00:00
Thomas Fitzsimmons
a6444561cb
2003-12-22 Thomas Fitzsimmons <fitzsim@redhat.com>
...
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(pre_event_handler): Don't dereference NULL focus_obj_ptr.
From-SVN: r74948
2003-12-22 20:43:37 +00:00
Andrew Pinski
92a12fbcc4
re PR c++/5050 (template instantiation depth exceeds/maybe recursion problem)
...
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/5050
* tree.c (cp_start_inlining): Remove.
(cp_end_inlining): Remove.
* cp-lang.c (LANG_HOOKS_TREE_INLINING_START_INLINING): Do not define.
(LANG_HOOKS_TREE_INLINING_END_INLINING): Do not define.
* cp-tree.h (cp_start_inlining): Do not declare.
(cp_end_inlining): Do not declare.
PR c++/5050
* g++.dg/template/recurse1.C: New test.
From-SVN: r74947
2003-12-22 12:42:58 -08:00
Benjamin Kosnik
70a8416094
5.cc: Don't use stdc++.h.gch.
...
2003-12-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/objects/char/5.cc: Don't use stdc++.h.gch.
* testsuite/27_io/objects/wchar_t/5.cc: Same.
* docs/html/test.html: Add docs for constructing test files that
don't use stdc++.h.gch.
* scripts/testsuite_flags.in (PCHFLAGS): Move to --cxxpchflags.
* testsuite/libstdc++-dg/normal.exp: Compute DEFAULT_CXXFLAGS
differently.
* include/bits/ios_base.h (ios_base::Init::_S_initialized): Remove.
* src/ios_init.cc: Same.
* config/linker-map.gnu: Same.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Adjust line numbers.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
From-SVN: r74946
2003-12-22 20:09:23 +00:00
Andrew Pinski
ff954f39fb
emit-rtl.c (copy_rtx_if_shared): Add comment about its use of copy_rtx_if_shared_1.
...
* emit-rtl.c (copy_rtx_if_shared): Add comment about its use of
copy_rtx_if_shared_1.
(copy_rtx_if_shared_1): Add comment about what the function does.
From-SVN: r74945
2003-12-22 11:52:30 -08:00
Andrew Pinski
67e053df03
re PR libstdc++/13462 (Non-standard conformed type set::pointer)
...
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
PR libstdc++/13462
* include/bits/stl_multiset.h (__gnu_norm::multiset): Define pointer
as allocator's pointer, likewise for reference, const_pointer, and
const_reference.
* include/bits/stl_set.h (__gnu_norm::set): Likewise.
* include/ext/hash_set (__gnu_ext::hash_set): Likewise.
(__gnu_ext::hash_multiset): Likewise.
From-SVN: r74944
2003-12-22 11:32:34 -08:00
Daniel Jacobowitz
6b309c6e57
re PR other/13272 (libiberty/lbasename.c has incorrect DIR_SEPARATOR)
...
PR debug/13272
* Makefile.in (lbasename.o): Depend on filenames.h.
* lbasename.c: Include "filenames.h" instead of defining
its macros locally.
From-SVN: r74943
2003-12-22 19:21:37 +00:00
Fariborz Jahanian
3b3ed12800
darwin-misaligned.c: New test.
...
2003-12-22 Fariborz Jahanian <fjahanian@apple.com>
* gcc.dg/darwin-misaligned.c: New test.
From-SVN: r74942
2003-12-22 11:08:42 -08:00
Andrew Pinski
67b288631b
c-decl.c (finish_function): Change order of checks.
...
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
* c-decl.c (finish_function): Change order of checks.
(c_expand_body): Likewise.
From-SVN: r74941
2003-12-22 11:06:24 -08:00
Mark Mitchell
499b568fe1
re PR c++/12479 ([3.4 only] System header should not cause -pedantic to error about "extra `;'")
...
PR c++/12479
* parser.c (cp_parser_declaration_seq_opt): Only issue "extra ;"
pedwarn when not in a system header.
PR c++/12479
* g++.dg/parse/semicolon1.C: New test.
* g++.dg/parse/semicolon1.h: Likewise.
From-SVN: r74940
2003-12-22 19:00:12 +00:00
Fariborz Jahanian
fe5597f25e
Test to check for a valid memory reference of a misaligned DImode memory
...
with -O3 -mpowerpc64.
From-SVN: r74939
2003-12-22 18:37:24 +00:00
Fariborz Jahanian
585de9be32
Correct check for legitimate offset when addressing a DImode memory in
...
-mpowerpc64.
From-SVN: r74938
2003-12-22 18:36:02 +00:00
Fariborz Jahanian
b11532b308
Check for a legitimate offset when addressing DImode memory with -mpowerpc64.
...
From-SVN: r74937
2003-12-22 18:33:00 +00:00
Dale Johannesen
e3e9336fc6
reload1.c: Add reg_reloaded_call_part_clobbered.
...
2003-12-22 Dale Johannesen <dalej@apple.com>
* reload1.c: Add reg_reloaded_call_part_clobbered.
(reload_as_needed): Use it.
(forget_old_reloads_1): Ditto.
(emit_reload_insns): Ditto.
From-SVN: r74936
2003-12-22 18:25:35 +00:00
Dale Johannesen
aaf3ce3e55
re PR rtl-optimization/12828 (-floop-optimize is unstable on PowerPC (float to int conversion problem))
...
2003-12-21 Dale Johannesen <dalej@apple.com>
PR optimization/12828
* loop.c: Add find_regs_nested to look inside CLOBBER(MEM).
(scan_loop): Call it.
* regclass.c (reg_scan_mark_regs): Look inside CLOBBER(MEM).
From-SVN: r74935
2003-12-22 18:23:15 +00:00
Andrew Pinski
af3fbed110
re PR c/9163 (ICE in genrtl_compound_stmt at c-semantics.c:776 with c99 mode and checking enabled)
...
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
PR c/9163
* c-decl.c (poplevel): Only set DECL_INITIAL of a current function
if it is non-null.
(finish_function): Check for error_mark_node or null on DECL_RESULT and
DECL_RESULT of fndecl.
(c_expand_body): Only expand when DECL_INITIAL of fndecl is not
error_mark_node and not null.
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
PR c/9163
* gcc.dg/20031222-1.c: New test.
From-SVN: r74934
2003-12-22 10:16:56 -08:00