[PATCH] [MSP430] Allow interrupt handers to be static and fix __interrupt__ attribute causing an ICE

2018-05-27 Thread Jozef Lawrynowicz
Some users have a preference for declaring interrupt handlers as static functions, as this enforces that interrupts should not be called directly (from other source files at least). This patch allows interrupt handlers to be declared as static and also fixes an assertion failure when the interrup

Re: [PATCH] [MSP430] Allow interrupt handers to be static and fix __interrupt__ attribute causing an ICE

2018-05-27 Thread Jozef Lawrynowicz
On 27/05/18 14:19, Jozef Lawrynowicz wrote: If the patch is acceptable, I would appreciate if someone would commit it for me, as I don't have write access. "msp430.md" in the ChangeLog entry should be "msp430.c".

Re: [PATCH,Fortran] Allow pointer initialization in DATA

2018-05-27 Thread Jerry DeLisle
On 05/24/2018 06:14 PM, Steve Kargl wrote: The attach patch allows for pointer initialization in a DATA statement per F2018. Yes, it's weird that a data-constant-object is not a named parameter. The 'data-constant-object' is required to have the SAVE and TARGET attribute. Built and regression

Re: Simplify _Rb_tree instantiation

2018-05-27 Thread François Dumont
On 25/05/2018 21:19, Ville Voutilainen wrote: On 25 May 2018 at 22:16, Jonathan Wakely wrote: Why is this patch removing _Compare() calls? That changes the initialization of _Compare from value-initialization to default-initialization, which is a breaking change. The _Rb_tree_key_compare base

[PATCH, committed] fix ICE in test suite on pdp11

2018-05-27 Thread Paul Koning
This cures an ICE caused by a wrong pattern that produces invalid register references. gcc/ChangeLog 2018-05-27 Paul Koning * config/pdp11/pdp11.md (truncsihi2): Remove. Index: config/pdp11/pdp11.md === --- config/pdp1

Re: Improve std::rotate usages

2018-05-27 Thread François Dumont
Still no chance to review it ? I'd like this one to go in before submitting other algo related patches.     * include/bits/stl_algo.h     (__rotate(_Ite, _Ite, _Ite, forward_iterator_tag))     (__rotate(_Ite, _Ite, _Ite, bidirectional_iterator_tag))     (__rotate(_Ite, _Ite, _Ite, random_access_

[committed] Disable use of GNU-stack notes on hppa-linux

2018-05-27 Thread John David Anglin
The attached change disables the use of GNU-stack notes on hppa-linux.  The Linux kernel requires an executable stack for syscall restarts and signal returns.  Enabling GNU-stack notes breaks glibc signal handling. Committed to trunk and gcc-8 branch. Dave -- John David Anglin dave.ang...@be

[PATCH] DWARF: Handle expressions containing "-1" in dw2_asm_output_delta_uleb128.

2018-05-27 Thread Mark Wielaard
In dwarf2out.c dwarf2out_var_location () we create loclabels that might contain -1 (for example ".LVL5-1"). Technically those are expressions, not just plain labels. But they work fine everywhere we use them, except when calculating an uleb128 delta between two labels. For example we might create

Re: Remove support for FreeBSD 4.x (and earlier)

2018-05-27 Thread Gerald Pfeifer
On Thu, 24 May 2018, Jeff Law wrote: > Happy to trust you on what versions can be dropped and the resulting > simplifications. > > Is it worth noting those old versions as deprecated/obsolete in config.gcc? Good catch, Jeff, thanks. Updated patch (also wrt. comments) below. Andreas, anyhing fro