Re: Proposal: readable and writable attributes on variables

2016-08-30 Thread Martin Sebor
On 08/30/2016 06:22 AM, Jens Bauer wrote: Hi all. I know it's possible to declare a variable 'read-only' by using 'const'. When working with microcontrollers (small ICs, which often requires you to write your code at driver-level), you need to be able to declare a structure member 'read-only'

gcc-5-20160830 is now available

2016-08-30 Thread gccadmin
Snapshot gcc-5-20160830 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/5-20160830/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 5 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-5

Re: LTO problems with -fprofile-generate (aarch64)

2016-08-30 Thread Konstantin Vladimirov
Hi, I have the same error while compiling complex project with private backend. Are there some patches for this? Some advices where to dig? Context is the following: there is foo that is external and bar.constprop that is internal, but is in foo's comdat list. When add_symbol_to_partitition recu

Proposal: readable and writable attributes on variables

2016-08-30 Thread Jens Bauer
Hi all. I know it's possible to declare a variable 'read-only' by using 'const'. When working with microcontrollers (small ICs, which often requires you to write your code at driver-level), you need to be able to declare a structure member 'read-only', 'write-only' or 'read+write'. In addition