Re: [PATCH] S390: Fix crash with -mhotpatch and gfortran

2014-02-13 Thread Andreas Krebbel
> 2014-02-12 Dominik Vogt > > * config/s390/s390.c (s390_asm_output_function_label): > fix crash caused by bad second argument to warning_at() with -mhotpatch > and nested functions (e.g. with gfortran) Applied. Thanks! -Andreas-

Re: [PATCH] S390: Fix crash with -mhotpatch and gfortran

2014-02-12 Thread Dominik Vogt
On Wed, Feb 12, 2014 at 11:34:16AM +, Richard Sandiford wrote: > Dominik Vogt writes: > > diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c > > index 32a25a4..9ae8ffd 100644 > > --- a/gcc/config/s390/s390.c > > +++ b/gcc/config/s390/s390.c > > @@ -5510,9 +5510,8 @@ s390_asm_output_f

Re: [PATCH] S390: Fix crash with -mhotpatch and gfortran

2014-02-12 Thread Richard Sandiford
Dominik Vogt writes: > diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c > index 32a25a4..9ae8ffd 100644 > --- a/gcc/config/s390/s390.c > +++ b/gcc/config/s390/s390.c > @@ -5510,9 +5510,8 @@ s390_asm_output_function_label (FILE *asm_out_file, > const char *fname, >if (hotpatch_

[PATCH] S390: Fix crash with -mhotpatch and gfortran

2014-02-12 Thread Dominik Vogt
The attached patch fixes a crash if gfortran encounters a nested function when -mhotpatch is enabled. (It slightly improves the warning message too.) This patch affects s390 only. Andreas Krebbel will commit the patch soon, if there are no objections. Ciao Dominik ^_^ ^_^ -- Dominik Vogt I