Mike Stump
a4404ff533
parser.h: Add arguments to all plugins.
...
objcp:
* plugin/parser.h: Add arguments to all plugins.
cp:
* parser.c (cp_parser_primary_expression): Add arguments to all the plugins.
From-SVN: r170105
2011-02-13 10:28:45 +00:00
Mike Stump
88a3b64909
lex.h: Plugify.
...
objcp:
* plugin/lex.h: Plugify.
cp:
* lex.c: Plugify.
* Make-lang.in (objcp/plugin/lex.h): Likewise.
From-SVN: r170104
2011-02-13 10:02:30 +00:00
Tobias Burnus
eb369a703f
parser.c (cp_parser_declaration): Remove unused variable.
...
2011-02-13 Tobias Burnus <burnus@net-b.de>
* parser.c (cp_parser_declaration): Remove unused variable.
From-SVN: r170103
2011-02-13 09:55:05 +01:00
Mike Stump
9acf6b7aae
Make-lang.in (cp/parser.o): Move c-family/c-objc.h dependancy down.
...
* Make-lang.in (cp/parser.o): Move c-family/c-objc.h dependancy
down.
From-SVN: r170102
2011-02-13 08:43:07 +00:00
Mike Stump
ba326d364d
t-darwin (build/slashify): Allow others to reuse easier.
...
gcc:
* config/t-darwin (build/slashify): Allow others to reuse easier.
objcp:
* Make-lang.in (obj-c++.tags): Plugify Objective-C++.
* plugin/parser.h: Likewise.
* plugin/parser.c: Likewise.
cp:
* Make-lang.in (build/slashify): Plugify Objective-C++.
(cp/parser.o): Likewise.
(objcp/plugin/parser.h): Likewise.
From-SVN: r170101
2011-02-13 07:52:52 +00:00
Mike Stump
8efc91cde4
darwin.h: Make pretty.
...
* config/darwin.h: Make pretty.
* config/t-darwin (config/darwin.h.rebuild): Add.
(build/slashify): Add.
* config/slashify.c: Add.
From-SVN: r170097
2011-02-13 00:27:06 +00:00
GCC Administrator
d65dd7dc95
Daily bump.
...
From-SVN: r170096
2011-02-13 00:18:41 +00:00
Janus Weil
96d9b22c0b
class.c (gfc_build_class_symbol): Reject polymorphic arrays.
...
2011-02-12 Janus Weil <janus@gcc.gnu.org>
* class.c (gfc_build_class_symbol): Reject polymorphic arrays.
* decl.c (build_sym,build_struct,attr_decl1): Use return value of
'gfc_build_class_symbol'.
2011-02-12 Janus Weil <janus@gcc.gnu.org>
* gfortran.dg/allocate_derived_1.f90: Modified as polymorphic arrays
are temporarily disabled.
* gfortran.dg/class_7.f03: Ditto.
* gfortran.dg/coarray_14.f90: Ditto.
* gfortran.dg/typebound_proc_13.f03: Ditto.
From-SVN: r170092
2011-02-12 22:34:11 +01:00
Joseph Myers
a016dc83ec
re PR driver/45731 (Header missing for assembler option help.)
...
PR driver/45731
* gcc.c (asm_options): Correct spec matching --target-help.
From-SVN: r170091
2011-02-12 21:29:14 +00:00
Paolo Carlini
60a40f62c8
re PR libstdc++/47709 (is_heap(standard iterator) becomes ambiguous in C++0x mode)
...
2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/47709
* include/ext/algorithm (is_heap): In C++0x mode import from
namespace std.
* testsuite/ext/is_heap/47709.cc: New.
From-SVN: r170089
2011-02-12 21:26:21 +00:00
Martin Jambor
8957a0ecb7
tree-cfg.c (verify_gimple_call): Return true upon invalid argument to gimple call error.
...
2011-02-12 Martin Jambor <mjambor@suse.cz>
* tree-cfg.c (verify_gimple_call): Return true upon invalid argument
to gimple call error.
From-SVN: r170088
2011-02-12 22:11:33 +01:00
Gerald Pfeifer
c26bc3adf9
gnat_ugn.texi (Compiling Different Versions of Ada): Update link to "Ada Issues".
...
* gnat_ugn.texi (Compiling Different Versions of Ada): Update
link to "Ada Issues".
From-SVN: r170085
2011-02-12 18:45:06 +00:00
Jakub Jelinek
63aa9440ee
re PR libstdc++/47662 (-fno-operator-names no longer works with STL headers)
...
2011-02-12 Jakub Jelinek <jakub@redhat.com>
Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/47662
* testsuite/17_intro/headers/c++200x/operator_names.cc: New.
* testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
From-SVN: r170084
2011-02-12 18:35:59 +00:00
Jonathan Wakely
db0947327c
[multiple changes]
...
2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
* include/tr1/cmath (fabs): Define.
* include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
in C++0x mode.
2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
* testsuite/tr1/headers/c++200x/complex.cc: New.
From-SVN: r170083
2011-02-12 18:30:50 +00:00
Mike Stump
6ef828bc54
frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize comments in backslash regions.
...
* config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize
comments in backslash regions.
From-SVN: r170078
2011-02-12 17:09:47 +00:00
Mike Stump
a4015be50a
re PR target/47324 (r160124 caused g++.dg/torture/stackalign failures with -O3 -g at -m32 on darwin)
...
gcc:
PR target/47324
* dwarf2out.c (output_cfa_loc): When required, apply the
DWARF2_FRAME_REG_OUT macro to adjust register numbers.
(output_loc_sequence): Likewise.
(output_loc_operands_raw): Likewise.
(output_loc_sequence_raw): Likewise.
(output_cfa_loc): Likewise.
(output_loc_list): Suppress register number adjustment when
calling output_loc_sequence()
(output_die): Likewise.
Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org>
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r170077
2011-02-12 16:51:58 +00:00
Ralf Wildenhues
03b2a04d63
Import move-if-change script from gnulib.
...
/:
PR binutils/12283
* move-if-change: Import version from gnulib.
From-SVN: r170076
2011-02-12 15:48:30 +00:00
Ralf Wildenhues
3917813c64
Fix minor build system issues in lto-plugin.
...
lto-plugin/:
* Makefile.am (all-local): Rename from 'all'.
(gcc_build_dir): Use $(host_subdir).
* Makefile.in: Regenerate.
From-SVN: r170075
2011-02-12 15:48:15 +00:00
Mikael Morin
c59ebd8573
re PR fortran/45586 (ICE non-trivial conversion at assignment)
...
2011-02-12 Mikael Morin <mikael.morin@sfr.fr>
PR fortran/45586
* gfortran.dg/extends_11.f03: New.
From-SVN: r170074
2011-02-12 14:56:32 +00:00
Ralf Wildenhues
b0c910db1e
Move ChangeLog entries from toplevel to config/.
...
From-SVN: r170073
2011-02-12 14:36:18 +00:00
Michael Matz
0143a78417
re PR fortran/45586 (ICE non-trivial conversion at assignment)
...
2011-02-12 Michael Matz <matz@suse.de>
Janus Weil <janus@gcc.gnu.org>
Tobias Burnus <burnus@net-b.de>
PR fortran/45586
* trans-expr.c (conv_parent_component_references): Avoid
unintendent skipping of parent compounds.
Co-Authored-By: Janus Weil <janus@gcc.gnu.org>
Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r170072
2011-02-12 14:09:03 +01:00
Anatoly Sokolov
5378dda2dd
xtensa.h (REGISTER_MOVE_COST, [...]): Remove macros.
...
* config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST):
Remove macros.
* config/xtensa/xtensa.c (xtensa_register_move_cost,
xtensa_memory_move_cost): New functions.
(TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define.
From-SVN: r170071
2011-02-12 15:21:54 +03:00
Alexandre Oliva
f3d533d3b5
re PR lto/47225 (cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found")
...
ChangeLog:
PR lto/47225
* Makefile.def (lto-plugin): Double dash for enable-shared.
(configure-gcc): Depend on all-lto-plugin.
* Makefile.in: Rebuilt.
lto-plugin/ChangeLog:
PR lto/47225
* Makefile.am (gcc_build_dir, in_gcc_libs): New.
(liblto_plugin_la_LDFLAGS): Add -module.
(copy_lto_plugin): Renamed to...
($(in_gcc_libs)): ... this. Add mkinstalldirs. Skip copying
of static modules.
* Makefile.in: Rebuild.
gcc/ChangeLog:
PR lto/47225
* configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la
in the current directory.
* configure: Rebuilt.
From-SVN: r170070
2011-02-12 12:02:24 +00:00
Iain Sandoe
9d53403cd2
darwin.c (darwin_override_options): Add a hunk missed from the commit of r168571.
...
gcc:
* config/darwin.c (darwin_override_options): Add a hunk missed
from the commit of r168571. Trim comment line lengths and
correct indents of the preceding block.
From-SVN: r170069
2011-02-12 10:50:37 +00:00
Iain Sandoe
a350a6c8f7
gcc.c (driver_handle_option): Concatenate the argument to -F with the switch.
...
gcc:
* gcc.c (driver_handle_option): Concatenate the argument to -F with
the switch.
From-SVN: r170068
2011-02-12 10:08:24 +00:00
Joseph Myers
bab79a4029
* common.opt (nostartfiles): New Driver option.
...
From-SVN: r170067
2011-02-12 01:16:08 +00:00
GCC Administrator
9f91c04155
Daily bump.
...
From-SVN: r170066
2011-02-12 00:18:15 +00:00
Xinliang David Li
1bbc6693c9
Fix PR47707
...
From-SVN: r170062
2011-02-12 00:12:52 +00:00
Eric Botcazou
1da7d8c0d3
re PR tree-optimization/47420 (ICE in calc_dfs_tree during RESX lowering)
...
PR tree-optimization/47420
* ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX.
From-SVN: r170061
2011-02-11 21:19:16 +00:00
Tobias Burnus
a26e8df4dc
re PR fortran/47550 (PURE with VALUE and w/o INTENT: add gfc_notify_std (GFC_STD_F2008 ?)
...
2011-02-11 Tobias Burnus <burnus@net-b.de>
PR fortran/47550
* resolve.c (resolve_formal_arglist): PURE with VALUE
and no INTENT: Add -std= diagnostics.
2011-02-11 Tobias Burnus <burnus@net-b.de>
PR fortran/47550
* gfortran.dg/pure_formal_2.f90: New.
From-SVN: r170060
2011-02-11 22:07:17 +01:00
Pat Haugen
3f82421f9c
re PR rtl-optimization/47614 (cpu2000 benchmark 301.apsi fails with revision 169782)
...
PR rtl-optimization/47614
* rtl.h (check_for_inc_dec): Declare.
* dse.c (check_for_inc_dec): Externalize...
* postreload.c (reload_cse_simplify): ...use it before deleting stmt.
(reload_cse_simplify_operands): Don't simplify opnds with side effects.
* testsuite/gfortran.dg/pr47614.f: New.
From-SVN: r170059
2011-02-11 20:52:55 +00:00
Ralf Wildenhues
f33d8408d0
Fix typo in toplevel configure.ac: PPL error message.
...
/:
* configure.ac: Remove extra bracket.
* configure: Regenerate.
From-SVN: r170058
2011-02-11 18:59:10 +00:00
Joseph Myers
4df47bca15
re PR driver/47678 (missing error message for -I)
...
PR driver/47678
* gcc.c (main): Do not compile inputs if there were errors in
option handling.
* opts-common.c (read_cmdline_option): Check for wrong language
after other error checks.
testsuite:
* gcc.dg/opts-6.c: New test.
From-SVN: r170056
2011-02-11 18:13:11 +00:00
Dodji Seketeli
1c31ca71a7
Revert "Fix PR c++/47172"
...
gcc/cp/
* pt.c (finish_call_expr, dependent_type_p)
(type_dependent_expression_p): Revert the previous attempt to fix
PR c++/47172.
gcc/testsuite/
* g++.dg/template/inherit6.C: Reverted.
From-SVN: r170055
2011-02-11 18:27:00 +01:00
Nathan Froyd
61502ca837
cgraph.c: Fix comment typos.
...
* cgraph.c: Fix comment typos.
* cgraph.h: Likewise.
* cgraphunit.c: Likewise.
* ipa-cp.c: Likewise.
* ipa-inline.c: Likewise.
* ipa-prop.c: Likewise.
* ipa-pure-const.c: Likewise.
* ipa-ref.c: Likewise.
* ipa-reference.c: Likewise.
From-SVN: r170052
2011-02-11 15:16:46 +00:00
Jakub Jelinek
d50c5e0c69
re PR debug/47684 (-fcompare-debug failure with -O3)
...
PR debug/47684
* tree-predcom.c (single_nonlooparound_use): Ignore debug uses.
* gcc.dg/pr47684.c: New test.
From-SVN: r170051
2011-02-11 15:24:26 +01:00
Jakub Jelinek
b63f974ef2
re PR target/47665 (ICE in trunc_int_for_mode)
...
PR target/47665
* combine.c (make_compound_operation): Only change shifts into
multiplication for SCALAR_INT_MODE_P.
* gcc.target/i386/pr47665.c: New test.
From-SVN: r170050
2011-02-11 15:19:44 +01:00
Rainer Orth
84b44e0fe4
re PR target/47629 (gcc.target/i386/pr47312.c fails to link on Solaris 9)
...
PR target/47629
* gcc.target/i386/pr47312.c: Use dg-require-effective-target
c99_runtime, dg-add-options c99_runtime.
(main): Use __asm__.
From-SVN: r170049
2011-02-11 11:09:21 +00:00
Rainer Orth
10968227c8
Added forgotten ChangeLog entry.
...
From-SVN: r170048
2011-02-11 11:08:44 +00:00
Johannes Singler
0ad84c3fbb
re PR libstdc++/47433 (libstdc++ parallel mode calls std::swap explicitely)
...
2011-02-11 Johannes Singler <singler@kit.edu>
PR libstdc++/47433
* include/parallel/losertree.h
(_LoserTreeUnguarded<>::__delete_min_insert):
Add missing "using std::swap;", as for other variants.
From-SVN: r170047
2011-02-11 10:11:41 +00:00
Rainer Orth
6dd2a13c9e
i gcc/testsuite:
...
PR testsuite/47400
* lib/target-supports.exp (check_ascii_locale_available): New proc.
* lib/target-supports-dg.exp (dg-require-ascii-locale): New proc.
* gcc.dg/attr-alias-5.c: Use dg-require-ascii-locale.
* gcc.dg/ucnid-10.c: Likewise.
* gcc.dg/ucnid-13.c: Likewise.
* gcc.dg/ucnid-7.c: Likewise.
* gcc.dg/ucnid-8.c: Likewise.
* Adapt dg-warning line number.
gcc:
PR testsuite/47400
* doc/sourcebuild.texi (Require Support): Document
dg-require-ascii-locale.
From-SVN: r170046
2011-02-11 10:01:29 +00:00
Dodji Seketeli
e60b3ac94f
re PR c++/47172 ([C++0x] cannot call member function without object)
...
Fix PR c++/47172
gcc/cp/
PR c++/47172
* pt.c (finish_call_expr): Consider a call expression that has a
dependent "this" pointer as being dependent. Add comments.
(dependent_type_p, type_dependent_expression_p): Update comments.
gcc/testsuite/
* g++.dg/template/inherit6.C: New test.
From-SVN: r170045
2011-02-11 08:33:53 +01:00
Ian Lance Taylor
942e57396b
Don't crash on if statement with erroneous conditional.
...
From-SVN: r170044
2011-02-11 06:36:50 +00:00
Ian Lance Taylor
ced2ec3b26
Don't get confused using type of erronous binary expression.
...
From-SVN: r170043
2011-02-11 06:34:57 +00:00
Mingjie Xing
4a087ccf22
Fix missing parentheses.
...
From-SVN: r170041
2011-02-11 02:47:33 +00:00
Benjamin Kosnik
4bfebd814d
Makefile.am (sources): Add regex.cc.
...
2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (sources): Add regex.cc.
* src/Makefile.in: Regenerate.
* src/regex.cc: New.
* include/bits/regex_error.h (error_type): Use constexpr.
(regex_error): Move ctor and dtor out of line.
* testsuite/28_regex/03_requirements: To...
* testsuite/28_regex/requirements: ... this.
* testsuite/28_regex/04_header: To...
* testsuite/28_regex/headers: ... this.
* testsuite/28_regex/05_constants: To...
* testsuite/28_regex/constants: ... this.
* testsuite/28_regex/06_exception_type: To...
* testsuite/28_regex/regex_error: ... this.
* testsuite/28_regex/07_traits: To...
* testsuite/28_regex/traits: ... this.
* testsuite/28_regex/08_basic_regex: To...
* testsuite/28_regex/basic_regex: ... this.
* testsuite/28_regex/09_sub_match: To...
* testsuite/28_regex/sub_match: ... this.
* testsuite/28_regex/10_match_results: To...
* testsuite/28_regex/match_results: ... this.
* testsuite/28_regex/11_algorithms: To...
* testsuite/28_regex/algorithms: ... this.
* testsuite/28_regex/12_iterators: To...
* testsuite/28_regex/iterators: ... this.
From-SVN: r170039
2011-02-11 01:24:35 +00:00
Benjamin Kosnik
cedf52d247
Makefile.am (sources): Add regex.cc.
...
2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (sources): Add regex.cc.
* src/Makefile.in: Regenerate.
* src/regex.cc: New.
* include/bits/regex_error.h (error_type): Use constexpr.
(regex_error): Move ctor and dtor out of line.
* testsuite/28_regex/03_requirements: To...
* testsuite/28_regex/requirements: ... this.
* testsuite/28_regex/04_header: To...
* testsuite/28_regex/headers: ... this.
* testsuite/28_regex/05_constants: To...
* testsuite/28_regex/constants: ... this.
* testsuite/28_regex/06_exception_type: To...
* testsuite/28_regex/regex_error: ... this.
* testsuite/28_regex/07_traits: To...
* testsuite/28_regex/traits: ... this.
* testsuite/28_regex/08_basic_regex: To...
* testsuite/28_regex/basic_regex: ... this.
* testsuite/28_regex/09_sub_match: To...
* testsuite/28_regex/sub_match: ... this.
* testsuite/28_regex/10_match_results: To...
* testsuite/28_regex/match_results: ... this.
* testsuite/28_regex/11_algorithms: To...
* testsuite/28_regex/algorithms: ... this.
* testsuite/28_regex/12_iterators: To...
* testsuite/28_regex/iterators: ... this.
From-SVN: r170038
2011-02-11 01:23:10 +00:00
Ian Lance Taylor
b3a2810309
Don't crash on invalid comparison of complex constants.
...
From-SVN: r170037
2011-02-11 00:19:15 +00:00
GCC Administrator
d3c839259b
Daily bump.
...
From-SVN: r170036
2011-02-11 00:18:11 +00:00
Ian Lance Taylor
c7f4431d45
Don't crash on erroneous thunk.
...
From-SVN: r170031
2011-02-10 23:58:36 +00:00