--- Comment #19 from bonzini at gnu dot org 2007-09-21 07:50 ---
I have a patch, I'll get around to testing it next week, promised. :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32009
--- Comment #2 from burnus at gcc dot gnu dot org 2007-09-21 07:58 ---
I can reproduce the problem with gfortran 4.1 and 4.2 with -std=f95/-std=f2003;
however, gfortran 4.3.0 compiles this program with -std=f95 without showing
this error.
I therefore suggest you to either don't use -std
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-09-21 08:56 ---
What I can find that supports rejecting the code is:
3.4.3(1) "Qualified name lookup":
"If the name found is not a class-name (clause 9) or namespace-name
(7.3.1), the program is ill-formed."
7.1.3 "The typedef s
struct foo_bar;
typedef foo_bar bar;
struct foo_bar {
typedef int baz;
bar::baz ii;
};
t.C:7: error: baz in class bar does not name a type
or as originally reported:
struct foo_bar;
namespace foo {
typedef foo_bar bar;
};
struct foo_bar {
type
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-09-21 09:08 ---
I think there is already a bug about this.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-09-21 09:09 ---
*** Bug 33515 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-09-21 09:09 ---
Yep, PR 32205.
*** This bug has been marked as a duplicate of 32205 ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Hi Jeff, Hi Kazu,
We have run across an H8300 RTL generation bug which I think might be
generic, rather than specific to the H8300, although it may only
trigger for small targets.
Given the following source file:
struct fields { unsigned long long u2 : 33; } flags;
int main (voi
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|
--- Comment #9 from rguenth at gcc dot gnu dot org 2007-09-21 09:37 ---
Subject: Bug 33508
Author: rguenth
Date: Fri Sep 21 09:36:52 2007
New Revision: 128645
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128645
Log:
2007-09-21 Richard Guenther <[EMAIL PROTECTED]>
PR
--- Comment #4 from jakub at gcc dot gnu dot org 2007-09-21 09:50 ---
Fixed so far for 4.3.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Known to fai
--- Comment #8 from jakub at gcc dot gnu dot org 2007-09-21 09:50 ---
Fixed so far in 4.3.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Known to work
--- Comment #2 from jakub at gcc dot gnu dot org 2007-09-21 09:51 ---
Fixed.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #10 from rguenth at gcc dot gnu dot org 2007-09-21 09:38
---
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNE
--- Comment #6 from rguenth at gcc dot gnu dot org 2007-09-21 10:20 ---
The problem is that fold_binary converts (long)ptr * -1 to (long)-ptr:
/* Transform x * -1 into -x. */
if (integer_all_onesp (arg1))
return fold_convert (type, negate_expr (arg0));
w
--- Comment #6 from burnus at gcc dot gnu dot org 2007-09-21 10:21 ---
Subject: Bug 33037
Author: burnus
Date: Fri Sep 21 10:21:29 2007
New Revision: 128646
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128646
Log:
2007-09-21 Tobias Burnus <[EMAIL PROTECTED]>
PR fort
Compiler:
v850-elf-gcc -v
Reading specs from /usr/local/gcc333/lib/gcc-lib/v850-elf/3.3.3/specs
Configured with: ../configure --target=v850-elf --prefix=/usr/local/gcc333
--with-newlib --enable-languages=c
Thread model: single
gcc version 3.3.3
Source code:
typedef unsigned long long int U64;
--- Comment #7 from burnus at gcc dot gnu dot org 2007-09-21 10:32 ---
Partially fixed.
Missing: Check whether the size of the LHS is bigger than the result of
TRANSFER (see example in this PR's comment 0).
The current fix gives the warning only if the specified (SIZE=...) result size
--- Comment #2 from burnus at gcc dot gnu dot org 2007-09-21 10:44 ---
Subject: Bug 33455
Author: burnus
Date: Fri Sep 21 10:44:20 2007
New Revision: 128647
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128647
Log:
2007-09-21 Tobias Burnus <[EMAIL PROTECTED]>
PR fort
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2007-09-21 10:54
---
Subject: Bug 26253
Author: fxcoudert
Date: Fri Sep 21 10:54:20 2007
New Revision: 128648
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128648
Log:
PR libfortran/26253
* intrinsics/c99_fun
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2007-09-21 10:55
---
This should now be fixed. Please reopen if I fumbled in any way and the issue
is still present.
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from burnus at gcc dot gnu dot org 2007-09-21 11:27 ---
Fixed on the trunk (4.3.0).
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #6 from jakub at gcc dot gnu dot org 2007-09-21 11:17 ---
Subject: Bug 33439
Author: jakub
Date: Fri Sep 21 11:17:13 2007
New Revision: 128649
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128649
Log:
PR fortran/33439
* gfortran.dg/gomp/pr33439.f90:
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2007-09-21 11:59
---
(In reply to comment #9)
> Maybe one should put it additionally also in the documentation of the CPU_TIME
> intrinsic subroutine.
Yep, but I suspect that CPU_TIME is not the only routine library routine that
can
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2007-09-21 11:37
---
I'm changing this into a documentation PR, and assign it to myself. It was
decided that there really isn't a good way to provide high-quality timer
functions with precision-loss trapping. We need to document this
--- Comment #9 from burnus at gcc dot gnu dot org 2007-09-21 11:45 ---
> We need to document this shortcoming in the -ffpe-trap option doc.
Maybe one should put it additionally also in the documentation of the CPU_TIME
intrinsic subroutine.
--
http://gcc.gnu.org/bugzilla/show_bug.cg
--
pcarlini at suse dot de changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de
|dot org |
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-09-21 13:04 ---
Shorter testcase:
void x(void *data);
void test()
{
long i;
for (i = 0; i < 5; i++)
if (i > 0)
x((void *)(i - 1));
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33381
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-09-21 13:36 ---
This was fixed by the introduction of pointer-plus, which removed all traces
of fold_used_pointer* in tree-scalar-evolution.c.
A safe patch would go along the following:
Index: tree-vrp.c
==
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org
--- Comment #5 from ktietz at onevision dot com 2007-09-21 13:26 ---
The bug is related to i386.c function 'return_in_memory_ms_64':
The return statement of this function has to be extended by SCmode.
Patch looks like:
static int
return_in_memory_ms_64 (const_tree type, enum machine_m
Hello,
I know this may look like issue #15910, but please read still. g++ refuses to
compile the following code because it wants to use std::distance. But if I
remove the code about "class Wx", which is not used anywhere, g++ now uses
::distance without complaining. Whichever the right answer is,
--- Comment #9 from aldot at gcc dot gnu dot org 2007-09-21 15:54 ---
Created an attachment (id=14238)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14238&action=view)
add --enable-intermodule for libgfortran
2007-09-21 Bernhard Fischer
PR fortran/31546
* (configur
--- Comment #10 from aldot at gcc dot gnu dot org 2007-09-21 15:56 ---
fx, I cannot apply this patch since i cannot autoreconf with the appropriate
versions of autoconf and automake. Can you apply it with the regenerated files,
please (and assign this bug to you, if you want)?
TIA,
--
--- Comment #1 from pault at gcc dot gnu dot org 2007-09-21 15:27 ---
Confirmed - thanks for the report.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33499
GCC generates odd code sequence..
Part of the source (full source in attachment):
usbd_status
usbd_do_request_flags_pipe(usbd_device_handle dev, usbd_pipe_handle pipe,
usb_device_request_t *req, void *data, u_int16_t flags, int *actlen,
u_int32_t timeout)
{
usbd_xfer_hand
--- Comment #2 from sami dot kantoluoto at embedtronics dot fi 2007-09-21
16:32 ---
Created an attachment (id=14239)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14239&action=view)
Test case
Source code triggering the bug added.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?i
--- Comment #3 from pault at gcc dot gnu dot org 2007-09-21 16:48 ---
Hi Harald!
The number of your testcase is depressing but I'll take it on anyway; it's
related to PR7, as well as PR31564, whose patch caused this regression.
There is some wierdness going on with name-mangling th
--- Comment #11 from pcarlini at suse dot de 2007-09-21 16:50 ---
Looking into it: I mean to investigate whether a relaxed warning per Comment #9
is implementable in a decently clean way.
--
pcarlini at suse dot de changed:
What|Removed |Added
--- Comment #2 from pault at gcc dot gnu dot org 2007-09-21 16:38 ---
Hmmm. It helps to actually confirm it.
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from pault at gcc dot gnu dot org 2007-09-21 17:18 ---
It's mine.
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|una
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-09-21 18:47 ---
In fact it does.
This is a hard bug to fix without all translation units aviable at compile
time.
So I am going to close as won't fix.
--
pinskia at gcc dot gnu dot org changed:
What|Removed
According to C++ standard 7.1.2 (4):
An inline function shall be defined in every translation unit in which
it is used and shall have exactly the same definition in every case
For the following code:
-
inline.cc
-
#include
inline void foo() {
printf("Hey!\n");
}
void bar(
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-09-21 18:43 ---
I think it also mentions in the same pargraph that this violation does not have
to be diagnostic.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33520
--- Comment #2 from pcarlini at suse dot de 2007-09-21 19:12 ---
On it.
--
pcarlini at suse dot de changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot g
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-09-21 19:18 ---
And -m128bit-long-double is an ABI change so what do you expect???
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--
[#include // EXIT_SUCCESS
#include // printf
int main(int argc, char** argv) {
long double ld = 1.0;
printf("ld = %Lg, string = %s\n", ld, "foo");
return (EXIT_SUCCESS);
}]
[g++ -m128bit-long-double -Wall main.cpp -o test && ./test]
With the wider long double, a corrupted value is
ith: ../gcc/configure --disable-bootstrap --enable-multilib
--prefix=/usr/local/gfortran --enable-languages=c,fortran
Thread model: posix
gcc version 4.3.0 20070921 (experimental) (GCC)
--
Summary: Incorrect warning messages about uninitialized variables
Product: gcc
--- Comment #1 from dir at lanl dot gov 2007-09-21 19:25 ---
Created an attachment (id=14240)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14240&action=view)
The fortran source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33522
ith: ../gcc/configure --disable-bootstrap --enable-multilib
--prefix=/usr/local/gfortran --enable-languages=c,fortran
Thread model: posix
gcc version 4.3.0 20070921 (experimental) (GCC)
--
Summary: Incorrect warning messages about uninitialized variables
Product: gcc
--
pcarlini at suse dot de changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de
|dot org |
--- Comment #11 from fxcoudert at gcc dot gnu dot org 2007-09-21 19:49
---
Subject: Bug 31546
Author: fxcoudert
Date: Fri Sep 21 19:49:34 2007
New Revision: 128654
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128654
Log:
PR fortran/31546
* (configure.ac): Add
--- Comment #12 from fxcoudert at gcc dot gnu dot org 2007-09-21 19:50
---
Fixed.
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASS
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-09-21 19:53
---
Closing. small_buffer will go away when we implement PR 25561 ("Eventually get
rid of the Alloc Stream Facility").
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-09-21 19:55
---
Closing, as we probably want one testsuite (in gcc/testsuite) rather than
adding a separate library testsuite.
(http://gcc.gnu.org/ml/fortran/2007-09/msg00234.html)
--
fxcoudert at gcc dot gnu dot org changed:
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-09-21 19:56
---
For now, we should simply change the ICE into a standard error.
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #6 from pthaugen at gcc dot gnu dot org 2007-09-21 20:17
---
Subject: Bug 30113
Author: pthaugen
Date: Fri Sep 21 20:17:04 2007
New Revision: 128656
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128656
Log:
2007-09-21 Pat Haugen <[EMAIL PROTECTED]>
Backp
--- Comment #4 from gmills at library dot berkeley dot edu 2007-09-21
20:34 ---
With the following configure string
/usr/local/src/gcc-4.2.1/configure --enable-languages=c,c++,objc,obj-c++
--with-gnu-as --with-gnu-ld
I am getting this error.
In file included from
/usr/local/src/gc
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-09-21 20:40
---
> /usr/local/src/gcc-4.2.1/configure --enable-languages=c,c++,objc,obj-c++
> --with-gnu-as --with-gnu-ld
>
> I am getting this error.
Aren't you again building within the source tree?
--
ebotcazou at gcc do
If you use -O2 -ftree-vectorize -msse5 (or now -O3 -msse5), the compiler
generates an insn not found message, because there is a typo in i386.c.
--
Summary: SSE5 vectorized SI->DI conversions broken
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
--- Comment #1 from michael dot meissner at amd dot com 2007-09-21 20:50
---
Created an attachment (id=14241)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14241&action=view)
Patch to fix problem
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33524
--- Comment #2 from michael dot meissner at amd dot com 2007-09-21 20:51
---
Created an attachment (id=14242)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14242&action=view)
Test case that replicates the file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33524
--- Comment #2 from pault at gcc dot gnu dot org 2007-09-21 20:55 ---
I've just sorted PRs 7 and 33376, so I'll tunr back to these fellows next.
This is confirmed, of course.
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #6 from gmills at library dot berkeley dot edu 2007-09-21
20:56 ---
Subject: Re: make fails with no rule to make target
'all' in directory gcc
No, I'm building in a target directory
Garey Mills
ebotcazou at gcc dot gnu dot org wrote:
> --- Comment #5 from ebotcazou
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2007-09-21 20:45
---
How come no testcase has been committed with the fix?
--
ebotcazou at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2007-09-21 21:19
---
> No, I'm building in a target directory
OK. Which config shell do you use?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-09-21 21:46 ---
Also which tar did you untar the tar ball with?
GNU tar is required to support long file name lengths.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511
--- Comment #9 from gmills at library dot berkeley dot edu 2007-09-21
21:48 ---
Subject: Re: make fails with no rule to make target
'all' in directory gcc
ksh
ebotcazou at gcc dot gnu dot org wrote:
> --- Comment #7 from ebotcazou at gcc dot gnu dot org 2007-09-21 21:19
>
--- Comment #10 from gmills at library dot berkeley dot edu 2007-09-21
21:49 ---
Subject: Re: make fails with no rule to make target
'all' in directory gcc
gnu tar.
pinskia at gcc dot gnu dot org wrote:
> --- Comment #8 from pinskia at gcc dot gnu dot org 2007-09-21 21:46
> --
--- Comment #2 from Raf_Schietekat at ieee dot org 2007-09-21 21:36 ---
If anything, not to be snapped at.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33521
the if statement crashes the code:
>
> program t
> integer*4 i
> real*4 a(10)
> do i = 1, 10
> a(i) = i
> end do
> i = 0
> if ( i .gt. 0 .and. a(i) .gt. 0 ) then
> i = i + 1
> write(*,*) i
> end if
> end
>
> $ gfort
--
pcarlini at suse dot de changed:
What|Removed |Added
AssignedTo|pcarlini at suse dot de |unassigned at gcc dot gnu
||do
--- Comment #1 from kargl at gcc dot gnu dot org 2007-09-21 23:03 ---
The Fortran language does not guarantee the order of the
evaluation of the logical expression in your IF statement.
A fortran processor can try to evaluate "a(0) .gt. 0" before
the "i .gt. 0" expression. Your code is
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2007-09-21
23:35 ---
Subject: Re: [4.3 regression] FAIL: gcc.c-torture/execute/990404-1.c execution
at -O3
Seems to have disappeared between 128564 and 128587.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33280
--- Comment #1 from pcarlini at suse dot de 2007-09-22 00:04 ---
On it.
--
pcarlini at suse dot de changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot g
--- Comment #1 from danglin at gcc dot gnu dot org 2007-09-22 01:18 ---
Although it might be possible to fix this at an earlier point,
things go seriously wrong in emit_group_load_1. We have:
Breakpoint 7, emit_group_load_1 (tmps=0x83fffdff4a70,
dst=0x83fffdfb7540, orig_src
Executing on host: /xxx/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/
xxx/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
/xxx/gnu/gcc/gcc/gcc/testsuite/
gfortran.dg/openmp_stack.f90 -O0 -fopenmp -S -o openmp_stack.s(timeout
=
600)
gfortran: unrecognized option '-pthread'
output is
--- Comment #8 from patchapp at dberlin dot org 2007-09-22 01:36 ---
Subject: Bug number PR33037
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01664.html
--
http://gcc.gnu.org/bugzilla/sh
--- Comment #4 from patchapp at dberlin dot org 2007-09-22 01:36 ---
Subject: Bug number PR33455
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01663.html
--
http://gcc.gnu.org/bugzilla/sh
--- Comment #10 from patchapp at dberlin dot org 2007-09-22 01:37 ---
Subject: Bug number PR33445
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01683.html
--
http://gcc.gnu.org/bugzilla/s
--- Comment #5 from bangerth at dealii dot org 2007-09-22 03:57 ---
This code:
class Alpha { public: Alpha(); };
static Alpha* a1 = new Alpha;
should definitely not draw a warning because during the initialization
of the variable, the constructor of A
--- Comment #3 from bangerth at dealii dot org 2007-09-22 04:10 ---
It seems rather hard to diagnose this. If you change the ABI by using
a floating point representation using a different size of builtin types,
you probably have to build all libraries that you link with with the same
fla
--- Comment #2 from bangerth at dealii dot org 2007-09-22 04:14 ---
(In reply to comment #1)
> What I can find that supports rejecting the code is:
>
> 3.4.3(1) "Qualified name lookup":
>
> "If the name found is not a class-name (clause 9) or namespace-name
> (7.3.1), the program is i
--- Comment #8 from rwgk at yahoo dot com 2007-09-22 04:22 ---
Created an attachment (id=14243)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14243&action=view)
reproducer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33185
--- Comment #9 from rwgk at yahoo dot com 2007-09-22 04:23 ---
Info regarding Comment #8:
Fedora Core release 5 (Bordeaux)
% uname -r -m
2.6.15-1.2054_FC5 x86_64
% g++ -fpermissive -c -fPIC -I/usr/include/python2.4 ice_canonical.cpp
ice_canonical.cpp: In function 'void init_module()':
--- Comment #1 from bangerth at dealii dot org 2007-09-22 04:32 ---
It is true that both icc and sunCC compile the code both without and with
the declaration of the class Wx, whereas we don't in the former case.
Will have to investigate some more some other time...
W.
--
bangerth a
--- Comment #3 from rwgk at yahoo dot com 2007-09-22 04:59 ---
I'm getting an ICE that looks very similar (below).
However, I cannot reproduce the ICE with the test case posted when this
issue was opened. Therefore I'm wondering if my ICE is different.
What is the platform, and what is t
OS: Ubuntu 7.04
GCC version: 4.2.1
I try to play the inline assembly function. Here I use "rep movsb" to copy a
string.
// Code begin
char input[] = {"GCC Version Number"};
char output[30];
int length = 28;
asm (
"cld\n\t"
"rep movsb"
:
: "c"(length), "S"(input), "D"(output));
printf("
88 matches
Mail list logo