public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/57981] New: [ICE}
@ 2013-07-25  8:57 y121516 at gmail dot com
  2013-07-25  9:03 ` [Bug c++/57981] gcc 4.8 is the ICE in this code y121516 at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: y121516 at gmail dot com @ 2013-07-25  8:57 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57981
           Summary: [ICE}
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: y121516 at gmail dot com


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

* [Bug c++/57981] gcc 4.8 is the ICE in this code
  2013-07-25  8:57 [Bug c++/57981] New: [ICE} y121516 at gmail dot com
@ 2013-07-25  9:03 ` y121516 at gmail dot com
  2013-07-25  9:09 ` y121516 at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: y121516 at gmail dot com @ 2013-07-25  9:03 UTC (permalink / raw)
  To: gcc-bugs

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

Yuhki Ogasawara <y121516 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[ICE}                       |gcc 4.8 is the ICE in this
                   |                            |code

--- Comment #1 from Yuhki Ogasawara <y121516 at gmail dot com> ---
source code here:

$ cat a.cpp
template<class T>
void f(T t, void* = 0)
{
}

template<class T>
auto g(T t) -> decltype(f(t))
{
 f(t);
}

int main()
{
 g(0);
}

compile: 

$ g++ -std=c++11 -Wall -Wextra -pedantic a.cpp

version:

$ /home/Yuhki/bin/gcc4.8/bin/g++ -v
Built by Equation Solution <http://www.Equation.com>.
Using built-in specs.
COLLECT_GCC=C:\cygwin\home\Yuhki\bin\gcc4.8\bin\g++.exe
COLLECT_LTO_WRAPPER=c:/cygwin/home/yuhki/bin/gcc4.8/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.1/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-4.8.1-mingw/configure --host=x86_64-w64-mingw32
--build=x86_64-unknown-linux-gnu --target=x86_64-w64-mingw32
--prefix=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/gcc/4.8.1
--with-sysroot=/home/gfortran/gcc-home/binary/mingw32/cross/x86_64/gcc/4.8.1
--with-gcc --with-gnu-ld --with-gnu-as
--with-gmp=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/gmp
--with-mpfr=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/mpfr
--with-mpc=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/mpc
--with-cloog=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/cloog
--with-isl=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/isl
--enable-cloog-backend=isl --enable-targets=i686-w64-mingw32,x86_64-w64-mingw32
--enable-lto --enable-languages=c,fortran,c++ --enable-libgomp
--enable-threads=win32 --enable-static --enable-shared=lto-plugin
--enable-plugins --enable-ld=yes --enable-libquadmath
--enable-libquadmath-support --disable-nls --disable-tls
--disable-win32-registry
Thread model: win32
gcc version 4.8.1 (GCC)


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

* [Bug c++/57981] gcc 4.8 is the ICE in this code
  2013-07-25  8:57 [Bug c++/57981] New: [ICE} y121516 at gmail dot com
  2013-07-25  9:03 ` [Bug c++/57981] gcc 4.8 is the ICE in this code y121516 at gmail dot com
@ 2013-07-25  9:09 ` y121516 at gmail dot com
  2013-07-25  9:26 ` paolo.carlini at oracle dot com
  2013-07-25 15:08 ` [Bug c++/57981] [4.8/4.9 Regression] " paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: y121516 at gmail dot com @ 2013-07-25  9:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Yuhki Ogasawara <y121516 at gmail dot com> ---
I'm sorry. I mistook in previous comment.

>compile: 
>
>$ g++ -std=c++11 -Wall -Wextra -pedantic a.cpp


compile (correct) and messages:

$ g++ -std=c++11 -Wall -Wextra -pedantic a.cpp
'
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug c++/57981] gcc 4.8 is the ICE in this code
  2013-07-25  8:57 [Bug c++/57981] New: [ICE} y121516 at gmail dot com
  2013-07-25  9:03 ` [Bug c++/57981] gcc 4.8 is the ICE in this code y121516 at gmail dot com
  2013-07-25  9:09 ` y121516 at gmail dot com
@ 2013-07-25  9:26 ` paolo.carlini at oracle dot com
  2013-07-25 15:08 ` [Bug c++/57981] [4.8/4.9 Regression] " paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-07-25  9:26 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-07-25
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com
     Ever confirmed|0                           |1

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Confirmed. The usual complain not propagated.


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

* [Bug c++/57981] [4.8/4.9 Regression] ICE in this code
  2013-07-25  8:57 [Bug c++/57981] New: [ICE} y121516 at gmail dot com
                   ` (2 preceding siblings ...)
  2013-07-25  9:26 ` paolo.carlini at oracle dot com
@ 2013-07-25 15:08 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-07-25 15:08 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.8.2

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed mainline and 4.8.2.


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

end of thread, other threads:[~2013-07-25 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-25  8:57 [Bug c++/57981] New: [ICE} y121516 at gmail dot com
2013-07-25  9:03 ` [Bug c++/57981] gcc 4.8 is the ICE in this code y121516 at gmail dot com
2013-07-25  9:09 ` y121516 at gmail dot com
2013-07-25  9:26 ` paolo.carlini at oracle dot com
2013-07-25 15:08 ` [Bug c++/57981] [4.8/4.9 Regression] " paolo.carlini at oracle dot com

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