gccadmin | 26 May 00:35 2016
Picon

gcc-4.9-20160525 is now available

Snapshot gcc-4.9-20160525 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/4.9-20160525/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 4.9 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch revision 236755

You'll find:

 gcc-4.9-20160525.tar.bz2             Complete GCC

  MD5=60c85a7d1835196b39351718fd640974
  SHA1=55adf86b1a8c5035b4f0184776cb50d842e1c5ad

Diffs from 4.9-20160518 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-4.9
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.

martin krastev | 25 May 23:08 2016
Picon
Gravatar

Implicit conversion to a generic vector type

Hello,

I've been scratching my head over an implicit conversion issue,
depicted in the following code:

typedef __attribute__ ((vector_size(4 * sizeof(int)))) int generic_int32x4;

struct Foo {
    Foo() {
    }
    Foo(const generic_int32x4& src) {
    }
    operator generic_int32x4() const {
        return (generic_int32x4){ 42 };
    }
};

struct Bar {
    Bar() {
    }
    Bar(const int src) {
    }
    operator int() const {
        return 42;
    }
};

int main(int, char**) {

    const Bar b = Bar() + Bar();
(Continue reading)

gccadmin | 25 May 00:36 2016
Picon

gcc-5-20160524 is now available

Snapshot gcc-5-20160524 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/5-20160524/
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-branch revision 236673

You'll find:

 gcc-5-20160524.tar.bz2               Complete GCC

  MD5=84becd2e3b4077b9b81a29b1afa9e8b5
  SHA1=a9ba774411da6cd2acea362b71ee07d2b854b674

Diffs from 5-20160517 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-5
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.

Roy Leblanc | 23 May 19:50 2016

ROP and JOP attack protection

Hello all,

Does GCC's code generator at this point provide protection against ROP and JOP attacks? This can be
achieved by carefully controlling what opcode bytes and immediate values are produced. It can also be
achieved by rewriting assembler output as you see with the AntiJOP project.

More information: https://en.wikipedia.org/wiki/Return-oriented_programming

-Roy

MM | 23 May 13:36 2016
Picon

LTO and undefined reference to typeinfo

Hello,

g++ (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
GNU gold (version 2.25-17.fc23) 1.11
I successfully link a executable in debug mode (-std=c++11 -g) but not in
release mode (-std=c++11 -flto -O3). All sources are compiled with the same
option. Shared libraries are used.
The compiler driver is used to launch the final link line:
/bin/c++    -std=c++11 -Wno-multichar -O3 -DNDEBUG -flto   <listofOfiles>
 -o <executable> -rdynamic <listofsolibs> Wl,-rpath,<longlistofdirs>

These are the errors I see (only in release, not in debug):
 ... [clone .constprop.79]: error: undefined reference to
     'typeinfo for <ns1>::<ns2>::market [clone .lto_priv.1353]'

Both the debug and release version of the object referencing this show the
same with gcc-nm:

                 U typeinfo for <ns1>::<ns2>::market
 Note this bit   " [clone .lto_priv.1353]" is not in the symbol at all.

This is what gcc-nm says for the object where the symbol is defined
(market.cpp.o, which is part of libmarkets.so):

1. In DEBUG
gcc-nm -C market.cpp.o |  grep 'typeinfo for <ns1>::<ns2>::market'
     0000000000000000 V typeinfo for <ns1>::<ns2>::market

2. In RELEASE
gcc-nm -C market.cpp.o |  grep 'typeinfo for <ns1>::<ns2>::market'
(Continue reading)

zet | 23 May 07:59 2016
Picon

when gcc support -z ?

hello, all

just like the title, when gcc support -z keyword?

if show me the patch, it will be great.

thx

--

-- 
业精于勤,荒于嬉..

gccadmin | 23 May 00:36 2016
Picon

gcc-7-20160522 is now available

Snapshot gcc-7-20160522 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/7-20160522/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 7 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision 236571

You'll find:

 gcc-7-20160522.tar.bz2               Complete GCC

  MD5=55beccc04d389426152aa482afb08c56
  SHA1=a42ee66a8e86ccbbb8db8c8027fc9c0fcac4f214

Diffs from 7-20160515 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-7
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.

Florian Weimer | 20 May 10:17 2016
Picon

GNU C: Implicit int and implicit function definitions

I just spend an hour hunting down someone else's GCC code generation 
bug, when it turned out it was caused by an implicit function 
definition, where the real return type was incompatible with int.

C99 got rid of implicit function definitions and implicit ints.  Would 
it be possible to remove them retroactively from the -std=gnu99 and 
-std=gnu11 language variants (as well as -std=c99 and -std=c11), so that 
they are rejected by default?

Thanks,
Florian

gccadmin | 20 May 00:36 2016
Picon

gcc-6-20160519 is now available

Snapshot gcc-6-20160519 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/6-20160519/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 6 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-6-branch revision 236491

You'll find:

 gcc-6-20160519.tar.bz2               Complete GCC

  MD5=a54f9a0db01c6ea1e32b38a425a669f2
  SHA1=4708aced676084d951095c60bcfe7e325c8d26e6

Diffs from 6-20160512 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-6
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.

Jakub Sejdak | 19 May 15:46 2016

Copyright assignment to FSF

Dear Sir or Madam,

On behalf of Paweł Pisarczyk (CEO of Phoenix Systems) I'm writting to
you regarding copyright assignment to FSF related to changes in GNU
GCC.

We are currently working on porting our product, Phoenix-RTOS, to
several branches: trunk, branch 6 and branch 5. Our patches are
already classified as 'nontrivial', so we need to assign copyright to
FSF.
To fulfill legal requirements, we would like to obtain all relevant
forms to sign them and send back to you.

Please send me documents and some instructions on how should we handle
this process to avoid misunderstandings.

Yours faithfully,
Jakub Sejdak

--

-- 
Jakub Sejdak
Software Engineer
Phoenix Systems (www.phoesys.com)
+48 608 050 163

gccadmin | 19 May 00:35 2016
Picon

gcc-4.9-20160518 is now available

Snapshot gcc-4.9-20160518 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/4.9-20160518/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 4.9 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch revision 236434

You'll find:

 gcc-4.9-20160518.tar.bz2             Complete GCC

  MD5=b79a1bf871d6f2d1e01978124c47b65e
  SHA1=43b71ca63bb770ab0526e13980dad8ae82c84f22

Diffs from 4.9-20160511 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-4.9
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.


Gmane