public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/60264] New: ARM ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1090
@ 2014-02-18 14:53 chrbr at gcc dot gnu.org
  2014-03-12 11:41 ` [Bug target/60264] " chrbr at gcc dot gnu.org
  2014-04-02  6:46 ` zqchen at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: chrbr at gcc dot gnu.org @ 2014-02-18 14:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60264

            Bug ID: 60264
           Summary: ARM ICE in dwarf2out_frame_debug_adjust_cfa, at
                    dwarf2cfi.c:1090
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chrbr at gcc dot gnu.org

Created attachment 32164
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32164&action=edit
testcase

compiling the attached case with 
-O2 -mapcs -mfloat-abi=hard 

we have the epilogue

    fldmfdd    ip!, {d8}    @ 31    *vfp_pop_multiple_with_writeback    [length
= 4] frame_related_p
    sub    sp, fp, #12    @ 33    *arm_addsi3/12    [length = 4]
    ldmia    sp, {fp, sp, lr}    @ 34    *ldm3_ia    [length = 4]
frame_related_p

Notice fldmfdd sets the cfa reg to IP, and the ldmia expects SP. This crashes
with -g on this assertion.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/60264] ARM ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1090
  2014-02-18 14:53 [Bug target/60264] New: ARM ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1090 chrbr at gcc dot gnu.org
@ 2014-03-12 11:41 ` chrbr at gcc dot gnu.org
  2014-04-02  6:46 ` zqchen at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: chrbr at gcc dot gnu.org @ 2014-03-12 11:41 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60264

chrbr at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from chrbr at gcc dot gnu.org ---
on trunk #208511


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/60264] ARM ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1090
  2014-02-18 14:53 [Bug target/60264] New: ARM ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1090 chrbr at gcc dot gnu.org
  2014-03-12 11:41 ` [Bug target/60264] " chrbr at gcc dot gnu.org
@ 2014-04-02  6:46 ` zqchen at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: zqchen at gcc dot gnu.org @ 2014-04-02  6:46 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60264

--- Comment #3 from zqchen at gcc dot gnu.org ---
Author: zqchen
Date: Wed Apr  2 06:45:59 2014
New Revision: 209009

URL: http://gcc.gnu.org/viewcvs?rev=209009&root=gcc&view=rev
Log:
gcc/
2014-04-02  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

    Backport from trunk r208511
    2014-03-12  Christian Bruel  <christian.bruel@st.com>

    PR target/60264
    * config/arm/arm.c (arm_emit_vfp_multi_reg_pop): Emit a
    REG_CFA_DEF_CFA note.
    (arm_expand_epilogue_apcs_frame): call arm_add_cfa_adjust_cfa_note.
    (arm_unwind_emit): Allow REG_CFA_DEF_CFA.

gcc/testsuite/
2014-04-02  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

    Backport from trunk r208511
    2014-03-12  Christian Bruel  <christian.bruel@st.com>

    PR target/60264
    * gcc.target/arm/pr60264.c


Added:
    branches/linaro/gcc-4_8-branch/gcc/testsuite/gcc.target/arm/pr60264.c
Modified:
    branches/linaro/gcc-4_8-branch/gcc/ChangeLog.linaro
    branches/linaro/gcc-4_8-branch/gcc/config/arm/arm.c
    branches/linaro/gcc-4_8-branch/gcc/testsuite/ChangeLog.linaro


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-02  6:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18 14:53 [Bug target/60264] New: ARM ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1090 chrbr at gcc dot gnu.org
2014-03-12 11:41 ` [Bug target/60264] " chrbr at gcc dot gnu.org
2014-04-02  6:46 ` zqchen 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).