I tried to compile the following trivial program, called 'hello.c':
#include
int main(void)
{
printf("hello, world!\n");
return 0;
}
using gcc, in a directory which had a subdirectory called "gcc". This caused
the compile to fail with the following output:
> gcc hello.c
In file inclu
--- Comment #1 from charlet at adacore dot com 2008-11-02 10:57 ---
Subject: Re: [4.4 Regression] bootstrap with ada fails:
a-direct.ads:426:09: alignment for "Search_Typeb82s" must be at
least 8
This is yet again a failure due to having multilibs enabled by default
for
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-11-02 12:04 ---
More reduced:
typedef int Int32;
void use_it(int);
void FindAndReadSignature(int processedSize)
{
int numPrevBytes = 1;
for (;;)
{
int numBytesInBuffer = numPrevBytes + processedSize;
I
--- Comment #9 from rguenther at suse dot de 2008-11-02 12:20 ---
Subject: Re: [4.2/4.3/4.4 Regression] offset warning should
be given in the front-end
On Sat, 1 Nov 2008, manu at gcc dot gnu dot org wrote:
> --- Comment #8 from manu at gcc dot gnu dot org 2008-11-01 17:44 -
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-11-02 12:33 ---
It seems to work on the trunk now. I'm trying to reduce it on the branch.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #10 from manu at gcc dot gnu dot org 2008-11-02 12:53 ---
(In reply to comment #9)
> > This is my current patch and it works in this testcase. However, it also
> > triggers on cases like: const char *p = str + sizeof(str)
> >
> > Perhaps I am doing this at the wrong place. A
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-11-02 10:42 ---
Confirmed. We seem to be very slowly eating all of memory during processing
a single SCC in FRE - which means iteration doesn't converge.
--
rguenth at gcc dot gnu dot org changed:
What|Removed
--- Comment #11 from rguenth at gcc dot gnu dot org 2008-11-02 13:02
---
I'm not sure. Does TREE_STRING_LENGTH in the particular case include the
NULL character? Does sizeof(str) include the NULL character?
In principle it is allowed to have a pointer point one after the last element
Sent from my iPhone
On Nov 2, 2008, at 4:53 AM, "manu at gcc dot gnu dot org" <[EMAIL PROTECTED]
> wrote:
--- Comment #10 from manu at gcc dot gnu dot org 2008-11-02
12:53 ---
(In reply to comment #9)
This is my current patch and it works in this testcase. However,
it also
--- Comment #12 from pinskia at gmail dot com 2008-11-02 13:07 ---
Subject: Re: [4.2/4.3/4.4 Regression] offset warning should be given in the
front-end
Sent from my iPhone
On Nov 2, 2008, at 4:53 AM, "manu at gcc dot gnu dot org"
<[EMAIL PROTECTED]
> wrote:
>
>
> --- Comment
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-02 10:58 ---
Reducing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37991
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-11-02 10:33 ---
What exactly do you mean with redundant stack manipulation? Note that the
ABI requires the stack to be aligned properly at function entry which makes
stack adjustment necessary before the call. Note also that you c
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-11-02 13:35 ---
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-11-02 13:36 ---
Subject: Bug 37991
Author: rguenth
Date: Sun Nov 2 13:34:58 2008
New Revision: 141532
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141532
Log:
2008-11-02 Richard Guenther <[EMAIL PROTECTED]>
PR
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Keywords||build
Summary|bootstrap with ada fails: a-|[4.4 Regression
--- Comment #2 from reza at parvan dot net 2008-11-02 11:01 ---
Arrrg! I'm very sorry. Please ignore this bug report.
I'll change the status to INVALID if that's okay.
Thanks for your response.
Reza.
--
reza at parvan dot net changed:
What|Removed
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-11-02 11:02 ---
Works for me. What is the output if you add -v to the commandline? This may
be a packaging bug of your operating system vendor - which is?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37995
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-11-02 12:48 ---
We take a long time in compute_antic in the loop
for (i = 0; i < last_basic_block - NUM_FIXED_BLOCKS; i++)
{
if (TEST_BIT (changed_blocks, postorder[i]))
{
basic_blo
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-11-02 11:27 ---
The following fails this way with plain -O. The key is the typedef - if you
replace the use of UInt32 with unsinged int the testcase succeeds. Mine.
typedef unsigned int UInt32;
int Read(unsigned int *processedSiz
--- Comment #6 from burnus at gcc dot gnu dot org 2008-11-02 14:18 ---
> Not closing yet, as the GET array could also be checked,
> see http://gcc.gnu.org/ml/fortran/2008-10/msg00281.html .
Another item: If the default integer is 8 instead of 4, the array sizes are
half as big (see also
In an already-built objdir, touch or modify any of your target-specific t-*
files, then in gcc "make libgcc.mvars". Observe that libgcc.mvars is
unmodified.
To fix, just add $(tmake_file) to the dependencies for libgcc.mvars.
Almost as simple as writing a bugzilla entry, but only almost...
and I'd
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-11-02 15:27 ---
Subject: Bug 37542
Author: rguenth
Date: Sun Nov 2 15:26:04 2008
New Revision: 141534
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141534
Log:
2008-11-02 Richard Guenther <[EMAIL PROTECTED]>
PR
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-11-02 15:27 ---
Fixed as far as constants are concerned. For the non-constant case I'll open
another bug.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--
Split from PR37542.
int foo (int i, int b)
{
int mask;
int result;
if (b)
mask = -1;
else
mask = 0;
result = result & mask;
return result;
}
should be optimized to
int foo (int i, int b)
{
int mask;
int result;
if (b)
result = result;
else
result = 0;
return
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-11-02 16:08 ---
This is because fold doesn't fold ig_1 == 1 - ig_1 to a constant. Which is
just because it doesn't handle this canonical form but expects X +- CST always.
Fixing that makes the first forwprop pass optimize the comp
--- Comment #3 from mikael dot morin at tele2 dot fr 2008-11-02 17:50
---
(In reply to comment #1)
> First valgrind error:
>
> ==21621== Invalid read of size 8
> ==21621==at 0x46AAEA: gfc_resolve_expr (resolve.c:4248)
> Second valgrind error:
>
> ==21621== Address 0x65b2ef8 is 4
--- Comment #4 from mikael dot morin at tele2 dot fr 2008-11-02 18:03
---
Created an attachment (id=16612)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16612&action=view)
hackish patch
I think I got it.
When the statement is rejected, all changes are reverted.
However, the nam
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-11-02 18:23 ---
Actually we can fold C - a == a only for odd C.
But more generally a +- b == a to b == 0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31029
--- Comment #3 from krebbel at gcc dot gnu dot org 2008-11-02 18:43 ---
Subject: Bug 37977
Author: krebbel
Date: Sun Nov 2 18:42:04 2008
New Revision: 141537
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141537
Log:
2008-11-02 Andreas Krebbel <[EMAIL PROTECTED]>
PR
--- Comment #4 from krebbel at gcc dot gnu dot org 2008-11-02 18:48 ---
Fixed with the patch above.
--
krebbel at gcc dot gnu dot org changed:
What|Removed |Added
The gcc.1 manpage states:
>-fno-common
> In C, allocate even uninitialized global variables in the data sec-
> tion of the object file, rather than generating them as common
> blocks. This has the effect that if the same variable is declared
> (without "extern") in two different compilations, you
--- Comment #8 from dberlin at gcc dot gnu dot org 2008-11-02 20:53 ---
Subject: Re: [4.4 Regression] excessive memory consumption - possible hang
On Sun, Nov 2, 2008 at 7:04 AM, rguenth at gcc dot gnu dot org
<[EMAIL PROTECTED]> wrote:
>
>
> --- Comment #5 from rguenth at gcc dot
Shape intrinsic does not allow scalar arguments as required by f90/f95/f03
standards. Example code follows:
program test_shape ! Segmentation fault generated when executable executed
integer :: i
print *, shape( i ) ! Shape of a scalar allowed by f90, f95, f03
! stand
--- Comment #1 from kargl at gcc dot gnu dot org 2008-11-03 00:00 ---
Code works with 4.3.2 and trunk.
Note you probably want to
1) Update to a 4.3.2 or newer compiler.
2) Change the example to
program test_shape
integer :: i
print *, size(shape(i)) ! Shape of a scalar allo
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-11-03 02:17
---
I will add this to my list and see if we can get to what g77 does.
--
jvdelisle at gcc dot gnu dot org changed:
What|Removed |Added
-
--
dannysmith at users dot sourceforge dot net changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |dannysmith at users dot
|dot org
--- Comment #16 from pault at gcc dot gnu dot org 2008-11-03 06:46 ---
Subject: Bug 37445
Author: pault
Date: Mon Nov 3 06:44:47 2008
New Revision: 141543
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141543
Log:
2008-11-03 Paul Thomas <[EMAIL PROTECTED]>
PR fortran
--- Comment #8 from burnus at gcc dot gnu dot org 2008-11-03 07:21 ---
Subject: Bug 37821
Author: burnus
Date: Mon Nov 3 07:20:24 2008
New Revision: 141544
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141544
Log:
2008-11-03 Tobias Burnus <[EMAIL PROTECTED]>
PR fort
--- Comment #9 from burnus at gcc dot gnu dot org 2008-11-03 07:35 ---
FIXED on the trunk.
Thanks for the report and sorry that it took that long to commit the fix.
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from mvanier at cs dot caltech dot edu 2008-11-03 07:37
---
Created an attachment (id=16613)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16613&action=view)
build script for gcc on Arch Linux
See other posts for this bug.
--
http://gcc.gnu.org/bugzilla/show_b
--- Comment #3 from mvanier at cs dot caltech dot edu 2008-11-03 07:38
---
The operating system is Arch Linux, and the package manager is Arch-specific
and is called pacman. There is a separate package manager for building
packages from scratch called ABS (Arch Build System). I'm atta
--- Comment #3 from reichelt at gcc dot gnu dot org 2008-11-03 07:40
---
Reopen ...
--
reichelt at gcc dot gnu dot org changed:
What|Removed |Added
Status|RE
--- Comment #4 from reichelt at gcc dot gnu dot org 2008-11-03 07:41
---
... to mark as duplicate as PR37967 as the bug was fixed with the patch for
PR37967.
*** This bug has been marked as a duplicate of 37967 ***
--
reichelt at gcc dot gnu dot org changed:
What|R
--- Comment #4 from reichelt at gcc dot gnu dot org 2008-11-03 07:41
---
*** Bug 37964 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37967
--- Comment #2 from dannysmith at users dot sourceforge dot net 2008-11-03
07:45 ---
Created an attachment (id=16614)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16614&action=view)
revised patch to quard with ENABLE_SHARED_LIBGCC
Hi Mikael,
I have modified your patch slightly
45 matches
Mail list logo