[patch, libgfortran] PR78387 OpenMP segfault/stack size exceeded writing to internal file

2017-08-19 Thread Jerry DeLisle
Hi all, I have decided to simply delete the internal unit stack altogether. The original intent was to save time with internal unit I/O by avoiding reallocating a gfc_unit structure every time an internal unit (aka string) is used for I/O. After deleting and testing it appears no significant

[PATCH] Don't override user alignment with the same value

2017-08-19 Thread H.J. Lu
Don't override alignment specified by user with the same value to preserve TYPE_USER_ALIGN. This fixes PR 53037 tests on Sparc. Does it look right? H.J. -- * stor-layout.c (finalize_type_size): Don't override alignment specified by user with the same value. --- gcc/stor-layout.c

Re: [PATCH][RFA/RFC] Stack clash mitigation patch 01/08 - V3

2017-08-19 Thread Martin Sebor
On 07/30/2017 11:35 PM, Jeff Law wrote: This patch introduces the stack clash protection options Changes since V2: Adds two new params. The first controls the size of the guard area. This controls the threshold for when a function prologue requires probes. The second controls the probing inte

[PATCH, i386]: Remove TARGET_ROUND ...

2017-08-19 Thread Uros Bizjak
... and use equivalent TARGET_SSE4_1 instead. 2017-08-19 Uros Bizjak * config/i386/i386.h (OPTION_MASK_ISA_ROUND): Remove. (TARGET_ISA_ROUND): Ditto. (TARGET_ROUND): Ditto. * config/i386/i386.c: Substitute TARGET_ROUND with TARGET_SSE4_1. * config/i386/i386.md: Ditto. *