This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/58048] [4.8/4.9 Regression] internal compiler error: Max. number of generated reload insns per insn is achieved (90)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58048

Vladimir Makarov <vmakarov at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmakarov at redhat dot com

--- Comment #9 from Vladimir Makarov <vmakarov at redhat dot com> ---
(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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]