public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "amylaar at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63223] [avr] Make jumptables work with -Wl,--section-start,.text= Date: Fri, 17 Oct 2014 14:40:00 -0000 [thread overview] Message-ID: <bug-63223-4-uLjw4b6PoZ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-63223-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63223 Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amylaar at gcc dot gnu.org --- Comment #4 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> --- (In reply to Georg-Johann Lay from comment #1) > Author: gjl > Date: Thu Sep 11 08:08:17 2014 > New Revision: 215152 > > URL: https://gcc.gnu.org/viewcvs?rev=215152&root=gcc&view=rev > Log: > gcc/ > PR target/63223 > * config/avr/avr.md (*tablejump.3byte-pc): New insn. > (*tablejump): Restrict to !AVR_HAVE_EIJMP_EICALL. Add void clobber. > (casesi): Expand to *tablejump.3byte-pc if AVR_HAVE_EIJMP_EICALL. > libgcc/ > PR target/63223 > * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM > and R24 as needed. Make work for all devices and .text locations. > (__do_global_ctors, __do_global_dtors): Use word addresses. do_global_dtors is supposed to start at the start and increment from there. I see it used to be half-way wrong and half-way correct. (Starting at the start, decrementing for __AVR_HAVE_ELPM__, incrementing otherwise.) However, you now made it all the way use an incorrect order - starting at the end and incrementing from there. Is there a rationale for this? >From gcc-bugs-return-464361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 17 14:51:58 2014 Return-Path: <gcc-bugs-return-464361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26557 invoked by alias); 17 Oct 2014 14:51:57 -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 26087 invoked by uid 48); 17 Oct 2014 14:51:52 -0000 From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/63576] New: [5 Regression] ICE : in ipa_merge_profiles, at ipa-utils.c:540 during Firefox LTO/PGO build Date: Fri, 17 Oct 2014 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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 cc Message-ID: <bug-63576-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-10/txt/msg01382.txt.bz2 Content-length: 1692 https://gcc.gnu.org/bugzilla/show_bug.cgi?idc576 Bug ID: 63576 Summary: [5 Regression] ICE : in ipa_merge_profiles, at ipa-utils.c:540 during Firefox LTO/PGO build Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: marxin at gcc dot gnu.org % wget trippelsdorf.de/testcase.tar.bz2 % tar xvjf testcase.tar.bz2 % g++ -w -march=amdfam10 -flto=4 -fprofile-use -fprofile-correction -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pipe -O3 Unified_cpp_js_src1.ii Unified_cpp_js_src2.ii Unified_cpp_js_src3.ii lto1: internal compiler error: in ipa_merge_profiles, at ipa-utils.c:540 0x7f7d55 ipa_merge_profiles(cgraph_node*, cgraph_node*) ../../gcc/gcc/ipa-utils.c:540 0xf57883 ipa_icf::sem_function::merge(ipa_icf::sem_item*) ../../gcc/gcc/ipa-icf.c:625 0xf5cc86 ipa_icf::sem_item_optimizer::merge_classes(unsigned int) ../../gcc/gcc/ipa-icf.c:2241 0xf60bf9 ipa_icf::sem_item_optimizer::execute() ../../gcc/gcc/ipa-icf.c:1602 0xf61671 ipa_icf_driver ../../gcc/gcc/ipa-icf.c:2319 0xf61671 ipa_icf::pass_ipa_icf::execute(function*) ../../gcc/gcc/ipa-icf.c:2366 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions -fno-ipa-icf "fixes" the issue.
next prev parent reply other threads:[~2014-10-17 14:40 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-09-11 7:56 [Bug target/63223] New: " gjl at gcc dot gnu.org 2014-09-11 8:09 ` [Bug target/63223] " gjl at gcc dot gnu.org 2014-09-11 8:20 ` gjl at gcc dot gnu.org 2014-09-11 8:22 ` gjl at gcc dot gnu.org 2014-10-17 14:40 ` amylaar at gcc dot gnu.org [this message] 2014-10-17 14:56 ` amylaar at gcc dot gnu.org 2014-10-17 15:11 ` amylaar at gcc dot gnu.org 2014-10-17 15:47 ` amylaar at gcc dot gnu.org 2014-10-21 9:38 ` gjl at gcc dot gnu.org 2014-10-21 14:13 ` amylaar at gcc dot gnu.org 2014-10-21 16:12 ` amylaar at gcc dot gnu.org 2014-10-22 8:51 ` gjl at gcc dot gnu.org 2014-10-22 12:02 ` gjl at gcc dot gnu.org
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-63223-4-uLjw4b6PoZ@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: linkBe 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).