public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/47597] New: ICE: call frame debugging information is not handled when case is post_dec
@ 2011-02-03 9:55 anitha.boyapati at atmel dot com
2011-02-03 10:04 ` [Bug c/47597] " anitha.boyapati at atmel dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: anitha.boyapati at atmel dot com @ 2011-02-03 9:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47597
Summary: ICE: call frame debugging information is not handled
when case is post_dec
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: anitha.boyapati@atmel.com
When a register is saved onto the stack, the relevant call frame debugging
information is not recorded in dwarf2out_frame_debug_expr() when stack follows
post_dec mode. As a result, targets whose STACK_PUSH_CODE is POST_DEC. An ICE
is observed when built for AVR target. Debugging shows that gcc_unreachable()
is called in MEM case.
The version of gcc used for testing is 4.4.3. But this support is not seen in
even the current latest version 169036 (line numbers: 2568 to 2678)
http://gcc.gnu.org/viewcvs/trunk/gcc/dwarf2out.c?revision=169036&view=markup
The host environment is x86_64 GNU/Linux. Target build is for AVR.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/47597] ICE: call frame debugging information is not handled when case is post_dec
2011-02-03 9:55 [Bug c/47597] New: ICE: call frame debugging information is not handled when case is post_dec anitha.boyapati at atmel dot com
@ 2011-02-03 10:04 ` anitha.boyapati at atmel dot com
2011-06-03 7:21 ` [Bug debug/47597] " anitha.boyapati at atmel dot com
2011-08-02 20:48 ` rth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: anitha.boyapati at atmel dot com @ 2011-02-03 10:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47597
Anitha Boyapati <anitha.boyapati at atmel dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |AVR
Host| |x86_x64 GNU/Linux
Version|unknown |4.4.3
Blocks| |17994
--- Comment #1 from Anitha Boyapati <anitha.boyapati at atmel dot com> 2011-02-03 10:04:21 UTC ---
ICE Error:
<snip> ... -g -O2 -mmcu=avr25 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -isystem ./include -DDF=SF -Dinhibit_libc
-mcall-prologues -Os -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
-I. -I. -I../../.././gcc -I../../../../libgcc -I../../../../libgcc/.
-I../../../../libgcc/../gcc -I../../../../libgcc/../include -o _mulvhi3.o -MT
_mulvhi3.o -MD -MP -MF _mulvhi3.dep -DL_mulvsi3 -c
../../../../libgcc/../gcc/libgcc2.c \
-DLIBGCC2_UNITS_PER_WORD=2
../../../../libgcc/../gcc/libgcc2.c: In function '__mulvhi3':
../../../../libgcc/../gcc/libgcc2.c:165: internal compiler error: in
dwarf2out_frame_debug_expr, at dwarf2out.c:2323 Please submit a full bug
report,
The bug has been explained somewhat in detail in thread:
http://gcc.gnu.org/ml/gcc/2010-12/msg00474.html as well as comment #6 of gcc
bug17994
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/47597] ICE: call frame debugging information is not handled when case is post_dec
2011-02-03 9:55 [Bug c/47597] New: ICE: call frame debugging information is not handled when case is post_dec anitha.boyapati at atmel dot com
2011-02-03 10:04 ` [Bug c/47597] " anitha.boyapati at atmel dot com
@ 2011-06-03 7:21 ` anitha.boyapati at atmel dot com
2011-08-02 20:48 ` rth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: anitha.boyapati at atmel dot com @ 2011-06-03 7:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47597
--- Comment #2 from Anitha Boyapati <anitha.boyapati at atmel dot com> 2011-06-03 07:20:44 UTC ---
Patch in trunk revision 171296
http://gcc.gnu.org/viewcvs/trunk/gcc/dwarf2out.c?r1=171150&r2=171296&diff_format=h
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/47597] ICE: call frame debugging information is not handled when case is post_dec
2011-02-03 9:55 [Bug c/47597] New: ICE: call frame debugging information is not handled when case is post_dec anitha.boyapati at atmel dot com
2011-02-03 10:04 ` [Bug c/47597] " anitha.boyapati at atmel dot com
2011-06-03 7:21 ` [Bug debug/47597] " anitha.boyapati at atmel dot com
@ 2011-08-02 20:48 ` rth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-02 20:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47597
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |rth at gcc dot gnu.org
Version|4.4.3 |4.7.0
Resolution| |FIXED
--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-02 20:44:41 UTC ---
Fixed for 4.7. This won't be backported to the 4.4 branch.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-02 20:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-03 9:55 [Bug c/47597] New: ICE: call frame debugging information is not handled when case is post_dec anitha.boyapati at atmel dot com
2011-02-03 10:04 ` [Bug c/47597] " anitha.boyapati at atmel dot com
2011-06-03 7:21 ` [Bug debug/47597] " anitha.boyapati at atmel dot com
2011-08-02 20:48 ` rth 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).