[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-16 Thread jozefl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 --- Comment #11 from jozefl at gcc dot gnu.org --- Author: jozefl Date: Sat Nov 17 00:45:43 2018 New Revision: 266230 URL: https://gcc.gnu.org/viewcvs?rev=266230=gcc=rev Log: 2018-11-17 Jozef Lawrynowicz PR middle-end/87854 *

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 --- Comment #10 from Jakub Jelinek --- (In reply to Jozef Lawrynowicz from comment #8) > So just want to make sure that it is ok that this assumption can no longer > be made. Yes. The string is just too large for the target. > I'll then add

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Nov 16 16:41:54 2018 New Revision: 266217 URL: https://gcc.gnu.org/viewcvs?rev=266217=gcc=rev Log: PR middle-end/87854 * c-common.c (fix_string_type): Reject string

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-15 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 --- Comment #8 from Jozef Lawrynowicz --- (In reply to Jakub Jelinek from comment #7) > For some yes. I assume not e.g. for nvptx as it has 64-bit size_t but can't > compile it for other reasons. Ok, I'll make sure to check that. The new

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 --- Comment #7 from Jakub Jelinek --- For some yes. I assume not e.g. for nvptx as it has 64-bit size_t but can't compile it for other reasons.

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-15 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 --- Comment #6 from Jozef Lawrynowicz --- (In reply to Jakub Jelinek from comment #5) > Yeah, that is the goal. And you should either add msp430-*-* to dg-skip-if, > or do we have some effective targets for all targets with 16-bit size_t (or >

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 --- Comment #5 from Jakub Jelinek --- Yeah, that is the goal. And you should either add msp430-*-* to dg-skip-if, or do we have some effective targets for all targets with 16-bit size_t (or perhaps < 32-bit), so that we could skip them all at

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-15 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 --- Comment #4 from Jozef Lawrynowicz --- Thanks, the patch fixes the ICE on msp430-elf and the test now outputs: > gcc.c-torture/compile/pr46534.c:17:3: error: size of string literal is too > large

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-07 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 --- Comment #1 from Georg-Johann Lay --- (In reply to Jozef Lawrynowicz from comment #0) > Rather than ICE'ing should there be some error message about object size > being too large? Yes. In any case, there should be no ICE whatever code you

[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 Richard Biener changed: What|Removed |Added Target||msp430, avr CC|