platform/upstream/gcc.git
17 years agoInetAddress.java (getByAddress): Create Inet4Address objects when passed IPv4-mapped...
Gary Benson [Fri, 1 Sep 2006 13:30:50 +0000 (13:30 +0000)]
InetAddress.java (getByAddress): Create Inet4Address objects when passed IPv4-mapped IPv6 addresses.

2006-09-01  Gary Benson  <gbenson@redhat.com>

* java/net/InetAddress.java (getByAddress): Create Inet4Address
objects when passed IPv4-mapped IPv6 addresses.
(getByName, getAllByName): Defer to the above to ensure that the
correct Inet*Address objects are returned.

From-SVN: r116622

17 years agoInetAddress.java (getByName, [...]): Only perform security check when DNS lookups...
Gary Benson [Fri, 1 Sep 2006 10:06:13 +0000 (10:06 +0000)]
InetAddress.java (getByName, [...]): Only perform security check when DNS lookups are required.

2006-09-01  Gary Benson  <gbenson@redhat.com>

* java/net/InetAddress.java (getByName, getAllByName):
Only perform security check when DNS lookups are required.

From-SVN: r116621

17 years agoDaily bump.
GCC Administrator [Fri, 1 Sep 2006 00:17:23 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116617

17 years agore PR middle-end/25505 (gcc uses way too much stack space for this code)
Josh Conner [Thu, 31 Aug 2006 23:44:00 +0000 (23:44 +0000)]
re PR middle-end/25505 (gcc uses way too much stack space for this code)

2006-08-31  Josh Conner  <jconner@apple.com>

PR c++/25505
* tree-gimple.c (is_gimple_mem_rhs): Recognize functions
returning aggregates.

From-SVN: r116613

17 years agojvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
Keith Seitz [Thu, 31 Aug 2006 22:56:23 +0000 (22:56 +0000)]
jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.

        * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
        Pass millis to _Jv_CondWait.

From-SVN: r116611

17 years agojvmti.h: Update from Classpath to get latest fixes and improvements.
Keith Seitz [Thu, 31 Aug 2006 22:37:48 +0000 (22:37 +0000)]
jvmti.h: Update from Classpath to get latest fixes and improvements.

        * include/jvmti.h: Update from Classpath to get latest fixes and
        improvements.

From-SVN: r116610

17 years ago* include/jvmti_md.h: New file.
Keith Seitz [Thu, 31 Aug 2006 22:37:25 +0000 (22:37 +0000)]
* include/jvmti_md.h: New file.

From-SVN: r116609

17 years agoPR libstdc++/28671 continued
Benjamin Kosnik [Thu, 31 Aug 2006 22:20:09 +0000 (22:20 +0000)]
PR libstdc++/28671 continued

2006-08-31  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/28671 continued
* acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't use
CXXFLAGS when checking for atomic builtins.
* configure: Regenerate.
* include/bits/atomicity.h: Revert.

From-SVN: r116608

17 years agomt_allocator.h: Remove volatile qualifiers from data members and corresponding locals...
Richard Guenther [Thu, 31 Aug 2006 19:52:16 +0000 (19:52 +0000)]
mt_allocator.h: Remove volatile qualifiers from data members and corresponding locals and...

2006-08-31  Richard Guenther  <rguenther@suse.de>

* include/ext/mt_allocator.h: Remove volatile qualifiers
from data members and corresponding locals and function
signatures.

From-SVN: r116606

17 years agore PR tree-optimization/28839 (ICE in tree-vectorizer.c with -O2 -ftree-vectorize...
Zdenek Dvorak [Thu, 31 Aug 2006 19:33:56 +0000 (21:33 +0200)]
re PR tree-optimization/28839 (ICE in tree-vectorizer.c with -O2 -ftree-vectorize -funswitch-loops)

PR tree-optimization/28839
* tree-into-ssa.c (prune_unused_phi_nodes): Take into account kills in
blocks in that phi arguments appear.

* gcc.dg/pr28839.c: New test.

From-SVN: r116605

17 years agore PR other/22313 (profiledbootstrap is broken on the mainline)
Roger Sayle [Thu, 31 Aug 2006 17:35:32 +0000 (17:35 +0000)]
re PR other/22313 (profiledbootstrap is broken on the mainline)

PR other/22313
* dwarf2out.c (add_fde_cfi): Use a set_loc if the current label is
NULL, otherwise use an advance_loc4 to adjust relative to the
current label.
(output_cfi) <DW_CFA_set_loc>: Update the current label.
(dwarf2out_switch_text_section): Reset the current label to avoid
using advance_loc4 over section boundaries.

From-SVN: r116604

17 years agore PR libgcj/28698 ([gcj] libgcj-bc only used when building shared libs, not executables)
Tom Tromey [Thu, 31 Aug 2006 17:23:57 +0000 (17:23 +0000)]
re PR libgcj/28698 ([gcj] libgcj-bc only used when building shared libs, not executables)

PR libgcj/28698:
* libgcj_bc.c (DECLARE_PRIM_TYPE): New macro.  Declare primitive
classes.

From-SVN: r116603

17 years agognu.ver: Correct atomic helper function signature for case where _Atomic_word is...
Paolo Carlini [Thu, 31 Aug 2006 11:46:31 +0000 (11:46 +0000)]
gnu.ver: Correct atomic helper function signature for case where _Atomic_word is long.

2006-08-31  Paolo Carlini  <pcarlini@suse.de>

* config/abi/pre/gnu.ver: Correct atomic helper function signature
for case where _Atomic_word is long.

From-SVN: r116602

17 years agore PR libstdc++/28671 (undefined reference to `__sync_fetch_and_add_4')
Benjamin Kosnik [Thu, 31 Aug 2006 10:45:59 +0000 (10:45 +0000)]
re PR libstdc++/28671 (undefined reference to `__sync_fetch_and_add_4')

2006-08-31  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/28671
* include/bits/atomicity.h (__exchange_and_add): Declare only.
(__atomic_add): Same.
* config/cpu/generic/atomicity_builtins/atomicity.h: Remove comment.

From-SVN: r116601

17 years agore PR target/24367 (unrecognizable insn with -fPIC -O2 -funroll-loops)
Andreas Krebbel [Thu, 31 Aug 2006 07:43:36 +0000 (07:43 +0000)]
re PR target/24367 (unrecognizable insn with -fPIC -O2 -funroll-loops)

2006-08-31  Andreas Krebbel  <krebbel1@de.ibm.com>

PR target/24367
* config/s390/s390.md ("movsi", "movdi" expander): Accept rtxes like
r12 + SYMBOLIC_CONST.

2006-08-31  Andreas Krebbel  <krebbel1@de.ibm.com>

PR target/24367
* gcc.dg/pr24367.c: New testcase.

From-SVN: r116599

17 years agoDaily bump.
GCC Administrator [Thu, 31 Aug 2006 00:17:15 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116597

17 years agoFixed attribution for patch for PR tree-optimization/17506
Joern Rennecke [Wed, 30 Aug 2006 18:57:54 +0000 (19:57 +0100)]
Fixed attribution for patch for PR tree-optimization/17506

From-SVN: r116593

17 years agore PR c++/26670 (attribute((packed)) sometimes not ignored for non-PODs)
Jason Merrill [Wed, 30 Aug 2006 15:51:17 +0000 (11:51 -0400)]
re PR c++/26670 (attribute((packed)) sometimes not ignored for non-PODs)

        PR c++/26670
        * class.c (check_field_decls): Don't unset TYPE_PACKED until all
        the fields have been processed.

From-SVN: r116591

17 years ago* match.c: Fix a comment typo.
Kazu Hirata [Wed, 30 Aug 2006 15:10:26 +0000 (15:10 +0000)]
* match.c: Fix a comment typo.

From-SVN: r116590

17 years ago* gcc.dg/arm-mmx-1.c: Skip for -mfloat-abi=softfp.
Joseph Myers [Wed, 30 Aug 2006 14:35:14 +0000 (15:35 +0100)]
* gcc.dg/arm-mmx-1.c: Skip for -mfloat-abi=softfp.

From-SVN: r116588

17 years agoconfigure.in: Never build newlib for a Mingw host.
Corinna Vinschen [Wed, 30 Aug 2006 13:48:49 +0000 (13:48 +0000)]
configure.in: Never build newlib for a Mingw host.

2006-08-30  Corinna Vinschen  <corinna@vinschen.de>
* configure.in: Never build newlib for a Mingw host.
Never build newlib as Mingw target library.
Test the existence of winsup/cygwin for building a Cygwin newlib,
rather than just winsup.
Add winsup/mingw and winsup/w32api paths to FLAGS_FOR_TARGET if
building a Mingw target.
* configure: Regenerate.

From-SVN: r116587

17 years agoconfigure.ac: Add case for Mingw as host.
Corinna Vinschen [Wed, 30 Aug 2006 13:46:50 +0000 (13:46 +0000)]
configure.ac: Add case for Mingw as host.

2006-08-30  Corinna Vinschen  <corinna@vinschen.de>
* configure.ac: Add case for Mingw as host.
* configure: Regenerate.

From-SVN: r116586

17 years agognu.ver: Spell out exact signatures for atomic access functions.
Benjamin Kosnik [Wed, 30 Aug 2006 09:39:45 +0000 (09:39 +0000)]
gnu.ver: Spell out exact signatures for atomic access functions.

2006-08-30  Benjamin Kosnik  <bkoz@redhat.com>
            Richard Guenther  <rguenther@suse.de>

* config/abi/pre/gnu.ver: Spell out exact signatures for atomic
access functions.

* include/bits/atomicity.h (__atomic_add_dispatch): Remove
volatile qualification for _Atomic_word argument.
(__atomic_add_single): Same.
(__exchange_and_add_dispatch): Same.
(__exchange_and_add_single): Same.

Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r116584

17 years agoMakefile.in (see.o): Add $(EXPR_H) dependency.
Richard Guenther [Wed, 30 Aug 2006 09:12:48 +0000 (09:12 +0000)]
Makefile.in (see.o): Add $(EXPR_H) dependency.

2006-08-30  Richard Guenther  <rguenther@suse.de>

* Makefile.in (see.o): Add $(EXPR_H) dependency.

From-SVN: r116583

17 years agore PR rtl-optimization/27735 (ICE at -O3 caused by loop unswitching)
Zdenek Dvorak [Wed, 30 Aug 2006 08:14:29 +0000 (10:14 +0200)]
re PR rtl-optimization/27735 (ICE at -O3 caused by loop unswitching)

PR rtl-optimization/27735
* cfgloopmanip.c (fix_loop_placements, fix_bb_placements, unloop):
Add new argument to keep track of whether an irreducible region
was affected.  All callers changed.
(fix_irreducible_loops): Removed.
(remove_path): Call mark_irreducible_loops if EDGE_IRREDUCIBLE_LOOP
flags were invalidated.

* gcc.dg/loop-unswitch-1.c: New test.

From-SVN: r116582

17 years agore PR middle-end/26632 (spurious warning: value computed is not used)
Kazu Hirata [Wed, 30 Aug 2006 06:00:35 +0000 (06:00 +0000)]
re PR middle-end/26632 (spurious warning: value computed is not used)

PR middle-end/26632
* gcc.dg/pr26632.c: New.

From-SVN: r116580

17 years agore PR fortran/28885 (ICE passing components of array of derived type)
Paul Thomas [Wed, 30 Aug 2006 05:18:36 +0000 (05:18 +0000)]
re PR fortran/28885 (ICE passing components of array of derived type)

2006-08-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28885
REGRESSION FIX
* trans-expr.c (gfc_conv_aliased_arg): Ensure that the temp
declaration is retained for INTENT(OUT) arguments.

PR fortran/28873
REGRESSION FIX
PR fortran/20067
* resolve.c (resolve_generic_f): Make error message more
comprehensible.
(resolve_generic_s): Restructure search for specific procedures
to be similar to resolve_generic_f and change to similar error
message.  Ensure that symbol reference is refreshed, in case
the search produces a NULL.
(resolve_specific_s): Restructure search, as above and as
resolve_specific_f. Ensure that symbol reference is refreshed,
in case the search produces a NULL.

PR fortran/25077
PR fortran/25102
* interface.c (check_operator_interface): Throw error if the
interface assignment tries to change intrinsic type assigments
or has less than two arguments.  Also, it is an error if an
interface operator contains an alternate return.

PR fortran/24866
* parse.c (gfc_fixup_sibling_symbols): Do not modify the symbol
if it is a dummy in the contained namespace.

2006-08-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28885
* gfortran.dg/aliasing_dummy_2.f90: New test.

PR fortran/20067
* gfortran.dg/generic_5.f90: Change error message.

PR fortran/28873
* gfortran.dg/generic_6.f90: New test.

PR fortran/25077
* gfortran.dg/redefined_intrinsic_assignment.f90: New test.

PR fortran/25102
* gfortran.dg/invalid_interface_assignment.f90: New test.

PR fortran/24866
* gfortran.dg/module_proc_external_dummy.f90: New test.

From-SVN: r116578

17 years agore PR c++/28349 (ICE with "undefined" va_arg and references)
Andrew Pinski [Wed, 30 Aug 2006 04:33:10 +0000 (04:33 +0000)]
re PR c++/28349 (ICE with "undefined" va_arg and references)

2006-08-29  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/28349
        * testsuite/g++.dg/warn/var-args1.C: New test.
2006-08-29  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28349
        * call.c (build_x_va_arg): Remove the reference type
        from the type before creating the pointer type.

From-SVN: r116577

17 years agoDaily bump.
GCC Administrator [Wed, 30 Aug 2006 00:17:13 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116574

17 years agore PR fortran/28866 (Simple if statements are not so simple)
Steven G. Kargl [Tue, 29 Aug 2006 19:47:31 +0000 (19:47 +0000)]
re PR fortran/28866 (Simple if statements are not so simple)

2006-08-29  Steven G. Kargl  <kargls@comcast.net>

PR fortran/28866
* match.c: Wrap copyright.
(gfc_match_assignment):  Return MATCH_NO for failed lvalue.  Remove
gotos.  Move error handling of FL_PARAMETER to ...
  * gfc_match_if: Deal with MATCH_NO from above.
* primary.c: Wrap copyright.
(match_variable): ... here.  Improve error messages.

2006-08-29  Steven G. Kargl  <kargls@comcast.net>

PR fortran/28866
* gfortran.dg/simpleif_2.f90: New test.
* gfortran.dg/pr19936_1.f90: Adjust dg-error message.
* gfortran.dg/enum_5.f90: Ditto.

From-SVN: r116570

17 years agoi386.md (*fop_df_comm_mixed): Match DF operands instead of SF operands.
H.J. Lu [Tue, 29 Aug 2006 18:47:20 +0000 (18:47 +0000)]
i386.md (*fop_df_comm_mixed): Match DF operands instead of SF operands.

2006-08-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.md (*fop_df_comm_mixed): Match DF operands
instead of SF operands.
(*fop_df_comm_sse): Likewise.
(*fop_df_comm_i387): Likewise.
(*fop_df_1_mixed): Likewise.
(*fop_df_1_sse): Likewise.

From-SVN: r116569

17 years agore PR tree-optimization/17506 (warning about uninitialized variable points to wrong...
Joern Rennecke [Tue, 29 Aug 2006 15:52:54 +0000 (16:52 +0100)]
re PR tree-optimization/17506 (warning about uninitialized variable points to wrong location)

gcc:

2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
    J"orn Rennecke  <joern.rennecke@st.com>

PR tree-optimization/17506
* tree-ssa.c (warn_uninit): If warning about a location outside of
the current function, note where the variable was declared.

testsuite:

2006-08-29  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
    Kazu Hirata  <kazu@codesourcery.com>

PR tree-optimization/17506
* gcc.dg/pr17506.c: New.

From-SVN: r116564

17 years agoApply Andrew Pinski's amendment (i.e. use __SIZE_TYPE__)
Joern Rennecke [Tue, 29 Aug 2006 15:08:07 +0000 (16:08 +0100)]
Apply Andrew Pinski's amendment (i.e. use __SIZE_TYPE__)

From-SVN: r116562

17 years agore PR c++/28139 (alias information for EH is wrong)
J"orn Rennecke [Tue, 29 Aug 2006 14:34:36 +0000 (14:34 +0000)]
re PR c++/28139 (alias information for EH is wrong)

cp:
PR c++/28139
* except.c (expand_start_catch_block): Use correct types for bitwise
copy.
testsuite:
PR c++/28139
* g++.dg/eh/alias1.C: New test.

From-SVN: r116561

17 years agorandom (subtract_with_carry_01<>::_M_initialize_npows): New.
Paolo Carlini [Tue, 29 Aug 2006 11:46:54 +0000 (11:46 +0000)]
random (subtract_with_carry_01<>::_M_initialize_npows): New.

2006-08-29  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (subtract_with_carry_01<>::_M_initialize_npows):
New.
(subtract_with_carry_01<>::subtract_with_carry_01(),
subtract_with_carry_01<>::subtract_with_carry_01(unsigned long),
subtract_with_carry_01<>::subtract_with_carry_01(_Gen&)): Use it.
* include/tr1/random.tcc: Define.

* include/tr1/random (xor_combine<>::_M_initialize_max()): New.
(xor_combine<>::xor_combine(), xor_combine<>::xor_combine(const
base1_type&, const base2_type&), xor_combine<>::xor_combine(unsigned
long), xor_combine<>::xor_combine(_Gen&)): Use it.
(xor_combine<>::min, xor_combine<>::max): Adjust.
* include/tr1/random.tcc: Define.

From-SVN: r116559

17 years agoacinclude.m4 (glibcxx_PCHFLAGS): Set to stdtr1c++.h.
Benjamin Kosnik [Tue, 29 Aug 2006 10:53:04 +0000 (10:53 +0000)]
acinclude.m4 (glibcxx_PCHFLAGS): Set to stdtr1c++.h.

2006-08-29  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4(glibcxx_PCHFLAGS): Set to stdtr1c++.h.
* configure: Regenerate.

* scripts/check_compile: Output current compile line.

From-SVN: r116558

17 years ago2006-08-29 Gary Benson <gbenson@redhat.com>
Gary Benson [Tue, 29 Aug 2006 08:15:29 +0000 (08:15 +0000)]
2006-08-29  Gary Benson  <gbenson@redhat.com>

* java/net/SocketPermission.java
(maybeBracketIPv6Address): New method.
(<init>): Pass the hostport argument through the above.

* java/net/NetworkInterface.java (getInetAddresses):
Revert the previous change.

From-SVN: r116557

17 years agore PR c++/26670 (attribute((packed)) sometimes not ignored for non-PODs)
Jason Merrill [Tue, 29 Aug 2006 07:10:38 +0000 (03:10 -0400)]
re PR c++/26670 (attribute((packed)) sometimes not ignored for non-PODs)

        PR c++/26670
        * class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
        fields can't be packed.

From-SVN: r116556

17 years agore PR c++/26670 (attribute((packed)) sometimes not ignored for non-PODs)
Jason Merrill [Tue, 29 Aug 2006 06:55:35 +0000 (02:55 -0400)]
re PR c++/26670 (attribute((packed)) sometimes not ignored for non-PODs)

        PR c++/26670
        * class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
        fields can't be packed.

From-SVN: r116555

17 years agore PR c++/26577 (ICE in cp_expr_size with volatile and non POD)
Jason Merrill [Tue, 29 Aug 2006 06:55:03 +0000 (02:55 -0400)]
re PR c++/26577 (ICE in cp_expr_size with volatile and non POD)

        PR c++/26577
        * cvt.c (convert_to_void): Don't automatically load from volatiles
        of TREE_ADDRESSABLE type.

From-SVN: r116554

17 years agore PR fortran/28788 (ICE on valid code)
Paul Thomas [Tue, 29 Aug 2006 04:51:32 +0000 (04:51 +0000)]
re PR fortran/28788 (ICE on valid code)

2006-08-29  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28788
REGRESSION FIX
* symbol.c (gfc_use_derived): Never eliminate the symbol,
following reassociation of use associated derived types.

2006-08-29  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28788
* gfortran.dg/used_types_5.f90: New test.
* gfortran.dg/used_types_6.f90: New test.

From-SVN: r116552

17 years agore PR c++/27714 (operator new as friend in template class rejected)
Jason Merrill [Tue, 29 Aug 2006 04:42:46 +0000 (00:42 -0400)]
re PR c++/27714 (operator new as friend in template class rejected)

        PR c++/27714
        * pt.c (push_template_decl_real): A friend template with class
        scope isn't primary.

From-SVN: r116551

17 years agoFix white spaces.
Andrew Pinski [Tue, 29 Aug 2006 03:23:04 +0000 (20:23 -0700)]
Fix white spaces.

From-SVN: r116550

17 years agoDaily bump.
GCC Administrator [Tue, 29 Aug 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116548

17 years agore PR c++/28860 (Trouble with bound template template parameter in specialization)
Volker Reichelt [Mon, 28 Aug 2006 22:34:55 +0000 (22:34 +0000)]
re PR c++/28860 (Trouble with bound template template parameter in specialization)

PR c++/28860
* cp-tree.h (maybe_process_partial_specialization): Return
tree instead of void.
* parser.c (cp_parser_class_head): Use return value of
maybe_process_partial_specialization.
* pt.c (maybe_process_partial_specialization): Return error_mark_node
for broken specializations, TYPE otherwise.  Check for template
template parameters.

* g++.dg/template/ttp22.C: New test.

From-SVN: r116541

17 years agore PR tree-optimization/28411 ("Illegal instruction" error with -ftrapv)
Zdenek Dvorak [Mon, 28 Aug 2006 21:15:19 +0000 (23:15 +0200)]
re PR tree-optimization/28411 ("Illegal instruction" error with -ftrapv)

PR tree-optimization/28411
* double-int.c (double_int_div): Use double_int_divmod.
(double_int_divmod, double_int_sdivmod, double_int_udivmod,
double_int_mod, double_int_smod, double_int_umod): New functions.
* double-int.h (double_int_divmod, double_int_sdivmod,
double_int_udivmod, double_int_mod, double_int_smod, double_int_umod):
Declare.
* tree-ssa-loop-ivopts.c (constant_multiple_of): Returns the result
in double_int.
(get_computation_aff, get_computation_cost_at): Handle double_int
return type of constant_multiple_of.

From-SVN: r116529

17 years agoPR libstdc++/23773 partial
Benjamin Kosnik [Mon, 28 Aug 2006 20:18:22 +0000 (20:18 +0000)]
PR libstdc++/23773 partial

2006-08-28  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/23773 partial
* docs/html/abi.html: Update.

From-SVN: r116527

17 years agostl_algo.h (__heap_select, [...]): New.
Roger Sayle [Mon, 28 Aug 2006 18:32:35 +0000 (18:32 +0000)]
stl_algo.h (__heap_select, [...]): New.

2006-08-28  Roger Sayle  <roger@eyesopen.com>
    Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h (__heap_select, __introselect): New.
(nth_element): New implementation.
(partial_copy): Use __heap_select.
* testsuite/performance/25_algorithms/nth_element_worst_case.cc: New.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r116520

17 years agore PR middle-end/26632 (spurious warning: value computed is not used)
Kazu Hirata [Mon, 28 Aug 2006 17:18:29 +0000 (17:18 +0000)]
re PR middle-end/26632 (spurious warning: value computed is not used)

gcc/
PR middle-end/26632
* convert.c (convert_to_integer): Set TREE_NO_WARNING to 1 on
an implicit conversion.

gcc/testsuite/
PR middle-end/26632
* gcc.dg/pr26632.c: New.

From-SVN: r116510

17 years ago* config/h8300/h8300.c (TARGET_DEFAULT_TARGET_FLAGS): New.
Prafulla Thakare [Mon, 28 Aug 2006 13:51:04 +0000 (13:51 +0000)]
* config/h8300/h8300.c (TARGET_DEFAULT_TARGET_FLAGS): New.

From-SVN: r116509

17 years ago2.cc: New.
Paolo Carlini [Mon, 28 Aug 2006 13:26:22 +0000 (13:26 +0000)]
2.cc: New.

2006-08-28  Paolo Carlini  <pcarlini@suse.de>
    Roger Sayle  <roger@eyesopen.com>

* testsuite/25_algorithms/nth_element/2.cc: New.

Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r116508

17 years agore PR libfortran/28354 ([4.1 Only] 0.99999 printed as 0. instead of 1. by format...
Jerry DeLisle [Mon, 28 Aug 2006 05:17:09 +0000 (05:17 +0000)]
re PR libfortran/28354 ([4.1 Only] 0.99999 printed as 0. instead of 1. by format(f3.0))

2006-08-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/28354
* gfortran.dg/fmt_zero_precision.f90: New test.

From-SVN: r116503

17 years agore PR libfortran/28354 ([4.1 Only] 0.99999 printed as 0. instead of 1. by format...
Jerry DeLisle [Mon, 28 Aug 2006 05:14:05 +0000 (05:14 +0000)]
re PR libfortran/28354 ([4.1 Only] 0.99999 printed as 0. instead of 1. by format(f3.0))

2006-08-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/28354
* io/write.c: Check for special case of zero precision in format
and pre-round the real value.

From-SVN: r116502

17 years agoifcvt.c (cheap_bb_rtx_cost_p): Don't speculatively execute x87 instructions.
Roger Sayle [Mon, 28 Aug 2006 00:58:47 +0000 (00:58 +0000)]
ifcvt.c (cheap_bb_rtx_cost_p): Don't speculatively execute x87 instructions.

* ifcvt.c (cheap_bb_rtx_cost_p): Don't speculatively execute
x87 instructions.

From-SVN: r116501

17 years agoDaily bump.
GCC Administrator [Mon, 28 Aug 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116499

17 years agore PR driver/27622 (gcc hang when compiling with -pipe)
Ian Lance Taylor [Sun, 27 Aug 2006 23:50:30 +0000 (23:50 +0000)]
re PR driver/27622 (gcc hang when compiling with -pipe)

PR driver/27622
* pex-common.h (struct pex_funcs): Add toclose parameter to
exec_child field.
* pex-common.c (pex_run_in_environment): Pass toclose to
exec_child.
* pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
* pex-unix.c (pex_unix_exec_child): Likewise.
* pex-msdos.c (pex_msdos_exec_child): Likewise.
* pex-win32.c (pex_win32_exec_child): Likewise.

From-SVN: r116494

17 years agore PR other/28797 (Problems with demangling (__cxa_demangle()))
Ian Lance Taylor [Sun, 27 Aug 2006 21:42:55 +0000 (21:42 +0000)]
re PR other/28797 (Problems with demangling (__cxa_demangle()))

PR other/28797
* cp-demangle.c (d_pointer_to_member_type): Do add a substitution
for a qualified member which is not a function.
* testsuite/demangle-expected: Add test case.

From-SVN: r116493

17 years agore PR c++/28058 (ICE in inline_forbidden_p)
Mark Mitchell [Sun, 27 Aug 2006 17:45:25 +0000 (17:45 +0000)]
re PR c++/28058 (ICE in inline_forbidden_p)

PR c++/28058
* pt.c (register_specialization): Return error_mark_node for
specialization-after-instantiation.
* decl2.c (mark_used): Mark the main function used when one of its
clones is used.

PR c++/28058
* g++.dg/template/spec31.C: New test.

From-SVN: r116491

17 years agore PR c++/26573 (Duplicate message for static member in local class)
Lee Millward [Sun, 27 Aug 2006 15:22:05 +0000 (15:22 +0000)]
re PR c++/26573 (Duplicate message for static member in local class)

        PR c++/26573
        * class.c (check_field_decls): Don't issue error about
        local classes containing static data members.

        * g++.dg/other/static2.C: New test.

From-SVN: r116490

17 years agore PR libstdc++/28830 (FAIL: tr1/2_general_utilities/memory/shared_ptr/thread/lockfre...
Paolo Carlini [Sun, 27 Aug 2006 15:19:23 +0000 (15:19 +0000)]
re PR libstdc++/28830 (FAIL: tr1/2_general_utilities/memory/shared_ptr/thread/lockfree_weaktoshared.cc)

2006-08-27  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/28830
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
lockfree_weaktoshared.cc: Rename to...
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
default_weaktoshared.cc: ... this; test the default base class.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
mutex_weaktoshared.cc: Run like the other thread tests.

From-SVN: r116489

17 years ago* config/i386/crtfastmath.c: Fix a comment typo.
Kazu Hirata [Sun, 27 Aug 2006 06:46:38 +0000 (06:46 +0000)]
* config/i386/crtfastmath.c: Fix a comment typo.

From-SVN: r116487

17 years agoDaily bump.
GCC Administrator [Sun, 27 Aug 2006 00:17:22 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116485

17 years agotree.h (CASE_LOW_SEEN, [...]): New macros for manipulating temporary visit flags...
Roger Sayle [Sat, 26 Aug 2006 23:51:14 +0000 (23:51 +0000)]
tree.h (CASE_LOW_SEEN, [...]): New macros for manipulating temporary visit flags on CASE_LABEL_EXPRs.

* tree.h (CASE_LOW_SEEN, CASE_HIGH_SEEN): New macros for manipulating
temporary visit flags on CASE_LABEL_EXPRs.
* c-common.c (match_case_to_enum): Add function comment.  Avoid
O(N) loop, by looking up both CASE_LOW_SEEN and CASE_HIGH_SEEN.
(c_do_switch_warnings):  Reorganize to record CASE_LOW_SEEN and
CASE_HIGH_SEEN for enumerated types.  If the switch expression is
a constant, only warn if that constant value isn't handled.

* gcc.dg/Wswitch-enum-2.c: New test case.
* gcc.dg/Wswitch-enum-3.c: Likewise.

From-SVN: r116481

17 years agoarith.h: Update Copyright dates.
Steven G. Kargl [Sat, 26 Aug 2006 21:55:28 +0000 (21:55 +0000)]
arith.h: Update Copyright dates.

2006-08-26  Steven G. Kargl  <kargls@comcast.net>

* arith.h: Update Copyright dates.  Fix whitespace.
* arith.c: Update Copyright dates.  Fix whitespace.  Fix comments.
(gfc_arith_done_1): Clean up pedantic_min_int and subnormal.

From-SVN: r116480

17 years agore PR c++/24009 (C++ fails to print #include stack)
Joseph Myers [Sat, 26 Aug 2006 21:38:46 +0000 (22:38 +0100)]
re PR c++/24009 (C++ fails to print #include stack)

PR c++/24009
* input.h (restore_input_file_stack): Declare.
(INPUT_FILE_STACK_BITS): Define.
* toplev.c (fs_p, input_file_stack_history,
input_file_stack_restored, restore_input_file_stack): New.
(push_srcloc, pop_srcloc): Check for input_file_stack_tick
overflowing INPUT_FILE_STACK_BITS bits.  Save new state of stack.
(pop_srcloc): Don't free old state of stack.

cp:
* parser.c (struct cp_token): Add input_file_stack_index.
(eof_token): Update.
(cp_lexer_get_preprocessor_token): Save input_file_stack_tick.
(cp_lexer_set_source_position_from_token): Restore input file
stack.

From-SVN: r116479

17 years agore PR target/27544 (attribute altivec is not documented)
David Edelsohn [Sat, 26 Aug 2006 21:36:39 +0000 (21:36 +0000)]
re PR target/27544 (attribute altivec is not documented)

        PR target/27544
        * doc/extend.texi (PowerPC Variable Attributes): Mention altivec.
        (PowerPC Type Attributes): New.

From-SVN: r116478

17 years ago20060826-1.c: New testcase.
Richard Guenther [Sat, 26 Aug 2006 19:27:17 +0000 (19:27 +0000)]
20060826-1.c: New testcase.

2006-08-26  Richard Guenther  <rguenther@suse.de>

* gcc.c-torture/compile/20060826-1.c: New testcase.

From-SVN: r116477

17 years agore PR libgomp/25938 (libgomp installs header files in version and target independent...
Joseph Myers [Sat, 26 Aug 2006 18:30:44 +0000 (19:30 +0100)]
re PR libgomp/25938 (libgomp installs header files in version and target independent location)

PR libgomp/25938
* Makefile.am (libsubincludedir): New.
(nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
* Makefile.in: Regenerate.

From-SVN: r116475

17 years agore PR c++/28736 (ICE with friend of invalid template class)
Lee Millward [Sat, 26 Aug 2006 17:41:18 +0000 (17:41 +0000)]
re PR c++/28736 (ICE with friend of invalid template class)

        PR c++/28736
        PR c++/28737
        PR c++/28738
        * pt.c (process_template_parm): Store invalid template
        parameters as a TREE_LIST with a TREE_VALUE of error_mark_node.
        (push_inline_template_parms_recursive): Check for template
        parameters having a TREE_VALUE of error_mark_node rather than
        check the parameter itself.
        (mangle_class_name_for_template): Likewise.
        (comp_template_parms): When comparing the individual template
        parameters, return 1 if either is error_mark_node.
        (current_template_args): Robustify.
        (redeclare_class_template): Likewise.

        * g++.dg/template/void10.C: New test.
        * g++.dg/template/void8.C: New test.
        * g++.dg/template/void9.C: New test.

        * g++.dg/template/void3.C: Adjust error markers.
        * g++.dg/template/void4.C: Likewise.
        * g++.dg/template/crash55.C: Likewise.
        * g++.dg/template/void7.C: Likewise.

From-SVN: r116473

17 years agogfortran.texi: Note variable initialization causes SAVE attribute.
Steven G. Kargl [Sat, 26 Aug 2006 17:28:09 +0000 (17:28 +0000)]
gfortran.texi: Note variable initialization causes SAVE attribute.

2006-08-26  Tobias Burnus  <burnus@net-b.de>

    * gfortran.texi: Note variable initialization causes SAVE attribute.
    * intrinsic.texi: Clarify support for KIND=16 and KIND=10.
    Mention -std=f2003.  Cross reference INQUIRE from ACCESS intrinsic.
    Add missing ) in ACOS.

From-SVN: r116472

17 years agointrinsic.texi: Update Copyright date.
Daniel Franke [Sat, 26 Aug 2006 17:13:42 +0000 (13:13 -0400)]
intrinsic.texi: Update Copyright date.

2006-08-26  Daniel Franke <franke.daniel@gmail.com>

        * intrinsic.texi: Update Copyright date.  Added documentation
        for ACOSH, AND, ASINH, ATANH, CHDIR, FGET, FGETC, FPUT, FPUTC,
        GETCWD, OR and XOR intrinsics, removed inadvertently introduced
        doc-stubs for EQV and NEQV, corrected some typographical errors.

From-SVN: r116470

17 years agoxtensa.c (function_arg_boundary): New.
Bob Wilson [Sat, 26 Aug 2006 17:03:22 +0000 (17:03 +0000)]
xtensa.c (function_arg_boundary): New.

* config/xtensa/xtensa.c (function_arg_boundary): New.
(function_arg, xtensa_gimplify_va_arg_expr): Limit alignment to
STACK_BOUNDARY.
* config/xtensa/xtensa.h (FUNCTION_ARG_BOUNDARY): Move code to new
function_arg_boundary function that limits alignment to STACK_BOUNDARY.

From-SVN: r116469

17 years agore PR c++/28588 (static private function)
Mark Mitchell [Sat, 26 Aug 2006 16:23:33 +0000 (16:23 +0000)]
re PR c++/28588 (static private function)

PR c++/28588
* class.c (resolve_address_of_overloaded_function): Add
access_path parameter.  Perform access checks.
(instantiate_type): Adjust call to
resolve_address_of_overloaded_function.  Remove unnecessary code.
* tree.c (is_overloaded_fn): Document.  Return 2 when there are
acutally multiple functions.
(really_overloaded_fn): Use is_overloaded_fn.
* mangle.c (write_expression): Handle BASELINKs.
* cp-tree.h (really_overloaded_fn): Return bool.
(baselink_for_fns): Declare.
* search.c (lookup_member): Check access for single static
functions here.
* pt.c (convert_nontype_argument_function): Handle BASELINKs.
(tsubst_copy_and_build): Generate BASELINKs for template-ids.
* semantics.c (finish_call_expr): Use baselink_for_fns.
(baselink_for_fns): New function.
(finish_id_expression): Use it.
* parser.c (cp_parser_template_argument): Don't strip BASELINKs.
PR c++/28595
* pt.c (tsubst): Issue errors about attempts to create VLAs at
template-instantiation time.
PR c++/28588
* g++.dg/inherit/access6.C: New test.
* g++.dg/inherit/access7.C: Likewise.
PR c++/28595
* g++.dg/template/array15.C: New test.
* g++.dg/template/crash2.C: Tweak error markers.

From-SVN: r116468

17 years agore PR middle-end/28683 (ICE (segfault in add_reg_br_prob_note) when comparing pointer...
Jakub Jelinek [Sat, 26 Aug 2006 07:31:30 +0000 (09:31 +0200)]
re PR middle-end/28683 (ICE (segfault in add_reg_br_prob_note) when comparing pointers with -O (and higher))

PR middle-end/28683
* cfgexpand.c (add_reg_br_prob_note): Check if last has exactly
3 following insns.

* gcc.c-torture/compile/20060823-1.c: New test.

From-SVN: r116467

17 years agore PR c++/28853 (ICE on invalid declaration with template template parameter)
Volker Reichelt [Sat, 26 Aug 2006 00:37:48 +0000 (00:37 +0000)]
re PR c++/28853 (ICE on invalid declaration with template template parameter)

PR c++/28853
* typeck2.c (cxx_incomplete_type_diagnostic): Handle template
template parameters.  Improve error message for template type
parameters.

* g++.dg/template/ttp21.C: New test.

From-SVN: r116464

17 years agore PR c++/28852 (ICE on invalid conversion operator)
Volker Reichelt [Sat, 26 Aug 2006 00:25:59 +0000 (00:25 +0000)]
re PR c++/28852 (ICE on invalid conversion operator)

PR c++/28852
* cp-tree.h (grok_op_properties): Return bool instead of void.
* decl.c (grokfndecl): Discard invalid operator declarations.
(copy_fn_p): Revert change for PR 27547.
(grok_op_properties): Return error status (true on success).
* pt.c (tsubst_decl): Discard invalid operator declarations.

* g++.dg/other/operator1.C: Add error-marker.
* g++.dg/other/operator2.C: New test.

From-SVN: r116463

17 years agoDaily bump.
GCC Administrator [Sat, 26 Aug 2006 00:23:22 +0000 (00:23 +0000)]
Daily bump.

From-SVN: r116460

17 years agoflow.c (verify_wide_reg): Use internal_error for consistency failure.
Volker Reichelt [Sat, 26 Aug 2006 00:17:10 +0000 (00:17 +0000)]
flow.c (verify_wide_reg): Use internal_error for consistency failure.

* flow.c (verify_wide_reg): Use internal_error for consistency failure.
(verify_local_live_at_start): Likewise.

From-SVN: r116455

17 years agore PR c/27893 (ICE with TREE_CONSTANT VLA sizes inside functions)
Joseph Myers [Fri, 25 Aug 2006 23:01:16 +0000 (00:01 +0100)]
re PR c/27893 (ICE with TREE_CONSTANT VLA sizes inside functions)

PR c/27893
* gimplify.c (gimplify_decl_expr, gimplify_init_ctor_preeval,
omp_add_variable): Treat sizes as variable whenever not
INTEGER_CST.

testsuite:
* gcc.c-torture/compile/vla-const-1.c,
gcc.c-torture/compile/vla-const-2.c: New tests.

From-SVN: r116450

17 years agore PR middle-end/28814 (in compare_values, at tree-vrp.c:415)
Richard Guenther [Fri, 25 Aug 2006 22:01:28 +0000 (22:01 +0000)]
re PR middle-end/28814 (in compare_values, at tree-vrp.c:415)

2006-08-26  Richard Guenther  <rguenther@suse.de>

PR middle-end/28814
* fold-const.c (fold_binary): Fold temporary to correct
type before constructing new comparison.

* gcc.dg/torture/pr28814.c: New testcase.

From-SVN: r116439

17 years ago[multiple changes]
Joseph Myers [Fri, 25 Aug 2006 21:14:24 +0000 (22:14 +0100)]
[multiple changes]

2006-08-25  Fariborz Jahanian  <fjahanian@apple.com>

PR c/28418
* c-gimplify.c (gimplify_compound_literal_expr): Don't add
variable again if DECL_SEEN_IN_BIND_EXPR_P.

2006-08-25  Joseph S. Myers  <joseph@codesourcery.com>

* gcc.c-torture/compile/compound-literal-1.c: New test.

From-SVN: r116436

17 years agore PR c/28299 (ICE with -Wmissing-prototypes)
Joseph Myers [Fri, 25 Aug 2006 21:11:46 +0000 (22:11 +0100)]
re PR c/28299 (ICE with -Wmissing-prototypes)

PR c/28299
* c-decl.c (start_function): Don't try to process prototype
information from old declaration that isn't a function.

testsuite:
* gcc.dg/funcdef-var-1.c, gcc.dg/funcdef-var-2.c: New tests.
* gcc.dg/pr20368-1.c, gcc.dg/pr20368-2.c, gcc.dg/pr20368-3.c:
Expect extra diagnostics.

From-SVN: r116435

17 years agore PR target/28621 (SIGSEGV in set_fast_math () at -Os)
Jan Hubicka [Fri, 25 Aug 2006 20:39:48 +0000 (22:39 +0200)]
re PR target/28621 (SIGSEGV in set_fast_math () at -Os)

2006-08-25  Jan Hubicka  <jh@suse.cz>

PR target/28621
* config/i386/crtfastmath.c (set_fast_math): Force stack alignment.

From-SVN: r116431

17 years agore PR target/27075 (Compiler generate incorrect assembler for __sync_fetch-* builtins...
Alan Modra [Fri, 25 Aug 2006 18:56:08 +0000 (18:56 +0000)]
re PR target/27075 (Compiler generate incorrect assembler for __sync_fetch-* builtins on e500 aka SPE)

        PR target/27075
        * config/rs6000/rs6000.c (print_operand): Only use e500 %y syntax
        for 8 byte objects.

From-SVN: r116425

17 years agore PR tree-optimization/16876 (ICE on testcase with -O3 in fold-const)
J"orn Rennecke [Fri, 25 Aug 2006 18:51:57 +0000 (18:51 +0000)]
re PR tree-optimization/16876 (ICE on testcase with -O3 in fold-const)

gcc:
PR tree-optimization/16876
* c-typeck.c (c_convert_parm_for_inlining): Don't take early
exit if PARM doesn't match VALUE.

testsuite:
gcc.dg/noncompile/pr16876.c: New test.

From-SVN: r116424

17 years agotr1.html: Update.
Paolo Carlini [Fri, 25 Aug 2006 17:11:10 +0000 (17:11 +0000)]
tr1.html: Update.

2006-08-25  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/tr1.html: Update.

From-SVN: r116415

17 years agore PR c++/28056 (enum accepted as scope)
Mark Mitchell [Fri, 25 Aug 2006 17:04:35 +0000 (17:04 +0000)]
re PR c++/28056 (enum accepted as scope)

PR c++/28056
* g++.dg/parse/local1.C: New test.
* g++.dg/other/qual1.C: Tweak error marker.

From-SVN: r116411

17 years agore PR c++/28056 (enum accepted as scope)
Mark Mitchell [Fri, 25 Aug 2006 17:03:50 +0000 (17:03 +0000)]
re PR c++/28056 (enum accepted as scope)

PR c++/28056
* decl.c (grokdeclarator): Disallow declarations with qualified
names in local scopes.
PR c++/28056
* g++.dg/parse/local1.C: New test.

From-SVN: r116410

17 years agore PR c++/27787 (Qualified lookup fails to find inherited class template)
Nathan Sidwell [Fri, 25 Aug 2006 16:56:07 +0000 (16:56 +0000)]
re PR c++/27787 (Qualified lookup fails to find inherited class template)

cp/
PR c++/27787
* decl.c (make_typename_type): Only try and resolve it when
context is not dependent.  Refactor.
* decl2.c (check_classfn): Push to class scope before looking for
the function.
testsuite/
PR c++/27787
* g++.dg/template/typename10.C: New.
* g++.dg/template/lookup4.C: Remove bogus error marker.

From-SVN: r116409

17 years agoxtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Do not emit a literal_prefix directive.
Bob Wilson [Fri, 25 Aug 2006 16:13:54 +0000 (16:13 +0000)]
xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Do not emit a literal_prefix directive.

* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Do not emit a
literal_prefix directive.
(XTENSA_DECLARE_FUNCTION_SIZE): Delete.
* config/xtensa/linux.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
* config/xtensa/elf.h (ASM_DECLARE_FUNCTION_SIZE): Delete.

From-SVN: r116403

17 years agorandom (bernoulli_distribution::operator()): Fix wrt generators returning integers.
Paolo Carlini [Fri, 25 Aug 2006 16:02:23 +0000 (16:02 +0000)]
random (bernoulli_distribution::operator()): Fix wrt generators returning integers.

2006-08-25  Paolo Carlini  <pcarlini@suse.de>

        * include/tr1/random (bernoulli_distribution::operator()): Fix
        wrt generators returning integers.
(uniform_int<>::_M_call): Add.
(uniform_int<>::operator()): Use it.

* include/tr1/random (_Adaptor<>::min, _Adaptor<>::max): Add.
(_Adaptor<>::operator()): Allow for nonzero _M_g.min().

* include/tr1/random.tcc (linear_congruential<>::min, max):
Move inline...
(__mod): Move ...
* include/tr1/random: ... here.
(struct _Mod): Declare.

* include/tr1/random (struct _To_Unsigned_Type): Only declare,
move...
* include/tr1/random.tcc: ... here.

From-SVN: r116402

17 years agore PR middle-end/28753 (ICE in extract_insn, at recog.c:2075 on powerpc)
David Edelsohn [Fri, 25 Aug 2006 13:53:39 +0000 (13:53 +0000)]
re PR middle-end/28753 (ICE in extract_insn, at recog.c:2075 on powerpc)

        PR target/28753
        * config/rs6000/rs6000.md (movcc_internal1): Change operand 1
        predicate to general_operand.  Add 0->y and I->r alternatives.

From-SVN: r116400

17 years agotm.texi: Fix a typo.
Kazu Hirata [Fri, 25 Aug 2006 13:39:02 +0000 (13:39 +0000)]
tm.texi: Fix a typo.

* doc/tm.texi: Fix a typo.
* predict.c: Fix comment typos.

From-SVN: r116399

17 years agore PR testsuite/28829 (FAIL: gcc.dg/pr26570.c)
Richard Guenther [Fri, 25 Aug 2006 10:32:03 +0000 (10:32 +0000)]
re PR testsuite/28829 (FAIL: gcc.dg/pr26570.c)

2006-08-25  Richard Guenther  <rguenther@suse.de>

PR testsuite/28829
* gcc.dg/pr26570.c: Fix testcase.

From-SVN: r116395

17 years ago* config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add assertions of "cpu" and...
Nick Clifton [Fri, 25 Aug 2006 07:21:47 +0000 (07:21 +0000)]
* config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add assertions of "cpu" and "machine".

From-SVN: r116394

17 years agore PR tree-optimization/28807 (wrong code with may_alias and structs)
Andrew Pinski [Fri, 25 Aug 2006 07:13:48 +0000 (00:13 -0700)]
re PR tree-optimization/28807 (wrong code with may_alias and structs)

2006-08-24  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/28807
        * tree-ssa-operands.c (access_can_touch_variable): Don't say
        the access through a base which has an alias set of 0 cannot
        touch the variable.

2006-08-24  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/28807
        * gcc.c-torture/execute/mayalias-2.c: New test.
        * gcc.dg/tree-ssa/alias-13.c: New test.

From-SVN: r116393

17 years agore PR driver/28528 (C language extensions override -x in C++ driver)
Danny Smith [Fri, 25 Aug 2006 00:24:10 +0000 (00:24 +0000)]
re PR driver/28528 (C language extensions override -x in C++ driver)

PR driver/28528
* g++spec.c (lang_specific_driver): Always check if we need to
swallow a space-separated  arg to '-x'.
* lang-specs.h: Don't create ouput files for '-xc++-header'
if -fsyntax-only.

From-SVN: r116392

17 years agoDaily bump.
GCC Administrator [Fri, 25 Aug 2006 00:17:19 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116390

17 years ago* doc/tm.texi (TARGET_DEFAULT_PACK_STRUCT): Fixed English.
Bill Wendling [Thu, 24 Aug 2006 19:45:30 +0000 (19:45 +0000)]
* doc/tm.texi (TARGET_DEFAULT_PACK_STRUCT): Fixed English.

From-SVN: r116385

17 years ago* reload1.c (emit_reload_insns): Fix yet another typo in my patch.
Jan Hubicka [Thu, 24 Aug 2006 19:43:43 +0000 (21:43 +0200)]
* reload1.c (emit_reload_insns): Fix yet another typo in my patch.

From-SVN: r116384