https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63732 Pavel Král changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Pavel Král --- Hi Daniel, your are right about effective reintepret_cast<>, thanks for clarification. Best Regards, Pavel >From gcc-bugs-return-465752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 04 21:57:42 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2675 invoked by alias); 4 Nov 2014 21:57:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2647 invoked by uid 48); 4 Nov 2014 21:57:38 -0000 From: "joel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/63741] New: lm32 ICE in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1677 Date: Tue, 04 Nov 2014 21:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joel at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg00224.txt.bz2 Content-length: 2140 https://gcc.gnu.org/bugzilla/show_bug.cgi?idc741 Bug ID: 63741 Summary: lm32 ICE in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1677 Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: joel at gcc dot gnu.org Created attachment 33886 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id3886&actioníit Preprocessed RTEMS fastlz.c which produces the error. The attached preprocessed code gives an ICE at -O0, -O1, -O2, and -0s. Dropping the -g gets by the ICE so this seems like a debug info issue. lm32-rtems4.11-gcc -O0 -g -c fastlz.c lm32-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../milkymist/lib/include -DRTEMS_RTL_RAP_LOADER=1 -DRTEMS_RTL_ELF_LOADER=1 -mbarrel-shift-enabled -mmultiply-enabled -mdivide-enabled -msign-extend-enabled -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT libdl_a-fastlz.o -MD -MP -MF .deps/libdl_a-fastlz.Tpo -c -o libdl_a-fastlz.o `test -f 'fastlz.c' || echo '../../../../../../rtems/c/src/../../cpukit/libdl/'`fastlz.c In file included from ../../../../../../rtems/c/src/../../cpukit/libdl/fastlz.c:113:0: ../../../../../../rtems/c/src/../../cpukit/libdl/fastlz.c: In function 'fastlz1_compress': ../../../../../../rtems/c/src/../../cpukit/libdl/fastlz.c:418:1: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1677 } ^ 0x52e8b6 dwarf2out_frame_debug_expr ../../gcc-4.9.1/gcc/dwarf2cfi.c:1675 0x52ef6c dwarf2out_frame_debug ../../gcc-4.9.1/gcc/dwarf2cfi.c:2043 0x52ef6c scan_insn_after ../../gcc-4.9.1/gcc/dwarf2cfi.c:2369 0x5307d2 scan_trace ../../gcc-4.9.1/gcc/dwarf2cfi.c:2526 0x5311d5 create_cfi_notes ../../gcc-4.9.1/gcc/dwarf2cfi.c:2565 0x5311d5 execute_dwarf2_frame ../../gcc-4.9.1/gcc/dwarf2cfi.c:2925 0x5311d5 execute ../../gcc-4.9.1/gcc/dwarf2cfi.c:3421 Please submit a full bug report, with preprocessed source if appropriate.