public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/20634] code fails to compile/code generation issue with -funit-at-a-time
[not found] <bug-20634-4@http.gcc.gnu.org/bugzilla/>
@ 2011-11-07 19:23 ` belyshev at depni dot sinp.msu.ru
0 siblings, 0 replies; 5+ messages in thread
From: belyshev at depni dot sinp.msu.ru @ 2011-11-07 19:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20634
Serge Belyshev <belyshev at depni dot sinp.msu.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |belyshev at depni dot
| |sinp.msu.ru
Known to work| |4.5.0
Resolution| |FIXED
Target Milestone|--- |4.5.0
Known to fail| |
--- Comment #6 from Serge Belyshev <belyshev at depni dot sinp.msu.ru> 2011-11-07 19:13:57 UTC ---
Fixed in gcc 4.5 by r151348:
2009-09-02 Vladimir Makarov <vmakarov@redhat.com>
* doc/invoke.texi (-fsched-pressure): Document it.
(-fsched-reg-pressure-heuristic): Remove it.
...
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/20634] code fails to compile/code generation issue with -funit-at-a-time
2005-03-25 5:45 [Bug tree-optimization/20634] New: 4.0 regression - " halcy0n at gentoo dot org
` (2 preceding siblings ...)
2005-03-26 21:09 ` halcy0n at gentoo dot org
@ 2005-04-14 18:02 ` belyshev at depni dot sinp dot msu dot ru
3 siblings, 0 replies; 5+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-04-14 18:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-04-14 18:02 -------
reduced testcase, compile with '-O1 -fschedule-insns -funit-at-a-time',
fails with 3.3-hammer, 3.4, 4.0 and mainline, introduced in 2003:
: Search converges between 2003-07-11-trunk (#291) and 2003-07-12-trunk (#292).
------------------------------------------------------------------------------
unsigned int strlen (const char *);
static void append (char *p0, char **pp, int *j, char *p1)
{
int k = strlen (p0);
if (p1 && pp)
k += strlen (p1);
if (*j + k)
while (*j);
}
int yyparse (int foo)
{
if (foo)
append (0, 0, 0, 0);
else
append (0, 0, 0, 0);
}
------------------------------------------------------------------------------
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-04-14 18:02:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20634
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/20634] code fails to compile/code generation issue with -funit-at-a-time
2005-03-25 5:45 [Bug tree-optimization/20634] New: 4.0 regression - " halcy0n at gentoo dot org
2005-03-26 18:21 ` [Bug target/20634] " pinskia at gcc dot gnu dot org
2005-03-26 18:22 ` pinskia at gcc dot gnu dot org
@ 2005-03-26 21:09 ` halcy0n at gentoo dot org
2005-04-14 18:02 ` belyshev at depni dot sinp dot msu dot ru
3 siblings, 0 replies; 5+ messages in thread
From: halcy0n at gentoo dot org @ 2005-03-26 21:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From halcy0n at gentoo dot org 2005-03-26 21:09 -------
(In reply to comment #3)
> For the first problem with code generation issue, does -fno-strict-aliasing helps?
No, same problem still. Only adding -fno-unit-at-a-time fixes the issue. I
should add that it works fine with gcc 3.4 and -funit-at-a-time.
> For the second problem with respect with the ICE, well only -O1
-fschedule-insns -funit-at-a-time is
> needed to reproduce the problem.
Yes, I get the ICE with only these options.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20634
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/20634] code fails to compile/code generation issue with -funit-at-a-time
2005-03-25 5:45 [Bug tree-optimization/20634] New: 4.0 regression - " halcy0n at gentoo dot org
2005-03-26 18:21 ` [Bug target/20634] " pinskia at gcc dot gnu dot org
@ 2005-03-26 18:22 ` pinskia at gcc dot gnu dot org
2005-03-26 21:09 ` halcy0n at gentoo dot org
2005-04-14 18:02 ` belyshev at depni dot sinp dot msu dot ru
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-26 18:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-26 18:22 -------
For the first problem with code generation issue, does -fno-strict-aliasing helps?
For the second problem with respect with the ICE, well only -O1 -fschedule-insns -funit-at-a-time is
needed to reproduce the problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20634
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/20634] code fails to compile/code generation issue with -funit-at-a-time
2005-03-25 5:45 [Bug tree-optimization/20634] New: 4.0 regression - " halcy0n at gentoo dot org
@ 2005-03-26 18:21 ` pinskia at gcc dot gnu dot org
2005-03-26 18:22 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-26 18:21 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|rtl-optimization |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20634
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-11-07 19:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-20634-4@http.gcc.gnu.org/bugzilla/>
2011-11-07 19:23 ` [Bug target/20634] code fails to compile/code generation issue with -funit-at-a-time belyshev at depni dot sinp.msu.ru
2005-03-25 5:45 [Bug tree-optimization/20634] New: 4.0 regression - " halcy0n at gentoo dot org
2005-03-26 18:21 ` [Bug target/20634] " pinskia at gcc dot gnu dot org
2005-03-26 18:22 ` pinskia at gcc dot gnu dot org
2005-03-26 21:09 ` halcy0n at gentoo dot org
2005-04-14 18:02 ` belyshev at depni dot sinp dot msu dot ru
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).