public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/13148] New: ICE on altivec while building code with debug enabled (-g) [regression]
@ 2003-11-21 3:15 lu_zero at gentoo dot org
2003-11-21 9:28 ` [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g) pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: lu_zero at gentoo dot org @ 2003-11-21 3:15 UTC (permalink / raw)
To: gcc-bugs
the following error happens if you try to build libavicodec (get it from mplayer
or ffmpeg)
I experienced the same bug on gcc-3.3.2+altivec constant fixes and with 3.4 took
from cvs HEAD branch, the same code builds fine with gcc-3.2.3.
gcc -W -Wall -Wno-unused-parameter -O2 -mcpu=7450 -mtune=7450 -maltivec
-mabi=altivec -g -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
-c -o ppc/mpegvideo_altivec.o ppc/mpegvideo_altivec.c
ppc/mpegvideo_altivec.c: In function `dct_quantize_altivec':
ppc/mpegvideo_altivec.c:165: internal compiler error: in
add_location_or_const_value_attribute, at dwarf2out.c:9460
Disabling debug leads to miscompiled code.
--
Summary: ICE on altivec while building code with debug enabled (-
g) [regression]
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lu_zero at gentoo dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-unknown-linux-gnu
GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13148
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g)
2003-11-21 3:15 [Bug c/13148] New: ICE on altivec while building code with debug enabled (-g) [regression] lu_zero at gentoo dot org
@ 2003-11-21 9:28 ` pinskia at gcc dot gnu dot org
2003-11-21 9:53 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-21 9:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-21 09:28 -------
Can you attach the preprocessed source?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Component|c |debug
Keywords| |ice-on-valid-code
Summary|ICE on altivec while |[3.4 Regression] ICE on
|building code with debug |altivec while building code
|enabled (-g) [regression] |with debug enabled (-g)
Target Milestone|--- |3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13148
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g)
2003-11-21 3:15 [Bug c/13148] New: ICE on altivec while building code with debug enabled (-g) [regression] lu_zero at gentoo dot org
2003-11-21 9:28 ` [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g) pinskia at gcc dot gnu dot org
@ 2003-11-21 9:53 ` pinskia at gcc dot gnu dot org
2003-11-25 1:05 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-21 9:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-21 09:52 -------
Most likely caused by:
+2003-11-20 Fariborz Jahanian <fjahanian@apple.com>
+ David Edelsohn <edelsohn@gnu.org>
+
+ * calls.c (expand_call): Allocate new temp in pass1.
+ (store_one_arg): If PARALLEL, calculate excess using mode size of
+ rtvec elt.
+ * expr.c (emit_push_insn): If PARALLEL, calculate offset using
+ mode size of rtvec elt.
+ * function.c (assign_parms): Use parm in register, if available.
Also see: <http://gcc.gnu.org/ml/gcc/2003-11/msg01162.html> so this causes a build
failure also.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13148
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g)
2003-11-21 3:15 [Bug c/13148] New: ICE on altivec while building code with debug enabled (-g) [regression] lu_zero at gentoo dot org
2003-11-21 9:28 ` [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g) pinskia at gcc dot gnu dot org
2003-11-21 9:53 ` pinskia at gcc dot gnu dot org
@ 2003-11-25 1:05 ` pinskia at gcc dot gnu dot org
2003-12-11 18:18 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-25 1:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-25 01:05 -------
Fixed already.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13148
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g)
2003-11-21 3:15 [Bug c/13148] New: ICE on altivec while building code with debug enabled (-g) [regression] lu_zero at gentoo dot org
` (2 preceding siblings ...)
2003-11-25 1:05 ` pinskia at gcc dot gnu dot org
@ 2003-12-11 18:18 ` pinskia at gcc dot gnu dot org
2003-12-11 19:54 ` dhazeghi at yahoo dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-11 18:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-11 18:18 -------
I have not tried the fix but I am going to reopen based on the fact that it might not be fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13148
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g)
2003-11-21 3:15 [Bug c/13148] New: ICE on altivec while building code with debug enabled (-g) [regression] lu_zero at gentoo dot org
` (3 preceding siblings ...)
2003-12-11 18:18 ` pinskia at gcc dot gnu dot org
@ 2003-12-11 19:54 ` dhazeghi at yahoo dot com
2003-12-11 20:05 ` pinskia at gcc dot gnu dot org
2003-12-26 1:52 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-11 19:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2003-12-11 19:54 -------
still present on mainline (20031203). Any volunteers to reduce the testcase down to something
managable? :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13148
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g)
2003-11-21 3:15 [Bug c/13148] New: ICE on altivec while building code with debug enabled (-g) [regression] lu_zero at gentoo dot org
` (4 preceding siblings ...)
2003-12-11 19:54 ` dhazeghi at yahoo dot com
@ 2003-12-11 20:05 ` pinskia at gcc dot gnu dot org
2003-12-26 1:52 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-11 20:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-11 20:05 -------
Most likely the same as bug 11983.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13148
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g)
2003-11-21 3:15 [Bug c/13148] New: ICE on altivec while building code with debug enabled (-g) [regression] lu_zero at gentoo dot org
` (5 preceding siblings ...)
2003-12-11 20:05 ` pinskia at gcc dot gnu dot org
@ 2003-12-26 1:52 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-26 1:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-26 01:23 -------
This is a dup of bug 11983.
*** This bug has been marked as a duplicate of 11983 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13148
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-12-26 1:23 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-21 3:15 [Bug c/13148] New: ICE on altivec while building code with debug enabled (-g) [regression] lu_zero at gentoo dot org
2003-11-21 9:28 ` [Bug debug/13148] [3.4 Regression] ICE on altivec while building code with debug enabled (-g) pinskia at gcc dot gnu dot org
2003-11-21 9:53 ` pinskia at gcc dot gnu dot org
2003-11-25 1:05 ` pinskia at gcc dot gnu dot org
2003-12-11 18:18 ` pinskia at gcc dot gnu dot org
2003-12-11 19:54 ` dhazeghi at yahoo dot com
2003-12-11 20:05 ` pinskia at gcc dot gnu dot org
2003-12-26 1:52 ` 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).