public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/61962] New: GCC seems to enter an infinite loop when compiling the above code.
@ 2014-07-30 11:05 nick.tomlinson at arm dot com
  2014-08-12 12:28 ` [Bug other/61962] GCC seems to enter an infinite loop when compiling the above cilk+ code kyukhin at gcc dot gnu.org
  2014-08-12 12:33 ` kyukhin at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: nick.tomlinson at arm dot com @ 2014-07-30 11:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61962
           Summary: GCC seems to enter an infinite loop when compiling the
                    above code.
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nick.tomlinson at arm dot com

Created attachment 33211
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33211&action=edit
A minimal reproducer

==== Steps to reproduce ====
   - Build with: g++ -fcilkplus -c arrayinf.cpp
   - Wait for 60 seconds.
   - Observe that g++ is still running.

  ==== What I expected to happen ====
   - g++ should terminate, with an object file having been produces.

  ==== What actually happened ====
   - After the 60 seconds, g++ is still running, and consuming an entire core.

  ==== Environment ====
  I have tried this with:
   - My system GCC (g++, version 4.9.1)
   - A native build of GCC (${GCC_TRUNK}/bin/g++, revision r213234)

  ${GCC_TRUNK}/bin/g++ is a native build of GCC, with the following specified
  to the configure script:
  ./configure --prefix=${GCC_TRUNK} \
    --enable-languages=c,c++,fortran --disable-sjlj-exceptions
  And make invoked as: make CXXFLAGS="-g3 -O0" -j9

  $ uname -a
  Linux squamata 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014
x86_64 GNU/Linux

  $ g++ --version
  g++ (GCC) 4.9.1
  Copyright (C) 2014 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  $ ${GCC_TRUNK}/bin/g++ --version
  g++ (GCC) 4.10.0 20140730 (experimental)
  Copyright (C) 2014 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  ==== Possibly related bugs ====
   - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59053
     Also goes into a loop, though its reproducer is a lot longer, so its hard
     to tell if it's for the same reason.


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

* [Bug other/61962] GCC seems to enter an infinite loop when compiling the above cilk+ code.
  2014-07-30 11:05 [Bug other/61962] New: GCC seems to enter an infinite loop when compiling the above code nick.tomlinson at arm dot com
@ 2014-08-12 12:28 ` kyukhin at gcc dot gnu.org
  2014-08-12 12:33 ` kyukhin at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: kyukhin at gcc dot gnu.org @ 2014-08-12 12:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Author: kyukhin
Date: Tue Aug 12 12:27:41 2014
New Revision: 213858

URL: https://gcc.gnu.org/viewcvs?rev=213858&root=gcc&view=rev
Log:
PR other/61962

gcc/c-family/
        * array-notation-common.c (find_rank): Added handling for other
        types of references.

testsuite/
        * c-c++-common/cilk-plus/AN/pr61962.c: New test.


Added:
    trunk/gcc/testsuite/c-c++-common/cilk-plus/AN/pr61962.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/array-notation-common.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug other/61962] GCC seems to enter an infinite loop when compiling the above cilk+ code.
  2014-07-30 11:05 [Bug other/61962] New: GCC seems to enter an infinite loop when compiling the above code nick.tomlinson at arm dot com
  2014-08-12 12:28 ` [Bug other/61962] GCC seems to enter an infinite loop when compiling the above cilk+ code kyukhin at gcc dot gnu.org
@ 2014-08-12 12:33 ` kyukhin at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: kyukhin at gcc dot gnu.org @ 2014-08-12 12:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Author: kyukhin
Date: Tue Aug 12 12:33:06 2014
New Revision: 213859

URL: https://gcc.gnu.org/viewcvs?rev=213859&root=gcc&view=rev
Log:
PR other/61962

gcc/c-family/
    * array-notation-common.c (find_rank): Added handling for other
    types of references.

gcc/testsuite/
    * c-c++-common/cilk-plus/AN/pr61962.c: New test.



Added:
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/cilk-plus/AN/pr61962.c
Modified:
    branches/gcc-4_9-branch/gcc/c-family/ChangeLog
    branches/gcc-4_9-branch/gcc/c-family/array-notation-common.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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

end of thread, other threads:[~2014-08-12 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-30 11:05 [Bug other/61962] New: GCC seems to enter an infinite loop when compiling the above code nick.tomlinson at arm dot com
2014-08-12 12:28 ` [Bug other/61962] GCC seems to enter an infinite loop when compiling the above cilk+ code kyukhin at gcc dot gnu.org
2014-08-12 12:33 ` kyukhin 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).