r256989 - in /trunk/gcc: lto/ChangeLog lto/lto-...

marxin@gcc.gnu.org marxin@gcc.gnu.org
Tue Jan 23 15:46:00 GMT 2018


Author: marxin
Date: Tue Jan 23 15:46:02 2018
New Revision: 256989

URL: https://gcc.gnu.org/viewcvs?rev=256989&root=gcc&view=rev
Log:
Handle trailing arrays in ODR warning (PR lto/81440).

2018-01-23  Martin Liska  <mliska@suse.cz>

	PR lto/81440
	* lto-symtab.c (lto_symtab_merge): Handle and do not warn about
	trailing arrays at the end of a struct.
2018-01-23  Martin Liska  <mliska@suse.cz>

	PR lto/81440
	* gcc.dg/lto/pr81440.h: New test.
	* gcc.dg/lto/pr81440_0.c: New test.
	* gcc.dg/lto/pr81440_1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/lto/pr81440.h
    trunk/gcc/testsuite/gcc.dg/lto/pr81440_0.c
    trunk/gcc/testsuite/gcc.dg/lto/pr81440_1.c
Modified:
    trunk/gcc/lto/ChangeLog
    trunk/gcc/lto/lto-symtab.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list