Re: [PATCH] Prevent 'control reaches end of non-void function' warning for DO_WHILE

2012-02-18 Thread Jason Merrill
On 01/22/2012 03:38 AM, Tom de Vries wrote: Sorry I didn't notice this patch until now; please CC me on C++ patches, or at least mention C++ in the subject line. + tree expr = NULL; + append_to_statement_list (*block, &expr); + *block = expr; Rather than doing this dance here

Re: [google/gcc-4_6_2-mobile] PATCH: PR other/46770: Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

2012-02-18 Thread Jakub Jelinek
On Fri, Feb 17, 2012 at 05:20:02PM -0800, H.J. Lu wrote: > This patch backports the fix from trunk: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770 > > for google/gcc-4_6_2-mobile branch. This is needed to support C++ > global constructors/destructiors on Android/x86. OK for > google/gcc-

[Patch, Fortran] PR52295 - allow for F2008 internal procs in generic interfaces

2012-02-18 Thread Tobias Burnus
Build and regtested on x86-64-linux. OK for the (4.8?) trunk? Tobias intern-generic.diff Description: application/unknown

Re: [Patch, Fortran] PR52295 - allow for F2008 internal procs in generic interfaces

2012-02-18 Thread Paul Richard Thomas
Dear Tobias, I saw Nasser's posting and the subsequent correspondence on clf. That's a pretty fast response! I think that this is OK for trunk, since it is only a change of standard for this error. Cheers Paul On Sat, Feb 18, 2012 at 12:58 PM, Tobias Burnus wrote: > Build and regtested on x86

[Patch, Fortran] PR 52270 - OOP - pointer check in vardef context, passing to intent-in ptr

2012-02-18 Thread Tobias Burnus
The patch consists of two parts: * The pointer check in gfc_check_vardef_context didn't honour polymorphic variables * Passing a TYPE to a CLASS is not allowed if CLASS is a pointer or allocatable as the actual argument cannot change its effective type. However, if the dummy is an intent(in)

[patch, committed] invoke.texi: copy-edit docs for IRA options and parameters

2012-02-18 Thread Sandra Loosemore
I noted that the documentation for the IRA-related command-line options and parameters needed fairly extensive copy-editing. In addition to correcting some English grammar problems, I have reorganized some of the discussion as well to make it easier to follow. I've checked this in -- maybe it

Re: [committed] invoke.texi: fix hyphenation of "floating point" and related terms

2012-02-18 Thread Gerald Pfeifer
On Sun, 5 Feb 2012, Gerald Pfeifer wrote: >> * doc/invoke.texi: Correct hyphenation of "floating point", >> "double precision", and related terminology throughout the file. > I believe we should document this then, as well, per the patch below? > > Any objections / thoughts? I know when