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 middle-end/61919] New: [4.10 regression] FAIL: gfortran.dg/fmt_g0_6.f08 -O2 execution test


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61919

            Bug ID: 61919
           Summary: [4.10 regression] FAIL: gfortran.dg/fmt_g0_6.f08   -O2
                     execution test
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schwab@linux-m68k.org
            Blocks: 61268
            Target: ia64-*-*

Created attachment 33187
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33187&action=edit
Output after r213002

The change for middle-end/61268 causes miscompilation of
gfortran.dg/fmt_g0_6.f08 on ia64.

$ gcc/gfortran -Bgcc/ -Bia64-suse-linux/./libgfortran/
../gcc/testsuite/gfortran.dg/fmt_g0_6.f08 -O2 -ffloat-store
-Bia64-suse-linux/./libgfortran/.libs -Lia64-suse-linux/./libgfortran/.libs
-Lia64-suse-linux/./libgfortran/.libs -Bia64-suse-linux/./libquadmath/.libs
-Lia64-suse-linux/./libquadmath/.libs -Lia64-suse-linux/./libquadmath/.libs -lm
-o ./fmt_g0_6.exe
$
LD_LIBRARY_PATH=ia64-suse-linux/libgfortran/.libs:ia64-suse-linux/libquadmath/.libs
./fmt_g0_6.exe 

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x2000000000082E4F
#1  0x2000000000083F4F
#2  0xA0000000000407FF
#3  0x4000000000001D70 in check_f_fmt.854.constprop.1 at fmt_g0_6.f08:?
#4  0x4000000000001F9F in check_all.862.constprop.0 at fmt_g0_6.f08:?
Segmentation fault


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