public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46251] New: ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl()
@ 2010-10-31 16:46 zsojka at seznam dot cz
2010-10-31 17:47 ` [Bug middle-end/46251] " hjl.tools at gmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-31 16:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46251
Summary: ICE: in expand_expr_real_2, at expr.c:7276 with
-funsafe-math-optimizations -mbionic and
__builtin_sincosl()
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
----- testcase.c -----
void foo (long double *x)
{
__builtin_sincosl (*x, x, x);
}
----------------------
Compiler output:
$ gcc -funsafe-math-optimizations -mbionic testcase.c
testcase.c: In function 'foo':
testcase.c:4:21: internal compiler error: in expand_expr_real_2, at expr.c:7276
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r166105 - crash
r165699 - crash
r163636 - OK
r161659 - OK
4.5 r165781 - doesn't know -mbionic
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/46251] ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl()
2010-10-31 16:46 [Bug target/46251] New: ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl() zsojka at seznam dot cz
@ 2010-10-31 17:47 ` hjl.tools at gmail dot com
2010-11-01 22:09 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-31 17:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46251
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.31 17:47:36
CC| |rguenth at gcc dot gnu.org
Component|target |middle-end
Target Milestone|--- |4.6.0
Ever Confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-31 17:47:36 UTC ---
It is caused by revision 163915:
http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00207.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/46251] ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl()
2010-10-31 16:46 [Bug target/46251] New: ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl() zsojka at seznam dot cz
2010-10-31 17:47 ` [Bug middle-end/46251] " hjl.tools at gmail dot com
@ 2010-11-01 22:09 ` rguenth at gcc dot gnu.org
2010-11-02 16:24 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-01 22:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46251
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-01 22:09:26 UTC ---
Mine.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/46251] ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl()
2010-10-31 16:46 [Bug target/46251] New: ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl() zsojka at seznam dot cz
2010-10-31 17:47 ` [Bug middle-end/46251] " hjl.tools at gmail dot com
2010-11-01 22:09 ` rguenth at gcc dot gnu.org
@ 2010-11-02 16:24 ` rguenth at gcc dot gnu.org
2010-11-03 9:57 ` rguenth at gcc dot gnu.org
2010-11-03 9:57 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-02 16:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46251
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-02 16:24:12 UTC ---
I have a patch.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/46251] ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl()
2010-10-31 16:46 [Bug target/46251] New: ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl() zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-11-02 16:24 ` rguenth at gcc dot gnu.org
@ 2010-11-03 9:57 ` rguenth at gcc dot gnu.org
2010-11-03 9:57 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-03 9:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46251
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-03 09:57:16 UTC ---
Author: rguenth
Date: Wed Nov 3 09:57:13 2010
New Revision: 166235
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166235
Log:
2010-11-03 Richard Guenther <rguenther@suse.de>
PR middle-end/46251
* builtins.c (expand_builtin_sincos): Properly build MEM_REFs,
not INDIRECT_REFs.
* gcc.dg/pr46251.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/pr46251.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/46251] ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl()
2010-10-31 16:46 [Bug target/46251] New: ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl() zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-11-03 9:57 ` rguenth at gcc dot gnu.org
@ 2010-11-03 9:57 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-03 9:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46251
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-03 09:57:37 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-11-03 9:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-31 16:46 [Bug target/46251] New: ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl() zsojka at seznam dot cz
2010-10-31 17:47 ` [Bug middle-end/46251] " hjl.tools at gmail dot com
2010-11-01 22:09 ` rguenth at gcc dot gnu.org
2010-11-02 16:24 ` rguenth at gcc dot gnu.org
2010-11-03 9:57 ` rguenth at gcc dot gnu.org
2010-11-03 9:57 ` rguenth 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).