Re: [PATCH] fixincludes/Makefile for Interix

2011-06-05 Thread Bruce Korb
On 06/04/11 13:43, Douglas B Rupp wrote: Here's my proposed patch, along the lines you suggested. Hi Doug, Excellent. Just a couple nits: It is more normal and easier to read when you quote the entire shell script fragment, as below (removing unnecessary eval, too): diff -rupN

Re: -fdump-passes -fenable-xxx=func_name_list

2011-06-05 Thread Xinliang David Li
Is this patch ok? Thanks, David On Wed, Jun 1, 2011 at 10:24 AM, Xinliang David Li davi...@google.com wrote: The attached is the split #1 patch that enhances -fenable/disable. Ok after testing? Thanks, David On Wed, Jun 1, 2011 at 9:16 AM, Xinliang David Li davi...@google.com wrote: On

Re: -fdump-passes -fenable-xxx=func_name_list

2011-06-05 Thread Xinliang David Li
Is this one ok? Thanks, David On Thu, Jun 2, 2011 at 12:12 AM, Xinliang David Li davi...@google.com wrote: This is the version of the patch that walks through pass lists. Ok with this one? David On Wed, Jun 1, 2011 at 12:45 PM, Xinliang David Li davi...@google.com wrote: On Wed, Jun 1,

Re: never ending output from -fdump-fortran-original on ENTRY statement

2011-06-05 Thread Thomas Koenig
Hi Andreas, I have committed your patch with a slight variation to trunk as obvious after regression-testting. Will commit to 4.6 in a few days. No test case because we can't do test cases with -fdump-fortran-* at the moment. This patch is small enough so it does not need a copyright

PATCH [1/n]: Add initial -x32 support

2011-06-05 Thread H.J. Lu
Hi, I'd like to start submitting a series of patches to enable x32: https://sites.google.com/site/x32abi/ The GCC x32 branch is very stable. There are no unexpected failures in C, C++, Fortran and Objective C testsuites. SPEC CPU 2K/2006 compile and run correctly at -O2 and -O3. More than

Re: [Patch, Fortran] Fix -fcheck=pointer for F2008's NULL ptr to optional arguments

2011-06-05 Thread Tobias Burnus
*ping* On 1 June 2011, Tobias Burnus wrote: The NULL pointer check (-fcheck=pointer) was wrong for Fortran 2008: It is now allowed to pass a null pointer (or not associated allocatables) to optional arguments to denote absent arguments. Build and regtested on x86-64-linux. OK for the trunk?

[v3] fix typos in ptr_traits.h and specialize for pointer adapter

2011-06-05 Thread Jonathan Wakely
2011-06-05 Jonathan Wakely jwakely@gmail.com * include/bits/ptr_traits.h (pointer_traits): Fix typos. * include/ext/pointer.h (pointer_traits): Add partial specialization for _Pointer_adapter. This fixes a couple of dumb mistakes in pointer_traits (type vs __type

Re: [Patch, Fortran] Fix -fcheck=pointer for F2008's NULL ptr to optional arguments

2011-06-05 Thread Thomas Koenig
Hi Tobias, The NULL pointer check (-fcheck=pointer) was wrong for Fortran 2008: It is now allowed to pass a null pointer (or not associated allocatables) to optional arguments to denote absent arguments. Build and regtested on x86-64-linux. OK for the trunk? OK. Thanks for the patch!

[PATCH, i386]: Remaining FP moves cleanups

2011-06-05 Thread Uros Bizjak
Hello! 2011-06-05 Uros Bizjak ubiz...@gmail.com * config/i386/i386.md (*movdf_internal_rex64) case 8,9,10: Remove MODE_TI handling. Remove SSE1 handling in attribute mode calculation. (*movdf_internal_rex64) case 6,7,8: Remove MODE_TI handling. Simplify

[patch, fortran]

2011-06-05 Thread Thomas Koenig
Hello world, the attached patch extends removing trailing TRIMs in assignments for cases like a // trim(b). Regression-tested. OK for trunk? Thomas 2011-05-06 Thomas König tkoe...@gcc.gnu.org * frontend-passes.c (optimize_assignment): Follow chains of concatenation

[SPARC] Fix another thinko

2011-06-05 Thread Eric Botcazou
This time introduced when -fno-delayed-branch was fixed in the back-end. Modifying %fp before a 'restore' instruction is a no-no because it is the base address used to reload spilled registers when the window stack is empty. It only affects __builtin_eh_return and presumably went unnoticed.

Add myself to MAINTAINERS

2011-06-05 Thread Nenad Vukicevic
Added myself to MAINTAINERS. Thanks. 2011-06-05 Nenad Vukicevic ne...@intrepid.com * MAINTAINERS (Write After Approval): Add myself. Index: MAINTAINERS === --- MAINTAINERS (revision 174678) +++ MAINTAINERS (working copy)

[pph] TS_COMMON chain and trace edits (issue4564058)

2011-06-05 Thread Lawrence Crowl
We were not streaming the TS_COMMON field change. This patch adds a functions to stream TS_COMMON. It adds calls to them in existing code that handles trees. It also implements streaming of other C++-specific trees that inherit TS_COMMON. This patch fixes some ICEs, but the test still fail on

C++ PATCH for objc++/49221 (many EH fails in objc++ testsuite)

2011-06-05 Thread Jason Merrill
This was happening because objc_eh_runtime_type wanted to create global decls while we were in the middle of processing a function, and cp_finish_decl assumed that if we're in a function the decl must belong to the function. We can avoid that assumption by checking the DECL_CONTEXT rather

C++ PATCH for c++/49134 (constexpr failures on ARM)

2011-06-05 Thread Jason Merrill
build_target_expr was making the assumption that the initializer for a temporary should have the same type as the temporary, but that isn't the case on ARM, where the ABI is changed to return 'this' from constructors. So I adjusted the assert. Tested x86_64-pc-linux-gnu, applying to trunk

AIX net/if_arp.h include fix for struct fc_softc

2011-06-05 Thread Peter O'Gorman
Hi, We ran across an issue with qt-4.7 built with gcc-4.4 on AIX 5.2, 5.3, 6.1, and 7.1 where some static constructors were not being called. It turned out to be a header file issue, see, for example, https://www.ibm.com/developerworks/forums/thread.jspa?threadID=211873tstart=-2 Using

Re: fix left-over debug insns in DCE

2011-06-05 Thread Alexandre Oliva
On Jun 3, 2011, Eric Botcazou ebotca...@adacore.com wrote: Hmm... Maybe it could, I'm not sure. The problem is that DCE removes insns, and then DF associates remaining uses in debug insns to earlier DEFs. Adjusting debug insns in DCE is right per the VTA design motto: decide as if debug

patch trunk: seek plugin also in a language specific directory when given a short name

2011-06-05 Thread Basile Starynkevitch
Hello All, Sorry I incorrectly sent that to gcc@ not to gcc-patches@ Front-end functions (e.g. pragma-related) are not available to all plugins (e.g. not to plugins fired from lto1). See the http://gcc.gnu.org/ml/gcc/2011-05/msg00321.html discussion. This patch document a little bit that, and