public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/42543] New: internal compiler error: in gimplify_expr, at gimplify.c:7098
@ 2009-12-29 17:07 arnaud dot kodeck at lakoco dot be
2009-12-29 17:09 ` [Bug c/42543] " arnaud dot kodeck at lakoco dot be
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: arnaud dot kodeck at lakoco dot be @ 2009-12-29 17:07 UTC (permalink / raw)
To: gcc-bugs
Hello,
In the past, I was using gcc 3.4.5 and the code was compiled well. I changed my
gcc to version 4.4.1 and this internal compiler occured :
main.c:56: internal compiler error: in gimplify_expr, at gimplify.c:7098
That might be helpfull for you,
Arnaud
--
Summary: internal compiler error: in gimplify_expr, at
gimplify.c:7098
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: arnaud dot kodeck at lakoco dot be
GCC host triplet: Windows 7
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/42543] internal compiler error: in gimplify_expr, at gimplify.c:7098
2009-12-29 17:07 [Bug c/42543] New: internal compiler error: in gimplify_expr, at gimplify.c:7098 arnaud dot kodeck at lakoco dot be
@ 2009-12-29 17:09 ` arnaud dot kodeck at lakoco dot be
2009-12-29 17:10 ` arnaud dot kodeck at lakoco dot be
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: arnaud dot kodeck at lakoco dot be @ 2009-12-29 17:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from arnaud dot kodeck at lakoco dot be 2009-12-29 17:09 -------
Created an attachment (id=19417)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19417&action=view)
Source file where the bug occured
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/42543] internal compiler error: in gimplify_expr, at gimplify.c:7098
2009-12-29 17:07 [Bug c/42543] New: internal compiler error: in gimplify_expr, at gimplify.c:7098 arnaud dot kodeck at lakoco dot be
2009-12-29 17:09 ` [Bug c/42543] " arnaud dot kodeck at lakoco dot be
@ 2009-12-29 17:10 ` arnaud dot kodeck at lakoco dot be
2009-12-29 17:17 ` [Bug middle-end/42543] ICE when using va_arg pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: arnaud dot kodeck at lakoco dot be @ 2009-12-29 17:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from arnaud dot kodeck at lakoco dot be 2009-12-29 17:10 -------
Created an attachment (id=19418)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19418&action=view)
The preprocessed file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/42543] ICE when using va_arg
2009-12-29 17:07 [Bug c/42543] New: internal compiler error: in gimplify_expr, at gimplify.c:7098 arnaud dot kodeck at lakoco dot be
2009-12-29 17:09 ` [Bug c/42543] " arnaud dot kodeck at lakoco dot be
2009-12-29 17:10 ` arnaud dot kodeck at lakoco dot be
@ 2009-12-29 17:17 ` pinskia at gcc dot gnu dot org
2009-12-29 17:32 ` hjl dot tools at gmail dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-12-29 17:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2009-12-29 17:17 -------
The trunk still ICEs:
gimplification failed:
(char *) args2.4 <nop_expr 0x43600ab8
t.c:56:40: internal compiler error: gimplification failed
Please submit a full bug report,
That is an ICE with i686-darwin. But I think it will also ICE on GNU/Linux
too.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Severity|minor |normal
Component|c |middle-end
GCC host triplet|Windows 7 |
GCC target triplet| |i?86-*-*
Keywords| |ice-on-valid-code
Summary|internal compiler error: in |ICE when using va_arg
|gimplify_expr, at |
|gimplify.c:7098 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/42543] ICE when using va_arg
2009-12-29 17:07 [Bug c/42543] New: internal compiler error: in gimplify_expr, at gimplify.c:7098 arnaud dot kodeck at lakoco dot be
` (2 preceding siblings ...)
2009-12-29 17:17 ` [Bug middle-end/42543] ICE when using va_arg pinskia at gcc dot gnu dot org
@ 2009-12-29 17:32 ` hjl dot tools at gmail dot com
2009-12-29 17:33 ` hjl dot tools at gmail dot com
2009-12-31 16:53 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-29 17:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from hjl dot tools at gmail dot com 2009-12-29 17:32 -------
I am not sure if
---
char* FormatStringEx (char str[], size_t max_length, char templ[],
void* args, unsigned int flags)
{
...
void *args2;
char *arg,c;
...
while (index-- > 0 && (arg=va_arg((va_list)args2,char*)) != NULL) ;
...
---
is valid C. But gcc could do better to recover.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/42543] ICE when using va_arg
2009-12-29 17:07 [Bug c/42543] New: internal compiler error: in gimplify_expr, at gimplify.c:7098 arnaud dot kodeck at lakoco dot be
` (3 preceding siblings ...)
2009-12-29 17:32 ` hjl dot tools at gmail dot com
@ 2009-12-29 17:33 ` hjl dot tools at gmail dot com
2009-12-31 16:53 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-29 17:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hjl dot tools at gmail dot com 2009-12-29 17:33 -------
Icc 11.1 generates:
[hjl@gnu-6 rrs]$ /opt/intel/Compiler/11.1/059/bin/intel64/icc -S pr42543.c
pr42543.c(55): error: cast to type "va_list" is not allowed
while (index-- > 0 && (arg=va_arg((va_list)args2,char*)) != NULL)
;
^
compilation aborted for pr42543.c (code 2)
[hjl@gnu-6 rrs]$
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/42543] ICE when using va_arg
2009-12-29 17:07 [Bug c/42543] New: internal compiler error: in gimplify_expr, at gimplify.c:7098 arnaud dot kodeck at lakoco dot be
` (4 preceding siblings ...)
2009-12-29 17:33 ` hjl dot tools at gmail dot com
@ 2009-12-31 16:53 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-31 16:53 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords|ice-on-valid-code |ice-on-invalid-code
Last reconfirmed|0000-00-00 00:00:00 |2009-12-31 16:52:54
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <bug-42543-4@http.gcc.gnu.org/bugzilla/>]
end of thread, other threads:[~2021-08-08 20:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29 17:07 [Bug c/42543] New: internal compiler error: in gimplify_expr, at gimplify.c:7098 arnaud dot kodeck at lakoco dot be
2009-12-29 17:09 ` [Bug c/42543] " arnaud dot kodeck at lakoco dot be
2009-12-29 17:10 ` arnaud dot kodeck at lakoco dot be
2009-12-29 17:17 ` [Bug middle-end/42543] ICE when using va_arg pinskia at gcc dot gnu dot org
2009-12-29 17:32 ` hjl dot tools at gmail dot com
2009-12-29 17:33 ` hjl dot tools at gmail dot com
2009-12-31 16:53 ` rguenth at gcc dot gnu dot org
[not found] <bug-42543-4@http.gcc.gnu.org/bugzilla/>
2021-08-08 20:46 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).