public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362
@ 2007-06-21 13:58 frederic dot schuh at neuf dot fr
2007-06-21 14:04 ` [Bug target/32455] " pinskia at gcc dot gnu dot org
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: frederic dot schuh at neuf dot fr @ 2007-06-21 13:58 UTC (permalink / raw)
To: gcc-bugs
HARDWARE:
---------
System: HP-UX B.11.00
Machine: 9000/785
COMPILATION:
------------
/usr/local/bin/gcc -v -save-temps -c TP.c -o TP_c.o
Using built-in specs.
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure
Thread model: posix
gcc version 4.1.2
/usr/local/libexec/gcc/hppa2.0w-hp-hpux11.11/4.1.2/cc1 -E -quiet -v TP.c
-fpch-preprocess -o TP.i
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/hppa2.0w-hp-hpux11.11/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/local/lib/gcc/hppa2.0w-hp-hpux11.11/4.1.2/include
/usr/include
End of search list.
/usr/local/libexec/gcc/hppa2.0w-hp-hpux11.11/4.1.2/cc1 -fpreprocessed TP.i
-quiet -dumpbase TP.c -auxbase-strip TP_c.o -version -o TP.s
GNU C version 4.1.2 (hppa2.0w-hp-hpux11.11)
compiled by GNU C version 4.1.2.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 74aa6c12f75acdb1c74c59fde58fd82f
In file included from TP.c:130:
atu.inc: In function 'CONCAT_STR_C':
atu.inc:264: warning: second parameter of 'va_start' not last named argument
atu.inc:264: internal compiler error: in convert_move, at expr.c:362
I try to compil a source code comes from a library target chpgnu of
TestRealTime
--
Summary: internal compiler error: in convert_move, at expr.c:362
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: frederic dot schuh at neuf dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32455] internal compiler error: in convert_move, at expr.c:362
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
@ 2007-06-21 14:04 ` pinskia at gcc dot gnu dot org
2007-06-21 14:49 ` frederic dot schuh at neuf dot fr
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-21 14:04 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal
Component|c |target
GCC target triplet| |hppa2.0w-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32455] internal compiler error: in convert_move, at expr.c:362
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
2007-06-21 14:04 ` [Bug target/32455] " pinskia at gcc dot gnu dot org
@ 2007-06-21 14:49 ` frederic dot schuh at neuf dot fr
2007-12-27 20:38 ` [Bug middle-end/32455] [4.1/4.2/4.3 regression] ICE with modified va_list reichelt at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: frederic dot schuh at neuf dot fr @ 2007-06-21 14:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from frederic dot schuh at neuf dot fr 2007-06-21 14:49 -------
Created an attachment (id=13757)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13757&action=view)
preprocessed file in attachment
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/32455] [4.1/4.2/4.3 regression] ICE with modified va_list
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
2007-06-21 14:04 ` [Bug target/32455] " pinskia at gcc dot gnu dot org
2007-06-21 14:49 ` frederic dot schuh at neuf dot fr
@ 2007-12-27 20:38 ` reichelt at gcc dot gnu dot org
2008-01-02 23:36 ` mmitchel at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-12-27 20:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from reichelt at gcc dot gnu dot org 2007-12-27 20:38 -------
Confirmed. Here's a reduced testcase that crashes when compiled under
i686-pc-linux-gnu:
=========================================
typedef double* va_list;
void __builtin_va_start(va_list, ...);
void foo(const char* s, ...)
{
va_list v;
__builtin_va_start(v, s);
}
=========================================
bug.c: In function 'foo':
bug.c:8: internal compiler error: in convert_move, at expr.c:371
Please submit a full bug report, [etc.]
I don't know whether messing around with va_list and __builtin_va_start
is allowed or not. Btw, with
typedef void* va_list;
instead of
typedef double* va_list;
I get a different ICE:
bug.c: In function 'foo':
bug.c:8: internal compiler error: in simplify_subreg, at simplify-rtx.c:4918
Please submit a full bug report, [etc.]
Btw, the ICE appeared in GCC 4.0.0 (GCC 3.3.x crashed, too).
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|target |middle-end
Ever Confirmed|0 |1
GCC target triplet|hppa2.0w-hp-hpux11.11 |
Keywords| |ice-on-valid-code, monitored
Last reconfirmed|0000-00-00 00:00:00 |2007-12-27 20:38:18
date| |
Summary|internal compiler error: in |[4.1/4.2/4.3 regression] ICE
|convert_move, at expr.c:362 |with modified va_list
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/32455] [4.1/4.2/4.3 regression] ICE with modified va_list
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (2 preceding siblings ...)
2007-12-27 20:38 ` [Bug middle-end/32455] [4.1/4.2/4.3 regression] ICE with modified va_list reichelt at gcc dot gnu dot org
@ 2008-01-02 23:36 ` mmitchel at gcc dot gnu dot org
2008-01-15 15:22 ` [Bug c/32455] [4.1/4.2/4.3 regression] ICE with modified va_list, allows declaration of __builtin_* rguenth at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2008-01-02 23:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mmitchel at gcc dot gnu dot org 2008-01-02 23:20 -------
This code isn't valid. We probably shouldn't allow declarations of
__builtin_va_start, and we certainly shouldn't allow declarations that don't
match the internal definition -- and I don't think that declaration does. (I'm
not sure we should allow definitions of any __builtin functions; after all
they're built-in!)
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/32455] [4.1/4.2/4.3 regression] ICE with modified va_list, allows declaration of __builtin_*
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (3 preceding siblings ...)
2008-01-02 23:36 ` mmitchel at gcc dot gnu dot org
@ 2008-01-15 15:22 ` rguenth at gcc dot gnu dot org
2008-01-31 19:37 ` rth at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-15 15:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2008-01-15 15:01 -------
I think the frontend should reject identifiers in declarations that touch
the __builtin_ namespace.
The regression status is dubious (it probably 'regressed' at the point
the builtin was introduced).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |c
Known to fail| |3.3.6
Known to work| |2.95.4
Summary|[4.1/4.2/4.3 regression] ICE|[4.1/4.2/4.3 regression] ICE
|with modified va_list |with modified va_list,
| |allows declaration of
| |__builtin_*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/32455] [4.1/4.2/4.3 regression] ICE with modified va_list, allows declaration of __builtin_*
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (4 preceding siblings ...)
2008-01-15 15:22 ` [Bug c/32455] [4.1/4.2/4.3 regression] ICE with modified va_list, allows declaration of __builtin_* rguenth at gcc dot gnu dot org
@ 2008-01-31 19:37 ` rth at gcc dot gnu dot org
2008-07-04 22:16 ` [Bug c/32455] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rth at gcc dot gnu dot org @ 2008-01-31 19:37 UTC (permalink / raw)
To: gcc-bugs
--
rth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2007-12-27 20:38:18 |2008-01-31 18:52:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/32455] [4.2/4.3/4.4 regression] ICE with modified va_list, allows declaration of __builtin_*
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (5 preceding siblings ...)
2008-01-31 19:37 ` rth at gcc dot gnu dot org
@ 2008-07-04 22:16 ` jsm28 at gcc dot gnu dot org
2008-11-07 17:14 ` jakub at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jsm28 at gcc dot gnu dot org 2008-07-04 22:15 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2/4.3/4.4 regression]|[4.2/4.3/4.4 regression] ICE
|ICE with modified va_list, |with modified va_list,
|allows declaration of |allows declaration of
|__builtin_* |__builtin_*
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/32455] [4.2/4.3/4.4 regression] ICE with modified va_list, allows declaration of __builtin_*
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (6 preceding siblings ...)
2008-07-04 22:16 ` [Bug c/32455] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-11-07 17:14 ` jakub at gcc dot gnu dot org
2008-11-07 17:25 ` jakub at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-11-07 17:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2008-11-07 17:12 -------
Apparently glibc used it only for 2 builtins in include/stdio.h and it seemed
to be probably a workaround from back in 2003, I've verified it is unnecessary
with gcc 4.1/4.3/4.4 and removed it. Current glibc trunk compiles with rth's
patch just fine. Therefore I'm removing my objection. Can we proceed with
this for 4.4 then?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/32455] [4.2/4.3/4.4 regression] ICE with modified va_list, allows declaration of __builtin_*
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (7 preceding siblings ...)
2008-11-07 17:14 ` jakub at gcc dot gnu dot org
@ 2008-11-07 17:25 ` jakub at gcc dot gnu dot org
2009-01-10 9:05 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-11-07 17:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jakub at gcc dot gnu dot org 2008-11-07 17:24 -------
The patch as is already rejects typedef double *__builtin_va_list;, so it is
just
{struct,union,enum} __builtin_foo that isn't rejected on the C side, which we
could reject (disallow that in pushtag?), but isn't fatal, given that GCC
internally never uses struct __builtin_*, always just uses __builtin_*
typedefs.
On the C++ side, it is more work probably.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/32455] [4.2/4.3/4.4 regression] ICE with modified va_list, allows declaration of __builtin_*
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (8 preceding siblings ...)
2008-11-07 17:25 ` jakub at gcc dot gnu dot org
@ 2009-01-10 9:05 ` jakub at gcc dot gnu dot org
2009-06-19 11:47 ` [Bug c/32455] [4.2/4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-10 9:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jakub at gcc dot gnu dot org 2009-01-10 09:04 -------
Patch at:
http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00644.html
Ian Taylor's review:
I'm not really comfortable with breaking the building of old version
of glibc just to fix an ice-on-invalid. I'll approve this for gcc
4.5, to give people more time to update their glibc.
So, moving to 4.5.0 target.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|rth at gcc dot gnu dot org |jakub at gcc dot gnu dot org
Target Milestone|4.2.5 |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/32455] [4.2/4.3/4.4/4.5 regression] ICE with modified va_list, allows declaration of __builtin_*
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (9 preceding siblings ...)
2009-01-10 9:05 ` jakub at gcc dot gnu dot org
@ 2009-06-19 11:47 ` rguenth at gcc dot gnu dot org
2009-06-21 22:46 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-06-19 11:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rguenth at gcc dot gnu dot org 2009-06-19 11:47 -------
Jakub, ping? Given that we now have PR40485?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/32455] [4.2/4.3/4.4/4.5 regression] ICE with modified va_list, allows declaration of __builtin_*
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (10 preceding siblings ...)
2009-06-19 11:47 ` [Bug c/32455] [4.2/4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
@ 2009-06-21 22:46 ` pinskia at gcc dot gnu dot org
2010-04-06 11:20 ` [Bug c/32455] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2010-07-31 9:30 ` [Bug c/32455] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-06-21 22:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2009-06-21 22:45 -------
*** Bug 40485 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ivan dot glushkov at gmail
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/32455] [4.3/4.4/4.5 regression] ICE with modified va_list, allows declaration of __builtin_*
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (11 preceding siblings ...)
2009-06-21 22:46 ` pinskia at gcc dot gnu dot org
@ 2010-04-06 11:20 ` rguenth at gcc dot gnu dot org
2010-07-31 9:30 ` [Bug c/32455] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-06 11:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from rguenth at gcc dot gnu dot org 2010-04-06 11:19 -------
GCC 4.5.0 is being released. Deferring to 4.5.1.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.5.0 |4.5.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/32455] [4.3/4.4/4.5/4.6 regression] ICE with modified va_list, allows declaration of __builtin_*
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
` (12 preceding siblings ...)
2010-04-06 11:20 ` [Bug c/32455] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
@ 2010-07-31 9:30 ` rguenth at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-31 9:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from rguenth at gcc dot gnu dot org 2010-07-31 09:29 -------
GCC 4.5.1 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.5.1 |4.5.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2010-07-31 9:30 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
2007-06-21 14:04 ` [Bug target/32455] " pinskia at gcc dot gnu dot org
2007-06-21 14:49 ` frederic dot schuh at neuf dot fr
2007-12-27 20:38 ` [Bug middle-end/32455] [4.1/4.2/4.3 regression] ICE with modified va_list reichelt at gcc dot gnu dot org
2008-01-02 23:36 ` mmitchel at gcc dot gnu dot org
2008-01-15 15:22 ` [Bug c/32455] [4.1/4.2/4.3 regression] ICE with modified va_list, allows declaration of __builtin_* rguenth at gcc dot gnu dot org
2008-01-31 19:37 ` rth at gcc dot gnu dot org
2008-07-04 22:16 ` [Bug c/32455] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-11-07 17:14 ` jakub at gcc dot gnu dot org
2008-11-07 17:25 ` jakub at gcc dot gnu dot org
2009-01-10 9:05 ` jakub at gcc dot gnu dot org
2009-06-19 11:47 ` [Bug c/32455] [4.2/4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2009-06-21 22:46 ` pinskia at gcc dot gnu dot org
2010-04-06 11:20 ` [Bug c/32455] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2010-07-31 9:30 ` [Bug c/32455] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot 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).