public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360
@ 2013-09-09 22:03 peter at stegemann dot net
  2013-09-09 22:05 ` [Bug c++/58375] " paolo.carlini at oracle dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: peter at stegemann dot net @ 2013-09-09 22:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58375
           Summary: internal compiler error: in push_reload, at
                    reload.c:1360
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: peter at stegemann dot net

Created attachment 30778
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30778&action=edit
The culprit

-------- begin --------
avr-gcc-4.8.1 (GCC) 4.8.1
Copyright (C) 2013 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.


Compiling C++: Source/Channel.cpp
avr-gcc-4.8.1 -c -mmcu=atmega2561 -I. -x c++ -include Setup.h -g
-DF_CPU=14745600UL  -DSYSTEM_VERSION= -DSYSTEM_MODE=
-DSYSTEM_STATUS_DISPLAY_MODE= -Os -funsigned-char -funsigned-bitfields
-fpack-struct -fcheck-new -fshort-enums -fno-exceptions -fno-rtti -Wall
-ISource -MMD -MP -MF .dep/Channel.o.d Source/Channel.cpp -o
obj/Source/Channel.o 
Source/Channel.cpp: In member function 'virtual void
Screen_Setup_Channel::display()':
Source/Channel.cpp:44:1: internal compiler error: in push_reload, at
reload.c:1360
 }
 ^
libbacktrace could not find executable to open


See the attached condensed project - slight changes in the source remove the
problem.

$ avr-gcc-4.8.1 -v
Using built-in specs.
COLLECT_GCC=avr-gcc-4.8.1
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/avr/4.8.1/lto-wrapper
Target: avr
Configured with: ../configure --target=avr --with-gmp=/opt/local/ --disable-nls
--enable-languages=c,c++ : (reconfigured) ../configure --program-suffix=-4.8.1
--target=avr --with-gmp=/opt/local/ --disable-nls --disable-libssp
--enable-languages=c,c++
Thread model: single
gcc version 4.8.1 (GCC)


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

* [Bug c++/58375] internal compiler error: in push_reload, at reload.c:1360
  2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
@ 2013-09-09 22:05 ` paolo.carlini at oracle dot com
  2013-09-09 22:06 ` paolo.carlini at oracle dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-09-09 22:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Doesn't look like a C++ front-end issue


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

* [Bug c++/58375] internal compiler error: in push_reload, at reload.c:1360
  2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
  2013-09-09 22:05 ` [Bug c++/58375] " paolo.carlini at oracle dot com
@ 2013-09-09 22:06 ` paolo.carlini at oracle dot com
  2013-09-10  8:44 ` [Bug target/58375] " gjl at gcc dot gnu.org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-09-09 22:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|peter at stegemann dot net         |
           Severity|blocker                     |normal


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

* [Bug target/58375] internal compiler error: in push_reload, at reload.c:1360
  2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
  2013-09-09 22:05 ` [Bug c++/58375] " paolo.carlini at oracle dot com
  2013-09-09 22:06 ` paolo.carlini at oracle dot com
@ 2013-09-10  8:44 ` gjl at gcc dot gnu.org
  2013-09-10 17:26 ` gjl at gcc dot gnu.org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-09-10  8:44 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|AVR/ATmega2561              |avr
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-09-10
                 CC|                            |gjl at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
(In reply to Peter Stegemann from comment #0)
> The culprit

Would you please add a minimal test case / preprocessed file and avoid zip
files as explained in the bug reporting hints.  Thanks.

http://gcc.gnu.org/bugs/#need
http://gcc.gnu.org/bugs/#detailed


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

* [Bug target/58375] internal compiler error: in push_reload, at reload.c:1360
  2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
                   ` (2 preceding siblings ...)
  2013-09-10  8:44 ` [Bug target/58375] " gjl at gcc dot gnu.org
@ 2013-09-10 17:26 ` gjl at gcc dot gnu.org
  2013-09-10 17:29 ` [Bug other/58375] [4.8 Regression] " gjl at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-09-10 17:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Created attachment 30792
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30792&action=edit
Channel.cpp C++ source

Confirmed with this source, looks like a register allocator issue.

$ avr-g++ Channel.cpp -mmcu=atmega2561 -Os  -c -v

Target: avr
Configured with: ../../gcc.gnu.org/trunk/configure --target=avr
--prefix=/local/gnu/install/gcc-4.8-mingw32 --host=i386-mingw32
--build=i686-linux-gnu --enable-languages=c,c++ --disable-nls --disable-shared
--with-dwarf2
Thread model: single
gcc version 4.8.0 20130306 (experimental) (GCC) 

GNU C++ (GCC) version 4.8.0 20130306 (experimental) (avr)
    compiled by GNU C version 3.4.5 (mingw-vista special r2), GMP version
4.3.2, MPFR version 2.4.2, MPC version 0.8.2

Channel.cpp: In member function 'virtual void Screen_Setup_Channel::display()':
Channel.cpp:101:1: internal compiler error: in push_reload, at reload.c:1360
 }
 ^

Channel.cpp:101:1: internal compiler error: Segmentation fault


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

* [Bug other/58375] [4.8 Regression] internal compiler error: in push_reload, at reload.c:1360
  2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
                   ` (3 preceding siblings ...)
  2013-09-10 17:26 ` gjl at gcc dot gnu.org
@ 2013-09-10 17:29 ` gjl at gcc dot gnu.org
  2013-11-19  9:52 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-09-10 17:29 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ra
             Status|WAITING                     |NEW
          Component|target                      |other
      Known to work|                            |4.7.2
               Host|MacOS 10.8 (Darwin          |
                   |linus.fritz.box 12.4.0      |
                   |Darwin Kernel Version       |
                   |12.4.0: Wed May  1 17:57:12 |
                   |PDT 2013;                   |
                   |root:xnu-2050.24.15~1/RELEA |
                   |SE_X86_64 x86_64)           |
             Blocks|                            |56183
            Summary|internal compiler error: in |[4.8 Regression] internal
                   |push_reload, at             |compiler error: in
                   |reload.c:1360               |push_reload, at
                   |                            |reload.c:1360


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

* [Bug other/58375] [4.8 Regression] internal compiler error: in push_reload, at reload.c:1360
  2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
                   ` (4 preceding siblings ...)
  2013-09-10 17:29 ` [Bug other/58375] [4.8 Regression] " gjl at gcc dot gnu.org
@ 2013-11-19  9:52 ` rguenth at gcc dot gnu.org
  2014-05-22  9:06 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-19  9:52 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.3


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

* [Bug other/58375] [4.8 Regression] internal compiler error: in push_reload, at reload.c:1360
  2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
                   ` (5 preceding siblings ...)
  2013-11-19  9:52 ` rguenth at gcc dot gnu.org
@ 2014-05-22  9:06 ` rguenth at gcc dot gnu.org
  2014-12-10 12:47 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-05-22  9:06 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.3                       |4.8.4

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 4.8.3 is being released, adjusting target milestone.


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

* [Bug other/58375] [4.8 Regression] internal compiler error: in push_reload, at reload.c:1360
  2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
                   ` (6 preceding siblings ...)
  2014-05-22  9:06 ` rguenth at gcc dot gnu.org
@ 2014-12-10 12:47 ` rguenth at gcc dot gnu.org
  2014-12-19 13:34 ` jakub at gcc dot gnu.org
  2015-06-23  8:43 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-10 12:47 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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

* [Bug other/58375] [4.8 Regression] internal compiler error: in push_reload, at reload.c:1360
  2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
                   ` (7 preceding siblings ...)
  2014-12-10 12:47 ` rguenth at gcc dot gnu.org
@ 2014-12-19 13:34 ` jakub at gcc dot gnu.org
  2015-06-23  8:43 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:34 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.4                       |4.8.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.4 has been released.


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

* [Bug other/58375] [4.8 Regression] internal compiler error: in push_reload, at reload.c:1360
  2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
                   ` (8 preceding siblings ...)
  2014-12-19 13:34 ` jakub at gcc dot gnu.org
@ 2015-06-23  8:43 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|4.8.5                       |4.9.0
      Known to fail|                            |4.8.5

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed for 4.9.0.


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

end of thread, other threads:[~2015-06-23  8:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-09 22:03 [Bug c++/58375] New: internal compiler error: in push_reload, at reload.c:1360 peter at stegemann dot net
2013-09-09 22:05 ` [Bug c++/58375] " paolo.carlini at oracle dot com
2013-09-09 22:06 ` paolo.carlini at oracle dot com
2013-09-10  8:44 ` [Bug target/58375] " gjl at gcc dot gnu.org
2013-09-10 17:26 ` gjl at gcc dot gnu.org
2013-09-10 17:29 ` [Bug other/58375] [4.8 Regression] " gjl at gcc dot gnu.org
2013-11-19  9:52 ` rguenth at gcc dot gnu.org
2014-05-22  9:06 ` rguenth at gcc dot gnu.org
2014-12-10 12:47 ` rguenth at gcc dot gnu.org
2014-12-19 13:34 ` jakub at gcc dot gnu.org
2015-06-23  8:43 ` rguenth 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).