public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53748] New: ice in fold_convert_loc
@ 2012-06-22 8:22 dcb314 at hotmail dot com
2012-06-22 8:55 ` [Bug tree-optimization/53748] [4.8 Regression] " rguenth at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2012-06-22 8:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53748
Bug #: 53748
Summary: ice in fold_convert_loc
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dcb314@hotmail.com
Created attachment 27687
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27687
C source code
I just tried to compile the package ratpoints-2.1.3-5
on gcc-4.8 trunk dated 20120620 on an AMD x86_64 box.
The compiler said
find_points.c: In function 'find_points_work':
find_points.c:1236:6: internal compiler error: in fold_convert_loc, at
fold-const.c:1986
long find_points_work(ratpoints_args *args,
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Preprocessed source code attached. Flag -O2 required.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53748] [4.8 Regression] ice in fold_convert_loc
2012-06-22 8:22 [Bug c/53748] New: ice in fold_convert_loc dcb314 at hotmail dot com
@ 2012-06-22 8:55 ` rguenth at gcc dot gnu.org
2012-06-22 12:22 ` hjl.tools at gmail dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-06-22 8:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53748
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-06-22
Component|c |tree-optimization
CC| |wschmidt at gcc dot gnu.org
Ever Confirmed|0 |1
Summary|ice in fold_convert_loc |[4.8 Regression] ice in
| |fold_convert_loc
Target Milestone|--- |4.8.0
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-22 08:54:58 UTC ---
Confirmed. Happens in tree-ssa-phiopt.c in conditional_replacement.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53748] [4.8 Regression] ice in fold_convert_loc
2012-06-22 8:22 [Bug c/53748] New: ice in fold_convert_loc dcb314 at hotmail dot com
2012-06-22 8:55 ` [Bug tree-optimization/53748] [4.8 Regression] " rguenth at gcc dot gnu.org
@ 2012-06-22 12:22 ` hjl.tools at gmail dot com
2012-06-25 7:26 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2012-06-22 12:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53748
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gnu dot org
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-22 12:21:46 UTC ---
It is caused by revision 186905:
http://gcc.gnu.org/ml/gcc-cvs/2012-04/msg00858.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53748] [4.8 Regression] ice in fold_convert_loc
2012-06-22 8:22 [Bug c/53748] New: ice in fold_convert_loc dcb314 at hotmail dot com
2012-06-22 8:55 ` [Bug tree-optimization/53748] [4.8 Regression] " rguenth at gcc dot gnu.org
2012-06-22 12:22 ` hjl.tools at gmail dot com
@ 2012-06-25 7:26 ` jakub at gcc dot gnu.org
2012-06-25 9:20 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-06-25 7:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53748
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jakub at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53748] [4.8 Regression] ice in fold_convert_loc
2012-06-22 8:22 [Bug c/53748] New: ice in fold_convert_loc dcb314 at hotmail dot com
` (2 preceding siblings ...)
2012-06-25 7:26 ` jakub at gcc dot gnu.org
@ 2012-06-25 9:20 ` jakub at gcc dot gnu.org
2012-06-25 10:15 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-06-25 9:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53748
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-06-25 09:20:06 UTC ---
Reduced testcase:
typedef long long V __attribute__ ((__vector_size__ (16)));
void
foo (int x, V *y)
{
*y = x ? ((V) { ~0UL, ~0UL }) : ((V) { 0LL, 0LL });
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53748] [4.8 Regression] ice in fold_convert_loc
2012-06-22 8:22 [Bug c/53748] New: ice in fold_convert_loc dcb314 at hotmail dot com
` (3 preceding siblings ...)
2012-06-25 9:20 ` jakub at gcc dot gnu.org
@ 2012-06-25 10:15 ` jakub at gcc dot gnu.org
2012-06-26 8:02 ` jakub at gcc dot gnu.org
2012-06-26 8:24 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-06-25 10:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53748
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-06-25 10:14:43 UTC ---
Created attachment 27700
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27700
gcc48-pr53748.patch
UNtested fix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53748] [4.8 Regression] ice in fold_convert_loc
2012-06-22 8:22 [Bug c/53748] New: ice in fold_convert_loc dcb314 at hotmail dot com
` (4 preceding siblings ...)
2012-06-25 10:15 ` jakub at gcc dot gnu.org
@ 2012-06-26 8:02 ` jakub at gcc dot gnu.org
2012-06-26 8:24 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-06-26 8:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53748
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-06-26 08:02:31 UTC ---
Author: jakub
Date: Tue Jun 26 08:02:20 2012
New Revision: 188975
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188975
Log:
PR tree-optimization/53748
* tree-ssa-phiopt.c (conditional_replacement): Only optimize
if arg0/arg1 have integral or pointer types.
* gcc.c-torture/compile/pr53748.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr53748.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-phiopt.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53748] [4.8 Regression] ice in fold_convert_loc
2012-06-22 8:22 [Bug c/53748] New: ice in fold_convert_loc dcb314 at hotmail dot com
` (5 preceding siblings ...)
2012-06-26 8:02 ` jakub at gcc dot gnu.org
@ 2012-06-26 8:24 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-06-26 8:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53748
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-06-26 08:24:32 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-06-26 8:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22 8:22 [Bug c/53748] New: ice in fold_convert_loc dcb314 at hotmail dot com
2012-06-22 8:55 ` [Bug tree-optimization/53748] [4.8 Regression] " rguenth at gcc dot gnu.org
2012-06-22 12:22 ` hjl.tools at gmail dot com
2012-06-25 7:26 ` jakub at gcc dot gnu.org
2012-06-25 9:20 ` jakub at gcc dot gnu.org
2012-06-25 10:15 ` jakub at gcc dot gnu.org
2012-06-26 8:02 ` jakub at gcc dot gnu.org
2012-06-26 8:24 ` jakub at gcc dot gnu.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).