public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/47139] New: ice in process_use, at tree-vect-stmts.c:290
@ 2011-01-01 1:26 regehr at cs dot utah.edu
2011-01-01 11:36 ` [Bug c/47139] " jakub at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: regehr at cs dot utah.edu @ 2011-01-01 1:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47139
Summary: ice in process_use, at tree-vect-stmts.c:290
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: regehr@cs.utah.edu
CC: chenyang@cs.utah.edu
[regehr@gamow tmp433]$ current-gcc -O3 small.c -c
small.c: In function 'func_1':
small.c:19:1: internal compiler error: in process_use, at tree-vect-stmts.c:290
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[regehr@gamow tmp433]$ current-gcc -v
Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r168380-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r168380-install
--program-prefix=r168380- --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20101231 (experimental) (GCC)
[regehr@gamow tmp433]$ cat small.c
typedef signed char int8_t;
typedef int int32_t;
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
static uint8_t
safe_add_func_uint32_t_u_u (uint32_t ui1, uint8_t ui2)
{
return ui1 + ui2;
}
int32_t g_10;
int32_t *g_23 = &g_10;
int32_t **const volatile g = &g_23;
int32_t g_42;
int32_t *func_68 (uint16_t p_69, int8_t p_70);
uint8_t
func_1 (void)
{
*g = func_68 (0x837BL, 0);
return 0;
}
int32_t *
func_68 (uint16_t p_69, int8_t p_70)
{
int32_t l_113;
for (p_70 = 1; p_70; p_70 = safe_add_func_uint32_t_u_u (p_70, 1))
{
int32_t *l_118 = &g_42;
*l_118 = l_113;
l_113 |= p_70;
}
return 0;
}
int
main (int argc, char *argv[])
{
func_1 ();
return 0;
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/47139] ice in process_use, at tree-vect-stmts.c:290
2011-01-01 1:26 [Bug c/47139] New: ice in process_use, at tree-vect-stmts.c:290 regehr at cs dot utah.edu
@ 2011-01-01 11:36 ` jakub at gcc dot gnu.org
2011-01-01 12:28 ` [Bug tree-optimization/47139] [4.6 Regression] " jakub at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-01 11:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47139
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.01 11:36:12
CC| |jakub at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-01 11:36:12 UTC ---
Simplified testcase:
int d;
void
foo ()
{
int a = 0;
unsigned char b;
for (b = 1; b; b++)
{
d = a;
a |= b;
}
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/47139] [4.6 Regression] ice in process_use, at tree-vect-stmts.c:290
2011-01-01 1:26 [Bug c/47139] New: ice in process_use, at tree-vect-stmts.c:290 regehr at cs dot utah.edu
2011-01-01 11:36 ` [Bug c/47139] " jakub at gcc dot gnu.org
@ 2011-01-01 12:28 ` jakub at gcc dot gnu.org
2011-01-03 21:42 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-01 12:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47139
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.5.2
Target Milestone|--- |4.6.0
Summary|ice in process_use, at |[4.6 Regression] ice in
|tree-vect-stmts.c:290 |process_use, at
| |tree-vect-stmts.c:290
Known to fail| |4.6.0
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-01 12:28:45 UTC ---
Introduced by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158018
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/47139] [4.6 Regression] ice in process_use, at tree-vect-stmts.c:290
2011-01-01 1:26 [Bug c/47139] New: ice in process_use, at tree-vect-stmts.c:290 regehr at cs dot utah.edu
2011-01-01 11:36 ` [Bug c/47139] " jakub at gcc dot gnu.org
2011-01-01 12:28 ` [Bug tree-optimization/47139] [4.6 Regression] " jakub at gcc dot gnu.org
@ 2011-01-03 21:42 ` rguenth at gcc dot gnu.org
2011-01-04 11:58 ` irar at il dot ibm.com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-03 21:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47139
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/47139] [4.6 Regression] ice in process_use, at tree-vect-stmts.c:290
2011-01-01 1:26 [Bug c/47139] New: ice in process_use, at tree-vect-stmts.c:290 regehr at cs dot utah.edu
` (2 preceding siblings ...)
2011-01-03 21:42 ` rguenth at gcc dot gnu.org
@ 2011-01-04 11:58 ` irar at il dot ibm.com
2011-01-06 7:38 ` irar at gcc dot gnu.org
2011-01-06 9:33 ` irar at il dot ibm.com
5 siblings, 0 replies; 7+ messages in thread
From: irar at il dot ibm.com @ 2011-01-04 11:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47139
Ira Rosen <irar at il dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |irar at il dot ibm.com
AssignedTo|unassigned at gcc dot |irar at il dot ibm.com
|gnu.org |
--- Comment #3 from Ira Rosen <irar at il dot ibm.com> 2011-01-04 11:58:35 UTC ---
This shouldn't be recognized as reduction, because the value of the one before
last iteration is used outside the loop. I'll add this check to reduction
detection.
Ira
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/47139] [4.6 Regression] ice in process_use, at tree-vect-stmts.c:290
2011-01-01 1:26 [Bug c/47139] New: ice in process_use, at tree-vect-stmts.c:290 regehr at cs dot utah.edu
` (3 preceding siblings ...)
2011-01-04 11:58 ` irar at il dot ibm.com
@ 2011-01-06 7:38 ` irar at gcc dot gnu.org
2011-01-06 9:33 ` irar at il dot ibm.com
5 siblings, 0 replies; 7+ messages in thread
From: irar at gcc dot gnu.org @ 2011-01-06 7:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47139
--- Comment #4 from irar at gcc dot gnu.org 2011-01-06 07:34:28 UTC ---
Author: irar
Date: Thu Jan 6 07:34:24 2011
New Revision: 168535
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168535
Log:
PR tree-optimization/47139
* tree-vect-loop.c (vect_is_simple_reduction_1): Check that
only the last reduction value is used outside the loop. Update
documentation.
Added:
trunk/gcc/testsuite/gcc.dg/vect/pr47139.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-loop.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/47139] [4.6 Regression] ice in process_use, at tree-vect-stmts.c:290
2011-01-01 1:26 [Bug c/47139] New: ice in process_use, at tree-vect-stmts.c:290 regehr at cs dot utah.edu
` (4 preceding siblings ...)
2011-01-06 7:38 ` irar at gcc dot gnu.org
@ 2011-01-06 9:33 ` irar at il dot ibm.com
5 siblings, 0 replies; 7+ messages in thread
From: irar at il dot ibm.com @ 2011-01-06 9:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47139
Ira Rosen <irar at il dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Ira Rosen <irar at il dot ibm.com> 2011-01-06 07:35:45 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-01-06 7:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-01 1:26 [Bug c/47139] New: ice in process_use, at tree-vect-stmts.c:290 regehr at cs dot utah.edu
2011-01-01 11:36 ` [Bug c/47139] " jakub at gcc dot gnu.org
2011-01-01 12:28 ` [Bug tree-optimization/47139] [4.6 Regression] " jakub at gcc dot gnu.org
2011-01-03 21:42 ` rguenth at gcc dot gnu.org
2011-01-04 11:58 ` irar at il dot ibm.com
2011-01-06 7:38 ` irar at gcc dot gnu.org
2011-01-06 9:33 ` irar at il dot ibm.com
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).