howto multilib gcc mainline on sparc-linux?

2005-07-17 Thread Christian Joensson
I just tried, what I thought to be default enabled, to build a multilibbed gcc mainline. However, when I run the testsuite with -m64 flag, I get warnings like this (this is from gcc testsuite) Executing on host: /usr/local/src/trunk/objdir32/gcc/xgcc -B/usr/local/src/trunk/objdir32/gcc/ -O0 -w

Re: volatile semantics

2005-07-17 Thread Michael Veksler
[EMAIL PROTECTED] wrote on 17/07/2005 08:30:26: Michael Veksler [EMAIL PROTECTED] writes: | Gabriel Dos Reis wrote on 17/07/2005 06:07:29: | | Daniel Berlin [EMAIL PROTECTED] writes: | | | Anything it sees anything in a statement with volatile, it marks the | | statement as

Re: volatile semantics

2005-07-17 Thread D. Hugh Redelmeier
| From: Gabriel Dos Reis [EMAIL PROTECTED] | | D. Hugh Redelmeier [EMAIL PROTECTED] writes: | | | | From: Gabriel Dos Reis [EMAIL PROTECTED] | | | | | After many exchanges via private mails and | | | looking at the various reports related to this issue, it has become | | | clear to me that the

Re: volatile semantics

2005-07-17 Thread Andrew Pinski
On Jul 16, 2005, at 11:07 PM, Gabriel Dos Reis wrote: | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20222 Andrew Pinski has declared this to be a bug, but the audit trail isn't clear as to why. Because the abs is a function call, there is only one load and should be only one load as

Re: volatile semantics

2005-07-17 Thread D. Hugh Redelmeier
| From: Daniel Berlin [EMAIL PROTECTED] | On Sat, 2005-07-16 at 21:36 -0400, D. Hugh Redelmeier wrote: | | From: Gabriel Dos Reis [EMAIL PROTECTED] | | | After many exchanges via private mails and | | looking at the various reports related to this issue, it has become | | clear to me that

Re: volatile semantics

2005-07-17 Thread Ian Lance Taylor
Daniel Berlin [EMAIL PROTECTED] writes: In other words, we're asked to agree that the type of an object changes depending on how it is accessed. For the benefit of readers, only the first sentence of this para is the language of the standard; the rest isn't. That an object referred

Re: volatile semantics

2005-07-17 Thread Andrew Haley
Gabriel Dos Reis writes: Daniel Berlin [EMAIL PROTECTED] writes: | | There is no point in type qualifiers if they can be simply changed at | | will. Do not lie about your objects, and you will not be screwed over. | | only if the language you're implementing the compiler for

Re: Big Classpath Merge warning

2005-07-17 Thread Andreas Jaeger
Andreas Schwab [EMAIL PROTECTED] writes: Andreas Jaeger [EMAIL PROTECTED] writes: I know have a problem building gcc mainline with a parallel build on Linux/x86-64: /usr/include/java/net/URL.h:25: error: global qualification of class name is inva lid before ':' token

Re: profiledbootstrap insn-attrtab.c compile taking forever

2005-07-17 Thread R Hill
R Hill wrote: Richard Guenther wrote: On 7/14/05, Richard Guenther [EMAIL PROTECTED] wrote: As subject says - on x86_64 it takes a whopping 30 minutes to compile said with -fprofile-generate! It's caused by -frename-registers enabled by -funroll-loops. Compiling with -O2 -fno-unroll-loops

Re: volatile semantics

2005-07-17 Thread Gabriel Dos Reis
Andrew Pinski [EMAIL PROTECTED] writes: | On Jul 16, 2005, at 11:07 PM, Gabriel Dos Reis wrote: | | | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20222 | | Andrew Pinski has declared this to be a bug, but the audit trail | isn't clear as to why. | | Because the abs is a function call,

Re: volatile semantics

2005-07-17 Thread Gabriel Dos Reis
D. Hugh Redelmeier [EMAIL PROTECTED] writes: [...] | | At this point we need: | | (1) agreement from C and C++ maintainers on access through volatile | | lvalue | | I don't know C++ well enough to say whether the analogous optimization | is wrong for C++. C++ has resisted, for two

Re: volatile semantics

2005-07-17 Thread Gabriel Dos Reis
Andrew Haley [EMAIL PROTECTED] writes: [...] | You know, the more this goes on the more I believe we should send | X3J11 a request for clarification. Perhaps X3J11 has been disbanded, | so there may be problems. But we should ask. I don't know whether X3J11 is disbanded. However, at the last

Re: volatile semantics

2005-07-17 Thread Joseph S. Myers
On Sun, 17 Jul 2005, Gabriel Dos Reis wrote: D. Hugh Redelmeier [EMAIL PROTECTED] writes: | | From: Gabriel Dos Reis [EMAIL PROTECTED] | | | After many exchanges via private mails and | | looking at the various reports related to this issue, it has become | | clear to me that the

successful build of gcc 4.0.1 on Mac OSX 10.2.8

2005-07-17 Thread Paolo Greppi
% ../gcc-4.0.1/config.guess powerpc-apple-darwin6.8 % /usr/local/bin/g++-4.0.1 -v Using built-in specs. Target: powerpc-apple-darwin6.8 Configured with: ../gcc-4.0.1/configure --program-suffix=-4.0.1 --enable-languages=c,c++ --enable-threads=posix : (reconfigured) ../gcc-4.0.1/configure

Re: Big Classpath Merge warning

2005-07-17 Thread Thorsten Glaser
Tom Tromey dixit: I'm finally ready to check in the big classpath merge, and I wanted to post a short warning before I went ahead with it. Is it possible to use a current libgcj or classpath with gcc 3.4? Thanks, //mirabile -- I believe no one can invent an algorithm. One just happens to hit

Re: volatile semantics

2005-07-17 Thread Daniel Berlin
On Sun, 2005-07-17 at 08:18 +0300, Michael Veksler wrote: Gabriel Dos Reis wrote on 17/07/2005 06:07:29: Daniel Berlin [EMAIL PROTECTED] writes: | Anything it sees anything in a statement with volatile, it marks the | statement as volatile, which should stop things from touching

Re: volatile semantics

2005-07-17 Thread Michael Veksler
Daniel Berlin [EMAIL PROTECTED] wrote on 17/07/2005 17:33:17: On Sun, 2005-07-17 at 08:18 +0300, Michael Veksler wrote: [...] I can't agree with that as is. I would refine it to: Anything that *does* optimizes away visible reads or writes of something marked volatile is buggy.

MEMBER_TYPE and CV qualifiers

2005-07-17 Thread Nathan Sidwell
I'm looking at holding the CV qualifiers of a member function on the MEMBER_TYPE node itself, rather than only on the this pointer argument. this brings up a design issue of what TYPE_MAIN_VARIANT should be of a cv qualified member function. Should it be itself (thereby breaking the invariant

Re: volatile semantics

2005-07-17 Thread Richard Henderson
I've got no interest in reading a thread with 250 messages wherein language lawyers battle it out in a no-holds-barred grudge match. Would someone like to summarize, preferably with a test case that one side assumes to be miscompiled? Speaking with the optimizer hat on, we *don't* do much

Re: volatile semantics

2005-07-17 Thread Nathan Sidwell
Richard Henderson wrote: I've got no interest in reading a thread with 250 messages wherein language lawyers battle it out in a no-holds-barred grudge match. yeah, I can understand that :) Would someone like to summarize, preferably with a test case that one side assumes to be miscompiled?

Compile time increases on Diego's SPEC box

2005-07-17 Thread Steven Bosscher
http://people.redhat.com/dnovillo/spec2000/gcc/log/20050717/spec-20050717.stats Sadly, the SPEC box only measures rounded numbers for the build times, so the places where there is no measured slowdown may actually have slowed down as well, but there is no way to tell from this data. CFP2000 BASE

Re: volatile semantics

2005-07-17 Thread Falk Hueffner
Richard Henderson [EMAIL PROTECTED] writes: I've got no interest in reading a thread with 250 messages wherein language lawyers battle it out in a no-holds-barred grudge match. Would someone like to summarize, preferably with a test case that one side assumes to be miscompiled? Case 1: void

Re: volatile semantics

2005-07-17 Thread Richard Henderson
On Sun, Jul 17, 2005 at 05:03:55PM +0100, Nathan Sidwell wrote: Issue 1. void Foo (char *ptr) { *(volatile char *)ptr; } ... char c; *(volatile char *)c; // can this read be deleted? ... void Foo (volatile char *ptr) { *(char *)ptr; I did see Ian's summary,

Re: volatile semantics

2005-07-17 Thread Ian Lance Taylor
Richard Henderson [EMAIL PROTECTED] writes: I've got no interest in reading a thread with 250 messages wherein language lawyers battle it out in a no-holds-barred grudge match. Would someone like to summarize, preferably with a test case that one side assumes to be miscompiled? As I read the

Re: volatile semantics

2005-07-17 Thread Richard Henderson
On Sun, Jul 17, 2005 at 09:18:01AM -0700, Ian Lance Taylor wrote: This is PR 22278. DannyB posted a simple, untested, patch here: http://gcc.gnu.org/ml/gcc/2005-07/msg00699.html Thanks. I think Danny's patch attacks this too late. The following patch appears to do the right thing with

Re: volatile semantics

2005-07-17 Thread Gabriel Dos Reis
Richard Henderson [EMAIL PROTECTED] writes: | On Sun, Jul 17, 2005 at 05:03:55PM +0100, Nathan Sidwell wrote: | Issue 1. | void Foo (char *ptr) { |*(volatile char *)ptr; | } | ... | char c; | *(volatile char *)c; // can this read be deleted? | ... | void Foo (volatile char *ptr) { |

Re: Pointers in comparison expressions

2005-07-17 Thread Paul Koning
Vincent == Vincent Lefevre [EMAIL PROTECTED] writes: Vincent On 2005-07-12 23:42:23 +0200, Erik Trulsson wrote: Pointer subtraction is only well defined if both pointers point to elements in the same array (or one past the end of the array). Vincent I don't know what you mean by well

Re: Compile time increases on Diego's SPEC box

2005-07-17 Thread Daniel Berlin
On Sun, 2005-07-17 at 18:05 +0200, Steven Bosscher wrote: Hi, There are some huge compile time regressions between 16/7 and 17/7, most likely due to the IPA work from Kenny and Dan. Definitely. The peak compile time slowdown is due to the promote statics pass, which in term causes more work

Re: Compile time increases on Diego's SPEC box

2005-07-17 Thread Daniel Berlin
On Sun, 2005-07-17 at 18:05 +0200, Steven Bosscher wrote: Hi, There are some huge compile time regressions between 16/7 and 17/7, most likely due to the IPA work from Kenny and Dan. These are the build times in seconds, taken from Diego Novillo's nightly SPEC tester box: As i expected, the

Re: volatile semantics

2005-07-17 Thread Paul Schlie
I did see Ian's summary, http://gcc.gnu.org/ml/gcc/2005-07/msg00714.html wherein he ascribed the semantics of the volatile qualifier to the access, and not to the object. I agree with his description completely, as I believe it embodies the intuition that C programmers have used wrt

Re: Compile time increases on Diego's SPEC box

2005-07-17 Thread Steven Bosscher
On Sunday 17 July 2005 19:48, Daniel Berlin wrote: On Sun, 2005-07-17 at 18:05 +0200, Steven Bosscher wrote: Hi, There are some huge compile time regressions between 16/7 and 17/7, most likely due to the IPA work from Kenny and Dan. These are the build times in seconds, taken from

Re: Compile time increases on Diego's SPEC box

2005-07-17 Thread Richard Henderson
On Sun, Jul 17, 2005 at 01:48:44PM -0400, Daniel Berlin wrote: As i expected, the sixtrack slowdown is entirely in global-alloc, in daten.f with -fno-tree-promote-statics global alloc : 0.23 ( 4%) usr 0.00 ( 0%) sys 0.24 ( 3%) wall 448 kB ( 3%) ggc without: global

Re: Compile time increases on Diego's SPEC box

2005-07-17 Thread Daniel Berlin
200.sixtrack 74 258 348.65% I can get this down to something slightly more sane (cut down global-alloc time by 80%) by upping the global var threshold. The problem is that the global var threshold causes us to make all the promoted statics touch the global var. #

O Sorry Tut mir Leid!!

2005-07-17 Thread Osman Coskun
Tut mir leid ich glaube ich habe die email an den falschen geschickt sorry vielmalls wird nicht wieder vorkommen ich habe ein problem mit meinem outlok express sorry vielmalls der link http://search.ebay.de/_W0QQsassZwww_get-time_deQQhtZ-1 war nicht für dich gedacht . Tut mir leid !!

O Sorry Tut mir Leid!!

2005-07-17 Thread Osman Coskun
Tut mir leid ich glaube ich habe die email an den falschen geschickt sorry vielmalls wird nicht wieder vorkommen ich habe ein problem mit meinem outlok express sorry vielmalls der link http://search.ebay.de/_W0QQsassZwww_get-time_deQQhtZ-1 war nicht für dich gedacht . Tut mir leid !!

Re: MEMBER_TYPE and CV qualifiers

2005-07-17 Thread Mark Mitchell
Nathan Sidwell wrote: I'm looking at holding the CV qualifiers of a member function on the MEMBER_TYPE node itself, rather than only on the this pointer argument. I don't think that's a good idea. The const on the member function really does apply to the type pointed to be the this pointer,

Re: volatile semantics

2005-07-17 Thread Mark Mitchell
Daniel Berlin wrote: On Sun, 2005-07-17 at 05:13 +0200, Gabriel Dos Reis wrote: Daniel Berlin [EMAIL PROTECTED] writes: [...] | I think that is urgent. | No offense, but everyone thinks the problems that affect them are the | most urgent. miscompilation of KDE was declared urgent; I hope

Bug in PPC inline assembly?

2005-07-17 Thread Stefan
I have some problems with using inline PowerPC assembly in GCC (4.0.1). Consider the following code: void save_fp_register(double* buffer) { asm(stfd F0, 0(%0) : : r (buffer) ); } When compiled with -Os the generated code becomes save_fp_register: stfd F0, 0(3)

Re: Bug in PPC inline assembly?

2005-07-17 Thread David Edelsohn
Stefan writes: Stefan I have some problems with using inline PowerPC assembly in GCC (4.0.1). Stefan Consider the following code: Stefan void save_fp_register(double* buffer) Stefan { Stefan asm(stfd F0, 0(%0) : : r (buffer) ); Stefan } Use constraint b. David

What's the best way of including extra files for gcc lib dir?

2005-07-17 Thread Kean Johnston
Hi All, What is the best way of including target-specific files in the version-specific gcc library directory? I need to include a file that will be referenced from LINK_SPEC as gcc.map%s. IE, in the same place the startup files are located. So really I need to know two things: 1) How to I

Re: Bug in PPC inline assembly?

2005-07-17 Thread Alan Lehotsky
On Jul 17, 2005, at 19:15, Stefan wrote: I have some problems with using inline PowerPC assembly in GCC (4.0.1). Consider the following code: void save_fp_register(double* buffer) { asm(stfd F0, 0(%0) : : r (buffer) ); } Try using 'b' for the constraint - that selects for

Re: volatile semantics

2005-07-17 Thread Paul Schlie
Note that I'm explicitly not taking a position on what the standard says. The standard is notoriously incomplete with respect to object model issues, including volatility, so I think that trying particularly hard to parse its words in this area is probably not a good use of time for people

Re: Pointers in comparison expressions

2005-07-17 Thread Vincent Lefevre
On 2005-07-17 12:55:38 -0400, Paul Koning wrote: Are you sayinvg that a-b is not always guaranteed to work when a and b point to elements of the same array? That sounds wrong; can you given an example or standards text that supports this? 6.5.6 Additive operators [...] [#9]

Re: Pointers in comparison expressions

2005-07-17 Thread D. Hugh Redelmeier
| From: Vincent Lefevre [EMAIL PROTECTED] | To: gcc@gcc.gnu.org | Subject: Re: Pointers in comparison expressions | | On 2005-07-17 12:55:38 -0400, Paul Koning wrote: | Are you sayinvg that a-b is not always guaranteed to work when a | and b point to elements of the same array? That sounds

inconsistent CFLAGS between toplevel and gcc/

2005-07-17 Thread Ben Elliston
I have recently been noticing inconsistent warnings when building GCC (for example, warnings about uninitialised variables in gcc/ddg.c). I had not realised it, but the top-level CFLAGS defaults to -g -O2 whereas gcc's Makefile sets CFLAGS to -g by default. So, if you compile this way: cd

Re: inconsistent CFLAGS between toplevel and gcc/

2005-07-17 Thread Andrew Pinski
On Jul 18, 2005, at 12:32 AM, Ben Elliston wrote: I have recently been noticing inconsistent warnings when building GCC (for example, warnings about uninitialised variables in gcc/ddg.c). I had not realised it, but the top-level CFLAGS defaults to -g -O2 whereas gcc's Makefile sets CFLAGS

Re: inconsistent CFLAGS between toplevel and gcc/

2005-07-17 Thread Ben Elliston
/source/gcc-mainline/gcc/ddg.c -o ddg.o (using GCC 4.0.2 20050717) [EMAIL PROTECTED]:~/build/gcc-mainline/gcc$ gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common

Re: gfortran documentation

2005-07-17 Thread Brooks Moses
Steve Kargl wrote: On Tue, Jul 12, 2005 at 05:10:19PM -0500, Justin Thomas wrote: I am a big fan of the GNU project and would really like to use gfortran for Fortran development work on my 64-bit AMD Opteron machine running Red Hat Linux. I cannot find any documentation on your website at all,

Re: What's the best way of including extra files for gcc lib dir?

2005-07-17 Thread Ian Lance Taylor
Kean Johnston [EMAIL PROTECTED] writes: What is the best way of including target-specific files in the version-specific gcc library directory? I need to include a file that will be referenced from LINK_SPEC as gcc.map%s. IE, in the same place the startup files are located. So really I need

Re: gfortran documentation

2005-07-17 Thread Steve Kargl
On Sun, Jul 17, 2005 at 10:31:03PM -0700, Brooks Moses wrote: Steve Kargl wrote: On Tue, Jul 12, 2005 at 05:10:19PM -0500, Justin Thomas wrote: I am a big fan of the GNU project and would really like to use gfortran for Fortran development work on my 64-bit AMD Opteron machine running Red Hat

[Bug bootstrap/22517] Bootstrap ICE on latest CVS: tree check: tree-ssa

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 07:48 --- Is this before or after: 2005-07-13 David Edelsohn [EMAIL PROTECTED] * tree-ssa-dom.c (lookup_avail_expr): Do not pass member in freed structure as argument. ? That patch should have

[Bug c/22278] gcc -O2 discards cast to volatile

2005-07-17 Thread hugh at mimosa dot com
--- Additional Comments From hugh at mimosa dot com 2005-07-17 08:04 --- There is a thread on the gcc at gcc.gnu.org mailing list discussing this. A possible fix to GCC4.x has been posted in that thread: http://gcc.gnu.org/ml/gcc/2005-07/msg00699.html --

[Bug tree-optimization/22516] [4.1 Regression] Segfault with ivopts at -O

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 08:09 --- Confirmed, backtrace: #0 0x0010c034 in is_gimple_variable (t=0x0) at ../../gcc/tree-gimple.c:239 #1 0x0010c70c in is_gimple_val (t=0x0) at ../../gcc/tree-gimple.c:366 #2 0x0012bd94 in

[Bug tree-optimization/22483] [4.1 Regression] ICE : tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:466

2005-07-17 Thread sylvain dot pion at sophia dot inria dot fr
--- Additional Comments From sylvain dot pion at sophia dot inria dot fr 2005-07-17 09:51 --- Please let me know if the attached fixes it Yes, it fixes my original report as well as the shorter testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22483

[Bug c++/22513] [4.0 regression] Miscompilation of std::list code in Boost.

2005-07-17 Thread redi at gcc dot gnu dot org
--- Additional Comments From redi at gcc dot gnu dot org 2005-07-17 10:00 --- With mainline I still get no error. With 4.0.2 I get some errors and then the final assertion is triggered (rather than a segfault) so using mudflap changes the behaviour of the program: g++40 -g -static

[Bug c++/22513] [4.0 regression] Miscompilation of std::list code in Boost.

2005-07-17 Thread redi at gcc dot gnu dot org
--- Additional Comments From redi at gcc dot gnu dot org 2005-07-17 10:46 --- P.S. If I compile with -m32 I get 40 mudflap violations, but only one in 64-bit mode. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22513

[Bug fortran/22518] New: ICE in gfc_conv_function_call for elemental character functions

2005-07-17 Thread tkoenig at gcc dot gnu dot org
$ cat elem-char.f90 program main character(len=2) :: a(2) print *,foo(a) contains elemental function foo(a) character(len=*), intent(in) :: a character(len=*) foo foo = a end function foo end program main $ gfortran elem-char.f90 elem-char.f90: In function 'MAIN__': elem-char.f90:3:

[Bug fortran/19276] [meta-bug] CHARACTER related bugs in gfortran

2005-07-17 Thread tkoenig at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22518 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19276

[Bug fortran/22519] New: Memory and binary disk layout disagree for real*10

2005-07-17 Thread schnetter at aei dot mpg dot de
The memory layout of a real*10 variable on an i386 processor requires 12 or 16 bytes per variable, depending on the flag -m128bit-long-double. The disk layout for unformatted (binary) writing occupies 10 bytes per variable. This has several disadvantages. It is different from I would

[Bug c++/22520] New: g++ treats object declaration as function declaration (rejects valid program)

2005-07-17 Thread ccarena at cox dot net
This is actually applicable to every version of g++ I have on my system, not just 4.0.1. I am tempted to say I have it wrong, but the only difference between the two object declarations is how a constant is expressed. g++ treats these two object declarations as different: Angle angle1(

[Bug c++/22520] g++ treats object declaration as function declaration (rejects valid program)

2005-07-17 Thread ccarena at cox dot net
--- Additional Comments From ccarena at cox dot net 2005-07-17 14:04 --- This change will make it work: Degrees degrees180( OneEighty ); Angle angle1( Degrees(180.0));// an instance of Angle Angle angle2( degrees180 ); // this will work now --

[Bug c++/22521] New: internal compiler error: in tsubst_copy

2005-07-17 Thread basile at starynkevitch dot net
the preprocessed file, which I uploaded on http://starynkevitch.net/Basile/jaksy-g++-4.1.0-20050717-bug.ii.gz (md5sum of gzipped file is e71436c0b8f93cef110aa6068b13bcb3) produce a reproducible compiler bug: /usr/local/bin/g++_4_snap -c jaksy.ii jaksy.hh: In constructor 'Jaksy_TVectorctag

[Bug c++/22521] internal compiler error: in tsubst_copy

2005-07-17 Thread basile at starynkevitch dot net
--- Additional Comments From basile at starynkevitch dot net 2005-07-17 14:31 --- Created an attachment (id=9293) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9293action=view) preprocessor output (gnuzipped) of failing code Sample code (preprocessor output with g++ -C -E and

[Bug testsuite/22522] New: gcc.dg/tree-ssa/flatten-2.c scan-assembler cycle.: fails

2005-07-17 Thread jsm28 at gcc dot gnu dot org
FAIL: gcc.dg/tree-ssa/flatten-2.c scan-assembler cycle.: (a new test) has appeared on hppa2.0w-hpux and hppa64-hpux. The problem is that different targets use different syntax for assembler labels, so you need to allow space, colon, tab or newline rather than just colon in such tests. --

[Bug testsuite/22522] gcc.dg/tree-ssa/flatten-2.c scan-assembler cycle.: fails

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 15:31 --- Confirmed. Richard you can look into other tests to find the exact regex pattern for this. Mainly the C++ tests: ./abi/mangle1.C:// { dg-final { scan-assembler \n_?_ZN1A1fEv\[: \t\n\] } } --

[Bug testsuite/22523] New: template/inline1.C does not test correctly on all targerts

2005-07-17 Thread pinskia at gcc dot gnu dot org
Reading PR 22522 and searching for the correct regex for it, I noticed that template/inline1.C in the C++ testsuite just uses : as the syntax for assembler labels ./template/inline1.C:// { dg-final { scan-assembler-not _ZN1X3FooIiEEvT_: } } -- Summary: template/inline1.C does not

[Bug fortran/22519] Memory and binary disk layout disagree for real*10

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |enhancement GCC build triplet|i686-pc-linux-gnu | GCC host triplet|i686-pc-linux-gnu |

[Bug fortran/22518] ICE in gfc_conv_function_call for elemental character functions

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 15:47 --- Confirmed, related to PR 22146. -- What|Removed |Added Status|UNCONFIRMED

[Bug c++/22520] g++ treats object declaration as function declaration (rejects valid program)

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 15:56 --- *** This bug has been marked as a duplicate of 18000 *** -- What|Removed |Added

[Bug c++/18000] g++ interprets a variable declaration as a function prototype when the arguments to the constructor are temporaries

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 15:56 --- *** Bug 22520 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/22520] g++ treats object declaration as function declaration (rejects valid program)

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 15:57 --- Forgot to mention GCC is right, see [8.2] of the standard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22520

[Bug c++/22521] internal compiler error: in tsubst_copy

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 16:31 --- This code is invalid. You cannot access a local variable in a local class. *** This bug has been marked as a duplicate of 22464 *** -- What|Removed |Added

[Bug c++/22464] [3.4/4.0/4.1 Regression] ICE on classes in template functions which attempt closure

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 16:31 --- *** Bug 22521 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c/22278] gcc -O2 discards cast to volatile

2005-07-17 Thread rth at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org |dot org | Status|UNCONFIRMED

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22524 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug middle-end/22524] New: fold (or the front-ends) produces UNARY (BIT_NOT_EXPR) tree with mismatch types

2005-07-17 Thread pinskia at gcc dot gnu dot org
Testcase (reduced from 20020107-1.c) char buf[10]; char * a(); int main (void) { int i = (a() - 1) - buf; } I will attach the patch to catch this to PR 22368. 20020107-1.c: In function 'main': 20020107-1.c:7: error: types mismatch in unary operand intD.0 charD.1 * ~bufD.1263; 20020107-1.c:7:

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22525 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug tree-optimization/22525] New: tree based value profiling (-fprofile-use) produces mismatch types in conditional

2005-07-17 Thread pinskia at gcc dot gnu dot org
The testcase is gcc.dg/tree-prof/val-prof-2.c. It only happens when profile use is used. Note this is worse if we use unsigned long long instead as we get a size mismatch. See PR 22368 for the patch to catch this (the second patch):

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22526 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug tree-optimization/22526] New: vectorizer produces mis-match types in conditionals

2005-07-17 Thread pinskia at gcc dot gnu dot org
take following example (compile with -O1 -ftree-vectorize -maltivec): void a(unsigned long long __n, int *__new_start) { for (; __n 0; --__n, ++__new_start) *__new_start = 0; } With the second patch in PR 22368, we get the following error: pr18425.c: In function 'a': pr18425.c:2: error:

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 17:33 --- Note the comparisions patch because of the way gimple removes casts to void* gets: int f(int *a, char*b) { return ((void*)a) == ((void*)b); } wrong. The following is also effected: g++.dg/abi/vbase13.C:

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22527 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug fortran/22527] New: fortran produces mismatch types in comparision with integer to logic assignment

2005-07-17 Thread pinskia at gcc dot gnu dot org
The following code: c { dg-do compile } c { dg-options -O2 -std=legacy } LOGICAL*1 l1 INTEGER*1 i1 l1 = i1 END produces mismatch types in comparision. See PR 22368 for the patch which catches this. logint-1.f: In function 'MAIN__': logint-1.f:5: error: types mismatch

[Bug middle-end/22524] fold (or the front-ends) produces UNARY (BIT_NOT_EXPR) tree with mismatch types

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||phython at gcc dot gnu dot ||org

[Bug tree-optimization/22525] tree based value profiling (-fprofile-use) produces mismatch types in conditional

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 17:53 --- Created an attachment (id=9295) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9295action=view) patch which I need to test (from Honza) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22525

[Bug bootstrap/22517] Bootstrap ICE on latest CVS: tree check: tree-ssa

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22517

[Bug rtl-optimization/22528] New: Optimized ARM 'unsigned short's assignments are incorrect for big-endian ARMv3 targets

2005-07-17 Thread gcc at embisi dot com
//Reading specs from /usr/local/cross-arm/bin/../lib/gcc-lib/arm-linux/3.3.2/specs //Configured with: /home/localgjs/tnbt_cvstrees/software/tools/gcc/../../tools/gcc/configure --target=arm-linux --disable-shared --disable-threads --with-gnu-as --with-gnu-ld --enable-multilib --enable-languages=c

[Bug target/22528] Optimized ARM 'unsigned short's assignments are incorrect for big-endian ARMv3 targets

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|rtl-optimization|target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22528

[Bug target/22528] Optimized ARM 'unsigned short's assignments are incorrect for big-endian ARMv3 targets

2005-07-17 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2005-07-17 18:50 --- gcc-4.0.1 works fine. $ arm-linux-eabi-gcc gcc-pr22528.c -O2 -march=armv3 -S -mlittle-endian test: mov r3, #8 mov r2, #0 strbr3, [r0, #1] strbr2, [r0, #0]

[Bug c/22529] New: [3.4/4.0/4.1 Regression] Rejects valid C99 address of C99 struct in static variable in function

2005-07-17 Thread pinskia at gcc dot gnu dot org
Take the following code: struct f1 { int i; }; void f(void) { static struct f1 *f2 = (struct f1){1}; } This is valid C99 at least according to both ICC and Comeau. And we acceptted it in 3.0.4 also. -- Summary: [3.4/4.0/4.1 Regression] Rejects valid C99 address of

[Bug c/22529] [3.4/4.0/4.1 Regression] Rejects valid C99 address of C99 struct in static variable in function

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |3.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22529

[Bug fortran/21480] [4.0 only] trivial reshape operation gives erroneous results

2005-07-17 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-17 19:12 --- Subject: Bug 21480 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-17 19:12:07 Modified files: libgfortran:

[Bug fortran/21480] [4.0 only] trivial reshape operation gives erroneous results

2005-07-17 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-17 19:12 --- Fixed in 4.0. -- What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/22530] New: [4.1 Regression] ICE with static promotion

2005-07-17 Thread pinskia at gcc dot gnu dot org
Compile the following valid C99 code at -O3 and we get an ICE: struct f1 { int i; }; void g(int); static struct f1 *f2 = (struct f1){1}; int f(void) { g(f2-i); return f2-i; } -- Summary: [4.1 Regression] ICE with static promotion Product: gcc Version: 4.1.0

[Bug tree-optimization/22530] [4.1 Regression] ICE with static promotion

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22530

[Bug tree-optimization/22530] [4.1 Regression] ICE with static promotion

2005-07-17 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-17 19:17 --- Subject: Re: New: [4.1 Regression] ICE with static promotion On Sun, 2005-07-17 at 19:13 +, pinskia at gcc dot gnu dot org wrote: Compile the following valid C99 code at -O3 and we get an

[Bug tree-optimization/22530] [4.1 Regression] ICE with static promotion

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 19:18 --- Forgot to say the ICE for this testcase is: unhandled expression in get_expr_operands(): compound_literal_expr 0x41ebaf80 type record_type 0x41eaed20 f1 type_0 SI size integer_cst 0x41e11740

[Bug tree-optimization/22531] New: [4.1 regression] dwarf2out.c:751:ICE

2005-07-17 Thread danglin at gcc dot gnu dot org
stage1/xgcc -Bstage1/ -B/home/dave/opt/gnu/gcc/gcc-4.1.0/hppa-linux/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototype s -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror - fno-common -DHAVE_CONFIG_H-I. -I. -I../../gcc/gcc

[Bug tree-optimization/22531] [4.1 regression] tree-into-ssa.c:2290 ICE

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|[4.1 regression]|[4.1 regression] tree-into- |dwarf2out.c:751:ICE |ssa.c:2290 ICE

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 19:34 --- What date is this from? -- What|Removed |Added Keywords|

  1   2   >