2016-06-09 18:35 GMT+02:00 Jeff Law :
> On 05/30/2016 05:19 PM, Marcin Baczyński wrote:
>>
>> Hi,
>> this is my first GCC patch, so please bear with me if something is wrong
>> with
>> it in an obvious way.
>>
>> I've found two unused m
Hi,
the patch below fixes PR/42014. Although the fix itself seems easy enough,
I have a problem with the test. Is there a way to match the output before
the "warning:" line? dg-{begin,end}-multiline-output doesn't do the job, or
at least I don't know how to convince it.
Bootstrapped on x86_64 linu
2016-06-03 11:36 GMT+02:00 Bernd Schmidt :
> On 06/02/2016 12:03 PM, Marcin Baczyński wrote:
>>
>> 2016-06-02 4:51 GMT+02:00 Martin Sebor :
>>>
>>> As a disclaimer, someone else endowed with those special powers
>>> will need to approve your final patc
2016-06-02 4:51 GMT+02:00 Martin Sebor :
>> So here's my shot at fixing this in the documentation. Does that look
>> okay?
>>
>
> It looks good to me. Just one minor point below.
>
>> @@ -4055,8 +4055,12 @@ Warn whenever a function is defined with a
>> return type that defaults
>> to @code{int}.
2016-06-02 4:51 GMT+02:00 Martin Sebor :
>> So here's my shot at fixing this in the documentation. Does that look
>> okay?
>>
>
> It looks good to me. Just one minor point below.
>
>> @@ -4055,8 +4055,12 @@ Warn whenever a function is defined with a
>> return type that defaults
>> to @code{int}.
2016-06-01 19:03 GMT+02:00 Martin Sebor :
>
> On 06/01/2016 10:39 AM, Jakub Jelinek wrote:
>>
>> On Wed, Jun 01, 2016 at 02:44:22PM +0200, Marcin Baczyński wrote:
>>>
>>> On 1 Jun 2016 14:07, "Jakub Jelinek" wrote:
>>>>
>>>>
PR c/48116.
Botstrapped and tested on x86_64-pc-linux-gnu.
gcc/ChangeLog:
* c/c-typeck.c (c_finish_return): emit warning about return with a
void expression in a function returning void if warn_return_type.
gcc/testsuite/ChangeLog:
* gcc.dg/Wreturn-type3.c: new test.
---
gcc/c/c-typ
libgomp/ChangeLog:
* fortran.c (omp_set_default_device_, omp_set_default_device_8):
don't put a void expression in a return,
* oacc-mem.c (acc_free): likewise,
* target.c (GOMP_target, GOMP_target_data, GOMP_target_data_ext):
likewise.
---
libgomp/fortran.c | 4 ++--
libgomp/oa
Hi,
this is my first GCC patch, so please bear with me if something is wrong with
it in an obvious way.
I've found two unused macros in gcc/diagnostic.h. Is the patch okay as is?
Bootstrapped on x86_64-pc-linux-gnu.
2016-05-31 Marcin Baczyński
* gcc/diagnostic.h (diagnostic_line_c