Re: application/xml mime-type in recent libstdc++ doc changes

2012-12-09 Thread Matthias Klose
ping Am 12.10.2012 15:26, schrieb Matthias Klose: > Hi, > > libstdc++-v3/doc/xsl/customization.xsl.in is marked as > > svn:mime-type = application/xml > > at least on the 4.7 branch, having some unexpected outcome for svn diff. > If this was unintended, could you change the svn:mime-type back

[patch] [libstdc++] Fix build failure with --enable-libstdcxx-debug

2012-12-09 Thread Matthias Klose
Seen with a x86_64 x arm x arm cross build and --enable-libstdcxx-debug. The ../config.h should not be hard-coded. Using the macro guarantees that the rewritten macros for the debug builds are used. However I fail to see why the unpatched version does work for the native build. Ok for the trunk an

[patch] libgcc unwind-arm.h: mark arguments as unused

2012-12-09 Thread Matthias Klose
This was seen and fixed on trunk building libbacktrace on arm: http://gcc.gnu.org/ml/gcc-patches/2012-10/msg00628.html I see this now cross building libgo targeting arm on the 4.7 branch. Ok to backport to the 4.7 branch? Matthias 2012-10-07 Matthias Klose * config/arm/unwind-arm.h

Re: [Fortran, (RFC) patch] PR49110/51055 Assignment to alloc. deferred-length character vars

2012-12-09 Thread Steve Kargl
On Sun, Dec 09, 2012 at 07:48:44PM -0500, David Edelsohn wrote: > There has been no progress on this bug for over two months. I have > opened PR fortran/55636. This must be fixed before GCC 4.8 ships. > Somethings are hard to fix. They are especially hard to fix when one relies on volunteers,

Re: [Fortran, (RFC) patch] PR49110/51055 Assignment to alloc. deferred-length character vars

2012-12-09 Thread David Edelsohn
There has been no progress on this bug for over two months. I have opened PR fortran/55636. This must be fixed before GCC 4.8 ships. Thanks, David On Thu, Oct 4, 2012 at 5:04 PM, Janus Weil wrote: > Hi all, > Btw, note that we are using a double underscore scheme in other places (lik

[PATCH, libbacktrace] Find executable on ia64 and 64-bit hppa hpux

2012-12-09 Thread John David Anglin
The getexecname function is not availble on HP-UX. This patch provides an alternative techique to obtain the executable path on HP-UX ELF targets. These have the dlget and dlgetname calls. I believe that this requires the dld.sl library be linked with the application which is the normal case. Wi

[PATCH, libbacktrace] Don't call __sync_lock_test_and_set if we don't have sync functions

2012-12-09 Thread John David Anglin
On hppa*-*-hpux*, we don't have sync functions. However, __sync_lock_test_and_set is called in backtrace_alloc and backtrace_free. This causes an abort before ICE proccessing is fully complete. hppa64 is an ELF target and backtraces are nominally supported. The attached change avoids calling __

[Patch,Fortran] reset dynamic type with MOVE_ALLOC (was: Re: [Patch, Fortran] Small patch for calls to gfc_deallocate_scalar_with_status)

2012-12-09 Thread Tobias Burnus
Janus Weil wrote: >The expr to al->expr change is to pass a BT_CLASS instead of a >BT_DERIVED. And the NULL to gfc_lval_expr_from_sym change allows to access >var->_vtab->_final for a BT_CLASS deferred variable. It seems that both of them will not have any effect right now, but are useful only a

[PATCH, libbacktrace] Fix build on hpux10

2012-12-09 Thread John David Anglin
HP-UX 10 doesn't define MAP_FAILED. Patch fixes build. Tested on hppa1.1-hp-hpux10.20 and hppa2.0w-hp-hpux11.11. OK for trunk? Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 20

[committed] Fix gcc.misc-tests/gcov-12.c test on hpux10

2012-12-09 Thread John David Anglin
The dg order is wrong. As a result, dg-require-weak is ignored and test fails on hpux10 which doesn't have weak. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602

[committed] xfail hooray4 test in gcc.dg/ipa/iinline-4.c on 32-bit hppa

2012-12-09 Thread John David Anglin
Discussion is in PR. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-09 John David Anglin PR middle-end/54470 * gcc.dg/ipa/iinline-

[committed] Fix gcc.dg/torture/pr47917.c on *-*-hpux10*

2012-12-09 Thread John David Anglin
This fixes fail on *-*-hpux10*. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-09 John David Anglin * gcc.dg/torture/pr47917.c: Change "dg

[PATCH, alpha]: Fix PR55344, Cross compiling for alpha-linux fails because doesn't exist

2012-12-09 Thread Uros Bizjak
Hello! 2012-12-09 Uros Bizjak * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined. Bootstrapped and regression tested on alphaev68-pc-linux-gnu, committed to mainline and 4.7. Uros. Index: config/alpha/linux-unwind.h ===

[committed] Defined MAP_FAILED in gcc.dg/20050826-1.c and gcc.dg/20050826-1.c if not defined

2012-12-09 Thread John David Anglin
This fixes gcc.dg/20030711-1.c and gcc.dg/20050826-1.c on HP-UX 10. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-09 John David Anglin *

Re: [PATCH i386]: Enable push/pop in pro/epilogue for modern CPUs

2012-12-09 Thread Дмитрий Дьяченко
s/Eanble/Enable/ Thanks, Dmitry 2012/12/9 Uros Bizjak : > Hello! > >> I noticed in prologue/epilogue, GCC prefers to use MOVs followed by a >> SP adjustment instead of a sequence of pushes/pops. The preference to >> the MOVs are good for old CPU micro-architectures (before pentium-4, >> K10), be

Re: [patch print-tree.c]: 5 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-09 Thread NightStrike
On Sat, Dec 1, 2012 at 11:12 PM, Kai Tietz wrote: > Ping > > 2012/11/29 Kai Tietz : >> Hello, >> >> this trivial patch fixes a bootstrap issue on LLP64 hosts. >> >> ChangeLog >> >> 2012-11-29 Kai Tietz >> >> PR target/53912 >> * print-tree.c (print_node): Cast from pointer via uint

Re: [patch stmt.c]: Fix SjLj exception handling

2012-12-09 Thread NightStrike
On Sat, Dec 1, 2012 at 12:28 PM, Steven Bosscher wrote: > On Sat, Dec 1, 2012 at 10:59 PM, Kai Tietz wrote: >> Hi, >> >> recent 4,8 has regressions in g++.old-deja/g++.eh for the catch*.C >> tests, if exception-mechanism is SjLj. This is due an off by one >> failure in an decreasing loop. >> >> C

Re: [patch stmt.c]: 6 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-09 Thread NightStrike
On Sat, Dec 1, 2012 at 11:13 PM, Kai Tietz wrote: > Ping > > 2012/11/29 Kai Tietz : >> Hello, >> >> this trivial patch fixes a bootstrap issue on LLP64 hosts. >> >> ChangeLog >> >> 2012-11-29 Kai Tietz >> >> PR target/53912 >> * stmt.c (compute_cases_per_edge): Cast from pointer vi

Re: [Patch, Fortran] PR55343 - Fix ICE with renaming of symbols of intrinsic modules

2012-12-09 Thread Tobias Burnus
Janus Weil wrote: Sorry, I don't get it. Wrong PR number? It sounds related, but the test case is very different from the one in the PR ...?!? Sorry, I copied the PR number from the wrong PR. (I had opened the other PR because they are similar.) The patch is for PR 55197, only. Tobias

Fix scan-assembler in libstdc++ testsuite

2012-12-09 Thread Andreas Schwab
testname-for-summary in gcc/testsuite/lib/target-supports-dg.exp caches testname_with_flags and depends on dg-test to reset it after each test source file. The wrapper in the libstdc++ didn't do that, causing dg-scan-assembler to look at the wrong file. Installed as obvious. Andreas. *

Re: [PATCH i386]: Enable push/pop in pro/epilogue for modern CPUs

2012-12-09 Thread Uros Bizjak
Hello! > I noticed in prologue/epilogue, GCC prefers to use MOVs followed by a > SP adjustment instead of a sequence of pushes/pops. The preference to > the MOVs are good for old CPU micro-architectures (before pentium-4, > K10), because it breaks the data dependency. In modern > micro-architectu

Re: [patch, Fortran] Fix PR 55593

2012-12-09 Thread Thomas Koenig
Hi Janus, 2012/12/8 Thomas Koenig : Because undeclared is not declared, the resolution doesn't happen, and resolved_sym is NULL. This is OK because an error has been raised about this anyway; good, if it only happens when an error has been raised, I think your patch is ok. Committed as r