public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/57597] New: ICE: in get_section, at varasm.c:312: Segmentation fault
@ 2013-06-12 14:02 gjl at gcc dot gnu.org
  2013-06-12 14:03 ` [Bug other/57597] ICE: in get_section, at varasm.c:312: Segmentation fault with -fmerge-all-constants gjl at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-06-12 14:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57597
           Summary: ICE: in get_section, at varasm.c:312: Segmentation
                    fault
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gjl at gcc dot gnu.org
              Host: i386-mingw32
            Target: avr
             Build: i686-linux-gnu

Created attachment 30299
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30299&action=edit
foo.c: C test case

Compile the test case with

avr-gcc -mmcu=atmega168 -S foo.c -fmerge-all-constants -O
foo.c:12:1: internal compiler error: in get_section, at varasm.c:312
 }
 ^
foo.c:12:1: internal compiler error: Segmentation fault

This might be related to PR50739

== configure ==

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)


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

* [Bug other/57597] ICE: in get_section, at varasm.c:312: Segmentation fault with -fmerge-all-constants
  2013-06-12 14:02 [Bug other/57597] New: ICE: in get_section, at varasm.c:312: Segmentation fault gjl at gcc dot gnu.org
@ 2013-06-12 14:03 ` gjl at gcc dot gnu.org
  2015-03-30  4:05 ` [Bug target/57597] " gjl at gcc dot gnu.org
  2024-03-15 22:16 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-06-12 14:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-12
                 CC|                            |gjl at gcc dot gnu.org
            Summary|ICE: in get_section, at     |ICE: in get_section, at
                   |varasm.c:312: Segmentation  |varasm.c:312: Segmentation
                   |fault                       |fault with
                   |                            |-fmerge-all-constants
     Ever confirmed|0                           |1


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

* [Bug target/57597] ICE: in get_section, at varasm.c:312: Segmentation fault with -fmerge-all-constants
  2013-06-12 14:02 [Bug other/57597] New: ICE: in get_section, at varasm.c:312: Segmentation fault gjl at gcc dot gnu.org
  2013-06-12 14:03 ` [Bug other/57597] ICE: in get_section, at varasm.c:312: Segmentation fault with -fmerge-all-constants gjl at gcc dot gnu.org
@ 2015-03-30  4:05 ` gjl at gcc dot gnu.org
  2024-03-15 22:16 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2015-03-30  4:05 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfnsonfsduifb at gmx dot de

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
*** Bug 65507 has been marked as a duplicate of this bug. ***


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

* [Bug target/57597] ICE: in get_section, at varasm.c:312: Segmentation fault with -fmerge-all-constants
  2013-06-12 14:02 [Bug other/57597] New: ICE: in get_section, at varasm.c:312: Segmentation fault gjl at gcc dot gnu.org
  2013-06-12 14:03 ` [Bug other/57597] ICE: in get_section, at varasm.c:312: Segmentation fault with -fmerge-all-constants gjl at gcc dot gnu.org
  2015-03-30  4:05 ` [Bug target/57597] " gjl at gcc dot gnu.org
@ 2024-03-15 22:16 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-15 22:16 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |5.4
         Resolution|---                         |FIXED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks to be fixed.

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

end of thread, other threads:[~2024-03-15 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-12 14:02 [Bug other/57597] New: ICE: in get_section, at varasm.c:312: Segmentation fault gjl at gcc dot gnu.org
2013-06-12 14:03 ` [Bug other/57597] ICE: in get_section, at varasm.c:312: Segmentation fault with -fmerge-all-constants gjl at gcc dot gnu.org
2015-03-30  4:05 ` [Bug target/57597] " gjl at gcc dot gnu.org
2024-03-15 22:16 ` pinskia 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).