public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/56655] New: Associate construct with OpenMP triggers ICE
@ 2013-03-20  0:55 townsend at astro dot wisc.edu
  2013-03-20  9:47 ` [Bug fortran/56655] " janus at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: townsend at astro dot wisc.edu @ 2013-03-20  0:55 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56655
           Summary: Associate construct with OpenMP triggers ICE
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: townsend@astro.wisc.edu


Created attachment 29692
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29692
Test source file to reproduce the error

Attempting to compile the attached file with

gfortran -fopenmp -c openmp_ice.f90

...gives the following result:

openmp_ice.f90: In function ‘sub’:
openmp_ice.f90:8:0: internal compiler error: in omp_add_variable, at
gimplify.c:5894
   associate(x_a => x)
 ^

openmp_ice.f90:8:0: internal compiler error: Abort trap: 6
gfortran.exec: internal compiler error: Abort trap: 6 (program f951)
/Applications/madsdk/bin/gfortran: line 7: 16428 Abort trap: 6          
/Applications/madsdk/bin/gfortran.exec -fopenmp -c openmp_ice.f90

This may be related to PR 56062. My system:

Using built-in specs.
COLLECT_GCC=/Applications/madsdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/Applications/madsdk/libexec/gcc/x86_64-apple-darwin11.4.2/4.8.0/lto-wrapper
Target: x86_64-apple-darwin11.4.2
Configured with: ./configure CC='gcc -D_FORTIFY_SOURCE=0'
--build=x86_64-apple-darwin11.4.2 --prefix=/Applications/madsdk
--with-gmp=/Applications/madsdk --with-mpfr=/Applications/madsdk
--with-mpc=/Applications/madsdk --enable-languages=c,c++,fortran
--disable-multilib
Thread model: posix
gcc version 4.8.0 20130307 (experimental) (GCC)
>From gcc-bugs-return-417911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 20 01:46:53 2013
Return-Path: <gcc-bugs-return-417911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20081 invoked by alias); 20 Mar 2013 01:46:53 -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 20024 invoked by uid 48); 20 Mar 2013 01:46:45 -0000
From: "townsend at astro dot wisc.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/56656] New: Suffix or operands invalid for 'movq'
Date: Wed, 20 Mar 2013 01:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: townsend at astro dot wisc.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID: <bug-56656-4@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-03/txt/msg01352.txt.bz2
Content-length: 1971


http://gcc.gnu.org/bugzilla/show_bug.cgi?idV656

             Bug #: 56656
           Summary: Suffix or operands invalid for 'movq'
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: townsend@astro.wisc.edu


When attempting to compile the svn-fetched 4.8.0, I get the following error
during configuration:

/Volumes/Kleiner-Data/madsdk-src/gcc/host-x86_64-apple-darwin11.4.2/gcc/xgcc
-B/Volumes/Kleiner-Data/madsdk-src/gcc/host-x86_64-apple-darwin11.4.2/gcc/   -g
-O2 -O2  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include   -pipe -fno-common -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -pipe -fno-common -I. -I.
-I../../host-x86_64-apple-darwin11.4.2/gcc -I../.././libgcc -I../.././libgcc/.
-I../.././libgcc/../gcc -I../.././libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS
-o extenddftf2_s.o -MT extenddftf2_s.o -MD -MP -MF extenddftf2_s.dep -DSHARED
-c ../.././libgcc/soft-fp/extenddftf2.c
../.././libgcc/soft-fp/extenddftf2.c:35:8: warning: no previous prototype for
'__extenddftf2' [-Wmissing-prototypes]
 TFtype __extenddftf2(DFtype a)
        ^
:47:suffix or operands invalid for `movq'
:50:suffix or operands invalid for `movq'
make[3]: *** [extenddftf2_s.o] Error 1
make[2]: *** [all-stage1-target-libgcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

The configure uses the following:

./configure CC="gcc -D_FORTIFY_SOURCE=0" --build=x86_64-apple-darwin11.4.2
--prefix=/Applications/madsdk --with-gmp=/Applications/madsdk
--with-mpfr=/Applications/madsdk --with-mpc=/Applications/madsdk
--enable-languages=c,c++,fortran --disable-multilib

This is running on OS X Lion (10.7.5).


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

end of thread, other threads:[~2014-05-02 10:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-20  0:55 [Bug fortran/56655] New: Associate construct with OpenMP triggers ICE townsend at astro dot wisc.edu
2013-03-20  9:47 ` [Bug fortran/56655] " janus at gcc dot gnu.org
2013-03-20 13:25 ` townsend at astro dot wisc.edu
2013-03-20 14:28 ` [Bug fortran/56655] [F03] ASSOCIATE " janus at gcc dot gnu.org
2013-08-12 12:50 ` janus at gcc dot gnu.org
2014-01-07 10:01 ` dominiq at lps dot ens.fr
2014-05-02 10:29 ` dominiq at lps dot ens.fr

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