https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80163
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80163
--- Comment #6 from Jakub Jelinek ---
Author: jakub
Date: Wed Apr 12 13:57:45 2017
New Revision: 246876
URL: https://gcc.gnu.org/viewcvs?rev=246876&root=gcc&view=rev
Log:
PR c/80163
* expr.c : For EXPAND_INITIALIZER determine SIG
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80163
--- Comment #5 from Jakub Jelinek ---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80163
--- Comment #4 from Jakub Jelinek ---
Created attachment 41045
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41045&action=edit
gcc7-pr80163-2.patch
Untested patch to reject the sign-extension to int128.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80163
--- Comment #3 from Jakub Jelinek ---
(In reply to Martin Liška from comment #2)
> Clang rejects the test-case written in C:
>
> clang pr80163.c -c
> pr80163.c:9:25: error: initializer element is not a compile-time constant
> static __int128_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80163
--- Comment #2 from Martin Liška ---
Clang rejects the test-case written in C:
clang pr80163.c -c
pr80163.c:9:25: error: initializer element is not a compile-time constant
static __int128_t d = (long) &&a - (long) &&b;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80163
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1