public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37819] New: ice for legal code with no special flags
@ 2008-10-13 20:10 dcb314 at hotmail dot com
2008-10-13 20:11 ` [Bug c++/37819] " dcb314 at hotmail dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2008-10-13 20:10 UTC (permalink / raw)
To: gcc-bugs
I just tried to compile the Suse Linux package kmymoney-0.8.9-23
with the new gcc version 4.4, snapshot dated 20081010.
The compiler said
kmymoneyaccountselector.cpp: In member function 'bool
kMyMoneyCheckListItem::isAlternate()':
kmymoneyaccountselector.cpp:149: internal compiler error: in cp_genericize_r,
at cp/cp-gimplify.c:823
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Preprocessed source code attached. No special flags required.
--
Summary: ice for legal code with no special flags
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcb314 at hotmail dot com
GCC host triplet: suse-linux-x86
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37819
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37819] ice for legal code with no special flags
2008-10-13 20:10 [Bug c++/37819] New: ice for legal code with no special flags dcb314 at hotmail dot com
@ 2008-10-13 20:11 ` dcb314 at hotmail dot com
2008-10-13 22:20 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2008-10-13 20:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dcb314 at hotmail dot com 2008-10-13 20:09 -------
Created an attachment (id=16489)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16489&action=view)
C++ source code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37819
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37819] ice for legal code with no special flags
2008-10-13 20:10 [Bug c++/37819] New: ice for legal code with no special flags dcb314 at hotmail dot com
2008-10-13 20:11 ` [Bug c++/37819] " dcb314 at hotmail dot com
@ 2008-10-13 22:20 ` pinskia at gcc dot gnu dot org
2008-10-13 22:32 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-10-13 22:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-13 22:19 -------
Reducing ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37819
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37819] ice for legal code with no special flags
2008-10-13 20:10 [Bug c++/37819] New: ice for legal code with no special flags dcb314 at hotmail dot com
2008-10-13 20:11 ` [Bug c++/37819] " dcb314 at hotmail dot com
2008-10-13 22:20 ` pinskia at gcc dot gnu dot org
@ 2008-10-13 22:32 ` pinskia at gcc dot gnu dot org
2008-10-14 8:55 ` [Bug c++/37819] [4.4 Regression] ice for bitfield code jakub at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-10-13 22:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-10-13 22:30 -------
Reduced testcase:
struct kMyMoneyCheckListItem
{
unsigned int m_known : 1;
};
bool
isAlternate(kMyMoneyCheckListItem *a, kMyMoneyCheckListItem *above)
{
a->m_known = above ? above->m_known : true;
}
--- CUT ---
Looks like it was caused by:
2008-10-10 Jakub Jelinek <jakub@redhat.com>
PR c++/37146
* cp-gimplify.c (cp_genericize_r): Fix up bitfield operands of
COND_EXPR.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2008-10-13 22:30:57
date| |
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37819
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37819] [4.4 Regression] ice for bitfield code
2008-10-13 20:10 [Bug c++/37819] New: ice for legal code with no special flags dcb314 at hotmail dot com
` (2 preceding siblings ...)
2008-10-13 22:32 ` pinskia at gcc dot gnu dot org
@ 2008-10-14 8:55 ` jakub at gcc dot gnu dot org
2008-10-14 22:00 ` jakub at gcc dot gnu dot org
2008-10-14 22:01 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-10-14 8:55 UTC (permalink / raw)
To: gcc-bugs
--
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 |
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2008-
| |10/msg00573.html
Status|NEW |ASSIGNED
Last reconfirmed|2008-10-13 22:30:57 |2008-10-14 08:54:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37819
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37819] [4.4 Regression] ice for bitfield code
2008-10-13 20:10 [Bug c++/37819] New: ice for legal code with no special flags dcb314 at hotmail dot com
` (3 preceding siblings ...)
2008-10-14 8:55 ` [Bug c++/37819] [4.4 Regression] ice for bitfield code jakub at gcc dot gnu dot org
@ 2008-10-14 22:00 ` jakub at gcc dot gnu dot org
2008-10-14 22:01 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-10-14 22:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2008-10-14 21:59 -------
Subject: Bug 37819
Author: jakub
Date: Tue Oct 14 21:57:44 2008
New Revision: 141118
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141118
Log:
PR c++/37819
* cp-gimplify.c (cp_genericize_r): Only fold_convert COND_EXPR
arguments if they don't already have COND_EXPR's type.
* g++.dg/expr/bitfield11.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/expr/bitfield11.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37819
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37819] [4.4 Regression] ice for bitfield code
2008-10-13 20:10 [Bug c++/37819] New: ice for legal code with no special flags dcb314 at hotmail dot com
` (4 preceding siblings ...)
2008-10-14 22:00 ` jakub at gcc dot gnu dot org
@ 2008-10-14 22:01 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-10-14 22:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2008-10-14 21:59 -------
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=37819
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-10-14 22:01 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-13 20:10 [Bug c++/37819] New: ice for legal code with no special flags dcb314 at hotmail dot com
2008-10-13 20:11 ` [Bug c++/37819] " dcb314 at hotmail dot com
2008-10-13 22:20 ` pinskia at gcc dot gnu dot org
2008-10-13 22:32 ` pinskia at gcc dot gnu dot org
2008-10-14 8:55 ` [Bug c++/37819] [4.4 Regression] ice for bitfield code jakub at gcc dot gnu dot org
2008-10-14 22:00 ` jakub at gcc dot gnu dot org
2008-10-14 22:01 ` 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).