public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pavel.kral at omsquare dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63732] constexpr is not constant expression, when cast member data pointer to data parent type
Date: Tue, 04 Nov 2014 21:37:00 -0000 [thread overview]
Message-ID: <bug-63732-4-qpoq2mSQvl@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63732-4@http.gcc.gnu.org/bugzilla/>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4509 bytes --]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63732
Pavel Král <pavel.kral at omsquare dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Pavel Král <pavel.kral at omsquare dot com> ---
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: <gcc-bugs-return-465752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
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: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
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" <gcc-bugzilla@gcc.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: <bug-63741-4@http.gcc.gnu.org/bugzilla/>
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.
prev parent reply other threads:[~2014-11-04 21:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 9:37 [Bug c++/63732] New: " pavel.kral at omsquare dot com
2014-11-04 20:44 ` [Bug c++/63732] " daniel.kruegler at googlemail dot com
2014-11-04 21:37 ` pavel.kral at omsquare dot com [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-63732-4-qpoq2mSQvl@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).