public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/55021] New: [4.8 Regression] The tests gfortran.dg/integer_exponentiation_5.F90 and masklr_1.F90 are miscompiled with -flto after revision 192529 Date: Mon, 22 Oct 2012 13:25:00 -0000 [thread overview] Message-ID: <bug-55021-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55021 Bug #: 55021 Summary: [4.8 Regression] The tests gfortran.dg/integer_exponentiation_5.F90 and masklr_1.F90 are miscompiled with -flto after revision 192529 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned@gcc.gnu.org ReportedBy: dominiq@lps.ens.fr CC: rguenth@gcc.gnu.org The tests gfortran.dg/integer_exponentiation_5.F90 (with -O1) and masklr_1.F90 are miscompiled with -flto after revision 192529 (r192528 is OK): [macbook] f90/bug% /opt/gcc/gcc4.8p-192559/bin/gfortran /opt/gcc/work/gcc/testsuite/gfortran.dg/integer_exponentiation_5.F90 -fno-range-check -O1 -flto [macbook] f90/bug% a.out Backtrace for this error: #0 0x1000041ae #1 0x100004536 #2 0x1000d6108 #3 0x100000c19 #4 0x100000cd5 Abort [macbook] f90/bug% /opt/gcc/gcc4.8p-192559/bin/gfortran /opt/gcc/work/gcc/testsuite/gfortran.dg/masklr_1.F90 -ffree-line-length-none -flto [macbook] f90/bug% a.out Backtrace for this error: #0 0x1000051ae #1 0x100005536 #2 0x1000d7108 #3 0x100001b33 #4 0x100001cff Abort Reduced test case module mod_check implicit none contains subroutine check_i8 (a, b) integer(kind=8), intent(in) :: a, b if (a /= b) call abort() end subroutine check_i8 end module mod_check program test use mod_check implicit none integer(kind=8) :: i8 i8 = 3_8 call check_i8(i8**43_8,3_8**43_8) end program test
next reply other threads:[~2012-10-22 13:25 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-10-22 13:25 dominiq at lps dot ens.fr [this message] 2012-10-22 13:42 ` [Bug lto/55021] " rguenth at gcc dot gnu.org 2012-10-22 13:48 ` dominiq at lps dot ens.fr 2012-10-22 14:06 ` rguenth at gcc dot gnu.org 2012-10-22 14:08 ` rguenth at gcc dot gnu.org 2012-10-22 14:10 ` rguenth at gcc dot gnu.org 2012-10-22 14:11 ` rguenth at gcc dot gnu.org 2012-10-22 14:15 ` dominiq at lps dot ens.fr
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-55021-4@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).