public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/63352] New: problem with fmt_g0_1.f08  on i386-pc-solaris2.11
@ 2014-09-24  6:16 richard at netbsd dot org
  2014-09-24 12:25 ` [Bug testsuite/63352] " richard at netbsd dot org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: richard at netbsd dot org @ 2014-09-24  6:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63352
           Summary: problem with fmt_g0_1.f08  on i386-pc-solaris2.11
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: richard at netbsd dot org

Running the testsuite for gcc 4.9.1 I notice the following gfortran failures:
        === gfortran tests ===


Running target unix
FAIL: gfortran.dg/default_format_1.f90  -O0  execution test
FAIL: gfortran.dg/default_format_1.f90  -O1  execution test
FAIL: gfortran.dg/default_format_1.f90  -O2  execution test
FAIL: gfortran.dg/default_format_1.f90  -O3 -fomit-frame-pointer  execution
test
FAIL: gfortran.dg/default_format_1.f90  -O3 -fomit-frame-pointer -funroll-loops
 execution test
FAIL: gfortran.dg/default_format_1.f90  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  execution test
FAIL: gfortran.dg/default_format_1.f90  -O3 -g  execution test
FAIL: gfortran.dg/default_format_1.f90  -Os  execution test
FAIL: gfortran.dg/fmt_g0_1.f08  -O0  execution test
FAIL: gfortran.dg/fmt_g0_1.f08  -O1  execution test
FAIL: gfortran.dg/fmt_g0_1.f08  -O2  execution test
FAIL: gfortran.dg/fmt_g0_1.f08  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/fmt_g0_1.f08  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/fmt_g0_1.f08  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/fmt_g0_1.f08  -O3 -g  execution test
FAIL: gfortran.dg/fmt_g0_1.f08  -Os  execution test


Concerning the fmt_g0_1.f08 cases, I notice in particular that while debugging
the following bits are the problem:
10          write(buffer, string) ':',1.0_8/3.0_8,':'                      │
11          if (buffer.ne.":.33333333333333331:") call abort               │

after 10, the value of buffer is:
(gdb) print buffer
$1 = ':.', '3' <repeats 16 times>, '2:', ' ' <repeats 30 times>

Testsuite problem or no?

This is running on SunOS 5.11 (illumos) pkgsrc trunk
Compiler version: 4.9.1 (GCC) 
Platform: i386-sun-solaris2.11
configure flags: --enable-languages='c obj-c++ objc go fortran c++'
--enable-shared --enable-long-long --with-local-prefix=/opt/local/gcc49
--enable-libssp --enable-threads=posix --with-boot-ldflags='-static-libstdc++
-static-libgcc -Wl,-R/opt/local/gcc47/lib/gcc/i386-sun-solaris2.11/4.7.3
-Wl,-R/opt/local/gcc47/lib -Wl,-R/opt/local/lib ' --with-system-zlib
--disable-nls --with-gmp=/opt/local --with-mpc=/opt/local
--with-mpfr=/opt/local --with-isl=/opt/local --disable-isl-version-check
--with-cloog=/opt/local --enable-__cxa_atexit
--with-gxx-include-dir=/opt/local/gcc49/include/c++/ --with-gnu-as
--with-as=/opt/local/bin/gas --without-gnu-ld --with-ld=/usr/bin/ld
--with-libiconv-prefix=/opt/local --prefix=/opt/local/gcc49
--build=i386-sun-solaris2.11 --host=i386-sun-solaris2.11
--infodir=/opt/local/gcc49/info --mandir=/opt/local/gcc49/man
>From gcc-bugs-return-462388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Sep 24 06:27:06 2014
Return-Path: <gcc-bugs-return-462388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4147 invoked by alias); 24 Sep 2014 06:27:05 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 4111 invoked by uid 48); 24 Sep 2014 06:27:02 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/56253] fp-contract does not work with SSE and AVX FMAs (neither FMA4 nor FMA3)
Date: Wed, 24 Sep 2014 06:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.7.2
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-56253-4-F0G8hXZRpZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56253-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56253-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-09/txt/msg02222.txt.bz2
Content-length: 1031

https://gcc.gnu.org/bugzilla/show_bug.cgi?idV253

--- Comment #12 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Agner Fog from comment #11)
> Thanks for the links Marc.
> You are right, the discussion in the gcc-patches mailing list ignores
> integer vectors. You need a solution that also allows optimizations on
> integer intrinsic functions (perhaps cast the vector type?).

If you follow the links, you can find:
https://gcc.gnu.org/ml/gcc-patches/2013-04/msg00374.html
where I handled some integer vector intrinsics as well (there were some bugs in
that patch, but the idea should be fine).

> The proposed solution of using vector extensions will not work on masked
> vector intrinsics in AVX512, so it wouldn't enable e.g. constant propagation
> through a masked intrinsic, but that is probably too much to ask for :)

I expect we can get most of the benefits from using vector extensions for very
little effort, while handling the esoteric intrinsics would be a lot more work
so it gets lower priority.


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-10-23 10:56 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-24  6:16 [Bug testsuite/63352] New: problem with fmt_g0_1.f08 on i386-pc-solaris2.11 richard at netbsd dot org
2014-09-24 12:25 ` [Bug testsuite/63352] " richard at netbsd dot org
2014-09-24 16:00 ` [Bug fortran/63352] " dominiq at lps dot ens.fr
2014-09-24 16:34 ` richard at netbsd dot org
2014-09-24 16:38 ` richard at netbsd dot org
2014-09-24 17:34 ` dominiq at lps dot ens.fr
2014-09-24 20:54 ` richard at netbsd dot org
2014-09-24 20:55 ` richard at netbsd dot org
2014-09-24 21:02 ` richard at netbsd dot org
2014-09-24 21:02 ` richard at netbsd dot org
2014-09-24 23:24 ` [Bug target/63352] " dominiq at lps dot ens.fr
2014-10-06 13:02 ` ro at CeBiTec dot Uni-Bielefeld.DE
2014-10-07 10:58 ` richard at netbsd dot org
2014-10-07 11:51 ` ro at CeBiTec dot Uni-Bielefeld.DE
2014-10-07 18:49 ` richard at netbsd dot org
2014-10-08  7:53 ` ro at CeBiTec dot Uni-Bielefeld.DE
2014-10-10  7:50 ` richard at netbsd dot org
2014-10-10 17:14 ` richard at netbsd dot org
2014-10-23 10:56 ` richard at netbsd dot org
2014-10-23 11:07 ` ro at gcc dot gnu.org

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).