r246607 - in /trunk/gcc: ChangeLog testsuite/Ch...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Mar 31 06:32:00 GMT 2017
Author: jakub
Date: Fri Mar 31 06:32:46 2017
New Revision: 246607
URL: https://gcc.gnu.org/viewcvs?rev=246607&root=gcc&view=rev
Log:
PR middle-end/80163
* varasm.c (initializer_constant_valid_p_1): Disallow sign-extending
conversions to integer types wider than word and pointer.
* gcc.dg/pr80163.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr80163.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/varasm.c
More information about the Gcc-cvs
mailing list