public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57636] New: cr16: ICE while building libgcc
@ 2013-06-17  9:34 stefan at astylos dot dk
  2013-06-18  7:02 ` [Bug target/57636] " stefan at astylos dot dk
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: stefan at astylos dot dk @ 2013-06-17  9:34 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4453 bytes --]

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

            Bug ID: 57636
           Summary: cr16: ICE while building libgcc
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stefan at astylos dot dk
            Target: cr16-none-elf

# ./configure --target cr16-none-elf
# make all-gcc all-target-libgcc'
...
make[4]: Entering directory
`/home/ssorensen/sources/gcc-build/cr16-none-elf/far-pic/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
/home/ssorensen/sources/gcc-build/./gcc/xgcc
-B/home/ssorensen/sources/gcc-build/./gcc/ -B/usr/local/cr16-none-elf/bin/
-B/usr/local/cr16-none-elf/lib/ -isystem /usr/local/cr16-none-elf/include
-isystem /usr/local/cr16-none-elf/sys-include    -g -O2 -fPIC -mcr16cplus
-mdata-model=far -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -I. -I.
-I../../.././gcc -I../../../../gcc/libgcc -I../../../../gcc/libgcc/.
-I../../../../gcc/libgcc/../gcc -I../../../../gcc/libgcc/../include 
-DHAVE_CC_TLS -DUSE_EMUTLS -o _udivmoddi4.o -MT _udivmoddi4.o -MD -MP -MF
_udivmoddi4.dep -DL_udivmoddi4 -c ../../../../gcc/libgcc/libgcc2.c \
  -fexceptions -fnon-call-exceptions -fvisibility=hidden -DHIDE_EXPORTS
../../../../gcc/libgcc/libgcc2.c: In function ‘__udivmoddi4’:
../../../../gcc/libgcc/libgcc2.c:1112:1: internal compiler error: in
variable_post_merge_new_vals, at var-tracking.c:4430
 }
 ^
0x8d514b variable_post_merge_new_vals
    ../../gcc/gcc/var-tracking.c:4428
0x9e5cf7 htab_traverse_noresize
    ../../gcc/libiberty/hashtab.c:784
0x8d8511 dataflow_post_merge_adjust
    ../../gcc/gcc/var-tracking.c:4540
0x8d8511 vt_find_locations
    ../../gcc/gcc/var-tracking.c:6965
0x8de854 variable_tracking_main_1
    ../../gcc/gcc/var-tracking.c:10166
0x8de854 variable_tracking_main()
    ../../gcc/gcc/var-tracking.c:10212

Removing either the -g or the -O2 from the compile command avoids the ICE.

It was introduced in trunk@188870:
2012-06-21  Alexandre Oliva  <aoliva@redhat.com>

        PR debug/53671
        PR debug/49888
        * var-tracking.c (vt_initialize): Record initial offset between
        arg pointer and stack pointer.
>From gcc-bugs-return-424527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 17 09:43:46 2013
Return-Path: <gcc-bugs-return-424527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29427 invoked by alias); 17 Jun 2013 09:43:46 -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 29402 invoked by uid 48); 17 Jun 2013 09:43:43 -0000
From: "lailavrazda1979 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/57630] Error should include -stdÁ1 and friends
Date: Mon, 17 Jun 2013 09:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.8.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: lailavrazda1979 at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57630-4-Gr05LkS9Gp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57630-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57630-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-06/txt/msg00906.txt.bz2
Content-length: 127

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

--- Comment #3 from lailavrazda1979 at gmail dot com ---
Looks good to me.


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

* [Bug target/57636] cr16: ICE while building libgcc
  2013-06-17  9:34 [Bug target/57636] New: cr16: ICE while building libgcc stefan at astylos dot dk
@ 2013-06-18  7:02 ` stefan at astylos dot dk
  2013-07-08 16:07 ` jon at beniston dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: stefan at astylos dot dk @ 2013-06-18  7:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Stefan Sørensen <stefan at astylos dot dk> ---
Created attachment 30318
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30318&action=edit
Simple testcase that triggers the ICE when built with -Os -g
>From gcc-bugs-return-424571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 18 07:07:43 2013
Return-Path: <gcc-bugs-return-424571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11381 invoked by alias); 18 Jun 2013 07:07:43 -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 11346 invoked by uid 48); 18 Jun 2013 07:07:40 -0000
From: "dimhen at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/57613] [LTO] error "multiple definition symbol" for local symbol
Date: Tue, 18 Jun 2013 07:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dimhen at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-57613-4-aW54aXuUou@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57613-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57613-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-06/txt/msg00950.txt.bz2
Content-length: 355

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

Dmitry G. Dyachenko <dimhen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID


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

* [Bug target/57636] cr16: ICE while building libgcc
  2013-06-17  9:34 [Bug target/57636] New: cr16: ICE while building libgcc stefan at astylos dot dk
  2013-06-18  7:02 ` [Bug target/57636] " stefan at astylos dot dk
@ 2013-07-08 16:07 ` jon at beniston dot com
  2013-11-01 13:51 ` gcc at mag32 dot net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jon at beniston dot com @ 2013-07-08 16:07 UTC (permalink / raw)
  To: gcc-bugs

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

Jon Beniston <jon at beniston dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jon at beniston dot com

--- Comment #2 from Jon Beniston <jon at beniston dot com> ---
This looks similar to bug 57232 which is the same ICE on the RX and LM32 ports.


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

* [Bug target/57636] cr16: ICE while building libgcc
  2013-06-17  9:34 [Bug target/57636] New: cr16: ICE while building libgcc stefan at astylos dot dk
  2013-06-18  7:02 ` [Bug target/57636] " stefan at astylos dot dk
  2013-07-08 16:07 ` jon at beniston dot com
@ 2013-11-01 13:51 ` gcc at mag32 dot net
  2014-02-26 21:04 ` jon at beniston dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: gcc at mag32 dot net @ 2013-11-01 13:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from gcc at mag32 dot net ---
Created attachment 31134
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31134&action=edit
-save-temps file

This is the -save-temps file generated when I run the offending command.


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

* [Bug target/57636] cr16: ICE while building libgcc
  2013-06-17  9:34 [Bug target/57636] New: cr16: ICE while building libgcc stefan at astylos dot dk
                   ` (2 preceding siblings ...)
  2013-11-01 13:51 ` gcc at mag32 dot net
@ 2014-02-26 21:04 ` jon at beniston dot com
  2014-12-24 23:09 ` yselkowi at redhat dot com
  2021-08-30  3:36 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jon at beniston dot com @ 2014-02-26 21:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jon Beniston <jon at beniston dot com> ---
It's worth trying the fix posted for bug 57232.


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

* [Bug target/57636] cr16: ICE while building libgcc
  2013-06-17  9:34 [Bug target/57636] New: cr16: ICE while building libgcc stefan at astylos dot dk
                   ` (3 preceding siblings ...)
  2014-02-26 21:04 ` jon at beniston dot com
@ 2014-12-24 23:09 ` yselkowi at redhat dot com
  2021-08-30  3:36 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: yselkowi at redhat dot com @ 2014-12-24 23:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Yaakov Selkowitz <yselkowi at redhat dot com> ---
This is working in 4.9.2, so it seems that indeed fixed it.


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

* [Bug target/57636] cr16: ICE while building libgcc
  2013-06-17  9:34 [Bug target/57636] New: cr16: ICE while building libgcc stefan at astylos dot dk
                   ` (4 preceding siblings ...)
  2014-12-24 23:09 ` yselkowi at redhat dot com
@ 2021-08-30  3:36 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-30  3:36 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.2
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Yaakov Selkowitz from comment #6)
> This is working in 4.9.2, so it seems that indeed fixed it.

So closing.

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

end of thread, other threads:[~2021-08-30  3:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-17  9:34 [Bug target/57636] New: cr16: ICE while building libgcc stefan at astylos dot dk
2013-06-18  7:02 ` [Bug target/57636] " stefan at astylos dot dk
2013-07-08 16:07 ` jon at beniston dot com
2013-11-01 13:51 ` gcc at mag32 dot net
2014-02-26 21:04 ` jon at beniston dot com
2014-12-24 23:09 ` yselkowi at redhat dot com
2021-08-30  3:36 ` 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).