From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4584 invoked by alias); 8 Aug 2013 21:06:00 -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 Received: (qmail 4480 invoked by uid 48); 8 Aug 2013 21:05:57 -0000 From: "vmakarov at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/58048] [4.8/4.9 Regression] internal compiler error: Max. number of generated reload insns per insn is achieved (90) Date: Thu, 08 Aug 2013 21:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: 2013-08/txt/msg00505.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58048 Vladimir Makarov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at redhat dot com --- Comment #9 from Vladimir Makarov --- (In reply to Bernd Edlinger from comment #8) > I see the same error with recent 4.9 i686-pc-linux-gnu in the following > test case: > > gcc -O2 -msse -mno-avx -S testsuite/gcc.target/i386/intrinsics_4.c > intrinsics_4.c: In function 'foo': > intrinsics_4.c:14:1: internal compiler error: Max. number of generated > reload insns per insn is achieved (90) > > } > ^ > 0x849e4c3 lra_constraints(bool) > ../../gcc-4.9-20130728/gcc/lra-constraints.c:3724 > 0x849136c lra(_IO_FILE*) > ../../gcc-4.9-20130728/gcc/lra.c:2319 > 0x8456beb do_reload > ../../gcc-4.9-20130728/gcc/ira.c:4689 > 0x8456beb rest_of_handle_reload > ../../gcc-4.9-20130728/gcc/ira.c:4801 > Please submit a full bug report, > with preprocessed source if appropriate. It is the same diagnostic but it has different reason for this. I guess it is not LRA problem. This test should be not run for i686 as it tries to use non-avx and avx insns (which is absent for i686 architecture). Reload pass also finishes badly by assert (internal error) on this test as reload can not find insns to generate correct code. Still GCC should have a better diagnostic for this case (may be by checking correct architecture/attribute pairs). Although I have no idea how to do it right.