jakub [Tue, 12 Feb 2008 18:35:05 +0000 (18:35 +0000)]
PR c++/35144
* tree-sra.c (sra_build_assignment): fold_convert SRC if copying
non-compatible pointers.
(generate_element_copy): If SRC and DST are RECORD_TYPEs with
different FIELD_DECLs, try harder by comparing field offsets, sizes
and types.
* g++.dg/tree-ssa/pr35144.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132264
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 12 Feb 2008 18:31:53 +0000 (18:31 +0000)]
PR inline-asm/35160
* function.c (match_asm_constraints_1): Don't replace the same input
multiple times.
* gcc.target/i386/pr35160.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132263
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 12 Feb 2008 17:42:21 +0000 (17:42 +0000)]
2008-02-12 Bjoern Koenig <bkoenig@alpha-tierchen.de>
Andreas Tobler <a.tobler@schweiz.org>
* configure.ac: Add amd64-*-freebsd* target.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132262
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 12 Feb 2008 17:26:34 +0000 (17:26 +0000)]
PR c++/29048
* semantics.c (finish_qualified_id_expr): Avoid duplicate access
check here, too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132261
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 12 Feb 2008 17:24:25 +0000 (17:24 +0000)]
Shouldn't be executable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132260
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 12 Feb 2008 17:21:11 +0000 (17:21 +0000)]
Shouldn't be executable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132259
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 12 Feb 2008 16:25:47 +0000 (16:25 +0000)]
PR c++/34862
* init.c (build_new_1): Don't create placement_expr before
constructing alloc_call. Verify that the pointer is passed by
value to operator new.
* g++.dg/init/new27.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132257
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 12 Feb 2008 06:34:59 +0000 (06:34 +0000)]
PR c++/35097
* pt.c (tsubst): Don't look up a template typedef in an explicit
specialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132253
138bc75d-0d04-0410-961f-
82ee72b054a4
aesok [Tue, 12 Feb 2008 04:08:41 +0000 (04:08 +0000)]
* config/avr/avr.h (AVR_HAVE_RAMPZ): Define.
* config/avr/avr.c (expand_prologue): Save RAMPZ register.
(expand_epilogue): Restore RAMPZ register.
* config/avr/avr.md (RAMPZ_ADDR): New constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132252
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 12 Feb 2008 02:39:33 +0000 (02:39 +0000)]
2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
* doc/html/*: Populate with regenerated files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132251
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 12 Feb 2008 02:35:48 +0000 (02:35 +0000)]
2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
* doc/html/*: Remove all but contents of ext/pb_ds.
* doc/html/index.html: New.
* doc/html/README: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132250
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 12 Feb 2008 02:10:57 +0000 (02:10 +0000)]
2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
* doc/doxygen/mainpage.html: Add in corrected links.
* README: Edit, move most into...
* doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
(Documentation Style): Revise.
* doc/xml/spine.xml: Edit file names.
* doc/Makefile.am: Edit xml_sources.
* doc/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132249
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 12 Feb 2008 00:17:29 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132247
138bc75d-0d04-0410-961f-
82ee72b054a4
george [Mon, 11 Feb 2008 19:47:23 +0000 (19:47 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132243
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Mon, 11 Feb 2008 18:58:16 +0000 (18:58 +0000)]
2008-02-11 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35113
* tree.c (cp_build_qualified_type_real): When building a
cv-qualified array type, build it as a unique type with
build_cplus_array_type_1 and then adopt the unqualified type's
main variant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132242
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Mon, 11 Feb 2008 17:53:16 +0000 (17:53 +0000)]
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132240
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 11 Feb 2008 14:10:34 +0000 (14:10 +0000)]
* ChangeLog: Move entry from here ...
* gcc/ChangeLog: ... to here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132239
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 11 Feb 2008 10:05:33 +0000 (10:05 +0000)]
2008-02-11 Paolo Carlini <pcarlini@suse.de>
* configure: Regenerate with documented autoconf and automake
versions (i.e., 2.59 and 1.9.6).
* Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* aclocal.m4: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132238
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 11 Feb 2008 09:28:48 +0000 (09:28 +0000)]
cp/
2008-02-11 Paolo Carlini <pcarlini@suse.de>
PR c++/35077
* decl.c (groktypename): Check grokdeclarator return.
testsuite/
2008-02-11 Paolo Carlini <pcarlini@suse.de>
PR c++/35077
* g++.dg/template/crash78.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132237
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Mon, 11 Feb 2008 09:02:06 +0000 (09:02 +0000)]
[patch i386]: For target x86_64-pc-mingw32 _alloca and
_stkchk may corrupts stack alignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132236
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 11 Feb 2008 08:54:33 +0000 (08:54 +0000)]
PR testsuite/35047
* gcc.dg/compat/vector-2_x.c: Add -mno-mmx for x86 targets.
* gcc.dg/compat/vector-2_y.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132235
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 11 Feb 2008 08:27:00 +0000 (08:27 +0000)]
2008-02-11 Uros Bizjak <ubizjak@gmail.com>
Richard Guenther <rguenther@suse.de>
PR tree-optimization/33992
* tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of
the zero we compare against.
* gcc.c-torture/execute/pr33992.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132234
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 11 Feb 2008 00:17:14 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132230
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 11 Feb 2008 00:02:11 +0000 (00:02 +0000)]
2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
Convert documentation to DocBook.
* doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
(doc-doxygen-man): Changed to doc-man-doxygen.
(doc-performance): Changed to doc-html-performance.
(doc-xml-doxygen): New.
(doc-xml-single): New.
(doc-xml-validate): New.
(doc-html): New.
(doc-html-single): New.
(doc-fo): New.
(doc-pdf): New.
(doc-pdf-fop-xml): New.
(doc-pdf-fop-fo): New.
(doc-pdf-xmlto): New.
(doc-pdf-xmlroff): New.
(doc-pdf-prince): New.
* doc/xml: New directory.
* doc/xml/authors.xml: New.
* doc/xml/images: New directory.
* doc/xml/images/confdeps.png: Add.
* doc/xml/images/confdeps.dot: Add.
* doc/xml/faq.xml: New.
* doc/xml/api.xml: New.
* doc/xml/gnu: New directory.
* doc/xml/gnu/gpl-3.0.xml: New.
* doc/xml/gnu/fdl-1.2.xml: New.
* doc/xml/gnu/gpl-2.0.xml: New.
* doc/xml/manual: New directory.
* doc/xml/manual/mt_allocator.xml: New.
* doc/xml/manual/allocator.xml: New.
* doc/xml/manual/ctype.xml: New.
* doc/xml/manual/numerics.xml: New.
* doc/xml/manual/codecvt.xml: New.
* doc/xml/manual/concurrency.xml: New.
* doc/xml/manual/backwards_compatibility.xml: New.
* doc/xml/manual/intro.xml: New.
* doc/xml/manual/shared_ptr.xml: New.
* doc/xml/manual/abi.xml: New.
* doc/xml/manual/status_cxxtr1.xml: New.
* doc/xml/manual/auto_ptr.xml: New.
* doc/xml/manual/build.xml: New.
* doc/xml/manual/internals.xml: New.
* doc/xml/manual/parallel_mode.xml: New.
* doc/xml/manual/status_cxx1998.xml: New.
* doc/xml/manual/containers.xml: New.
* doc/xml/manual/io.xml: New.
* doc/xml/manual/appendix_porting.xml: New.
* doc/xml/manual/utilities.xml: New.
* doc/xml/manual/bitmap_allocator.xml: New.
* doc/xml/manual/support.xml: New.
* doc/xml/manual/configure.xml: New.
* doc/xml/manual/build_hacking.xml: New.
* doc/xml/manual/evolution.xml: New.
* doc/xml/manual/using.xml: New.
* doc/xml/manual/debug.xml: New.
* doc/xml/manual/localization.xml: New.
* doc/xml/manual/strings.xml: New.
* doc/xml/manual/debug_mode.xml: New.
* doc/xml/manual/locale.xml: New.
* doc/xml/manual/extensions.xml: New.
* doc/xml/manual/appendix_contributing.xml: New.
* doc/xml/manual/messages.xml: New.
* doc/xml/manual/diagnostics.xml: New.
* doc/xml/manual/appendix_free.xml: New.
* doc/xml/manual/algorithms.xml: New.
* doc/xml/manual/iterators.xml: New.
* doc/xml/manual/spine.xml: New.
* doc/xml/manual/test.xml: New.
* doc/xml/manual/status_cxx200x.xml: New.
* doc/xml/spine.xml: New.
* doc/xml/book.txml: New. Template file.
* doc/xml/chapter.txml: Same.
* doc/xml/class.txml: Same.
* doc/doxygen/guide.html: Removed, integrated into other docs.
* doc/doxygen/user.cfg.in: Clean up XML generation.
* doc/doxygen/run_doxygen: Move to..
* scripts/run_doxygen: ...here.
* configure: Regenerate.
* Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132227
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 11 Feb 2008 00:01:33 +0000 (00:01 +0000)]
2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
Convert documentation to DocBook.
* doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
(doc-doxygen-man): Changed to doc-man-doxygen.
(doc-performance): Changed to doc-html-performance.
(doc-xml-doxygen): New.
(doc-xml-single): New.
(doc-xml-validate): New.
(doc-html): New.
(doc-html-single): New.
(doc-fo): New.
(doc-pdf): New.
(doc-pdf-fop-xml): New.
(doc-pdf-fop-fo): New.
(doc-pdf-xmlto): New.
(doc-pdf-xmlroff): New.
(doc-pdf-prince): New.
* doc/xml: New directory.
* doc/xml/authors.xml: New.
* doc/xml/images: New directory.
* doc/xml/images/confdeps.png: Add.
* doc/xml/images/confdeps.dot: Add.
* doc/xml/faq.xml: New.
* doc/xml/api.xml: New.
* doc/xml/gnu: New directory.
* doc/xml/gnu/gpl-3.0.xml: New.
* doc/xml/gnu/fdl-1.2.xml: New.
* doc/xml/gnu/gpl-2.0.xml: New.
* doc/xml/manual: New directory.
* doc/xml/manual/mt_allocator.xml: New.
* doc/xml/manual/allocator.xml: New.
* doc/xml/manual/ctype.xml: New.
* doc/xml/manual/numerics.xml: New.
* doc/xml/manual/codecvt.xml: New.
* doc/xml/manual/concurrency.xml: New.
* doc/xml/manual/backwards_compatibility.xml: New.
* doc/xml/manual/intro.xml: New.
* doc/xml/manual/shared_ptr.xml: New.
* doc/xml/manual/abi.xml: New.
* doc/xml/manual/status_cxxtr1.xml: New.
* doc/xml/manual/auto_ptr.xml: New.
* doc/xml/manual/build.xml: New.
* doc/xml/manual/internals.xml: New.
* doc/xml/manual/parallel_mode.xml: New.
* doc/xml/manual/status_cxx1998.xml: New.
* doc/xml/manual/containers.xml: New.
* doc/xml/manual/io.xml: New.
* doc/xml/manual/appendix_porting.xml: New.
* doc/xml/manual/utilities.xml: New.
* doc/xml/manual/bitmap_allocator.xml: New.
* doc/xml/manual/support.xml: New.
* doc/xml/manual/configure.xml: New.
* doc/xml/manual/build_hacking.xml: New.
* doc/xml/manual/evolution.xml: New.
* doc/xml/manual/using.xml: New.
* doc/xml/manual/debug.xml: New.
* doc/xml/manual/localization.xml: New.
* doc/xml/manual/strings.xml: New.
* doc/xml/manual/debug_mode.xml: New.
* doc/xml/manual/locale.xml: New.
* doc/xml/manual/extensions.xml: New.
* doc/xml/manual/appendix_contributing.xml: New.
* doc/xml/manual/messages.xml: New.
* doc/xml/manual/diagnostics.xml: New.
* doc/xml/manual/appendix_free.xml: New.
* doc/xml/manual/algorithms.xml: New.
* doc/xml/manual/iterators.xml: New.
* doc/xml/manual/spine.xml: New.
* doc/xml/manual/test.xml: New.
* doc/xml/manual/status_cxx200x.xml: New.
* doc/xml/spine.xml: New.
* doc/xml/book.txml: New. Template file.
* doc/xml/chapter.txml: Same.
* doc/xml/class.txml: Same.
* doc/doxygen/guide.html: Removed, integrated into other docs.
* doc/doxygen/user.cfg.in: Clean up XML generation.
* doc/doxygen/run_doxygen: Move to..
* scripts/run_doxygen: ...here.
* configure: Regenerate.
* Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132226
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sun, 10 Feb 2008 20:03:11 +0000 (20:03 +0000)]
2008-02-10 Thomas Koenig <tkoenig@gcc.gnu.org>
* gfortran.dg/streamio_14.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132220
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 10 Feb 2008 18:12:01 +0000 (18:12 +0000)]
PR c++/34094
* decl2.c (cp_write_global_declarations): Don't write out static
data members with DECL_IN_AGGR_P set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132218
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sun, 10 Feb 2008 18:06:34 +0000 (18:06 +0000)]
2008-02-10 Danny Smith <dannysmith@users.sourceforge.net>
PR gcc/35063
* gthr-win32.h (__gthread_mutex_destroy_function): New function
to CloseHandle after unlocking to prevent accumulation of handle
count.
2008-02-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/35063
* io/unit.c (destroy_unit_mutex): New function that uses
__gthread_mutex_destroy_function or pthread_mutex_destroy after
unlocking and before free_mem for final closure of I/O unit.
(delete_root): Use new function.
(free_internal_unit): Likewise.
(close_unit_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132217
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 10 Feb 2008 16:25:37 +0000 (16:25 +0000)]
* gcc.target/i386/pr17390.c: Remove ilp32 target requirement.
Add -mfpmath=387 to dg-options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132216
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 10 Feb 2008 16:06:56 +0000 (16:06 +0000)]
PR testsuite/35047
* gcc.dg/tree-ssa/gen-vect-2.c: Add -mno-sse for x86 targets.
* gcc.dg/tree-ssa/gen-vect-11.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-11a.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-11b.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-11c.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-25.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-26.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-28.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-32.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132215
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 10 Feb 2008 15:48:10 +0000 (15:48 +0000)]
2008-02-10 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16251
* include/std/istream (basic_istream<>::basic_istream()): Call
this->init().
(basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
do it here, per 27.6.1.5.1/1.
* include/std/ostream (basic_ostream<>::basic_ostream()): Call
this->init().
* testsuite/27_io/basic_iostream/cons/16251.C: New.
* testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132214
138bc75d-0d04-0410-961f-
82ee72b054a4
dfranke [Sun, 10 Feb 2008 15:01:39 +0000 (15:01 +0000)]
2008-02-10 Daniel Franke <franke.daniel@gmail.com>
fortran/PR35019
* lang.opt: Allow '-J<dir>' next to '-J <dir>',
likewise '-I <dir>' and '-I<dir>'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132213
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 10 Feb 2008 04:58:03 +0000 (04:58 +0000)]
PR objc++/34193
* obj-c++.dg/gnu-runtime-2.mm: Fix signature of function main().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132211
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 10 Feb 2008 00:17:18 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132208
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 9 Feb 2008 20:34:47 +0000 (20:34 +0000)]
PR middle_end/34150
* pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a
pic_label_operand source. Similarly, add a REG_LABEL_OPERAND note
and update LABEL_NUSES during and after reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132203
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 9 Feb 2008 14:52:30 +0000 (14:52 +0000)]
Add missing '*' to log entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132200
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 9 Feb 2008 03:40:14 +0000 (03:40 +0000)]
PR c++/35116
* tree.c (build_target_expr_with_type): Handle void initializer.
(bot_manip): Remap slot before recursing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132197
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 9 Feb 2008 00:30:13 +0000 (00:30 +0000)]
PR middle-end/34627
combine.c (simplify_if_then_else): Make sure the comparison is
against const0_rtx when simplifying to (abs x) or (neg (abs X)).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132193
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 9 Feb 2008 00:17:33 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132191
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 8 Feb 2008 19:10:25 +0000 (19:10 +0000)]
gcc/
PR bootstrap/35051
* double-int.h: Don't include gmp.h for GENERATOR_FILEs.
(mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs.
* real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs.
(real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs.
* tree.h (get_type_static_bounds): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132188
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 8 Feb 2008 15:51:37 +0000 (15:51 +0000)]
* ru.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132187
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 8 Feb 2008 15:15:53 +0000 (15:15 +0000)]
* doc/invoke.texi (Option Summary, C++ Dialect Options)
(Objective-C and Objective-C++ Dialect Options, Warning Options):
Make -Wfoo language annotations match what the compiler outputs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132186
138bc75d-0d04-0410-961f-
82ee72b054a4
saliu [Fri, 8 Feb 2008 12:47:50 +0000 (12:47 +0000)]
Fixed wrong parameter type in spu intrinsics spu_convts, spu_convtu, spu_convtf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132185
138bc75d-0d04-0410-961f-
82ee72b054a4
saliu [Fri, 8 Feb 2008 12:46:33 +0000 (12:46 +0000)]
Check parameter type of spu intrinsics spu_convts, spu_convtu, spu_convtf
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132184
138bc75d-0d04-0410-961f-
82ee72b054a4
saliu [Fri, 8 Feb 2008 12:43:51 +0000 (12:43 +0000)]
Fixed wrong parameter type in spu
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132183
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 8 Feb 2008 02:43:52 +0000 (02:43 +0000)]
* doc/extend.texi (Function Attributes) <noinline>: Mention
asm ("") as method to keep calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132182
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 8 Feb 2008 00:17:22 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132180
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Thu, 7 Feb 2008 20:40:19 +0000 (20:40 +0000)]
2008-02-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR other/32754
* doc/options.texi (Options): Replace references to opts.sh with
optc-gen.awk.
* opts-common.c: Likewise.
* optc-gen.awk: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132174
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Thu, 7 Feb 2008 19:03:40 +0000 (19:03 +0000)]
2008-02-06 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/ext/vector13.C: Fix for compilation under -pedantic.
2008-02-07 Andreas Tobler <andreast-list@fgznet.ch>
Douglas Gregor <doug.gregor@gmail.com>
PR bootstrap/35115
* objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132173
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Thu, 7 Feb 2008 19:01:45 +0000 (19:01 +0000)]
2008-02-07 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132172
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 7 Feb 2008 17:45:24 +0000 (17:45 +0000)]
PR rtl-opt/33410
* config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an
EXPR_LIST for the REG_EQUAL instead of a comparison with a
funny mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132171
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 7 Feb 2008 14:11:26 +0000 (14:11 +0000)]
PR tree-optimization/35085
* tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update
for operand entry oe2 in addition to operand entry oe3 in order to
expose more opportunities for vectorizer sum reduction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132168
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 7 Feb 2008 00:16:57 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132164
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 6 Feb 2008 21:51:24 +0000 (21:51 +0000)]
2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR other/35107
* Makefile.in (LIBS): Remove $(GMPLIBS).
(cc1-dummy, cc1): Add $(GMPLIBS).
ada:
PR other/35107
* Make-lang.in (gnat1): Add $(GMPLIBS).
cp:
PR other/35107
* Make-lang.in (cc1plus-dummy, cc1plus): Add $(GMPLIBS).
fortran:
PR other/35107
* Make-lang.in (f951): Add $(GMPLIBS).
java:
PR other/35107
* Make-lang.in (jc1): Add $(GMPLIBS).
objc:
PR other/35107
* Make-lang.in (cc1obj-dummy, cc1obj): Add $(GMPLIBS).
objcp:
PR other/35107
* Make-lang.in (cc1objplus-dummy, cc1objplus): Add $(GMPLIBS).
treelang:
PR other/35107
* Make-lang.in (tree1): Add $(GMPLIBS).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132160
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 6 Feb 2008 20:45:21 +0000 (20:45 +0000)]
2008-02-06 Andreas Tobler <a.tobler@schweiz.org>
PR libgcj/30071
* Makefile.am (install-exec-hook): Add install-binPROGRAMS.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132159
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 6 Feb 2008 20:31:43 +0000 (20:31 +0000)]
gcc/cp/ChangeLog:
PR c++/35056
* tree.c: Include tree-flow.h.
(build_target_expr): Check type compatibility.
* Make-lang.in (cp/tree.o): Depend on $(TREE_FLOW_H).
* call.c (convert_like_real): Convert bitfield to expected type.
gcc/testsuite/ChangeLog:
PR c++/35056
* g++.dg/conversion/bitfield8.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132158
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Wed, 6 Feb 2008 19:22:53 +0000 (19:22 +0000)]
2008-02-06 Matthias Klose <doko@ubuntu.com>
* tools/Makefile.am ($(TOOLS_ZIP)): Copy over rmic template files.
Copy resource files independent of JAVA_MAINTAINER_MODE.
* tools/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132156
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Wed, 6 Feb 2008 19:08:56 +0000 (19:08 +0000)]
2008-02-06 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/ext/vector13.C: Fix for compilation under -pedantic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132154
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Wed, 6 Feb 2008 18:50:22 +0000 (18:50 +0000)]
Commit missing ChangeLog fragment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132153
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Wed, 6 Feb 2008 18:49:03 +0000 (18:49 +0000)]
2008-02-06 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35049
PR c++/35096
* typeck.c (structural_comptypes): Call cp_comptypes.
(comptypes): New; called from the C/C++ common bits to perform
strict checks.
(cp_comptypes): Renamed from comptypes, which is already used,
with a different signature, by the C++ front end.
(build_reinterpret_cast_1): Call cp_comptypes.
(ptr_reasonably_similar): Ditto.
* decl.c (decls_match): Ditto.
* cvt.c (convert_to_reference): Ditto.
* cp-tree.h (same_type_p): Ditto.
(same_or_base_type_p): Ditto.
(comptypes): Rename to cp_comptypes.
* pt.c (canonical_type_parameter): Call cp_comptypes.
2008-02-06 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35049
PR c++/35096
* g++.dg/ext/vector13.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132152
138bc75d-0d04-0410-961f-
82ee72b054a4
daney [Wed, 6 Feb 2008 17:44:45 +0000 (17:44 +0000)]
2008-02-06 David Daney <ddaney@avtrex.com>
* g++.dg/tree-ssa/ivopts-1.C: Remove xfail for mips*-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132151
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 6 Feb 2008 16:52:40 +0000 (16:52 +0000)]
* ru.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132150
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 6 Feb 2008 11:40:47 +0000 (11:40 +0000)]
Wrong PR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132146
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 6 Feb 2008 11:34:00 +0000 (11:34 +0000)]
PR target/5587
* i386.md (moddf_integer): Do not produce partial memory stalls for
targets where it hurts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132145
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 6 Feb 2008 10:45:29 +0000 (10:45 +0000)]
PR target/35083
* optabs.c (expand_float): Do not check for decimal modes when
expanding unsigned integer through signed conversion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132144
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 6 Feb 2008 10:36:33 +0000 (10:36 +0000)]
* config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup
inside the clobber with a match_operand and duplicated operand
number in the constraint.
(ineqbranchsi): Delete redundant comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132143
138bc75d-0d04-0410-961f-
82ee72b054a4
corsepiu [Wed, 6 Feb 2008 07:33:26 +0000 (07:33 +0000)]
2008-02-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add
builtin_define ("__USE_INIT_FINI__").
* config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add
-msx multilibs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132141
138bc75d-0d04-0410-961f-
82ee72b054a4
corsepiu [Wed, 6 Feb 2008 03:33:09 +0000 (03:33 +0000)]
2008-02-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132138
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 6 Feb 2008 00:17:21 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132134
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Tue, 5 Feb 2008 23:13:17 +0000 (23:13 +0000)]
PR documentation/30330
* doc/invoke.texi (C++ Dialect Options)
(Objective-C and Objective-C++ Dialect Options, Warning Options):
For each warning option -Wfoo that allows -Wno-foo, ensure both
-Wfoo and -Wno-foo are listed in the option index. Fix index
entry of -Wswitch-default, index -Wnormalized= including the
`=', and -Wlarger-than-@var{len} including @var{len}.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132131
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Tue, 5 Feb 2008 21:28:42 +0000 (21:28 +0000)]
* lib/target-supports.exp (check_effective_target_hard_float): Remove
special case for xtensa-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132130
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Tue, 5 Feb 2008 21:06:32 +0000 (21:06 +0000)]
PR fortran/35037
* trans-common.c (build_field): Mark fields as volatile when needed.
* gfortran.dg/volatile11.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132129
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Tue, 5 Feb 2008 20:40:45 +0000 (20:40 +0000)]
2008-02-05 Tobias Burnus <burnus@net-b.de>
PR fortran/35093
* data.c (gfc_assign_data_value): Only free "size" if
it has not already been freed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132128
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 5 Feb 2008 20:03:30 +0000 (20:03 +0000)]
PR c++/33553
* pt.c (tsubst) <case INTEGER_TYPE>: Don't issue error if max is
value dependent expression.
* g++.dg/template/array19.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132126
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 5 Feb 2008 18:07:25 +0000 (18:07 +0000)]
* config/i386/i386.md (floatunssisf2): Use
ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.
(floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2.
Macroize expander using MODEF mode iterator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132125
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Tue, 5 Feb 2008 16:31:20 +0000 (16:31 +0000)]
gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html
PR 33738
* tree-vrp.c (vrp_evaluate_conditional): Revert fix for
PR 33738.
testsuite/ChangeLog
PR 33738
* g++.dg/warn/pr33738.C: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132124
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 5 Feb 2008 16:23:10 +0000 (16:23 +0000)]
PR other/35070
* toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132123
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 5 Feb 2008 14:51:06 +0000 (14:51 +0000)]
2008-02-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/35084
* config/i386/i386.c (ix86_function_sseregparm): Add an arg
to indicate if a message should be generated.
(init_cumulative_args): Updated.
(function_value_32): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132122
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Tue, 5 Feb 2008 13:33:35 +0000 (13:33 +0000)]
2008-02-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34945
* array.c (match_array_element_spec): Remove check for negative
array size.
(gfc_resolve_array_spec): Add check for negative size.
2008-02-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34945
* gfortran.dg/bounds_check_13.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132121
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Tue, 5 Feb 2008 13:29:43 +0000 (13:29 +0000)]
2008-02-05 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35074
* decl2.c (save_template_attributes): When we're modifying the
TYPE_MAIN_VARIANT to add new attributes, be sure to also modify
all of the other variants to add those same attributes. Otherwise,
the main variant will be inconsistent with those other variants.
2008-02-05 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35074
* g++.dg/ext/attrib30.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132120
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 5 Feb 2008 12:24:10 +0000 (12:24 +0000)]
* doc/include/texinfo.tex: Update to version 2008-02-04.16.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132116
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Tue, 5 Feb 2008 12:03:21 +0000 (12:03 +0000)]
PR testsuite/33946
* gcc.c-torture/execute/multi-ix.c: Call memset instead of bzero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132115
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 5 Feb 2008 11:27:41 +0000 (11:27 +0000)]
PR target/35083
* config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only.
Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2.
testsuite/ChangeLog:
PR target/35083
* gcc.target/i386/pr35083.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132114
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Tue, 5 Feb 2008 11:16:33 +0000 (11:16 +0000)]
2008-02-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/32315
* data.c (gfc_assign_data_value): Add bounds check for array
references.
2008-02-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/32315
* gfortran.dg/data_bounds_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132113
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Tue, 5 Feb 2008 04:17:58 +0000 (04:17 +0000)]
gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
PR 33738
* tree-vrp.c (vrp_evaluate_conditional): With
-Wtype-limits, emit a warning when comparing against a
constant outside the natural range of OP0's type.
testsuite/ChangeLog
PR 33738
* testsuite/g++.dg/warn/pr33738.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132111
138bc75d-0d04-0410-961f-
82ee72b054a4
davek [Tue, 5 Feb 2008 02:36:32 +0000 (02:36 +0000)]
2008-02-04 Ismail Dnmez <ismail@pardus.org.tr>
* inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon): Add
quotes around mach entries.
* fixincl.x: Regenerate with latest autogen (5.9.4), updating license
to GPLv3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132110
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 5 Feb 2008 00:17:28 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132108
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 4 Feb 2008 22:46:35 +0000 (22:46 +0000)]
Correct my last entry, matching the posted patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132105
138bc75d-0d04-0410-961f-
82ee72b054a4
dfranke [Mon, 4 Feb 2008 22:40:46 +0000 (22:40 +0000)]
2008-02-04 Daniel Franke <franke.daniel@gmail.com>
* gfortran.dg/where_operator_assign_4.f90: Fix typo in error message
to match.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132104
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 4 Feb 2008 22:36:26 +0000 (22:36 +0000)]
* lib/target-supports.exp (check_effective_target_hard_float): Only
use the preprocessor tests for mips*-*-* and xtensa-*-*. For all
other targets, grep for a call insn in the rtl expand dump for an
add of two doubles.
(target_compile): Support generating rtl dumps as output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132102
138bc75d-0d04-0410-961f-
82ee72b054a4
dfranke [Mon, 4 Feb 2008 22:29:35 +0000 (22:29 +0000)]
2008-02-04 Daniel Franke <franke.daniel@gmail.com>
* resolve.c (resolve_where): Fix typo.
(gfc_resolve_where_code_in_forall): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132098
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 4 Feb 2008 21:18:32 +0000 (21:18 +0000)]
2008-02-04 Richard Guenther <rguenther@suse.de>
PR middle-end/33631
* expr.c (count_type_elements): Give for unions instead of
guessing.
* gcc.c-torture/execute/pr33631.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132096
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 4 Feb 2008 21:12:49 +0000 (21:12 +0000)]
2008-02-04 Richard Guenther <rguenther@suse.de>
PR java/35035
* decl.c (record_builtin_java_type): Make jboolean a
integer type again where its mode doesn't match that of bool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132095
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 4 Feb 2008 15:33:54 +0000 (15:33 +0000)]
PR other/31405
* inclhack.def: (glibc_c99_inline_1a): Re-add last change.
(glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
(glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
<bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
<first c_fix_arg>: Change from #ifdef-wrapping the extern part to
appending attribute-gnu_inline.
<second c_fix_arg>: Remove.
<test_text>: Remove __extern_inline line.
* tests/base/features.h: Re-add.
* tests/base/sys/sysmacros.h: Adjust.
* fixincl.x: Regenerate.
(Oops: forgot PR-annotation.)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132093
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 4 Feb 2008 15:31:25 +0000 (15:31 +0000)]
* inclhack.def: (glibc_c99_inline_1a): Re-add last change.
(glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
(glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
<bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
<first c_fix_arg>: Change from #ifdef-wrapping the extern part to
appending attribute-gnu_inline.
<second c_fix_arg>: Remove.
<test_text>: Remove __extern_inline line.
* tests/base/features.h: Re-add.
* tests/base/sys/sysmacros.h: Adjust.
* fixincl.x: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132092
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 4 Feb 2008 13:30:00 +0000 (13:30 +0000)]
2008-02-04 Richard Guenther <rguenther@suse.de>
PR middle-end/35043
* gimplify.c (gimplify_init_ctor_eval): Convert array indices
to TYPE_DOMAINs base type instead of using bitsizetype here.
* gcc.c-torture/compile/pr35043.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132091
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 4 Feb 2008 03:28:53 +0000 (03:28 +0000)]
PR c++/33916
* cp/init.c (build_value_init_1): New function.
(build_value_init): New function.
* cp/typeck2.c (build_functional_cast): Call it.
* cp/cp-gimplify.c (cp_gimplify_init_expr): Handle its output.
* cp/cp-tree.h (TYPE_HAS_USER_CONSTRUCTOR): Rename from
TYPE_HAS_CONSTRUCTOR.
* cp/class.c (finish_struct_bits, maybe_warn_about_overly_private_class,
add_implicitly_declared_members): Adjust.
(check_field_decls): Adjust. Remove warnings about reference/const
in class without constructor.
(check_bases_and_members): Adjust. Give those warnings here instead.
* cp/decl.c (fixup_anonymous_aggr): Adjust.
(check_initializer): Adjust, clarify logic slightly.
(grok_special_member_properties): Adjust, only set if user-provided.
* cp/rtti.c (create_tinfo_types): Don't set.
* cp/cvt.c (ocp_convert): Remove exception for vtable_entry_type et al.
Use same_type_ignoring_top_level_qualifiers_p.
* cp/pt.c (check_explicit_specialization): Adjust.
(instantiate_class_template): Adjust.
* print-tree.c (print_node) [CONSTRUCTOR]: Print elements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132088
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Mon, 4 Feb 2008 01:26:14 +0000 (01:26 +0000)]
PR other/29972
* doc/invoke.texi (C++ Dialect Options, Optimize Options)
(HPPA Options, i386 and x86-64 Options, IA-64 Options)
(RS/6000 and PowerPC Options): Fix typos and markup.
* doc/passes.texi (Tree-SSA passes): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132087
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 4 Feb 2008 00:17:31 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132085
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 3 Feb 2008 20:08:43 +0000 (20:08 +0000)]
* g++.dg/tree-ssa/ivopts-1.C: Remove xfail for hppa*-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132082
138bc75d-0d04-0410-961f-
82ee72b054a4