public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
@ 2009-01-16 19:06 ` hjl dot tools at gmail dot com
2009-01-16 19:40 ` jason at gcc dot gnu dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-16 19:06 UTC (permalink / raw)
To: gcc-bugs
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
@ 2009-01-16 19:06 hjl dot tools at gmail dot com
2009-01-16 19:06 ` [Bug c++/38877] " hjl dot tools at gmail dot com
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-16 19:06 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1633 bytes --]
Revision 143404:
http://gcc.gnu.org/ml/gcc-patches/2009-01/msg00780.html
caused
[hjl@gnu-27 build_base_o3.0000]$ /export/gnu/import/rrs/143437/usr/bin/gcc
-DSPEC_CPU -DNDEBUG -Iinclude -DBOOST_DISABLE_THREADS -Ddeal_II_dimension=3
-O2 -DSPEC_CPU_LP64 fe_tools.cc -S
fe_tools.cc: In static member function static std::pair<FiniteElement<dim>*,
unsigned int> FETools::get_fe_from_name_aux(const std::string&):
fe_tools.cc:1271: internal compiler error: tree check: expected field_decl,
have identifier_node in lvalue_p_1, at cp/tree.c:120
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-27 build_base_o3.0000]$ /export/gnu/import/rrs/143437/usr/bin/gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../src/configure --prefix=/export/gnu/import/rrs/143437/usr
--enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-shared
--enable-threads=posix --enable-haifa --enable-checking
--enable-languages=c,c++ --disable-bootstrap
Thread model: posix
gcc version 4.4.0 20090116 (experimental) [trunk revision 143437] (GCC)
[hjl@gnu-27 build_base_o3.0000]$
--
Summary: [4.4 Regression] Revision 143404 caused ICE on
447.dealII in SPEC CPU 2006
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
2009-01-16 19:06 ` [Bug c++/38877] " hjl dot tools at gmail dot com
2009-01-16 19:40 ` jason at gcc dot gnu dot org
@ 2009-01-16 19:40 ` jason at gcc dot gnu dot org
2009-01-16 19:42 ` hjl dot tools at gmail dot com
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-01-16 19:40 UTC (permalink / raw)
To: gcc-bugs
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
2009-01-16 19:06 ` [Bug c++/38877] " hjl dot tools at gmail dot com
@ 2009-01-16 19:40 ` jason at gcc dot gnu dot org
2009-01-16 19:40 ` jason at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-01-16 19:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jason at gcc dot gnu dot org 2009-01-16 19:39 -------
Testcase? I don't have SPEC handy.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (2 preceding siblings ...)
2009-01-16 19:40 ` jason at gcc dot gnu dot org
@ 2009-01-16 19:42 ` hjl dot tools at gmail dot com
2009-01-16 19:46 ` hjl dot tools at gmail dot com
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-16 19:42 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]
------- Comment #2 from hjl dot tools at gmail dot com 2009-01-16 19:41 -------
[hjl@gnu-27 build_base_o3.0000]$ cat x.cc
#include <string>
#include <utility>
template <int dim> class bar;
template <int dim>
std::pair<bar<dim> *, unsigned int>
foo (const std::string &name, unsigned int position)
{
const std::pair<int,unsigned int> tmp;
return std::make_pair (new bar<dim>(tmp.first),
position);
}
[hjl@gnu-27 build_base_o3.0000]$ /export/gnu/import/rrs/143437/usr/bin/gcc -O2
x.cc -S
x.cc: In function std::pair<bar<dim>*, unsigned int> foo(const std::string&,
unsigned int):
x.cc:10: internal compiler error: tree check: expected field_decl, have
identifier_node in lvalue_p_1, at cp/tree.c:120
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-27 build_base_o3.0000]$
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-01-16 19:41:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (3 preceding siblings ...)
2009-01-16 19:42 ` hjl dot tools at gmail dot com
@ 2009-01-16 19:46 ` hjl dot tools at gmail dot com
2009-01-16 19:48 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-16 19:46 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]
------- Comment #3 from hjl dot tools at gmail dot com 2009-01-16 19:46 -------
[hjl@gnu-27 build_base_o3.0000]$ cat y.cc
template<class _T1, class _T2>
struct pair
{
typedef _T1 first_type;
typedef _T2 second_type;
_T1 first;
_T2 second;
pair () : first(), second() { }
pair(const _T1& __a, const _T2& __b)
: first(__a), second(__b) { }
};
template<class _T1, class _T2>
inline pair<_T1, _T2>
make_pair(_T1 __x, _T2 __y)
{
return pair<_T1, _T2>(__x, __y);
}
template <int dim> class bar;
template <int dim>
pair<bar<dim> *, unsigned int>
foo (unsigned int position)
{
const pair<int,unsigned int> tmp;
return make_pair (new bar<dim>(tmp.first),
position);
}
[hjl@gnu-27 build_base_o3.0000]$ /export/gnu/import/rrs/143437/usr/bin/gcc -O2
y.cc -S
y.cc: In function pair<bar<dim>*, unsigned int> foo(unsigned int):
y.cc:27: internal compiler error: tree check: expected field_decl, have
identifier_node in lvalue_p_1, at cp/tree.c:120
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-27 build_base_o3.0000]$
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (4 preceding siblings ...)
2009-01-16 19:46 ` hjl dot tools at gmail dot com
@ 2009-01-16 19:48 ` rguenth at gcc dot gnu dot org
2009-01-16 20:41 ` jason at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-16 19:48 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Known to work| |4.3.2
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (5 preceding siblings ...)
2009-01-16 19:48 ` rguenth at gcc dot gnu dot org
@ 2009-01-16 20:41 ` jason at gcc dot gnu dot org
2009-01-16 22:37 ` jason at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-01-16 20:41 UTC (permalink / raw)
To: gcc-bugs
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2009-01-16 19:41:46 |2009-01-16 20:41:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (6 preceding siblings ...)
2009-01-16 20:41 ` jason at gcc dot gnu dot org
@ 2009-01-16 22:37 ` jason at gcc dot gnu dot org
2009-01-16 22:40 ` jason at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-01-16 22:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jason at gcc dot gnu dot org 2009-01-16 22:36 -------
Subject: Bug 38877
Author: jason
Date: Fri Jan 16 22:36:32 2009
New Revision: 143446
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143446
Log:
PR c++/38877
* tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
* init.c (build_new): Don't call describable_type unless we
have an auto.
Added:
trunk/gcc/testsuite/g++.dg/template/lvalue1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/init.c
trunk/gcc/cp/tree.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (7 preceding siblings ...)
2009-01-16 22:37 ` jason at gcc dot gnu dot org
@ 2009-01-16 22:40 ` jason at gcc dot gnu dot org
2009-01-16 22:48 ` [Bug c++/38877] [4.3 " jason at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-01-16 22:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jason at gcc dot gnu dot org 2009-01-16 22:40 -------
Subject: Bug 38877
Author: jason
Date: Fri Jan 16 22:40:25 2009
New Revision: 143448
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143448
Log:
PR c++/38877
* tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
* init.c (build_new): Don't call describable_type unless we
have an auto.
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.3 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (8 preceding siblings ...)
2009-01-16 22:40 ` jason at gcc dot gnu dot org
@ 2009-01-16 22:48 ` jason at gcc dot gnu dot org
2009-01-16 23:11 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-01-16 22:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jason at gcc dot gnu dot org 2009-01-16 22:48 -------
Fixed for 4.4. Will fix in 4.3 soon.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.4 Regression] Revision |[4.3 Regression] Revision
|143404 caused ICE on |143404 caused ICE on
|447.dealII in SPEC CPU 2006 |447.dealII in SPEC CPU 2006
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.3 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (9 preceding siblings ...)
2009-01-16 22:48 ` [Bug c++/38877] [4.3 " jason at gcc dot gnu dot org
@ 2009-01-16 23:11 ` rguenth at gcc dot gnu dot org
2009-01-16 23:17 ` rguenth 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-01-16 23:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2009-01-16 23:11 -------
Patch is ok for the 4.3 branch, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.4.0 |4.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.3 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (10 preceding siblings ...)
2009-01-16 23:11 ` rguenth at gcc dot gnu dot org
@ 2009-01-16 23:17 ` rguenth at gcc dot gnu dot org
2009-01-16 23:18 ` jason at gcc dot gnu dot org
2009-01-16 23:18 ` jason at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-16 23:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2009-01-16 23:17 -------
Only happens with checking enabled.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-checking
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.3 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (11 preceding siblings ...)
2009-01-16 23:17 ` rguenth at gcc dot gnu dot org
@ 2009-01-16 23:18 ` jason at gcc dot gnu dot org
2009-01-16 23:18 ` jason at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-01-16 23:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jason at gcc dot gnu dot org 2009-01-16 23:17 -------
Subject: Bug 38877
Author: jason
Date: Fri Jan 16 23:17:35 2009
New Revision: 143449
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143449
Log:
PR c++/38877
* tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/lvalue1.C
- copied unchanged from r143446,
trunk/gcc/testsuite/g++.dg/template/lvalue1.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/tree.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/38877] [4.3 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
` (12 preceding siblings ...)
2009-01-16 23:18 ` jason at gcc dot gnu dot org
@ 2009-01-16 23:18 ` jason at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-01-16 23:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from jason at gcc dot gnu dot org 2009-01-16 23:18 -------
Fixed.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2009-01-16 23:18 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-16 19:06 [Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006 hjl dot tools at gmail dot com
2009-01-16 19:06 ` [Bug c++/38877] " hjl dot tools at gmail dot com
2009-01-16 19:40 ` jason at gcc dot gnu dot org
2009-01-16 19:40 ` jason at gcc dot gnu dot org
2009-01-16 19:42 ` hjl dot tools at gmail dot com
2009-01-16 19:46 ` hjl dot tools at gmail dot com
2009-01-16 19:48 ` rguenth at gcc dot gnu dot org
2009-01-16 20:41 ` jason at gcc dot gnu dot org
2009-01-16 22:37 ` jason at gcc dot gnu dot org
2009-01-16 22:40 ` jason at gcc dot gnu dot org
2009-01-16 22:48 ` [Bug c++/38877] [4.3 " jason at gcc dot gnu dot org
2009-01-16 23:11 ` rguenth at gcc dot gnu dot org
2009-01-16 23:17 ` rguenth at gcc dot gnu dot org
2009-01-16 23:18 ` jason at gcc dot gnu dot org
2009-01-16 23:18 ` jason 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).