public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/57232] New: wcstol.c:213:1: internal compiler error
@ 2013-05-10 7:24 daniel.calcoen at cern dot ch
2013-05-10 7:27 ` [Bug c++/57232] " daniel.calcoen at cern dot ch
` (20 more replies)
0 siblings, 21 replies; 22+ messages in thread
From: daniel.calcoen at cern dot ch @ 2013-05-10 7:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
Bug ID: 57232
Summary: wcstol.c:213:1: internal compiler error
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel.calcoen at cern dot ch
Created attachment 30081
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30081&action=edit
output of the make for newlib, where the error message is
Building my native cross-compiler
THIS_PLATFORM=i686-pc-linux-gnu
WANTED_COMPILER_PLATFORM=THIS_PLATFORM
WANTED_COMPILER_CODE=rx-elf
binutils, GMP, MPFR, MPC, 1st part of GCC pass ok
but at the build of newlib I get the message
rx-elf-gcc -B/home/dcalcoen/rx/bld/linux/newlib/rx-elf/64-bit-double/newlib/
-isystem
/home/dcalcoen/rx/bld/linux/newlib/rx-elf/64-bit-double/newlib/targ-include
-isystem /home/dcalcoen/gitMirror/newlib/newlib/libc/include
-B/home/dcalcoen/rx/bld/linux/newlib/rx-elf/64-bit-double/libgloss/rx
-L/home/dcalcoen/rx/bld/linux/newlib/rx-elf/64-bit-double/libgloss/libnosys
-L/home/dcalcoen/gitMirror/newlib/libgloss/rx -m64bit-doubles
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"newlib\ 2.0.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
-I/home/dcalcoen/gitMirror/newlib/newlib/libc/stdlib -ffunction-sections
-fdata-sections -Os -DREENTRANT_SYSCALLS_PROVIDED -DINTERNAL_NEWLIB
-DDEFINE_MALLOC -DDEFINE_FREE -DDEFINE_REALLOC -DDEFINE_CALLOC -fno-builtin
-g -O2 -m64bit-doubles -c -o lib_a-wcstol.o `test -f 'wcstol.c' || echo
'/home/dcalcoen/gitMirror/newlib/newlib/libc/stdlib/'`wcstol.c
/home/dcalcoen/gitMirror/newlib/newlib/libc/stdlib/wcstol.c: In function
"_wcstol_r":
/home/dcalcoen/gitMirror/newlib/newlib/libc/stdlib/wcstol.c:213:1: internal
compiler error: in variable_post_merge_new_vals, at var-tracking.c:4430
}
^
0x8548cfc variable_post_merge_new_vals
/home/dcalcoen/gitMirror/gcc/gcc/var-tracking.c:4430
0x8685165 htab_traverse_noresize
/home/dcalcoen/gitMirror/gcc/libiberty/hashtab.c:784
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug c++/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
@ 2013-05-10 7:27 ` daniel.calcoen at cern dot ch
2013-05-10 7:30 ` [Bug debug/57232] " mpolacek at gcc dot gnu.org
` (19 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: daniel.calcoen at cern dot ch @ 2013-05-10 7:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #1 from daniel.calcoen at cern dot ch ---
Created attachment 30082
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30082&action=edit
zip with the different configure.out and make.out
zip with the different configure.out and make.out
I build my gcc cross compiler in 7 steps (building newlib is in step 6)
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug debug/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
2013-05-10 7:27 ` [Bug c++/57232] " daniel.calcoen at cern dot ch
@ 2013-05-10 7:30 ` mpolacek at gcc dot gnu.org
2013-05-10 7:31 ` daniel.calcoen at cern dot ch
` (18 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-05-10 7:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2013-05-10
CC| |mpolacek at gcc dot gnu.org
Component|c++ |debug
Ever confirmed|0 |1
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Well, we will need the preprocessed source.
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug debug/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
2013-05-10 7:27 ` [Bug c++/57232] " daniel.calcoen at cern dot ch
2013-05-10 7:30 ` [Bug debug/57232] " mpolacek at gcc dot gnu.org
@ 2013-05-10 7:31 ` daniel.calcoen at cern dot ch
2013-05-10 7:34 ` daniel.calcoen at cern dot ch
` (17 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: daniel.calcoen at cern dot ch @ 2013-05-10 7:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #3 from daniel.calcoen at cern dot ch ---
Created attachment 30083
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30083&action=edit
my "touched" configure.host for newlib
I added some switches I need to configure.host for newlib
this is the only file I have different from the git repository
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug debug/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (2 preceding siblings ...)
2013-05-10 7:31 ` daniel.calcoen at cern dot ch
@ 2013-05-10 7:34 ` daniel.calcoen at cern dot ch
2013-05-10 7:44 ` mpolacek at gcc dot gnu.org
` (16 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: daniel.calcoen at cern dot ch @ 2013-05-10 7:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #4 from daniel.calcoen at cern dot ch ---
Hi,
Any file in particular?.
I did a git pull on Wednesday on the 4.8 branch. (and binutils and newlib)
I attached the sh I use to build my cross compiler and the only file I
"touched".
Daniel
-----Original Message-----
From: mpolacek at gcc dot gnu.org [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: 10 May 2013 09:31
To: Daniel Calcoen
Subject: [Bug debug/57232] wcstol.c:213:1: internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2013-05-10
CC| |mpolacek at gcc dot gnu.org
Component|c++ |debug
Ever confirmed|0 |1
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Well, we will need the preprocessed source.
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug debug/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (3 preceding siblings ...)
2013-05-10 7:34 ` daniel.calcoen at cern dot ch
@ 2013-05-10 7:44 ` mpolacek at gcc dot gnu.org
2013-05-10 7:54 ` daniel.calcoen at cern dot ch
` (15 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-05-10 7:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to daniel.calcoen from comment #4)
> Hi,
>
> Any file in particular?.
The one where the ICE occurs, i.e. preprocessed wcstol.c in this case.
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug debug/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (4 preceding siblings ...)
2013-05-10 7:44 ` mpolacek at gcc dot gnu.org
@ 2013-05-10 7:54 ` daniel.calcoen at cern dot ch
2013-05-10 7:56 ` rguenth at gcc dot gnu.org
` (14 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: daniel.calcoen at cern dot ch @ 2013-05-10 7:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #6 from daniel.calcoen at cern dot ch ---
The sources I use
wcstol.c
http://sourceware.org/git/?p=newlib.git;a=blob;f=newlib/libc/stdlib/wcstol.c;h=e23254dc217854801d1c8be76cfc6501c505cc61;hb=053c8948b774d92ab009b30e70a9e65c11bbd5c3
Newlib repo (I use HEAD)
http://sourceware.org/git/?p=newlib.git;a=summary
binutils repo (I use HEAD)
http://sourceware.org/git/?p=binutils.git;a=summary
gcc repo (I use branch gcc-4_8-branch)
http://gcc.gnu.org/wiki/GitMirror/
ftp://ftp.gmplib.org/pub/gmp-5.1.1/gmp-5.1.1.tar.lz
http://www.mpfr.org/mpfr-current/mpfr-3.1.2.tar.bz2
http://www.multiprecision.org/mpc/download/mpc-1.0.1.tar.gz
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug debug/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (5 preceding siblings ...)
2013-05-10 7:54 ` daniel.calcoen at cern dot ch
@ 2013-05-10 7:56 ` rguenth at gcc dot gnu.org
2013-05-10 8:28 ` daniel.calcoen at cern dot ch
` (13 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-05-10 7:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
The file /home/dcalcoen/gitMirror/newlib/newlib/libc/stdlib/wcstol.c
preprocessed
by appending -save-temps to the command-line that crashes the compiler. The
preprocessed source will be named wcstol.i
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug debug/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (6 preceding siblings ...)
2013-05-10 7:56 ` rguenth at gcc dot gnu.org
@ 2013-05-10 8:28 ` daniel.calcoen at cern dot ch
2013-05-12 2:53 ` [Bug target/57232] " pinskia at gcc dot gnu.org
` (12 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: daniel.calcoen at cern dot ch @ 2013-05-10 8:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #8 from daniel.calcoen at cern dot ch ---
Created attachment 30085
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30085&action=edit
wcstol.i
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (7 preceding siblings ...)
2013-05-10 8:28 ` daniel.calcoen at cern dot ch
@ 2013-05-12 2:53 ` pinskia at gcc dot gnu.org
2013-05-24 16:09 ` daniel.calcoen at cern dot ch
` (11 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-05-12 2:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |rx-elf
Status|WAITING |UNCONFIRMED
Component|debug |target
Ever confirmed|1 |0
Severity|blocker |normal
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (8 preceding siblings ...)
2013-05-12 2:53 ` [Bug target/57232] " pinskia at gcc dot gnu.org
@ 2013-05-24 16:09 ` daniel.calcoen at cern dot ch
2013-07-08 15:06 ` jon at beniston dot com
` (10 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: daniel.calcoen at cern dot ch @ 2013-05-24 16:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #9 from daniel.calcoen at cern dot ch ---
building gcc-4_7-branch instead of gcc-4_8-branch
pass ok
(binutils, GMP, MPFR, MPC, and newlib sources remains the same)
is some regression introduced in 4.8
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (9 preceding siblings ...)
2013-05-24 16:09 ` daniel.calcoen at cern dot ch
@ 2013-07-08 15:06 ` jon at beniston dot com
2013-07-08 15:45 ` jon at beniston dot com
` (9 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: jon at beniston dot com @ 2013-07-08 15:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
Jon Beniston <jon at beniston dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jon at beniston dot com
--- Comment #10 from Jon Beniston <jon at beniston dot com> ---
A similar problem is seen in the LM32 port:
http://gcc.gnu.org/ml/gcc/2013-03/msg00317.html
It appeared for that in GCC 4.8.0 and is still in GCC 4.8.1.
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (10 preceding siblings ...)
2013-07-08 15:06 ` jon at beniston dot com
@ 2013-07-08 15:45 ` jon at beniston dot com
2013-07-08 16:06 ` jon at beniston dot com
` (8 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: jon at beniston dot com @ 2013-07-08 15:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
Jon Beniston <jon at beniston dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #11 from Jon Beniston <jon at beniston dot com> ---
Adding Nick Clifton to the CC list.
It seems the bug was known about a while back:
http://gcc.gnu.org/ml/gcc/2012-10/msg00314.html
Any luck with this Nick?
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (11 preceding siblings ...)
2013-07-08 15:45 ` jon at beniston dot com
@ 2013-07-08 16:06 ` jon at beniston dot com
2013-07-08 19:29 ` jon at beniston dot com
` (7 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: jon at beniston dot com @ 2013-07-08 16:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #12 from Jon Beniston <jon at beniston dot com> ---
This looks like it might be similar to bug 57636, which has the same ICE on the
cr16 port.
Suggestion there is that 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.
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (12 preceding siblings ...)
2013-07-08 16:06 ` jon at beniston dot com
@ 2013-07-08 19:29 ` jon at beniston dot com
2014-02-16 14:49 ` gcc at jaseg dot net
` (6 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: jon at beniston dot com @ 2013-07-08 19:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
Jon Beniston <jon at beniston dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aoliva at gcc dot gnu.org
--- Comment #13 from Jon Beniston <jon at beniston dot com> ---
Hi Alexandre, I've added you to this bug as it seems to have been caused by
this patch you made:
http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/var-tracking.c?r1=188869&r2=188870
I've got no idea what this code does, but if I removed it, the ICE disappears
on LM32. If you think it is a backend problem, rather than this code, it would
be helpful if you could give some guidance as to what needs changing, as it
seems three targets currently have this problem. Thanks.
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (13 preceding siblings ...)
2013-07-08 19:29 ` jon at beniston dot com
@ 2014-02-16 14:49 ` gcc at jaseg dot net
2014-02-19 15:28 ` gcc at jaseg dot net
` (5 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: gcc at jaseg dot net @ 2014-02-16 14:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
Sebastian Götte <gcc at jaseg dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gcc at jaseg dot net
--- Comment #14 from Sebastian Götte <gcc at jaseg dot net> ---
I am getting the exact same problem trying to cross-compile rx-elf-gcc 4.8.2
with gcc 4.8.2 on my x86_64 archlinux.
>From gcc-bugs-return-443831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 16 16:26:17 2014
Return-Path: <gcc-bugs-return-443831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19824 invoked by alias); 16 Feb 2014 16:26:16 -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 19771 invoked by uid 48); 16 Feb 2014 16:26:12 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/49847] [4.7/4.8/4.9 Regression] NULL deref in fold_rtx (prev_insn_cc0 == NULL)
Date: Sun, 16 Feb 2014 16:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.7.0
X-Bugzilla-Keywords: build, ice-on-valid-code
X-Bugzilla-Severity: critical
X-Bugzilla-Who: law at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-49847-4-myMGOgSwSp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49847-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49847-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: 2014-02/txt/msg01588.txt.bz2
Content-length: 886
http://gcc.gnu.org/bugzilla/show_bug.cgi?idI847
--- Comment #32 from Jeffrey A. Law <law at redhat dot com> ---
The problem we're seeing is with the cc0-setter and cc0-user in different
blocks, they're separated by a NOTE_BASIC_BLOCK.
That causes CSE to blow up because it expects that the cc0-setter and cc0-user
are always consecutive. While we're just seeing the failure in CSE right now,
I'm sure there's a ton of places that assume the setter/user are inseparable as
that has been the documented form for ~20 years.
>From rtl.texi:
The instruction setting the
condition code must be adjacent to the instruction using the condition
code; only @code{note} insns may separate them.
We either need to relax that and audit all the HAVE_cc0 code to ensure it
doesn't make that assumption, or we need to somehow restore the property that
the setter and user are inseparable.
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (14 preceding siblings ...)
2014-02-16 14:49 ` gcc at jaseg dot net
@ 2014-02-19 15:28 ` gcc at jaseg dot net
2014-02-19 15:33 ` nickc at redhat dot com
` (4 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: gcc at jaseg dot net @ 2014-02-19 15:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #16 from Sebastian Götte <gcc at jaseg dot net> ---
Alexandre, curiously, applying this patch to the cross-compiler source tree
fixes the problem for me building 4.8.2 for rx-elf using a 4.8.2 x86_64 host
gcc. I did not even have to rebuild the host gcc.
>From gcc-bugs-return-444217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 19 15:28:03 2014
Return-Path: <gcc-bugs-return-444217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27316 invoked by alias); 19 Feb 2014 15:28:02 -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 26676 invoked by uid 48); 19 Feb 2014 15:27:57 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/54737] ICE on PA-RISC with LTO and -ftrapv
Date: Wed, 19 Feb 2014 15:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.7.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
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 cc resolution
Message-ID: <bug-54737-4-Zsrg83GZ2O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54737-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54737-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: 2014-02/txt/msg01974.txt.bz2
Content-length: 623
http://gcc.gnu.org/bugzilla/show_bug.cgi?idT737
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |danglin at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
There is a patch in 60155 that probably fixes this PR.
*** This bug has been marked as a duplicate of bug 60155 ***
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (15 preceding siblings ...)
2014-02-19 15:28 ` gcc at jaseg dot net
@ 2014-02-19 15:33 ` nickc at redhat dot com
2014-02-26 16:08 ` jon at beniston dot com
` (3 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: nickc at redhat dot com @ 2014-02-19 15:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #17 from Nick Clifton <nickc at redhat dot com> ---
Hi Alex,
> if (reg != hard_frame_pointer_rtx && fixed_regs[REGNO (reg)])
> cselib_preserve_cfa_base_value (val, REGNO (reg));
This works for the RX port - thanks!
Cheers
Nick
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (16 preceding siblings ...)
2014-02-19 15:33 ` nickc at redhat dot com
@ 2014-02-26 16:08 ` jon at beniston dot com
2014-02-27 5:10 ` [Bug debug/57232] " aoliva at gcc dot gnu.org
` (2 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: jon at beniston dot com @ 2014-02-26 16:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #18 from Jon Beniston <jon at beniston dot com> ---
Thanks, this seems to fix the LM32 port.
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug debug/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (17 preceding siblings ...)
2014-02-26 16:08 ` jon at beniston dot com
@ 2014-02-27 5:10 ` aoliva at gcc dot gnu.org
2014-02-28 12:46 ` aoliva at gcc dot gnu.org
2014-02-28 13:02 ` aoliva at gcc dot gnu.org
20 siblings, 0 replies; 22+ messages in thread
From: aoliva at gcc dot gnu.org @ 2014-02-27 5:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|2013-05-10 00:00:00 |2014-02-27
Component|target |debug
Ever confirmed|0 |1
--- Comment #19 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Adjusting component before posting patch to gcc-patches.
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug debug/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (18 preceding siblings ...)
2014-02-27 5:10 ` [Bug debug/57232] " aoliva at gcc dot gnu.org
@ 2014-02-28 12:46 ` aoliva at gcc dot gnu.org
2014-02-28 13:02 ` aoliva at gcc dot gnu.org
20 siblings, 0 replies; 22+ messages in thread
From: aoliva at gcc dot gnu.org @ 2014-02-28 12:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
--- Comment #20 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Author: aoliva
Date: Fri Feb 28 12:45:36 2014
New Revision: 208219
URL: http://gcc.gnu.org/viewcvs?rev=208219&root=gcc&view=rev
Log:
PR debug/57232
* var-tracking.c (vt_initialize): Apply the same condition to
preserve the CFA base value.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/var-tracking.c
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug debug/57232] wcstol.c:213:1: internal compiler error
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
` (19 preceding siblings ...)
2014-02-28 12:46 ` aoliva at gcc dot gnu.org
@ 2014-02-28 13:02 ` aoliva at gcc dot gnu.org
20 siblings, 0 replies; 22+ messages in thread
From: aoliva at gcc dot gnu.org @ 2014-02-28 13:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #21 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Fixed
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2014-02-28 13:02 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-10 7:24 [Bug c++/57232] New: wcstol.c:213:1: internal compiler error daniel.calcoen at cern dot ch
2013-05-10 7:27 ` [Bug c++/57232] " daniel.calcoen at cern dot ch
2013-05-10 7:30 ` [Bug debug/57232] " mpolacek at gcc dot gnu.org
2013-05-10 7:31 ` daniel.calcoen at cern dot ch
2013-05-10 7:34 ` daniel.calcoen at cern dot ch
2013-05-10 7:44 ` mpolacek at gcc dot gnu.org
2013-05-10 7:54 ` daniel.calcoen at cern dot ch
2013-05-10 7:56 ` rguenth at gcc dot gnu.org
2013-05-10 8:28 ` daniel.calcoen at cern dot ch
2013-05-12 2:53 ` [Bug target/57232] " pinskia at gcc dot gnu.org
2013-05-24 16:09 ` daniel.calcoen at cern dot ch
2013-07-08 15:06 ` jon at beniston dot com
2013-07-08 15:45 ` jon at beniston dot com
2013-07-08 16:06 ` jon at beniston dot com
2013-07-08 19:29 ` jon at beniston dot com
2014-02-16 14:49 ` gcc at jaseg dot net
2014-02-19 15:28 ` gcc at jaseg dot net
2014-02-19 15:33 ` nickc at redhat dot com
2014-02-26 16:08 ` jon at beniston dot com
2014-02-27 5:10 ` [Bug debug/57232] " aoliva at gcc dot gnu.org
2014-02-28 12:46 ` aoliva at gcc dot gnu.org
2014-02-28 13:02 ` aoliva 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).