From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27040 invoked by alias); 27 Nov 2013 14:24:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 26990 invoked by uid 48); 27 Nov 2013 14:24:24 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59313] New: gfortran.dg/erf_3.F90 FAILs on Solaris/SPARC Date: Wed, 27 Nov 2013 14:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcchost cf_gcctarget cf_gccbuild Message-ID: 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: 2013-11/txt/msg02798.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59313 Bug ID: 59313 Summary: gfortran.dg/erf_3.F90 FAILs on Solaris/SPARC Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Host: sparc*-sun-solaris2.* Target: sparc*-sun-solaris2.* Build: sparc*-sun-solaris2.* The new gfortran.dg/erf_3.F90 test FAILs on Solaris/SPARC in different ways: * On Solaris 9, it fails to link: FAIL: gfortran.dg/erf_3.F90 -O0 (test for excess errors) Excess errors: Undefined first referenced symbol in file erfl /var/tmp//ccYCQomy.o erfcl /var/tmp//ccYCQomy.o _gfortran_erfc_scaled_r16 /var/tmp//ccYCQomy.o frexpl /var/tmp//ccYCQomy.o scalbnl /var/tmp//ccYCQomy.o ld: fatal: Symbol referencing errors. No output written to ./erf_3.exe WARNING: gfortran.dg/erf_3.F90 -O0 compilation failed to produce executable * On Solaris 10 and 11, I get an execution failure instead: 0.00000000000000000000000000000000000 0.00000000000000000000000000000000000 0.00000000000000000000000000000000000 0.00000000000000000000000000000000000 0.00000000000000000000000000000000000 6167208123267181.00000000000000000000 Program aborted. Backtrace: #0 0xFEA1A0BF In gdb, I find Program received signal SIGABRT, Aborted. [Switching to Thread 1 (LWP 1)] 0xff0da440 in _lwp_kill () from /lib/libc.so.1 (gdb) where #0 0xff0da440 in _lwp_kill () from /lib/libc.so.1 #1 0xff083d90 in raise () from /lib/libc.so.1 #2 0xff05b59c in abort () from /lib/libc.so.1 #3 0xff21c068 in _gfortrani_sys_abort () at /vol/gcc/src/hg/trunk/local/libgfortran/runtime/error.c:173 #4 0xff2b7a40 in _gfortran_abort () at /vol/gcc/src/hg/trunk/local/libgfortran/intrinsics/abort.c:33 #5 0x00011318 in check (a=0.45653165863355994044362586269156961, b=0.45653165863355994014668559274485783) at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/erf_3.F90:50 #6 0x0001154c in test () at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/erf_3.F90:29 #7 0x00012390 in main (argc=1, argv=0xffbff594) at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/erf_3.F90:43 #8 0x00010cfc in _start () Rainer