public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
@ 2003-09-05 7:34 peorth at artificial dot ath dot cx
2003-09-05 7:36 ` [Bug optimization/12177] " peorth at artificial dot ath dot cx
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: peorth at artificial dot ath dot cx @ 2003-09-05 7:34 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=12177
Summary: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peorth at artificial dot ath dot cx
CC: gcc-bugs at gcc dot gnu dot org
When combining these options on some code, it aborts with an ICE. If any of these are omitted,
there's no ICE.
Currently this happens in ffmpeg-0.4.7_pre20030624/libabcodec/h263.c:1592: internal compiler
error: in reloads_to_loads, at ra-rewrite.c:1068. The line in the source file is just a closing bracket,
so it doesn't appear to shed much light on why (but I'm no expert in this stuff).
The code block in this case appears to be:
/* must be called before writing the header */
void ff_set_mpeg4_time(MpegEncContext * s, int picture_number){
int time_div, time_mod;
if(s->pict_type==I_TYPE){ //we will encode a vol header
int dummy;
av_reduce(&s->time_increment_resolution, &dummy, s->avctx->frame_rate,
s->avctx->frame_rate_base, (1<<16)-1);
s->time_increment_bits = av_log2(s->time_increment_resolution - 1) + 1;
}
if(s->current_picture.pts)
s->time= (s->current_picture.pts*s->time_increment_resolution + 500*1000)/(1000*1000);
else
s->time= av_rescale(picture_number*(int64_t)s->avctx->frame_rate_base,
s->time_increment_resolution, s->avctx->fram$
time_div= s->time/s->time_increment_resolution;
time_mod= s->time%s->time_increment_resolution;
if(s->pict_type==B_TYPE){
s->pb_time= s->pp_time - (s->last_non_b_time - s->time);
}else{
s->last_time_base= s->time_base;
s->time_base= time_div;
s->pp_time= s->time - s->last_non_b_time;
s->last_non_b_time= s->time;
}
}
The pre-processed source it said to attach appears the same from it, so I won't be redundant.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12177] -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
@ 2003-09-05 7:36 ` peorth at artificial dot ath dot cx
2003-09-05 7:38 ` peorth at artificial dot ath dot cx
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: peorth at artificial dot ath dot cx @ 2003-09-05 7:36 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=12177
------- Additional Comments From peorth at artificial dot ath dot cx 2003-09-05 07:36 -------
Created an attachment (id=4703)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4703&action=view)
preprocessed source
preprocessed source code from h623.c, which causes the ICE.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12177] -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
2003-09-05 7:36 ` [Bug optimization/12177] " peorth at artificial dot ath dot cx
@ 2003-09-05 7:38 ` peorth at artificial dot ath dot cx
2003-09-05 15:04 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: peorth at artificial dot ath dot cx @ 2003-09-05 7:38 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=12177
------- Additional Comments From peorth at artificial dot ath dot cx 2003-09-05 07:38 -------
I forgot to mention, the command line in this case is:
gcc -O2 -pipe -fomit-frame-pointer -fnew-ra -Wall -g -DHAVE_AV_CONFIG_H -I..
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o h263.o h263.c -ftracer
gcc -v is:
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs
Configured with: /var/tmp/portage/gcc-3.3.1/work/gcc-3.3.1/configure --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.
1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu
--target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java
--enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio
--enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-interpreter
--enable-java-awt=xlib --with-x --disable-multilib
Thread model: posix
gcc version 3.3.1 (Gentoo Linux 3.3.1, propolice)
Despite what it says, the propolice+etc protection code shouldn't actually be enabled when
compiling anything.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12177] -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
2003-09-05 7:36 ` [Bug optimization/12177] " peorth at artificial dot ath dot cx
2003-09-05 7:38 ` peorth at artificial dot ath dot cx
@ 2003-09-05 15:04 ` pinskia at gcc dot gnu dot org
2003-11-30 20:58 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-05 15:04 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=12177
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-05 15:04 -------
Most likely related to bug 11379 and bug 12143.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12177] -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
` (2 preceding siblings ...)
2003-09-05 15:04 ` pinskia at gcc dot gnu dot org
@ 2003-11-30 20:58 ` pinskia at gcc dot gnu dot org
2003-11-30 21:28 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-30 20:58 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |13246
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12177
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12177] -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
` (3 preceding siblings ...)
2003-11-30 20:58 ` pinskia at gcc dot gnu dot org
@ 2003-11-30 21:28 ` pinskia at gcc dot gnu dot org
2004-01-18 1:23 ` dhazeghi at yahoo dot com
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-30 21:28 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12177
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12177] -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
` (4 preceding siblings ...)
2003-11-30 21:28 ` pinskia at gcc dot gnu dot org
@ 2004-01-18 1:23 ` dhazeghi at yahoo dot com
2004-01-18 1:45 ` dhazeghi at yahoo dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-18 1:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-18 01:23 -------
Created an attachment (id=5511)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5511&action=view)
reduced testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12177
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12177] -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
` (5 preceding siblings ...)
2004-01-18 1:23 ` dhazeghi at yahoo dot com
@ 2004-01-18 1:45 ` dhazeghi at yahoo dot com
2004-03-24 8:05 ` [Bug optimization/12177] [new-ra] " 1319 at bot dot ru
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-18 1:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-18 01:45 -------
Confirmed with mainline (20040117)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2004-01-18 01:45:45
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12177
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12177] [new-ra] -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
` (6 preceding siblings ...)
2004-01-18 1:45 ` dhazeghi at yahoo dot com
@ 2004-03-24 8:05 ` 1319 at bot dot ru
2004-03-24 15:51 ` pinskia at gcc dot gnu dot org
2005-01-17 15:21 ` [Bug rtl-optimization/12177] " pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: 1319 at bot dot ru @ 2004-03-24 8:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From 1319 at bot dot ru 2004-03-24 08:05 -------
Another obscure new RA bug (bug?) eaten quietly.
(i.e. current new RA compiles foo.c happily)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12177
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12177] [new-ra] -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
` (7 preceding siblings ...)
2004-03-24 8:05 ` [Bug optimization/12177] [new-ra] " 1319 at bot dot ru
@ 2004-03-24 15:51 ` pinskia at gcc dot gnu dot org
2005-01-17 15:21 ` [Bug rtl-optimization/12177] " pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-24 15:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-24 15:51 -------
Keeping this one suspended as it is fixed on the new-ra brnach, thanks Serge Belyshev for testing.
--
What |Removed |Added
----------------------------------------------------------------------------
Version|3.3.1 |new-ra
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12177
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/12177] [new-ra] -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
` (8 preceding siblings ...)
2004-03-24 15:51 ` pinskia at gcc dot gnu dot org
@ 2005-01-17 15:21 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-17 15:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-17 15:18 -------
Closing as wiill not fix as new-ra was removed from the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution| |WONTFIX
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12177
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2005-01-17 15:19 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-05 7:34 [Bug optimization/12177] New: -new-ra with -ftracer, -fomit-frame-pointer, and -O2 ICE peorth at artificial dot ath dot cx
2003-09-05 7:36 ` [Bug optimization/12177] " peorth at artificial dot ath dot cx
2003-09-05 7:38 ` peorth at artificial dot ath dot cx
2003-09-05 15:04 ` pinskia at gcc dot gnu dot org
2003-11-30 20:58 ` pinskia at gcc dot gnu dot org
2003-11-30 21:28 ` pinskia at gcc dot gnu dot org
2004-01-18 1:23 ` dhazeghi at yahoo dot com
2004-01-18 1:45 ` dhazeghi at yahoo dot com
2004-03-24 8:05 ` [Bug optimization/12177] [new-ra] " 1319 at bot dot ru
2004-03-24 15:51 ` pinskia at gcc dot gnu dot org
2005-01-17 15:21 ` [Bug rtl-optimization/12177] " 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).