Bug 56424 - [4.8 Regression] ICE at tree-inline.c:2833 on a-nllcef.ads at -O2
Summary: [4.8 Regression] ICE at tree-inline.c:2833 on a-nllcef.ads at -O2
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.8.0
: P1 normal
Target Milestone: 4.8.0
Assignee: Eric Botcazou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-22 12:42 UTC by Rainer Emrich
Modified: 2013-03-04 17:43 UTC (History)
1 user (show)

See Also:
Host: x86_64-w64-mingw32
Target: x86_64-w64-mingw32
Build: x86_64-w64-mingw32
Known to work: 4.7.3
Known to fail: 4.8.0
Last reconfirmed: 2013-02-24 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Emrich 2013-02-22 12:42:58 UTC
Native bootstrap on x86_64-w64-mingw32 fails in stage3.

/SCRATCH/tmp.WFOaDArHyR/gcc-4.8.0/gcc-4.8.0/./gcc/xgcc -B/SCRATCH/tmp.WFOaDArHyR/gcc-4.8.0/gcc-4.8.0/./gcc/ -L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/lib -L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/mingw/lib -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/include -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/mingw/include -B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/bin/ -B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/lib/ -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/include -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/sys-include    -c -g -O2    -W -Wall -gnatpg -nostdinc   a-nllcef.ads -o a-nllcef.o
in declare_return_variable, at tree-inline.c:2833make[6]: *** [a-nllcef.o] Error 1 

caused by the fixes for PR55797 revison 195750, 195751.
Comment 1 Eric Botcazou 2013-02-24 16:05:44 UTC
Confirmed, but libada isn't stage #3 since it's a target library.
Comment 2 Rainer Emrich 2013-02-24 19:41:51 UTC
Am 24.02.2013 17:05, schrieb ebotcazou at gcc dot gnu.org:
> --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2013-02-24
> 16:05:44 UTC --- Confirmed, but libada isn't stage #3 since it's a target
> library.
Sorry, of course you are right.
Comment 3 Eric Botcazou 2013-02-24 21:45:29 UTC
Investigating.
Comment 4 Eric Botcazou 2013-03-01 11:14:51 UTC
Recategorizing.
Comment 5 Eric Botcazou 2013-03-04 17:41:41 UTC
Author: ebotcazou
Date: Mon Mar  4 17:41:32 2013
New Revision: 196439

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196439
Log:
	PR tree-optimization/56424
	* ipa-split.c (split_function): Do not set the RSO flag if result is
	not by reference and its type is a register type.

Added:
    trunk/gcc/testsuite/gcc.dg/pr56424.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-split.c
    trunk/gcc/testsuite/ChangeLog
Comment 6 Eric Botcazou 2013-03-04 17:43:45 UTC
Thanks for reporting the problem.