--- Comment #3 from sje at cup dot hp dot com 2009-04-28 21:10 ---
There error I get on cc.c-torture/execute/20050604-1.c and
gcc.dg/torture/pr21817-1.c with optimization level 1 or greater is:
x.c:6: error: invalid expression for min lvalue
D.2000_6 = BIT_FIELD_REF <{ 1.0e+9, 1.0e+9, 1
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-04-28 21:17 ---
Reduced testcase. Fails at -O1.
typedef void (*entry_func) (void) __attribute__ ((noreturn));
extern entry_func entry_addr;
static void bsd_boot_entry (void)
{
stop ();
}
void bsd_boot (void)
{
entry_addr =
--- Comment #5 from rguenther at suse dot de 2009-04-28 21:21 ---
Subject: Re: [4.5 Regression] Revision 146831 caused
many test failures
On Tue, 28 Apr 2009, pinskia at gcc dot gnu dot org wrote:
> (In reply to comment #3)
> > There error I get on cc.c-torture/execute/20050604-1.c a
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-04-28 21:23 ---
4.1.2 produces:
.L4:
addq$8, %rsp
.p2align 4,,2
ret
While the trunk produces:
.L1:
addq$8, %rsp
.p2align 4,,2
.p2align 3
ret
--
http://gcc.gnu.org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-04-28 21:24 ---
Mine.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned
--- Comment #6 from vvv at ru dot ru 2009-04-28 21:18 ---
Let's compile file test.c
//#file test.c
extern int F(int m);
void func(int x)
{
int u = F(x);
while (u)
u = F(u)*3+1;
}
# gcc -o t.out test.c -c -O2
# objdump -d t.out
t.out: file format e
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-04-28 21:18 ---
(In reply to comment #3)
> There error I get on cc.c-torture/execute/20050604-1.c and
> gcc.dg/torture/pr21817-1.c with optimization level 1 or greater is:
>
> x.c:6: error: invalid expression for min lvalue
> D.200
--- Comment #6 from sje at cup dot hp dot com 2009-04-28 21:25 ---
;; Function foo (foo)
foo ()
{
vector float D.2002;
vector float D.2001;
vector float D.2000;
vector float D.1999;
vector float D.1998;
vector float D.1997;
v4sf value.1;
v4sf value.0;
:
value.0_2 = val
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-04-28 21:27 ---
We need to update SSA form after FRE as we now notice the cast to
entry_func (with noreturn attribute, thus no VDEF) was invalid (and
thus we add a VDEF).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39941
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2009-04-28 21:30
---
Subject: Bug 39938
Author: ebotcazou
Date: Tue Apr 28 21:29:58 2009
New Revision: 146915
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146915
Log:
PR rtl-optimization/39938
* resource.c (
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2009-04-28 21:32
---
This should work now.
--
ebotcazou at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #7 from rguenther at suse dot de 2009-04-28 21:35 ---
Subject: Re: [4.5 Regression] Revision 146831 caused
many test failures
On Tue, 28 Apr 2009, sje at cup dot hp dot com wrote:
> --- Comment #6 from sje at cup dot hp dot com 2009-04-28 21:25 ---
> ;; Function
--- Comment #3 from anmol at freescale dot com 2009-04-28 21:38 ---
I tried reproducing on trunk and on gcc-4_4-branch; GCC does not loop forever:
gcc version 4.5.0 20090423 (experimental) [trunk revision 146648] (GCC)
--
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-04-28 21:42 ---
Ok, so one issue with the verifier is that it doesn't distinguish between
lvalues and rvalues when verifying verify_types_in_gimple_reference. I will
fix this.
--
rguenth at gcc dot gnu dot org changed:
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39932
--- Comment #8 from ubizjak at gmail dot com 2009-04-28 21:47 ---
>From config/i386/i386.c:
/* AMD Athlon works faster
when RET is not destination of conditional jump or directly preceded
by other jump instruction. We avoid the penalty by inserting NOP just
before the RET inst
On Linux/ia64, revision 146820 gave
Apr 26 20:44:03 gnu-12 kernel: pr26565.exe(23460): unaligned access to
0x6e31, ip=0x46d0
Apr 26 20:44:03 gnu-12 kernel: pr26565.exe(23472): unaligned access to
0x6e71, ip=0x46d0
Apr 26 20:44:03 gnu-12 kernel: pr265
--- Comment #9 from pinskia at gcc dot gnu dot org 2009-04-28 21:52 ---
So that explains it, Use -Os or attribute cold if you want NOPs to be gone.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #10 from ubizjak at gmail dot com 2009-04-28 21:53 ---
Actually, alignment is from ix86_avoid_jump_misspredicts, where:
/* Look for all minimal intervals of instructions containing 4 jumps.
The intervals are bounded by START and INSN. NBYTES is the total
size of
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-28 21:54 ---
I think this testcase is invalid really:
memcpy(&outdata->tv, tp, sizeof outdata->tv);
tv is packed and taking the address of a packed entry is not really a valid
thing.
--
http://gcc.gnu.org/bugzilla/show_
--- Comment #2 from hjl dot tools at gmail dot com 2009-04-28 21:59 ---
(In reply to comment #1)
> I think this testcase is invalid really:
> memcpy(&outdata->tv, tp, sizeof outdata->tv);
>
> tv is packed and taking the address of a packed entry is not really a valid
> thing.
>
I
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-04-28 22:04 ---
Indeed. We likely fold the memcpy, but that should better preserve the
known alignment.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39954
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-28 22:11 ---
This means you don't have any definition of Preprocess or any other of the
functions mentioned above.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39898
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39897
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-04-28 22:14 ---
Your libpthreads is doing something wrong.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #4 from ubizjak at gmail dot com 2009-04-28 22:16 ---
Fixed.
--
ubizjak at gmail dot com changed:
What|Removed |Added
Status|UNCONFIRMED
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-28 22:19 ---
Works on the trunk.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Compon
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39954
--- Comment #12 from jules at gcc dot gnu dot org 2009-04-28 22:31 ---
FYI: the above patch seems to have caused ARM Linux (cross) builds to break,
e.g.:
/scratch/julian/arm-mainline/src/gcc-mainline/libgcc/../gcc/config/arm/unwind-arm.c:589:
internal compiler error: Segmentation fault
--- Comment #13 from pinskia at gcc dot gnu dot org 2009-04-28 22:50
---
(In reply to comment #12)
> Maybe there's some significant difference between the behaviour of
> mips16_gp_pseudo_reg() and require_pic_register() which causes this, or maybe
> MIPS is broken too?
Hmm,
ARM uses em
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|major |normal
Component|bootstrap |target
GCC ta
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-04-28 23:11 ---
/* This was a conditional expression but it triggered a bug in
Sun C 5.5. */
if (subtract_p)
temp = double_int_neg (b->data);
else
temp = b->data;
/* This was a conditional expression but it tr
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-28 23:14 ---
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCON
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39644
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-28 23:24 ---
The Ada make files don't use GNU libtool to build the shared libraries.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39336
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-28 23:28 ---
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC|
--- Comment #21 from pinskia at gcc dot gnu dot org 2009-04-28 23:41
---
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNE
--- Comment #5 from hp at gcc dot gnu dot org 2009-04-28 23:41 ---
Thanks, kind-of verified; build now breaks at the "original" site again. :]
This could be the last comment on this PR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39938
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-28 23:42 ---
*** This bug has been marked as a duplicate of 14482 ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-28 23:42 ---
*** Bug 39691 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #34 from pinskia at gcc dot gnu dot org 2009-04-28 23:43
---
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Status|NEW
--- Comment #3 from anmol at freescale dot com 2009-04-28 23:43 ---
I verified with native GCC on target: powerpc-unknown-linux-gnu on:
gcc version 4.5.0 20090423 (experimental) [trunk revision 146648] (GCC)
gcc version 4.4.1 20090424 (prerelease) [gcc-4_4-branch revision 146746] (G
--- Comment #4 from hjl dot tools at gmail dot com 2009-04-28 23:43 ---
Revision 146817:
http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg01459.html
is the cause.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-04-28 23:48 ---
(In reply to comment #3)
> Indeed. We likely fold the memcpy, but that should better preserve the
> known alignment.
What known alignment?
The alignment of the type is known to be the same alignment as long inside
--- Comment #10 from jakub at gcc dot gnu dot org 2009-04-28 23:51 ---
I disagree, while the modifiers are perhaps undocumented, there is tons of
software in the wild that uses them heavily (I don't know about %z, but many
other modifiers) and breaking that all would be a terrible idea.
--- Comment #29 from jakub at gcc dot gnu dot org 2009-04-28 23:56 ---
The glibc macro AFAIK does:
# define signbit(x) \
(sizeof (x) == sizeof (float)\
? __signbitf (x)\
--- Comment #30 from jakub at gcc dot gnu dot org 2009-04-28 23:59 ---
Also, libstdc++.so is definitely not the right home for __signbitl symbol, so
we definitely shouldn't allow any newly linked program to use symbol from that
library. If __signbitl is ever needed (prove it), then it b
Most of the struct-layout-1 tests started failing on
powerpc64-unknown-linux-gnu with this patch:
http://gcc.gnu.org/viewcvs?view=rev&rev=146817
r146817 | matz | 2009-04-26 19:35:04 + (Sun, 26 Apr 2009)
Here's a minimized testcase that demonstrates the failure:
struct S301
{
_Decim
--- Comment #6 from matz at gcc dot gnu dot org 2009-04-29 00:17 ---
Andrew is right. There is no "known" alignment (or misalignment) as far
as the gimple code is concerned, only the natural alignment:
send_probe (struct outdata * outdata, struct timeval * tp)
{
struct timeval * D.12
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|
--- Comment #1 from matz at gcc dot gnu dot org 2009-04-29 00:23 ---
I tested powerpc64-linux a few minutes ago (r146824) and it doesn't show
these errors. I have Andreas Krebbels patch applied, though, and it might
really make a difference. See
http://gcc.gnu.org/ml/gcc-patches/2009-0
--- Comment #7 from hjl dot tools at gmail dot com 2009-04-29 00:33 ---
(In reply to comment #6)
> Andrew is right. There is no "known" alignment (or misalignment) as far
> as the gimple code is concerned, only the natural alignment:
>
> send_probe (struct outdata * outdata, struct tim
--- Comment #8 from hjl dot tools at gmail dot com 2009-04-29 00:42 ---
This code:
---
void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n);
struct timeval {
long tv_sec;
};
typedef struct timeval packed __attribute__((aligned(1)));
struct outdata {
long align;
ch
--- Comment #9 from pinskia at gcc dot gnu dot org 2009-04-29 00:43 ---
(In reply to comment #7)
> How does gimple handle
>
> typedef int foo __attribute__ ((aligned(1)));
The C/C++ front-end ignores the aligned here but does not mention that to you.
That is a different issue though,
--- Comment #2 from janis at gcc dot gnu dot org 2009-04-29 00:49 ---
The patch from Andreas doesn't make a difference for the struct-layout-1 tests.
Here are test results from earlier today:
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg03009.html
There are lots of regressions i
--- Comment #31 from dave at hiauly1 dot hia dot nrc dot ca 2009-04-29
01:03 ---
Subject: Re: [4.2/4.3 regression] symbol __signb...@glibcxx_3.4 in libstdc++
exported
> Also, libstdc++.so is definitely not the right home for __signbitl symbol, so
> we definitely shouldn't allow any n
--- Comment #3 from bergner at gcc dot gnu dot org 2009-04-29 02:14 ---
Michael, did you configure with --enable-decimal-float? I can never remember
whether that is enabled by default for powerpc64-linux or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39955
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2009-04-29 03:38
---
Notice what gfortran does with this modified from the original test case:
read(str,'(i1)') a
./a.out
0
Here we properly pad as expected. Now, the subtlety here is: should we provide
positioning in
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2009-04-29 04:06
---
Also, we need to consider taking F2003 9.10 at face value. Notice the use of
the word "attempt":
"An end-of-file condition occurs in the following cases:
(1) When an endfile record is encountered during the re
--- Comment #2 from nilesh dot barange at gmail dot com 2009-04-29 04:24
---
(In reply to comment #1)
> This means you don't have any definition of Preprocess or any other of the
> functions mentioned above.
>
Following is my code...
#include
#include
#include
#include "domain.h"
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-29 04:35 ---
You need to link in the object file which also contains Preprocess. This bug
reporting system is not really for getting basic C++ help which you can get via
the newsgroup comp.lang.c++.
--
http://gcc.gnu.org/bu
--- Comment #11 from bonzini at gnu dot org 2009-04-29 05:09 ---
Subject: Re: [4.5 regression] Revision 146874 breaks %z on
x87 insns
> The right thing is just to document them.
Agreed. But the question is whether to break %z and all but one
person reckon it would be actuall
--- Comment #2 from bkoz at gcc dot gnu dot org 2009-04-29 05:12 ---
Subject: Bug 39868
Author: bkoz
Date: Wed Apr 29 05:12:00 2009
New Revision: 146923
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146923
Log:
2009-04-28 Benjamin Kosnik
PR libstdc++/39868
*
--- Comment #2 from simon at pushface dot org 2009-04-29 06:00 ---
(In reply to comment #1)
> The Ada make files don't use GNU libtool to build the shared libraries.
GNAT Pro 6.2.1 on Darwin uses -rpath/@rpath, presumably AdaCore will fold this
in at a future date.
--
http://gcc.gn
Access to private types in a class from another instantiated template class is
not getting the expected "type is private" error from gcc compiler.
$gcc -c -v inp4.cpp
Using built-in specs.
Target: hppa1.1-hp-hpux11.11
Configured with: /tmp/gcc-4.3.1.tar.gz/gcc-4.3.1/configure
--host=hppa1.1-hp-hpu
101 - 166 of 166 matches
Mail list logo