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 lto/55021] [4.8 Regression] The tests gfortran.dg/integer_exponentiation_5.F90 and masklr_1.F90 are miscompiled with -flto after revision 192529


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

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-10-22 13:48:27 UTC ---
> I get
>
> > ./gfortran -B. -B ../x86_64-unknown-linux-gnu/libgfortran/.libs t.f90 -ffree-line-length-none
> t.f90:20.28:
>
>   call check_i8(i8**43_8,3_8**43_8)
>                            1
> Error: Arithmetic overflow at (1)

If t.f90 is the reduced test in comment #0 (reduced from
integer_exponentiation_5.F90), you need -fno-range-check (no need for
-ffree-line-length-none).


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