public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22560] New: internal compiler error: in create_tmp_var, at gimplify.c:368 "c++ testcase"
@ 2005-07-19 15:27 uttamp at us dot ibm dot com
2005-07-19 16:49 ` [Bug tree-optimization/22560] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-19 19:57 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: uttamp at us dot ibm dot com @ 2005-07-19 15:27 UTC (permalink / raw)
To: gcc-bugs
Test case:
$ cat test.cc
class ggF3 {
public:
ggF3() {}
};
class ggHM3 {
public:
ggHM3();
ggHM3(const ggHM3& m);
double e[4][4];
};
inline ggHM3 makeCRHM(void)
{
ggHM3 r;
return r;
}
const ggHM3 crm(makeCRHM());
ggF3 ggFI(const ggF3 keyframe[])
{
return keyframe[1];
}
$ /opt/gcc-nightly/mline-20050717/bin/g++ -c -O3 test.cc
test.cc: In function ‘void __static_initialization_and_destruction_0(int, int)’:
test.cc:23: internal compiler error: in create_tmp_var, at gimplify.c:368
$ /opt/gcc-nightly/mline-20050717/bin/g++ -v
Target: powerpc64-linux
Configured with: /home/gccbuild/gcc_mline_anoncvs/gcc/configure
--prefix=/opt/gcc-nightly/mline-20050719 --build=powerpc64-linux
--host=powerpc64-linux --target=powerpc64-linux --with-cpu=default32
--with-as=/opt/gcc-nightly/mline-20050719/bin/as
--with-ld=/opt/gcc-nightly/mline-20050719/bin/ld --enable-threads=posix
--enable-shared --enable-__cxa_atexit
--enable-languages=c,c++,f95,java,objc,obj-c++ --enable-checking
--with-mpfr=/opt/gcc-nightly/mline-20050719
Thread model: posix
gcc version 4.1.0 20050719 (experimental)
--
Summary: internal compiler error: in create_tmp_var, at
gimplify.c:368 "c++ testcase"
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uttamp at us dot ibm dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc64-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22560
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/22560] [4.1 Regression] internal compiler error: in create_tmp_var, at gimplify.c:368 "c++ testcase"
2005-07-19 15:27 [Bug tree-optimization/22560] New: internal compiler error: in create_tmp_var, at gimplify.c:368 "c++ testcase" uttamp at us dot ibm dot com
@ 2005-07-19 16:49 ` pinskia at gcc dot gnu dot org
2005-07-19 19:57 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-19 16:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-19 15:27 -------
Confirmed, backtrace:
#0 internal_error (gmsgid=0x8689f98 "create_tmp_var") at /home/peshtigo/pinskia/src/gnu/gcc/src/
gcc/diagnostic.c:530
#1 0x082a5f3f in fancy_abort (file=0x8689f98 "create_tmp_var", line=368, function=0x8689f98
"create_tmp_var")
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/diagnostic.c:590
#2 0x081ba17a in create_tmp_var (type=0x170, prefix=0x8689f98 "create_tmp_var")
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/gimplify.c:366
#3 0x0859be1d in execute_promote_statics () at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/tree-
promote-statics.c:530
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dberlin at gcc dot gnu dot
| |org, pinskia at gcc dot gnu
| |dot org, zadeck at
| |naturalbridge dot com
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|powerpc64-linux |
GCC host triplet|powerpc64-linux |
GCC target triplet|powerpc64-linux |
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-07-19 15:27:38
date| |
Summary|internal compiler error: in |[4.1 Regression] internal
|create_tmp_var, at |compiler error: in
|gimplify.c:368 "c++ |create_tmp_var, at
|testcase" |gimplify.c:368 "c++
| |testcase"
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22560
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/22560] [4.1 Regression] internal compiler error: in create_tmp_var, at gimplify.c:368 "c++ testcase"
2005-07-19 15:27 [Bug tree-optimization/22560] New: internal compiler error: in create_tmp_var, at gimplify.c:368 "c++ testcase" uttamp at us dot ibm dot com
2005-07-19 16:49 ` [Bug tree-optimization/22560] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-07-19 19:57 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-19 19:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-19 19:57 -------
Fixed removing promot-statics by:
2005-07-19 Danny Berlin <dberlin@dberlin.org>
Kenneth Zadeck <zadeck@naturalbridge.com>
* Makefile.in: Removed tree-promote-statics.c
* tree-promote-statics.c: Removed.
* common.opt: Removed flag-promote-statics.
* opts.c: Ditto.
* passes.c: Removed tree-promote-statics pass.
* tree-pass.h: Ditto.
* timevar.def: Removed TV_PROMOTE_STATICS.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22560
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-19 19:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-19 15:27 [Bug tree-optimization/22560] New: internal compiler error: in create_tmp_var, at gimplify.c:368 "c++ testcase" uttamp at us dot ibm dot com
2005-07-19 16:49 ` [Bug tree-optimization/22560] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-19 19:57 ` pinskia 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).