public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/44687] [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate
2010-06-27 11:15 [Bug tree-optimization/44687] New: [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate zsojka at seznam dot cz
@ 2010-06-27 11:15 ` zsojka at seznam dot cz
2010-06-27 23:55 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-27 11:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from zsojka at seznam dot cz 2010-06-27 11:15 -------
Created an attachment (id=21015)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21015&action=view)
reduced testcase (from g++.dg/lto/20090221_0.C)
Command line:
$ g++ -O2 -fprofile-generate pr44687.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44687
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/44687] New: [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate
@ 2010-06-27 11:15 zsojka at seznam dot cz
2010-06-27 11:15 ` [Bug tree-optimization/44687] " zsojka at seznam dot cz
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-27 11:15 UTC (permalink / raw)
To: gcc-bugs
Command line:
$ g++ -O2 -fprofile-generate testcase.C
Compiler output:
$ g++ -O2 -fprofile-generate testcase.C
testcase.C: In function 'B bar(B)':
testcase.C:16:1: internal compiler error: in tree_nrv, at tree-nrv.c:155
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r161428 - crash
r161383 - crash
r161170 - OK
--
Summary: [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155
with -fprofile-generate
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44687
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/44687] [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate
2010-06-27 11:15 [Bug tree-optimization/44687] New: [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate zsojka at seznam dot cz
2010-06-27 11:15 ` [Bug tree-optimization/44687] " zsojka at seznam dot cz
@ 2010-06-27 23:55 ` pinskia at gcc dot gnu dot org
2010-06-28 0:22 ` hjl dot tools at gmail dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-06-27 23:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2010-06-27 23:55 -------
Works with:
GNU C++ (GCC) version 4.6.0 20100621 (experimental) [trunk revision 161061]
(x86_64-unknown-linux-gnu)
So it must be in the last week.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44687
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/44687] [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate
2010-06-27 11:15 [Bug tree-optimization/44687] New: [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate zsojka at seznam dot cz
2010-06-27 11:15 ` [Bug tree-optimization/44687] " zsojka at seznam dot cz
2010-06-27 23:55 ` pinskia at gcc dot gnu dot org
@ 2010-06-28 0:22 ` hjl dot tools at gmail dot com
2010-06-28 5:55 ` regehr at cs dot utah dot edu
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-06-28 0:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2010-06-28 00:21 -------
It is caused by revision 161382:
http://gcc.gnu.org/ml/gcc-cvs/2010-06/msg01300.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-06-28 00:21:54
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44687
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/44687] [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate
2010-06-27 11:15 [Bug tree-optimization/44687] New: [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-06-28 0:22 ` hjl dot tools at gmail dot com
@ 2010-06-28 5:55 ` regehr at cs dot utah dot edu
2010-06-28 15:52 ` hubicka at gcc dot gnu dot org
2010-07-02 13:22 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: regehr at cs dot utah dot edu @ 2010-06-28 5:55 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1584 bytes --]
------- Comment #4 from regehr at cs dot utah dot edu 2010-06-28 05:55 -------
This same ICE also happens w/o -fprofile-generate:
regehr@john-home:~/volatile/bugs/tmp318$ current-gcc -v
Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/home/regehr/z/compiler-install/gcc-r161425-install/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r161425-install
--program-prefix=r161425- --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20100626 (experimental) (GCC)
regehr@john-home:~/volatile/bugs/tmp318$ current-gcc -O2 small.c
small.c: In function func_72:
small.c:24:1: internal compiler error: in tree_nrv, at tree-nrv.c:155
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
regehr@john-home:~/volatile/bugs/tmp318$ cat small.c
typedef int int32_t;
typedef unsigned char uint8_t;
struct S0
{
uint8_t f0;
};
struct S0 *g_18[7][5][1][1] = {
};
struct S0 **g_17 = &g_18[0][3][0][0];
int32_t g_86;
struct S0 func_72 (uint8_t p_73, struct S0 p_74);
void int326 (struct S0 **p_67, int32_t p_68, int32_t * *const p_69,
struct S0 *p_70)
{
struct S0 l_95 = {
-1L
};
func_72 (1L, func_72 (0, l_95));
}
struct S0
func_72 (uint8_t p_73, struct S0 p_74)
{
int32_t *l_85 = &g_86;
if (*l_85)
lbl_94:*l_85 ^= 0;
if (g_86)
goto lbl_94;
return **g_17;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44687
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/44687] [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate
2010-06-27 11:15 [Bug tree-optimization/44687] New: [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-06-28 5:55 ` regehr at cs dot utah dot edu
@ 2010-06-28 15:52 ` hubicka at gcc dot gnu dot org
2010-07-02 13:22 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-06-28 15:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hubicka at gcc dot gnu dot org 2010-06-28 15:51 -------
Subject: Bug 44687
Author: hubicka
Date: Mon Jun 28 15:51:25 2010
New Revision: 161500
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161500
Log:
PR tree-optimization/44687
* gcc.c-torture/compile/pr44687.c
PR tree-optimization/44687
* ipa-split.c (split_function): Use DECL_RESULT to store return value.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr44687.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-split.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44687
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/44687] [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate
2010-06-27 11:15 [Bug tree-optimization/44687] New: [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-06-28 15:52 ` hubicka at gcc dot gnu dot org
@ 2010-07-02 13:22 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-02 13:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2010-07-02 13:22 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44687
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-07-02 13:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-27 11:15 [Bug tree-optimization/44687] New: [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155 with -fprofile-generate zsojka at seznam dot cz
2010-06-27 11:15 ` [Bug tree-optimization/44687] " zsojka at seznam dot cz
2010-06-27 23:55 ` pinskia at gcc dot gnu dot org
2010-06-28 0:22 ` hjl dot tools at gmail dot com
2010-06-28 5:55 ` regehr at cs dot utah dot edu
2010-06-28 15:52 ` hubicka at gcc dot gnu dot org
2010-07-02 13:22 ` 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).