Internal Compiler Error In Output Die At Dwarf2out.c
Remember [x] | Forgot Password Login: [x] User account creation filtered due to spam. Bug53756 - [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto () Summary: [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and ope... Status: RESOLVED FIXED Alias: None Product: gcc Classification: Unclassified Component: c++ (show other bugs) Version: 4.8.0 Importance: P3 normal Target Milestone: 4.9.0 Assignee: Jason Merrill URL: Keywords: ice-on-valid-code Duplicates (3): 56014 58216 59565 (view as bug list) Depends on: Blocks: Reported: 2012-06-23 14:08 UTC by Zdenek Sojka Modified: 2014-06-29 08:38 UTC (History) CC List: 6 users (show) drepper.fsp+rhbz i.nixman jogojapan mizvekov reichelt tim See Also: Host: Target: Build: Known to work: Known to fail: 4.8.0 Last reconfirmed: 2012-06-25 00:00:00 Attachments reduced testcase (42 bytes, text/x-csrc) 2012-06-23 14:08 UTC, Zdenek Sojka Details View All Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Zdenek Sojka 2012-06-23 14:08:55 UTC Created attachment 27691 [details] reduced testcase Compiler output: $ gcc -std=c++1y -g testcase.C testcase.C:1:8: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:18774 struct A ^ Please submit a full bug report, with preprocessed source if appropriate. See
filtered due to spam. Bug48508 - ICE in output_die, at dwarf2out.c:11409 Summary: ICE in output_die, at dwarf2out.c:11409 Status: RESOLVED FIXED Alias: None Product: gcc Classification: Unclassified Component: lto (show other bugs) Version: 4.6.0 Importance: P3 normal Target Milestone: --- Assignee: Richard Biener URL: Keywords: Depends on: 51573 Blocks: mozillametabug 47819 Show dependency tree https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756 /graph Reported: 2011-04-07 23:21 UTC by Jan Hubicka Modified: 2011-12-16 10:21 UTC (History) CC List: 4 users (show) hubicka jason josh.m.conner octoploid See Also: Host: Target: Build: Known to work: Known to fail: Last reconfirmed: 2011-04-22 09:32:12 Attachments testcase (875.99 KB, application/x-bzip) 2011-04-07 23:25 UTC, Jan Hubicka https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48508 Details reduced testcase (5.65 KB, application/octet-stream) 2011-05-26 11:51 UTC, Richard Biener Details Patch to avoid generating abstract function for block extern (387 bytes, patch) 2011-12-09 20:04 UTC, Jason Merrill Details | Diff manually reduced testcase (722 bytes, text/plain) 2011-12-12 12:40 UTC, Richard Biener Details View All Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Jan Hubicka 2011-04-07 23:21:40 UTC /abuild/jh/trunk-install/bin/g++ -flto=25 ~/jsatom.ii ~/jscntxt.ii ~/jsgc.ii ~/jsinterp.ii ~/jsinvoke.ii ~/jsiter.ii -r -nostdlib -g -O3 leads eventually to lto1: internal compiler error: in output_die, at dwarf2out.c:11409 Please submit a full bug report, with preprocessed source if appropriate. See
Sign in Pricing Blog Support Search GitHub This repository Watch 62 Star 538 Fork 223 gflags/gflags Code Issues 22 https://github.com/gflags/gflags/issues/31 Pull requests 1 Projects 0 Pulse Graphs New issue Internal compiler error in GCC 4.2.1 #31 Closed schuhschuh opened this Issue Mar 24, 2015 · 9 comments Projects https://bugs.launchpad.net/bugs/1517768 None yet Labels bug Milestone No milestone Assignees No one assigned 1 participant gflags member schuhschuh commented Mar 24, 2015 Original issue 20 created internal compiler by schuhschuh on 2008-08-29T17:54:39.000Z: If I compile gflags 1.0-rc1 with GCC 4.2.1 (SUSE Linux 10.3, x86) and debug symbols enabled ("-g"), GCC crashes with the following message: src/gflags.cc:158: internal compiler error: in reference_to_unused, at dwarf2out.c:10010 I also tried GCC 4.3.2 and then it compiles just fine, so it seems the bug in GCC is fixed internal compiler error already. However, there are probably still a lot of broken compilers installed, so maybe it would be a good idea to put a workaround in gflags. The problem occurs on any use of DEFINE_string, so not only when building gflags itself, but also when building an application that uses gflags. It happens only when "-g" is passed to GCC, so the problem is most likely in the generation of the debug symbols ("dwarf2out.c" also suggests this). I discovered that if DECLARE_string is used before DEFINE_string with the same flag name, GCC does not crash. So a possible workaround would be to include the contents of the DECLARE_string macro at the start of the DEFINE_string macro as well. schuhschuh added Type-Defect Priority-Medium labels Mar 24, 2015 gflags member schuhschuh commented Mar 24, 2015 Comment #1 originally posted by schuhschuh on 2008-08-29T23:49:44.000Z: I tried compiling on gcc 4.2.1, and was unable to reproduce the problem. Can you clarify if the ICE happens with "-g -O2",
affects 1 person Affects Status Importance Assigned to Milestone gcc-4.8 (Ubuntu) Edit New Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: gcc-4.8 (Ubuntu) Filed here by: Stephen Mathews When: 2015-11-19 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance New Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 db11/db11.h:31:17: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19493 typedef struct _table ^ Please submit a full bug report, with preprocessed source if appropriate. I compiled with the following cmd: g++ -g -std=c++11 -o db_route_lookup db_route_lookup.cpp db11/*.cpp Tags: internal Edit Tag help Stephen Mathews (busysteve) wrote on 2015-11-19: #1 tmp/ generated output from GCC Edit (198.1 KiB, application/octet-stream) See full activity log To post a comment you must log in. Report a bug This report contains Public information Edit Everyone can see this information. Mark as duplicate Convert to a question Link a related branch Link to CVE You are not directly subscribed to this bug's notifications. Subscribing... Edit bug mail Other bug subscribers Subscribe someone else Bug attachments tmp/ generated output from GCC (edit) Add attachment • Take the tour • Read the guide © 2004-2016 CanonicalLtd. • Terms of use • Contact Launchpad Support • Blog • Careers • System status • r18232 (Get the code!)