--- Comment #25 from jvdelisle at gcc dot gnu dot org 2010-03-18 03:58
---
IO library is significantly changed from 4.3 to 4.4/4.5 No Backport to 4.3
Closing.
--
jvdelisle at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #24 from jvdelisle at gcc dot gnu dot org 2010-03-18 03:56
---
Subject: Bug 43265
Author: jvdelisle
Date: Thu Mar 18 03:55:52 2010
New Revision: 157533
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157533
Log:
2010-03-17 Jerry DeLisle
PR libfortran/4326
--- Comment #5 from carrot at google dot com 2010-03-18 03:52 ---
In this case arm_arm_address_cost does the right thing. The problem is in
function should_replace_address.
When two addresses have same address cost, we choose the one with higher rtx
cost. The reason is "That has the pot
--- Comment #23 from jvdelisle at gcc dot gnu dot org 2010-03-18 03:52
---
Subject: Bug 43265
Author: jvdelisle
Date: Thu Mar 18 03:51:43 2010
New Revision: 157532
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157532
Log:
2010-03-17 Jerry DeLisle
PR libfortran/4326
--- Comment #2 from wlam at kosmix dot com 2010-03-18 03:14 ---
Oops, the description is truncated:
(built from the GNU source distribution, though the Fedora version of 4.4.3
shows similar behavior--
$ g++ -Wfatal-errors -c -O3 -Wall foo.ccfoo.cc: In member function void
TypeRegistry
--- Comment #10 from bergner at gcc dot gnu dot org 2010-03-18 03:14
---
Fixed.
--
bergner at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNE
--- Comment #1 from wlam at kosmix dot com 2010-03-18 03:11 ---
Created an attachment (id=20137)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20137&action=view)
Minimized C++ source causing segmentation fault in gcc 4.4.3 at -O3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=
I came across some code that previously compiled at -O3 without complaint on
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) and gcc version 4.4.1 (Ubuntu
4.4.1-4ubuntu9), but triggered a segmentation fault on gcc 4.4.3. After
minimization, here is the segmentation fault:
$ /net/test-hsa014/wlam/loc
--- Comment #9 from bergner at gcc dot gnu dot org 2010-03-18 03:10 ---
Subject: Bug 42427
Author: bergner
Date: Thu Mar 18 03:10:04 2010
New Revision: 157530
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157530
Log:
gcc/
PR target/42427
* config/rs6000/rs6000.c
--- Comment #22 from jvdelisle at gcc dot gnu dot org 2010-03-18 02:54
---
Correction s/not/now
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43265
--- Comment #21 from jvdelisle at gcc dot gnu dot org 2010-03-18 02:52
---
The above patches take care of several other corner cases with end file
conditions. Thanks Terry for report and Tobias for helping with test cases.
I am not proceeding to back port to 4.4.
--
http://gcc.gnu
--- Comment #20 from jvdelisle at gcc dot gnu dot org 2010-03-18 02:43
---
Subject: Bug 43265
Author: jvdelisle
Date: Thu Mar 18 02:43:10 2010
New Revision: 157528
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157528
Log:
2010-03-17 Jerry DeLisle
PR libfortran/4326
--- Comment #19 from jvdelisle at gcc dot gnu dot org 2010-03-18 02:38
---
Subject: Bug 43265
Author: jvdelisle
Date: Thu Mar 18 02:38:17 2010
New Revision: 157527
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157527
Log:
2010-03-17 Jerry DeLisle
PR libfortran/4326
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2010-03-18 02:14
---
I have a few other bugs ahead of this, but I will fix it if no one else does so
before I get to it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43409
--- Comment #8 from doko at ubuntu dot com 2010-03-18 00:52 ---
checked that this patch fixes the testcase, and doesn't show any regressions on
ia64-linux-gnu for the testsuite (4.4 branch 20100311).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43348
--
rearnsha at gcc dot gnu dot org changed:
What|Removed |Added
Component|bootstrap |target
Priority|P3 |P1
http://g
--- Comment #11 from wilson at codesourcery dot com 2010-03-18 00:12
---
Subject: Re: [ia64] Inappropriate address spills
On Wed, 2010-03-17 at 23:47 +, sje at cup dot hp dot com wrote:
> Reading Richard's initial comment I thought the problem was that the code was
> (or could be)
I came across some source code that failed to compile in gcc 4.4.3 with -O3
because the kernel shot gcc for using too much memory. After I minimized the
code (and converted it from C++ to C for simplicity) into the below example,
gcc 4.4.3 still took over a minute of CPU and a gigabyte of RAM for
--- Comment #10 from sje at cup dot hp dot com 2010-03-17 23:47 ---
Reading Richard's initial comment I thought the problem was that the code was
(or could be) illegal because the relocation may be out of range and we
shouldn't
use the gprel relocation for any of these constant pool refe
--
rearnsha at gcc dot gnu dot org changed:
What|Removed |Added
CC||rearnsha at gcc dot gnu dot
|
--- Comment #9 from wilson at codesourcery dot com 2010-03-17 23:25 ---
Subject: Re: [ia64] Inappropriate address spills
On Wed, 2010-03-17 at 22:09 +, sje at cup dot hp dot com wrote:
> I tried the patch and didn't have any problem bootstrapping and I didn't see
> any regressions.
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-03-17 23:14 ---
I had filed PR 23280 for that really but it turned out I used the incorrect
dwarf and it pushed to alternative entry points.
--
pinskia at gcc dot gnu dot org changed:
What|Removed
DWARF4 draft: http://dwarfstd.org/doc/DWARF4-public-review.pdf
gfortran uses
main()
to initialize the program and
MAIN__
as actual Fortran program.
DWARF4 offers:
DW_AT_main_subprogram Main or starting subprogram
Unit containing main or starting subprogram
File:
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43399
--- Comment #6 from ramana at gcc dot gnu dot org 2010-03-17 22:43 ---
As per Comment #4 and based on conversations on IRC, this is certainly a target
bug . I have verified that this very testcase attached also has the same effect
on the arm-eabi target ( a simple -g -O2 is enough to tri
--- Comment #3 from meissner at gcc dot gnu dot org 2010-03-17 22:38
---
Created an attachment (id=20136)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20136&action=view)
Bzip2 tar file of the ira dump output for altivec, vsx, scalar, and no-spill
--
http://gcc.gnu.org/bugzil
--- Comment #2 from meissner at gcc dot gnu dot org 2010-03-17 22:37
---
Created an attachment (id=20135)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20135&action=view)
Bzip2 tar file of the assembly output for altivec, vsx, scalar, and no-spill
--
http://gcc.gnu.org/bugzil
--- Comment #1 from meissner at gcc dot gnu dot org 2010-03-17 22:35
---
Created an attachment (id=20134)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20134&action=view)
Test case from the gromacs benchmark
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43413
The powerpc64-unknown-linux-gnu compiler generates much worse code on the
inl1130 function in the gromacs benchmark from spec 2006 when compiling for the
VSX instruction set with -mcpu=power7 (or -mvsx). The code in question in not
vectorizable, and in fact only uses integer and single precision f
--- Comment #13 from kargl at gcc dot gnu dot org 2010-03-17 22:26 ---
(In reply to comment #11)
> > Well, the number model is symmetric. See Fortran 2003 ...
>
> I agree, but it is a very pedantic view that should at least be mentioned in
> the manual.
You forgot to attach your patch.
--- Comment #12 from kargl at gcc dot gnu dot org 2010-03-17 22:20 ---
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #8)
> > > Maybe we just need to document that -pedantic changes the range of
> > > integers to
> > > be what the Fortran standard requires
symbol.c's gfc_build_class_symbol has:
(*as) = NULL; /* XXX */
Thus the following invalid program is accepted as the check for
"Assumed size array at %L must be a dummy argument" fails as sym->as == NULL.
module m
type t
end type t
end module m
subroutine foo()
use m
class(t), pointer
--- Comment #8 from sje at cup dot hp dot com 2010-03-17 22:09 ---
I tried the patch and didn't have any problem bootstrapping and I didn't see
any regressions. It also fixed my small test case, but when I went back and
tried some of the other tests from PR 28490 I still saw some of the
C++ inlining of virtual calls does not occur in many instances when it should
be easy to determine that it is safe.
The problem occurs when there is an object that is referred to via a pointer or
reference. Normally a virtual call through a pointer cannot be inlined because
it is not known what it
--- Comment #1 from tromey at gcc dot gnu dot org 2010-03-17 21:46 ---
I tried it and it works fine with svn head.
Make sure to rm a.h before trying with different flags.
Or, use -force.
--
tromey at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #5 from jakub at gcc dot gnu dot org 2010-03-17 21:44 ---
Argh, seems ARM is very badly abusing PRE_DEC:
(insn/f 72 41 73 2 /opt/trunk/libgcc/../gcc/libgcc2.c:553 (parallel [
(set (mem/c:BLK (pre_dec:BLK (reg/f:SI 13 sp)) [6 A8])
(unspec:BLK [
--- Comment #11 from dominiq at lps dot ens dot fr 2010-03-17 21:31 ---
> Well, the number model is symmetric. See Fortran 2003 ...
I agree, but it is a very pedantic view that should at least be mentioned in
the manual.
Now I think the implementation is not consistent:
[macbook] f90/
--- Comment #22 from mikpe at it dot uu dot se 2010-03-17 21:23 ---
I did another binutils experiment. I reverted my patch to disable general
merging of table entries, and instead disabled generating new and merging
cantunwind entries. With that binutils libjava regressed just like with
--- Comment #8 from changpeng dot fang at amd dot com 2010-03-17 21:22
---
Created an attachment (id=20133)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20133&action=view)
patch with the testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32824
--- Comment #9 from dodji at gcc dot gnu dot org 2010-03-17 21:15 ---
The situation has change quite a lot since gcc 4.3.0.
Now a DW_TAG_member is emitted for the static member variable, and only one
DW_TAG_variable is emitted to represent the variable definition.
So I guess the bug can
--- Comment #21 from mikpe at it dot uu dot se 2010-03-17 21:13 ---
(In reply to comment #20)
> no change in the libjava testsuite when built with these binutils
But that's still thumb not arm like in comment #16? All my results are from
plain arm (armv5tel) builds.
--
http://gcc.g
--- Comment #8 from dave at hiauly1 dot hia dot nrc dot ca 2010-03-17
21:09 ---
Subject: Re: [4.5 Regression] ICE in stage1 compiling __bswapdi2
> Let's go with this patch then. Can you please regtest it?
Yes. I'll try it when I get home this evening.
Dave
--
http://gcc.gnu.o
--- Comment #2 from pault at gcc dot gnu dot org 2010-03-17 21:07 ---
As Daniel has indicated, this has nothing to do with gfortran.
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #7 from jakub at gcc dot gnu dot org 2010-03-17 21:01 ---
Created an attachment (id=20132)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20132&action=view)
gcc45-pr43403.patch
Let's go with this patch then. Can you please regtest it?
--
jakub at gcc dot gnu dot or
--- Comment #1 from hjl dot tools at gmail dot com 2010-03-17 20:27 ---
False alarm. I did run out of memory.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
---
--- Comment #10 from burnus at gcc dot gnu dot org 2010-03-17 20:16 ---
(In reply to comment #9)
> (In reply to comment #8)
> > Maybe we just need to document that -pedantic changes the range of integers
> > to
> > be what the Fortran standard requires (a symmetric range).
>
> The Fort
--- Comment #8 from vz-gcc at zeitlins dot org 2010-03-17 20:05 ---
Sorry for a late follow up but I've just discovered that this change broke
compilation of code using wxWidgets library with "-pedantic-errors -std=c++98"
switches because wxWidgets uses constructions such as (simplified)
On Linux/x86-64, gcc 3.4 failed to bootstrap gcc 4.5.0 at
revision 157518. I got:
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-Wold-style-definition -DHAVE_CONFIG_H -I. -I.
-I/net/gnu-13/ex
--- Comment #3 from vsoni at tilera dot com 2010-03-17 19:33 ---
(In reply to comment #2)
>
> I read that t.f promotes to int. And that is exactly what the C++ frontend
> does:
That's plausible, but the standard, especially it's intent, is unclear I think.
I see three plausible inter
--- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2010-03-17
18:19 ---
Subject: Re: [4.5 Regression] ICE in stage1 compiling __bswapdi2
> var-tracking expects that if frame_pointer_rtx (resp. arg_pointer_rtx,
> depending on whether FRAME_POINTER_CFA_OFFSET or ARG_POINTER_CFA_
--- Comment #5 from eli dot osherovich at gmail dot com 2010-03-17 18:05
---
The very same code compiled by the Intel C compiler runs as expected.
Moreover, the prototype of sinl is as follows
long double sinl(long double x);
and 1e22 definitely withing the bounds of long double.
--- Comment #7 from burnus at gcc dot gnu dot org 2010-03-17 17:58 ---
Patch by Changpeng, which has been approved for 4.6 Stage 1 and moves the
"pass_lim" up;
http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00775.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32824
--- Comment #4 from pluto at agmk dot net 2010-03-17 17:51 ---
more details...
intel (24319101.pdf) manual describe requirements for fsin opcode:
"Calculates the sine of the source operand in register ST(0) and stores
the result in ST(0). The source operand must be given in radians an
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-03-17 17:47 ---
Fixed in 4.2.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|UN
--- Comment #2 from burnus at gcc dot gnu dot org 2010-03-17 17:43 ---
I was wondering about connected files. (I think it only applies to
inquire_via_unit.) What does one return here if the file has not been flushed?
The *STAT result or does one calls flush on the unit and uses then *STA
--- Comment #1 from burnus at gcc dot gnu dot org 2010-03-17 17:34 ---
If one checks libgfortran/io/*, one sees that (dtp->common.flags &
IOPARM_DT_HAS_SIZE) is only used for read.c and transfer.c and is not touched
at all for inquire.c.
Work-around: gfortran offers the STAT, FSTAT, and
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-03-17 17:34
---
Glibc is a separate project, see http://sources.redhat.com/bugzilla/
--
ebotcazou at gcc dot gnu dot org changed:
What|Removed |Added
---
Found at
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/110fb27c70e1a193
Reported by: Philippe Bourdin
The following program always prints "-42" independent whether the file exists
or not. It at least should initialize the variable by "-1".
!---
integer :: i
--- Comment #2 from pluto at agmk dot net 2010-03-17 17:28 ---
this is a bug in glibc-2.11.1/sysdeps/x86_64/fpu/s_sinl.S
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43405
--- Comment #1 from paolo dot carlini at oracle dot com 2010-03-17 17:21
---
*** This bug has been marked as a duplicate of 43407 ***
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added
---
--- Comment #1 from paolo dot carlini at oracle dot com 2010-03-17 17:21
---
*** Bug 43408 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43407
If one specifies any visibility attribute on an enum class emits the "type
attributes ignored after type is already defined" warning.
Easy to reproduce! Just add the following lines anywhere and compile them
(without -Wno-attributes):
enum class __attribute__((visibility("default"))) Number
{
--- Comment #9 from matz at gcc dot gnu dot org 2010-03-17 17:03 ---
http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00774.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43402
If one specifies any visibility attribute on an enum class emits the "type
attributes ignored after type is already defined" warning.
Easy to reproduce! Just add the following lines anywhere and compile them
(without -Wno-attributes):
enum class __attribute__((visibility("default"))) Number
{
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-03-17 16:42 ---
(In reply to comment #7)
> Hmm, I wonder how that could cause the bug. Probably because we can't rely
> on SSA form being uptodate during cfgcleanup, and hence looking up PHI
> arguments is wrong, at least for those
--- Comment #5 from jakub at gcc dot gnu dot org 2010-03-17 16:36 ---
var-tracking expects that if frame_pointer_rtx (resp. arg_pointer_rtx,
depending on whether FRAME_POINTER_CFA_OFFSET or ARG_POINTER_CFA_OFFSET is
defined)
is said to be eliminated (to stack_pointer_rtx in case of
!fram
--- Comment #1 from rbarreira at gmail dot com 2010-03-17 16:35 ---
Note that if you use scanf ("%llx", &a) and input "" instead of
having a hardcoded value for a, the bug happens both with -O3 and -O0.
To sum up it seems that when the popcnt instruction is actually issued,
--- Comment #7 from matz at gcc dot gnu dot org 2010-03-17 16:05 ---
Hmm, I wonder how that could cause the bug. Probably because we can't rely
on SSA form being uptodate during cfgcleanup, and hence looking up PHI
arguments is wrong, at least for those SSA names that are registered for
Sample code:
#include
int main (void)
{
long long a = 0xLL; // 48 bits set
int popcount;
#if 1
popcount = __builtin_popcountll (a);
#else
popcount = __popcountdi2 (a);
#endif
printf ("%llx popcount = %d\n", a, popcount);
return 0;
}
If -mpopcnt is enabled,
--- Comment #6 from hjl dot tools at gmail dot com 2010-03-17 15:51 ---
It is caused by revision 157093:
http://gcc.gnu.org/ml/gcc-cvs/2010-02/msg00676.html
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
---
--- Comment #5 from matz at gcc dot gnu dot org 2010-03-17 15:49 ---
Hmm, create_edge_and_update_destination_phis is supposed to add new PHI
arguments for the ultimate threading destination. But it only does so if
there are already PHI nodes in that BB. We need to create new ones, whic
--- Comment #4 from robertcnelson at gmail dot com 2010-03-17 15:42 ---
Here here is the preprocessed source.
http://rcn-ee.homeip.net:81/dl/gcc/SVN-157476-trunk-c-armv7l-256-bug43399/save-temps.log
http://rcn-ee.homeip.net:81/dl/gcc/SVN-157476-trunk-c-armv7l-256-bug43399/libgcc2.i
Re
--- Comment #4 from matz at gcc dot gnu dot org 2010-03-17 15:36 ---
Um, we cleanup the CFG before updating SSA form, hence no wonder that
the missing PHI nodes confuse it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43402
--- Comment #3 from matz at gcc dot gnu dot org 2010-03-17 15:31 ---
It seems the jump threading somehow confuses cfgcleanup. Right after the
jumps are threaded (in tree_ssa_dominator_optimize after the call to
thread_through_all_blocks) the function looks like so:
:
goto ;
:
# start_
--- Comment #1 from eli dot osherovich at gmail dot com 2010-03-17 15:29
---
Created an attachment (id=20131)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20131&action=view)
testcase as a standalone file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43405
sinl (and probably others) are not computed correctly. At least for large
inputs.
Please consider the following simple testcase:
$ cat sintest.c
#include
#include
int
main (void) {
double arg = 1e22;
long double larg = 1e22L;
printf("double precision: sin(1e22) = %.16lf\n", sin(arg));
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-03-17 15:24 ---
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-03-17 15:21 ---
Confirmed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCON
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-17 15:19 ---
Waiting for testcase.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
S
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43384
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43381
--- Comment #4 from spop at gcc dot gnu dot org 2010-03-17 15:14 ---
See PR43398 for a nicely reduced testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42860
--- Comment #3 from spop at gcc dot gnu dot org 2010-03-17 15:13 ---
*** Bug 43398 has been marked as a duplicate of this bug. ***
--
spop at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #2 from spop at gcc dot gnu dot org 2010-03-17 15:13 ---
This looks like a duplicate of PR42860.
This works on gcc4.5.
*** This bug has been marked as a duplicate of 42860 ***
--
spop at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #13 from jakub at gcc dot gnu dot org 2010-03-17 15:05 ---
Created an attachment (id=20130)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20130&action=view)
gcc45-pr43058.patch
So far untested fix. This just optimizes handling of optimized out variables
which are know
--- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2010-03-17
15:03 ---
Subject: Re: [4.5 Regression] ICE in stage1 compiling
__bswapdi2
> Can you attach preprocessed source?
Attached.
Dave
--- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2010-03-17
--- Comment #1 from marti at juffo dot org 2010-03-17 15:03 ---
Created an attachment (id=20128)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20128&action=view)
test.i
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43404
Tested with GCC 4.4.1 and 4.4.3 (custom built) on Arch Linux
host arch is x86_64 and target is arm-elf
This is the full source code needed to reproduce the bug:
void __data_abort(void) __attribute__ ((naked));
void __data_abort(void)
{
long foo;
long* bar = &foo;
}
test.c: In function __dat
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-03-17 14:57 ---
This is points-to information being computed wrongly. A lot was fixed for
GCC 4.4.x in this area.
The constraints are already wrong:
arr = &a
arr.32 = &b
arr.64 = &c
arr.96 = &d
D.2332_12 = arr
With 4.4 and 4.5 w
--- Comment #3 from dodji at gcc dot gnu dot org 2010-03-17 14:55 ---
A patch was proposed at http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00662.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43327
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-03-17 14:42 ---
Mine. Looking into it now.
We might even want to simply relax the checking if it triggers on lately build
stuff like tinfos. Let me see if I can avoid tinfos producing "mallformed"
decls.
--
hubicka at gcc dot gn
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-03-17 14:41 ---
Can you attach preprocessed source?
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Thread model: posix
gcc version 4.5.0 20100317 (experimental) [trunk revision 157506] (GCC)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43403
/home2/dave/gcc-4.5/objdir/./gcc/xgcc -B/home2/dave/gcc-4.5/objdir/./gcc/
-B/hom
e2/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/bin/
-B/home2/dave/opt/gnu/gcc/gcc-4.5.
0/hppa-linux/lib/ -isystem /home2/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/include
-isystem /home2/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/sys
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Summary|dom1 miscompiles binary |[4.5 Regression] dom1
|search
--- Comment #3 from robertcnelson at gmail dot com 2010-03-17 14:04 ---
Rebuilding 157476, will take a couple hours to hit that error..
System: gcc -v
voo...@beagle-256mb-1:~$ gcc -v
Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion=
--- Comment #1 from matz at gcc dot gnu dot org 2010-03-17 14:02 ---
Created an attachment (id=20127)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20127&action=view)
testcase
Testcase reduced from ucnv_bld.c of libicu
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43402
This actually happens in libicu, preventing genbrk (and hence openoffice and
texlive) to work.
# gcc -O1 icubug.c && ./a.out
Aborted
With -O0 it works. The wrong transformation is done by dom1, it transforms
the loop into a linear sequence without backedges.
:
goto ;
:
# start_16 = PHI
--- Comment #4 from matthias at goldhoorn dot eu 2010-03-17 13:57 ---
Forgotten output with optimization:
(10.00,20.00)
(0.00,0.00)
(0.00,0.00)
(0.00,0.00)
sould be:
(10.00,20.00)
(10.00,20.00)
(10.00,20.00)
(10.00,20.00)
--- Comment #3 from matthias at goldhoorn dot eu 2010-03-17 13:55 ---
Created an attachment (id=20126)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20126&action=view)
Object Dumpo with optimization (broken result)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43401
1 - 100 of 136 matches
Mail list logo