public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11984] New: ICE: expected integer_cst, have real_cst
@ 2003-08-19 21:07 agx at sigxcpu dot org
2003-08-19 21:07 ` [Bug c/11984] " agx at sigxcpu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: agx at sigxcpu dot org @ 2003-08-19 21:07 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11984
Summary: ICE: expected integer_cst, have real_cst
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: agx at sigxcpu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-linux
GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux
Hi,
Regression. Builds fine with gcc-3.3:
/usr/lib/gcc-snapshot/bin/gcc --save-temps -c -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -Inative -I..
-I../libmpdemux -I../loader -I/usr/include/libpng10 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_GNU_SOURCE -o vf_hqdn3d.o
vf_hqdn3d.c
In function `PrecalcCoefs':
vf_hqdn3d.c:195: internal compiler error: tree check: expected integer_cst, have
real_cst in tree_int_cst_lt, at tree.c:3220
snapshot is from 20030815-1. Please let me know if I can provide any further
input.
Regards,
-- Guido
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/11984] ICE: expected integer_cst, have real_cst
2003-08-19 21:07 [Bug c/11984] New: ICE: expected integer_cst, have real_cst agx at sigxcpu dot org
@ 2003-08-19 21:07 ` agx at sigxcpu dot org
2003-08-19 21:43 ` [Bug middle-end/11984] [3.4 regression] ICE iwth -ffast_math: " bangerth at dealii dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: agx at sigxcpu dot org @ 2003-08-19 21:07 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11984
------- Additional Comments From agx at sigxcpu dot org 2003-08-19 21:07 -------
Created an attachment (id=4624)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4624&action=view)
preprocessed source
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/11984] [3.4 regression] ICE iwth -ffast_math: expected integer_cst, have real_cst
2003-08-19 21:07 [Bug c/11984] New: ICE: expected integer_cst, have real_cst agx at sigxcpu dot org
2003-08-19 21:07 ` [Bug c/11984] " agx at sigxcpu dot org
@ 2003-08-19 21:43 ` bangerth at dealii dot org
2003-08-19 22:02 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2003-08-19 21:43 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11984
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Component|c |middle-end
Ever Confirmed| |1
Priority|P2 |P1
Last reconfirmed|0000-00-00 00:00:00 |2003-08-19 21:43:07
date| |
Summary|ICE: expected integer_cst, |[3.4 regression] ICE iwth -
|have real_cst |ffast_math: expected
| |integer_cst, have real_cst
------- Additional Comments From bangerth at dealii dot org 2003-08-19 21:43 -------
Confirmed. Here's something smaller:
------------------------------
extern double log (double);
void f(double x)
{
double g;
g = log(1.0 - x - 0.00001);
}
-------------------------------
Compile with -ffast-math:
tmp/g> ../build-gcc/gcc-install/bin/gcc -c -ffast-math vf_hqdn3d-snapshot.i
vf_hqdn3d-snapshot.i: In function `f':
vf_hqdn3d-snapshot.i:6: internal compiler error: tree check: expected integer_cst, have
real_cst in tree_int_cst_lt, at tree.c:3220
Please submit a full bug report,
W.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/11984] [3.4 regression] ICE iwth -ffast_math: expected integer_cst, have real_cst
2003-08-19 21:07 [Bug c/11984] New: ICE: expected integer_cst, have real_cst agx at sigxcpu dot org
2003-08-19 21:07 ` [Bug c/11984] " agx at sigxcpu dot org
2003-08-19 21:43 ` [Bug middle-end/11984] [3.4 regression] ICE iwth -ffast_math: " bangerth at dealii dot org
@ 2003-08-19 22:02 ` pinskia at gcc dot gnu dot org
2003-08-20 1:29 ` [Bug middle-end/11984] [3.4 regression] ICE with " roger at eyesopen dot com
2003-08-20 22:41 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-19 22:02 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11984
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roger at eyesopen dot com
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-19 22:02 -------
Here are the dates from Phil's regression hunter: Search converges between 2003-08-11-trunk
(#369) and 2003-08-12-trunk (#370).
Looks to be one of these patches, Roger could take a look?:
2003-08-11 Roger Sayle
* simplify-rtx.c (simplify_binary_operation): Replace calls to
gen_rtx_NEG and gen_rtx_NOT with calls to simplify_gen_unary,
and calls to gen_rtx_PLUS, gen_rtx_MULT, gen_rtx_LSHIFTRT,
gen_rtx_ASHIFT and gen_rtx_AND with calls to simplify_gen_binary.
2003-08-11 Roger Sayle
* expr.c (expand_expr): If an ABS_EXPR has a complex type, abort.
* c-typeck.c (build_unary_op): COMPLEX_TYPE is not a valid
typecode for an ABS_EXPR.
* doc/c-tree.texi: Document ABS_EXPR.
2003-08-11 Roger Sayle
* fold-const.c (fold): Optimize any associative floating point
operator with -funsafe-math-optimizations, not just MULT_EXPR.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/11984] [3.4 regression] ICE with -ffast_math: expected integer_cst, have real_cst
2003-08-19 21:07 [Bug c/11984] New: ICE: expected integer_cst, have real_cst agx at sigxcpu dot org
` (2 preceding siblings ...)
2003-08-19 22:02 ` pinskia at gcc dot gnu dot org
@ 2003-08-20 1:29 ` roger at eyesopen dot com
2003-08-20 22:41 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: roger at eyesopen dot com @ 2003-08-20 1:29 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11984
roger at eyesopen dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |roger at eyesopen dot com
|dot org |
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/11984] [3.4 regression] ICE with -ffast_math: expected integer_cst, have real_cst
2003-08-19 21:07 [Bug c/11984] New: ICE: expected integer_cst, have real_cst agx at sigxcpu dot org
` (3 preceding siblings ...)
2003-08-20 1:29 ` [Bug middle-end/11984] [3.4 regression] ICE with " roger at eyesopen dot com
@ 2003-08-20 22:41 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-20 22:41 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11984
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-20 22:41 -------
Fixed by <http://gcc.gnu.org/ml/gcc-cvs/2003-08/msg00643.html>.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-08-20 22:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-19 21:07 [Bug c/11984] New: ICE: expected integer_cst, have real_cst agx at sigxcpu dot org
2003-08-19 21:07 ` [Bug c/11984] " agx at sigxcpu dot org
2003-08-19 21:43 ` [Bug middle-end/11984] [3.4 regression] ICE iwth -ffast_math: " bangerth at dealii dot org
2003-08-19 22:02 ` pinskia at gcc dot gnu dot org
2003-08-20 1:29 ` [Bug middle-end/11984] [3.4 regression] ICE with " roger at eyesopen dot com
2003-08-20 22:41 ` pinskia 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).