public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
@ 2014-06-08 8:18 ubizjak at gmail dot com
2014-06-08 10:57 ` [Bug rtl-optimization/61446] " dominiq at lps dot ens.fr
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2014-06-08 8:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
Bug ID: 61446
Summary: [4.10 Regression]: ICE in copyprop_hardreg_forward_1,
at regcprop.c with -O2 -m32 -march=corei7
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ubizjak at gmail dot com
Following testcase:
--cut here--
unsigned long long
__fixunssfdi (float a)
{
const double dfa = a;
const unsigned int hi = dfa / 0x1p32f;
const unsigned int lo = dfa - (double) hi * 0x1p32f;
return ((unsigned long long) hi << (4 * (8))) | lo;
}
--cut here--
ICEs on x86_64-pc-linux-gnu with "-O2 -m32 -march=corei7":
./cc1 -O2 -m32 -march=corei7 ree.c
__fixunssfdi
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> <visibility> <early_local_cleanups> <*free_inline_summary>
<whole-program> <profile_estimate> <devirt> <cp> <inline> <pure-const>
<static-var> <comdats>Assembling functions:
__fixunssfdi
ree.c: In function ‘__fixunssfdi’:
ree.c:11:1: error: insn does not satisfy its constraints:
}
^
(insn 54 11 47 2 (set (reg:DI 0 ax)
(reg:DI 21 xmm0)) ree.c:7 89 {*movdi_internal}
(expr_list:REG_UNUSED (reg:DI 0 ax)
(nil)))
ree.c:11:1: internal compiler error: in copyprop_hardreg_forward_1, at
regcprop.c:776
0x96bec8 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/home/uros/gcc-svn/trunk/gcc/rtl-error.c:109
0x96beef _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/home/uros/gcc-svn/trunk/gcc/rtl-error.c:120
0x9462a4 copyprop_hardreg_forward_1
/home/uros/gcc-svn/trunk/gcc/regcprop.c:776
0x94645a execute
/home/uros/gcc-svn/trunk/gcc/regcprop.c:1264
Please submit a full bug report,
...
_.split2 pass generates:
...
(insn 11 45 46 2 (set (reg/v:SI 0 ax [orig:85 hi ] [85])
(reg:SI 2 cx [99])) ree.c:7 90 {*movsi_internal}
(nil))
(insn 46 11 47 2 (set (reg:DI 21 xmm0 [118])
(zero_extend:DI (reg/v:SI 0 ax [orig:85 hi ] [85]))) ree.c:10 133
{*zero_extendsidi2}
(nil))
(insn 47 46 48 2 (set (mem/c:DI (reg/f:SI 7 sp) [0 S8 A64])
(reg:DI 21 xmm0 [118])) ree.c:10 89 {*movdi_internal}
(nil))
(insn 48 47 13 2 (set (reg:DF 9 st(1) [orig:101 D.1856 ] [101])
(float:DF (mem/c:DI (reg/f:SI 7 sp) [0 S8 A64]))) ree.c:10 206
{*floatdidf2_i387}
(nil))
...
and this sequence is transformed in _.ree pass to:
...
(insn 11 45 54 2 (set (reg:DI 21 xmm0)
(zero_extend:DI (reg:SI 2 cx [99]))) ree.c:7 133 {*zero_extendsidi2}
(nil))
(insn 54 11 47 2 (set (reg:DI 0 ax)
(reg:DI 21 xmm0)) ree.c:7 -1
(nil))
(insn 47 54 48 2 (set (mem/c:DI (reg/f:SI 7 sp) [0 S8 A64])
(reg:DI 21 xmm0 [118])) ree.c:10 89 {*movdi_internal}
(nil))
(insn 48 47 13 2 (set (reg:DF 9 st(1) [orig:101 D.1856 ] [101])
(float:DF (mem/c:DI (reg/f:SI 7 sp) [0 S8 A64]))) ree.c:10 206
{*floatdidf2_i387}
(nil))
...
(insn 54) is the problematic instruction.
>From gcc-bugs-return-453476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 08 08:19:52 2014
Return-Path: <gcc-bugs-return-453476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3125 invoked by alias); 8 Jun 2014 08:19:51 -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 3086 invoked by uid 48); 8 Jun 2014 08:19:48 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
Date: Sun, 08 Jun 2014 08:19: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget blocked target_milestone
Message-ID: <bug-61446-4-lHgBml9HXG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61446-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-06/txt/msg00558.txt.bz2
Content-length: 405
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |i686
Blocks| |61423
Target Milestone|--- |4.10.0
>From gcc-bugs-return-453477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 08 08:21:44 2014
Return-Path: <gcc-bugs-return-453477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4401 invoked by alias); 8 Jun 2014 08:21: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 4360 invoked by uid 48); 8 Jun 2014 08:21:40 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/61423] Incorrect conversion from unsigned int to floating point
Date: Sun, 08 Jun 2014 08:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61423-4-qXZ7i71i6u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61423-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61423-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-06/txt/msg00559.txt.bz2
Content-length: 319
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61423
--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #5)
> Created attachment 32903 [details]
> Testcase that fails in REE pass
>
> This testcase fails with patched gcc in REE pass:
This is now PR61446.
>From gcc-bugs-return-453478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 08 08:59:28 2014
Return-Path: <gcc-bugs-return-453478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17042 invoked by alias); 8 Jun 2014 08:59:27 -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 16984 invoked by uid 48); 8 Jun 2014 08:59:21 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/61444] Missing "undeclared identifier" message
Date: Sun, 08 Jun 2014 08:59: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: NEW
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 cf_reconfirmed_on everconfirmed bug_severity
Message-ID: <bug-61444-4-EANsR2Hf8g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61444-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61444-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-06/txt/msg00560.txt.bz2
Content-length: 653
https://gcc.gnu.org/bugzilla/show_bug.cgi?ida444
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-06-08
Ever confirmed|0 |1
Severity|normal |enhancement
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I can see one case where this would be useful: if you have a variable and you
have the same typo in two different places.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
@ 2014-06-08 10:57 ` dominiq at lps dot ens.fr
2014-06-08 11:04 ` ubizjak at gmail dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-06-08 10:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-06-08
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
This breaks bootstrap on x86_64-apple-darwin13 and other targets (see
https://gcc.gnu.org/ml/gcc-regression/2014-06/). On darwin the failure is
/opt/gcc/build_w/./gcc/xgcc -B/opt/gcc/build_w/./gcc/
-B/opt/gcc/gcc4.10w/x86_64-apple-darwin13.2.0/bin/
-B/opt/gcc/gcc4.10w/x86_64-apple-darwin13.2.0/lib/ -isystem
/opt/gcc/gcc4.10w/x86_64-apple-darwin13.2.0/include -isystem
/opt/gcc/gcc4.10w/x86_64-apple-darwin13.2.0/sys-include -g -O2 -O2 -g -O2
-DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -pipe -fno-common -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector -pipe -fno-common -I. -I. -I../.././gcc
-I../../../work/libgcc -I../../../work/libgcc/. -I../../../work/libgcc/../gcc
-I../../../work/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o
_fixunssfti_s.o -MT _fixunssfti_s.o -MD -MP -MF _fixunssfti_s.dep -DSHARED
-DL_fixunsdfdi -c ../../../work/libgcc/libgcc2.c \
-DLIBGCC2_UNITS_PER_WORD=8
../../../../work/libgcc/libgcc2.c: In function '__fixunssfdi':
../../../../work/libgcc/libgcc2.c:1492:1: error: insn does not satisfy its
constraints:
}
^
(insn 60 13 14 2 (set (reg:DI 0 ax)
(reg:DI 21 xmm0)) ../../../../work/libgcc/libgcc2.c:1444 89
{*movdi_internal}
(expr_list:REG_UNUSED (reg:DI 0 ax)
(nil)))
../../../../work/libgcc/libgcc2.c:1492:1: internal compiler error: in
copyprop_hardreg_forward_1, at regcprop.c:776
Reverting r211321 allowed me to bootstrap r211353 on x86_64-apple-darwin13.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
2014-06-08 10:57 ` [Bug rtl-optimization/61446] " dominiq at lps dot ens.fr
@ 2014-06-08 11:04 ` ubizjak at gmail dot com
2014-06-10 8:27 ` ubizjak at gmail dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2014-06-08 11:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Dominique d'Humieres from comment #1)
> This breaks bootstrap on x86_64-apple-darwin13 and other targets (see
> https://gcc.gnu.org/ml/gcc-regression/2014-06/). On darwin the failure is
Yes, known problem. Please use following patch to disable REE pass for now:
Index: common/config/i386/i386-common.c
===================================================================
--- common/config/i386/i386-common.c (revision 211321)
+++ common/config/i386/i386-common.c (working copy)
@@ -866,7 +866,7 @@
static const struct default_options ix86_option_optimization_table[] =
{
/* Enable redundant extension instructions removal at -O2 and higher. */
- { OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 },
+ { OPT_LEVELS_2_PLUS, OPT_free, NULL, 0 },
/* Enable function splitting at -O2 and higher. */
{ OPT_LEVELS_2_PLUS, OPT_freorder_blocks_and_partition, NULL, 1 },
/* Turn off -fschedule-insns by default. It tends to make the
>From gcc-bugs-return-453482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 08 12:25:37 2014
Return-Path: <gcc-bugs-return-453482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14776 invoked by alias); 8 Jun 2014 12:25:37 -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 14717 invoked by uid 48); 8 Jun 2014 12:25:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/61434] [4.10 Regression] wrong code at -O3 on x86_64-linux
Date: Sun, 08 Jun 2014 12:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-61434-4-grGN1C6miR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61434-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-06/txt/msg00564.txt.bz2
Content-length: 845
https://gcc.gnu.org/bugzilla/show_bug.cgi?ida434
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-06-08
CC| |jakub at gcc dot gnu.org,
| |kyukhin at gcc dot gnu.org
Target Milestone|--- |4.10.0
Summary|wrong code at -O3 on |[4.10 Regression] wrong
|x86_64-linux |code at -O3 on x86_64-linux
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r209972.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
2014-06-08 10:57 ` [Bug rtl-optimization/61446] " dominiq at lps dot ens.fr
2014-06-08 11:04 ` ubizjak at gmail dot com
@ 2014-06-10 8:27 ` ubizjak at gmail dot com
2014-06-10 14:57 ` dominiq at lps dot ens.fr
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2014-06-10 8:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Proposed patch at [1].
[1] https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00775.html
>From gcc-bugs-return-453594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 10 09:21:56 2014
Return-Path: <gcc-bugs-return-453594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30555 invoked by alias); 10 Jun 2014 09:21:55 -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 30513 invoked by uid 48); 10 Jun 2014 09:21:49 -0000
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/61456] Bogus "may be used uninitialized" warning
Date: Tue, 10 Jun 2014 09:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.10.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: manu at gcc dot gnu.org
X-Bugzilla-Status: NEW
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: keywords bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-61456-4-6JTRwH0p07@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-06/txt/msg00676.txt.bz2
Content-length: 999
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61456
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-06-10
CC| |manu at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> >Note that there is no '__delta' in the original source, so the error message
> Well that is partly the front-end issue as it is pointer to member functions
> are implemented using a struct.
The FE should mark these compiler-generated declarations as artificial or some
such to avoid warning about them.
>From gcc-bugs-return-453595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 10 09:48:23 2014
Return-Path: <gcc-bugs-return-453595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14360 invoked by alias); 10 Jun 2014 09:48:23 -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 14302 invoked by uid 48); 10 Jun 2014 09:48:20 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/61334] [4.10 Regression] lto-cgraph.c:976:68: error: 'strnlen' was not declared in this scope
Date: Tue, 10 Jun 2014 09:48: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.10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-61334-4-zGmKa3Qs83@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61334-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-06/txt/msg00677.txt.bz2
Content-length: 445
https://gcc.gnu.org/bugzilla/show_bug.cgi?ida334
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Fixed in r211401.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
` (2 preceding siblings ...)
2014-06-10 8:27 ` ubizjak at gmail dot com
@ 2014-06-10 14:57 ` dominiq at lps dot ens.fr
2014-06-11 15:25 ` dominiq at lps dot ens.fr
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-06-10 14:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Proposed patch at [1].
>
> [1] https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00775.html
This patch fixes bootstrap on Core* targets.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
` (3 preceding siblings ...)
2014-06-10 14:57 ` dominiq at lps dot ens.fr
@ 2014-06-11 15:25 ` dominiq at lps dot ens.fr
2014-06-12 9:21 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-06-11 15:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
This pr has been exposed by revision r211321 and breaks bootstrap on all
targets configured for Core* (including darwin which is configured by default
for Core2, see pr61477).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
` (4 preceding siblings ...)
2014-06-11 15:25 ` dominiq at lps dot ens.fr
@ 2014-06-12 9:21 ` rguenth at gcc dot gnu.org
2014-06-13 16:41 ` law at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 9:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |juergen.reuter at desy dot de
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 61477 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
` (5 preceding siblings ...)
2014-06-12 9:21 ` rguenth at gcc dot gnu.org
@ 2014-06-13 16:41 ` law at gcc dot gnu.org
2014-06-13 16:42 ` law at redhat dot com
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: law at gcc dot gnu.org @ 2014-06-13 16:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
--- Comment #7 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Fri Jun 13 16:40:48 2014
New Revision: 211649
URL: https://gcc.gnu.org/viewcvs?rev=211649&root=gcc&view=rev
Log:
2014-06-13 Jeff Law <law@redhat.com>
PR rtl-optimization/61094
PR rtl-optimization/61446
* ree.c (combine_reaching_defs): Get the mode for the copy from
the extension insn rather than the defining insn.
2014-06-13 Ilya Enkovich <ilya.enkovich@intel.com>
PR rtl-optimization/61094
PR rtl-optimization/61446
* gcc.target/i386/pr61446.c : New.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr61446.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ree.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
` (6 preceding siblings ...)
2014-06-13 16:41 ` law at gcc dot gnu.org
@ 2014-06-13 16:42 ` law at redhat dot com
2014-06-13 16:50 ` law at gcc dot gnu.org
2014-06-18 20:02 ` uros at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: law at redhat dot com @ 2014-06-13 16:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |law at redhat dot com
Resolution|--- |FIXED
--- Comment #8 from Jeffrey A. Law <law at redhat dot com> ---
Should be fixed on the trunk with most recent checkin.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
` (7 preceding siblings ...)
2014-06-13 16:42 ` law at redhat dot com
@ 2014-06-13 16:50 ` law at gcc dot gnu.org
2014-06-18 20:02 ` uros at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: law at gcc dot gnu.org @ 2014-06-13 16:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
--- Comment #9 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Fri Jun 13 16:50:10 2014
New Revision: 211652
URL: https://gcc.gnu.org/viewcvs?rev=211652&root=gcc&view=rev
Log:
2014-06-13 Jeff Law <law@redhat.com>
PR rtl-optimization/61094
PR rtl-optimization/61446
* ree.c (combine_reaching_defs): Get the mode for the copy from
the extension insn rather than the defining insn.
2014-06-13 Ilya Enkovich <ilya.enkovich@intel.com>
PR rtl-optimization/61094
PR rtl-optimization/61446
* gcc.target/i386/pr61446.c : New.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr61446.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/ree.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
` (8 preceding siblings ...)
2014-06-13 16:50 ` law at gcc dot gnu.org
@ 2014-06-18 20:02 ` uros at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: uros at gcc dot gnu.org @ 2014-06-18 20:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446
--- Comment #10 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Jun 18 20:01:37 2014
New Revision: 211803
URL: https://gcc.gnu.org/viewcvs?rev=211803&root=gcc&view=rev
Log:
Backport from mainline
2014-06-06 Uros Bizjak <ubizjak@gmail.com>
PR target/61423
* config/i386/i386.md (*floatunssi<mode>2_i387_with_xmm): New
define_insn_and_split pattern, merged from *floatunssi<mode>2_1
and corresponding splitters. Zero extend general register
or memory input operand to XMM temporary. Enable for
TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only.
(floatunssi<mode>2): Update expander predicate.
testsuite/ChangeLog:
Backport from mainline
2014-06-13 Ilya Enkovich <ilya.enkovich@intel.com>
PR rtl-optimization/61094
PR rtl-optimization/61446
* gcc.target/i386/pr61446.c : New.
Backport from mainline
2014-06-06 Uros Bizjak <ubizjak@gmail.com>
PR target/61423
* gcc.target/i386/pr61423.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr61423.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr61446.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/config/i386/i386.md
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-06-18 20:02 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-08 8:18 [Bug rtl-optimization/61446] New: [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7 ubizjak at gmail dot com
2014-06-08 10:57 ` [Bug rtl-optimization/61446] " dominiq at lps dot ens.fr
2014-06-08 11:04 ` ubizjak at gmail dot com
2014-06-10 8:27 ` ubizjak at gmail dot com
2014-06-10 14:57 ` dominiq at lps dot ens.fr
2014-06-11 15:25 ` dominiq at lps dot ens.fr
2014-06-12 9:21 ` rguenth at gcc dot gnu.org
2014-06-13 16:41 ` law at gcc dot gnu.org
2014-06-13 16:42 ` law at redhat dot com
2014-06-13 16:50 ` law at gcc dot gnu.org
2014-06-18 20:02 ` uros 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).