public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37417] New: [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
@ 2008-09-08 8:47 tbm at cyrius dot com
2008-09-08 8:49 ` [Bug middle-end/37417] " tbm at cyrius dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2008-09-08 8:47 UTC (permalink / raw)
To: gcc-bugs
With current trunk (revision 140100):
(sid)1089:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O2 asc-edgen.ii
./../../edgen.cpp: In member function 'void tmapgenerator::init()':
./../../edgen.cpp:71: error: type mismatch in binary expression
long unsigned int
long unsigned int
int
D.95017 = D.95016 + 1;
./../../edgen.cpp:71: internal compiler error: verify_gimple failed
Please submit a full bug report,
--
Summary: [4.4 Regression] error: type mismatch in binary
expression, verify_gimple failed
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37417
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/37417] [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
2008-09-08 8:47 [Bug middle-end/37417] New: [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed tbm at cyrius dot com
@ 2008-09-08 8:49 ` tbm at cyrius dot com
2008-09-08 8:54 ` tbm at cyrius dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2008-09-08 8:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2008-09-08 08:48 -------
Forgot to mention that this also happens with -O0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37417
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/37417] [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
2008-09-08 8:47 [Bug middle-end/37417] New: [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed tbm at cyrius dot com
2008-09-08 8:49 ` [Bug middle-end/37417] " tbm at cyrius dot com
@ 2008-09-08 8:54 ` tbm at cyrius dot com
2008-09-08 10:09 ` tbm at cyrius dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2008-09-08 8:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tbm at cyrius dot com 2008-09-08 08:53 -------
Created an attachment (id=16251)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16251&action=view)
Preprocessed code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37417
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/37417] [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
2008-09-08 8:47 [Bug middle-end/37417] New: [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed tbm at cyrius dot com
2008-09-08 8:49 ` [Bug middle-end/37417] " tbm at cyrius dot com
2008-09-08 8:54 ` tbm at cyrius dot com
@ 2008-09-08 10:09 ` tbm at cyrius dot com
2008-09-08 21:07 ` [Bug c++/37417] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2008-09-08 10:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tbm at cyrius dot com 2008-09-08 10:08 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
class tplasma
{
public: int maxx;
};
tplasma plasma;
void init (void)
{
new (char[plasma.maxx]);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37417
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/37417] [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
2008-09-08 8:47 [Bug middle-end/37417] New: [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed tbm at cyrius dot com
` (2 preceding siblings ...)
2008-09-08 10:09 ` tbm at cyrius dot com
@ 2008-09-08 21:07 ` pinskia at gcc dot gnu dot org
2008-09-09 16:42 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-08 21:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-09-08 21:05 -------
Even more reduced testcase:
void init (int a)
{
new (char[a]);
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|middle-end |c++
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2008-09-08 21:05:56
date| |
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37417
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/37417] [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
2008-09-08 8:47 [Bug middle-end/37417] New: [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed tbm at cyrius dot com
` (3 preceding siblings ...)
2008-09-08 21:07 ` [Bug c++/37417] " pinskia at gcc dot gnu dot org
@ 2008-09-09 16:42 ` jakub at gcc dot gnu dot org
2008-09-09 20:41 ` jsm28 at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-09 16:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2008-09-09 16:41 -------
FE bug:
tree
array_type_nelts_top (tree type)
{
return fold_build2 (PLUS_EXPR, sizetype,
array_type_nelts (type),
integer_one_node);
}
Should use size_one_node instead.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-09-08 21:05:56 |2008-09-09 16:41:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37417
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/37417] [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
2008-09-08 8:47 [Bug middle-end/37417] New: [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed tbm at cyrius dot com
` (4 preceding siblings ...)
2008-09-09 16:42 ` jakub at gcc dot gnu dot org
@ 2008-09-09 20:41 ` jsm28 at gcc dot gnu dot org
2008-09-09 22:11 ` jakub at gcc dot gnu dot org
2008-09-09 22:15 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-09-09 20:41 UTC (permalink / raw)
To: gcc-bugs
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37417
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/37417] [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
2008-09-08 8:47 [Bug middle-end/37417] New: [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed tbm at cyrius dot com
` (5 preceding siblings ...)
2008-09-09 20:41 ` jsm28 at gcc dot gnu dot org
@ 2008-09-09 22:11 ` jakub at gcc dot gnu dot org
2008-09-09 22:15 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-09 22:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2008-09-09 22:10 -------
Subject: Bug 37417
Author: jakub
Date: Tue Sep 9 22:08:46 2008
New Revision: 140178
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140178
Log:
PR c++/37417
* tree.c (array_type_nelts_top): Add size_one_node instead of
integer_one_node.
* g++.dg/ext/vla5.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/vla5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37417
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/37417] [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
2008-09-08 8:47 [Bug middle-end/37417] New: [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed tbm at cyrius dot com
` (6 preceding siblings ...)
2008-09-09 22:11 ` jakub at gcc dot gnu dot org
@ 2008-09-09 22:15 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-09 22:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jakub at gcc dot gnu dot org 2008-09-09 22:13 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37417
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-09-09 22:15 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-08 8:47 [Bug middle-end/37417] New: [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed tbm at cyrius dot com
2008-09-08 8:49 ` [Bug middle-end/37417] " tbm at cyrius dot com
2008-09-08 8:54 ` tbm at cyrius dot com
2008-09-08 10:09 ` tbm at cyrius dot com
2008-09-08 21:07 ` [Bug c++/37417] " pinskia at gcc dot gnu dot org
2008-09-09 16:42 ` jakub at gcc dot gnu dot org
2008-09-09 20:41 ` jsm28 at gcc dot gnu dot org
2008-09-09 22:11 ` jakub at gcc dot gnu dot org
2008-09-09 22:15 ` jakub 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).