public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53058] New: Another ice in remove_range_assertions
@ 2012-04-21 9:09 dcb314 at hotmail dot com
2012-04-21 11:37 ` [Bug c/53058] " markus at trippelsdorf dot de
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2012-04-21 9:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53058
Bug #: 53058
Summary: Another ice in remove_range_assertions
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 27211
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27211
C source code
I just tried to compile the package quake3-1.36-13
on gcc-4.8 trunk dated 20120418 on an AMD x86_64 box.
The compiler said
code/botlib/be_ai_move.c: In function 'BotFuncBobStartEnd':
code/botlib/be_ai_move.c:2227:6: internal compiler error: in
remove_range_assertions, at tree-vrp.c:5937
void BotFuncBobStartEnd(aas_reachability_t *reach, vec3_t start, vec3_t end,
vec3_t origin)
^
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 c/53058] Another ice in remove_range_assertions
2012-04-21 9:09 [Bug c/53058] New: Another ice in remove_range_assertions dcb314 at hotmail dot com
@ 2012-04-21 11:37 ` markus at trippelsdorf dot de
2012-04-22 13:02 ` markus at trippelsdorf dot de
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: markus at trippelsdorf dot de @ 2012-04-21 11:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53058
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus at trippelsdorf dot
| |de
--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-04-21 11:36:37 UTC ---
Reduced:
% cat test.i
int a,b,c=0;
fn1 () {
c = b >> 16;
if (c > 32767)
c = 0;
a = b;
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/53058] Another ice in remove_range_assertions
2012-04-21 9:09 [Bug c/53058] New: Another ice in remove_range_assertions dcb314 at hotmail dot com
2012-04-21 11:37 ` [Bug c/53058] " markus at trippelsdorf dot de
@ 2012-04-22 13:02 ` markus at trippelsdorf dot de
2012-04-23 10:36 ` [Bug tree-optimization/53058] [4.8 Regression] " rguenth at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: markus at trippelsdorf dot de @ 2012-04-22 13:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53058
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-04-22 13:01:24 UTC ---
Started with rev.184927.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53058] [4.8 Regression] Another ice in remove_range_assertions
2012-04-21 9:09 [Bug c/53058] New: Another ice in remove_range_assertions dcb314 at hotmail dot com
2012-04-21 11:37 ` [Bug c/53058] " markus at trippelsdorf dot de
2012-04-22 13:02 ` markus at trippelsdorf dot de
@ 2012-04-23 10:36 ` rguenth at gcc dot gnu.org
2012-04-23 10:40 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-04-23 10:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53058
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |tree-optimization
Target Milestone|--- |4.8.0
Summary|Another ice in |[4.8 Regression] Another
|remove_range_assertions |ice in
| |remove_range_assertions
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53058] [4.8 Regression] Another ice in remove_range_assertions
2012-04-21 9:09 [Bug c/53058] New: Another ice in remove_range_assertions dcb314 at hotmail dot com
` (2 preceding siblings ...)
2012-04-23 10:36 ` [Bug tree-optimization/53058] [4.8 Regression] " rguenth at gcc dot gnu.org
@ 2012-04-23 10:40 ` jakub at gcc dot gnu.org
2012-04-23 14:17 ` 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-04-23 10:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53058
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-04-23 10:39:16 UTC ---
Will look at this.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53058] [4.8 Regression] Another ice in remove_range_assertions
2012-04-21 9:09 [Bug c/53058] New: Another ice in remove_range_assertions dcb314 at hotmail dot com
` (3 preceding siblings ...)
2012-04-23 10:40 ` jakub at gcc dot gnu.org
@ 2012-04-23 14:17 ` jakub at gcc dot gnu.org
2012-04-25 11:36 ` jakub at gcc dot gnu.org
2012-04-25 11:51 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-04-23 14:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53058
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-04-23
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-04-23 14:16:47 UTC ---
Created attachment 27222
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27222
gcc48-pr53058.patch
Untested fix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53058] [4.8 Regression] Another ice in remove_range_assertions
2012-04-21 9:09 [Bug c/53058] New: Another ice in remove_range_assertions dcb314 at hotmail dot com
` (4 preceding siblings ...)
2012-04-23 14:17 ` jakub at gcc dot gnu.org
@ 2012-04-25 11:36 ` jakub at gcc dot gnu.org
2012-04-25 11:51 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-04-25 11:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53058
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-04-25 11:35:43 UTC ---
Author: jakub
Date: Wed Apr 25 11:35:38 2012
New Revision: 186816
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186816
Log:
PR tree-optimization/53058
* double-int.h (double_int_max_value, double_int_min_value): New
prototypes.
* double-int.c (double_int_max_value, double_int_min_value): New
functions.
* tree-vrp.c (register_edge_assert_for_2): Compare mask
for LE_EXPR or GT_EXPR with double_int_max_value
instead of double_int_mask.
* gcc.c-torture/compile/pr53058.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr53058.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/double-int.c
trunk/gcc/double-int.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vrp.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/53058] [4.8 Regression] Another ice in remove_range_assertions
2012-04-21 9:09 [Bug c/53058] New: Another ice in remove_range_assertions dcb314 at hotmail dot com
` (5 preceding siblings ...)
2012-04-25 11:36 ` jakub at gcc dot gnu.org
@ 2012-04-25 11:51 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-04-25 11:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53058
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-04-25 11:51:00 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-04-25 11:51 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-21 9:09 [Bug c/53058] New: Another ice in remove_range_assertions dcb314 at hotmail dot com
2012-04-21 11:37 ` [Bug c/53058] " markus at trippelsdorf dot de
2012-04-22 13:02 ` markus at trippelsdorf dot de
2012-04-23 10:36 ` [Bug tree-optimization/53058] [4.8 Regression] " rguenth at gcc dot gnu.org
2012-04-23 10:40 ` jakub at gcc dot gnu.org
2012-04-23 14:17 ` jakub at gcc dot gnu.org
2012-04-25 11:36 ` jakub at gcc dot gnu.org
2012-04-25 11:51 ` 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).