Re: Including GMP/MPFR in GCC repository?

2006-10-12 Thread François-Xavier Coudert
First, please note that having gfortran testresults for one platform only means that some version of the compiler was able to correctly compile GMP MPFR, not that GCC trunk is able to correctly compile GMP MPFR. Nevertheless: * i386-unknown-freebsd (alpha-unknown-freebsd5.4)

Re: Abt definition for structure tree

2006-10-12 Thread Ben Elliston
Can anyone tell me where i can find the definition of tree. Take a look in tree.h. Ben

Re: Question about strange register calling truncates to SImode on x86_64

2006-10-12 Thread Kai Tietz
Hello Michael, thanks for description. I wasn't aware, that the upper 32 bits are zeroed. Does this means that even the stack has to be in the first 4 Gb, too. Or does this mov instruction does a sign-extention. Best regards, i.A. Kai Tietz

Re: building gcc

2006-10-12 Thread Paolo Bonzini
In particular, I was just wondering how do compile GCC with debug. Not how to debug it. I tried CFLAGS=-g ./configure ..., but it still compiled with gcc -O2 -g. Anyways, if anyone knows a helpful configure trick that will help get me ready to debug gcc, please let me know. By default, GCC

[PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread Hiroki Kaminaga
Hi, Regarding the PR: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29413 Is below patch adequate to fix the problem? Works fine with me, but haven't done any regression test. Thanks in Advance (Hiroki Kaminaga) t -- Index: gcc/gcc/config/mips/mips.h

Get pragma's line code

2006-10-12 Thread Matteo Fioroni
Hi, I must get the informations (position in the file, file where #pragma was found, text that follow the #pragma in the line) of pragma's line code in C/C++ code. For do that I think that it's a good idea using the C/C++ gcc preprocessor. How can I patch the gcc so it can execute a my function

[cygwin] libjava/java/lang/natClass.cc:904: error: thread-local storage not supported for this target

2006-10-12 Thread Christian Joensson
Currently, and it's been there for a while, I get the following error on gcc trunk: /usr/local/src/trunk/objdir/./gcc/xgcc -shared-libgcc -B/usr/local/src/trunk/objdir/./gcc -nostdinc++ -L/usr/local/src/trunk/objdir/i686-pc-cygwin/libstdc++-v3/src

Re: [cygwin] libjava/java/lang/natClass.cc:904: error: thread-local storage not supported for this target

2006-10-12 Thread Andrew Haley
Christian Joensson writes: Currently, and it's been there for a while, I get the following error on gcc trunk: ../../../gcc/libjava/java/lang/natClass.cc:904: error: thread-local storage not supported for this target make[3]: *** [java/lang/natClass.lo] Error 1 make[3]: Leaving

Re: [cygwin] libjava/java/lang/natClass.cc:904: error: thread-local storage not supported for this target

2006-10-12 Thread Brian Dessent
Andrew Haley wrote: That __thread variable is surrounded by HAVE_TLS. There is a configure test which simply compiles this line: __thread int foo; and that configure test must succeed for HAVE_TLS to be set. So, to fix this we need to find out if that program did compile, and if so,

Re: building gcc

2006-10-12 Thread Bob Rossi
On Thu, Oct 12, 2006 at 09:48:13AM +0200, Paolo Bonzini wrote: In particular, I was just wondering how do compile GCC with debug. Not how to debug it. I tried CFLAGS=-g ./configure ..., but it still compiled with gcc -O2 -g. Anyways, if anyone knows a helpful configure trick that will help

Implicit conversions between vectors

2006-10-12 Thread Mark Shinwell
Currently we permit implicit conversions between vectors whose total bitsizes are equal but which are divided into differing numbers of subparts. It seems that in some circumstances this rule is overly lax. For example the following code, using vector types (whose definitions I have provided

Re: Question about strange register calling truncates to SImode on x86_64

2006-10-12 Thread Michael Matz
Hi, On Thu, 12 Oct 2006, Kai Tietz wrote: thanks for description. I wasn't aware, that the upper 32 bits are zeroed. Does this means that even the stack has to be in the first 4 Gb, too. Why should it? I.e. no, it doesn't have to. Or does this mov instruction does a sign-extention.

Re: building gcc

2006-10-12 Thread Ian Lance Taylor
Bob Rossi [EMAIL PROTECTED] writes: Hopefully I'll be able to debug gcc nicely after this is built. Two more questions that could save me a lot of time. Do you know where the abstract syntax tree is stored in GCC after a file is parsed? I'm not sure what kind of answer you are looking for.

Re: Implicit conversions between vectors

2006-10-12 Thread Ian Lance Taylor
Mark Shinwell [EMAIL PROTECTED] writes: Here, the compiler is not complaining about an attempt to implicitly convert a vector of four 16-bit quantities to a vector of eight 8-bit quantities. This lack of type safety is unsettling, and I wonder if it should be fixed with a patch along the

Re: Implicit conversions between vectors

2006-10-12 Thread Mark Shinwell
Ian Lance Taylor wrote: I believe that the problem with changing this unconditionally is that the Altivec programming guidelines specify the rules which gcc currently follows: you are permitted to assign one vector variable to another, without an explicit cast, when the vectors are the same

Re: Implicit conversions between vectors

2006-10-12 Thread Andrew Pinski
On Thu, 2006-10-12 at 08:02 -0700, Ian Lance Taylor wrote: It's been this way at least since 4.0. But it was rejected in 3.4.0. I believe that the problem with changing this unconditionally is that the Altivec programming guidelines specify the rules which gcc currently follows: you are

Re: building gcc

2006-10-12 Thread Bob Rossi
On Thu, Oct 12, 2006 at 06:56:58AM -0400, Bob Rossi wrote: On Thu, Oct 12, 2006 at 09:48:13AM +0200, Paolo Bonzini wrote: In particular, I was just wondering how do compile GCC with debug. Not how to debug it. I tried CFLAGS=-g ./configure ..., but it still compiled with gcc -O2 -g.

Re: building gcc

2006-10-12 Thread Daniel Jacobowitz
On Thu, Oct 12, 2006 at 12:22:57PM -0400, Bob Rossi wrote: and the gcc that is put into prefixdir is compiled with -O2 and -g, which makes it hard to follow in the debugger. Anyone have a clue on how to compile gcc so only -g is used, and not -O2? Typically, I use the CFLAGS trick, but it

Re: Including GMP/MPFR in GCC repository?

2006-10-12 Thread Kaveh R. GHAZI
On Thu, 12 Oct 2006, [ISO-8859-1] François-Xavier Coudert wrote: First, please note that having gfortran testresults for one platform only means that some version of the compiler was able to correctly compile GMP MPFR, True. not that GCC trunk is able to correctly compile GMP MPFR. I'm

Re: building gcc

2006-10-12 Thread Bob Rossi
On Thu, Oct 12, 2006 at 12:25:04PM -0400, Daniel Jacobowitz wrote: On Thu, Oct 12, 2006 at 12:22:57PM -0400, Bob Rossi wrote: and the gcc that is put into prefixdir is compiled with -O2 and -g, which makes it hard to follow in the debugger. Anyone have a clue on how to compile gcc so only

Re: Including GMP/MPFR in GCC repository?

2006-10-12 Thread Kaveh R. GHAZI
On Wed, 11 Oct 2006, Steve Kargl wrote: Kaveh, It should be straight forward to modify the current configure tests in toplevel for the versions of gmp and mpfr you need. I would recommend at least mpfr 2.2.0 (which would allow me to kill the ugly hacks in gfortran). For gmp, you may be

Re: Including GMP/MPFR in GCC repository?

2006-10-12 Thread Steve Kargl
On Thu, Oct 12, 2006 at 02:14:53PM -0400, Kaveh R. GHAZI wrote: On Wed, 11 Oct 2006, Steve Kargl wrote: It should be straight forward to modify the current configure tests in toplevel for the versions of gmp and mpfr you need. I would recommend at least mpfr 2.2.0 (which would allow me

Re: Including GMP/MPFR in GCC repository?

2006-10-12 Thread DJ Delorie
Okay for stage1? Ok, assuming everyone agrees to those versions ;-) 2006-10-12 Kaveh R. Ghazi [EMAIL PROTECTED] * configure.in: Require GMP-4.1+ and MPFR-2.2+. * configure: Regenerate.

gcc-4.0-20061012 is now available

2006-10-12 Thread gccadmin
Snapshot gcc-4.0-20061012 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20061012/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.0 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: on removal of line number notes at the end of BBs

2006-10-12 Thread Jan Hubicka
On Oct 11, 2006, Ian Lance Taylor [EMAIL PROTECTED] wrote: int x; int f() { x = 0; while(1); } We get line number notes for code only up to x = 0;. I assume this is only a problem when not optimizing. The opposite, actually. It's optimization that breaks it. Of course

Tree node questions

2006-10-12 Thread Brendon Costa
Hi all, If I have a FUNCTION_DECL node that returns non-null for DECL_TEMPLATE_INFO() then it is a template or template instantiation. How can I tell if it is a full instantiation (I.e. not general template or partial specialisation)? Does this also apply to nodes that represent template types

Re: [PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread Hiroki Kaminaga
From: Andrew Pinski [EMAIL PROTECTED] As I mentioned in the bug report, the problem is that CC1_SPEC is the wrong one. (snip) The attached patch is the more correct way to solve this. Thanks alot! (Hiroki Kaminaga) t --

Additional tree node questions.

2006-10-12 Thread Brendon Costa
Sorry about the separate email. In addition to the previous questions I want to ask if there is a better way of achieving finding the type nodes for a functions exception specification list. For each FUNCTION_DECL node I find, I want to determine what its exception specification list is. I.e.

Re: [PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread Hiroki Kaminaga
From: Andrew Pinski [EMAIL PROTECTED] On Thu, 2006-10-12 at 17:06 +0900, Hiroki Kaminaga wrote: Hi, Regarding the PR: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29413 Is below patch adequate to fix the problem? Works fine with me, but haven't done any regression test. As I

Re: [PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread Andrew Pinski
On Fri, 2006-10-13 at 14:32 +0900, Hiroki Kaminaga wrote: The attached patch is the more correct way to solve this. Your patch would cause `-profile' option not to set `-p' to cc1. Is this OK? Not really, the following patch on top of the previous fixes the above problem: Index:

Re: [PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread Andrew Pinski
On Fri, 2006-10-13 at 14:45 +0900, Hiroki Kaminaga wrote: How about appending to CC1_SPEC? -#ifndef CC1_SPEC +#undef CC1_SPEC #define CC1_SPEC \ %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1} \ %{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} \ %{save-temps: } \

[Bug target/29413] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-12 06:58 --- if (TARGET_BIG_ENDIAN)\ { \ builtin_define_std (MIPSEB);\

[Bug target/29413] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-12 07:05 --- [EMAIL PROTECTED] gcc]$ ./xgcc -B. -EL -dM -E -C -x c /dev/null | grep MIPSE #define __MIPSEL__ 1 #define MIPSEL 1 #define _MIPSEL 1 #define __MIPSEL 1 [EMAIL PROTECTED] gcc]$ ./xgcc -B. -EB -dM -E -C -x c /dev/null

[Bug target/29413] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-12 07:08 --- Yep that is what is happening: mips64*-*-linux*) tm_file=dbxelf.h elfos.h svr4.h linux.h ${tm_file} mips/linux.h mips/linux64.h . ;; mips*-*-linux*) # Linux MIPS,

[Bug target/29413] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-12 07:27 --- Actually it was only caused recently for mips-linux (non64bit): 2002-08-02 Eric Christopher [EMAIL PROTECTED] * config.gcc (mips*-*-linux*): Fix ordering of tm_file. * config/mips/mips.h

[Bug target/29413] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug target/29413] -EB / -EL don't properly affect endian for Linux on MIPS

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-12 07:33 --- *** Bug 23824 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/23824] Using mipsel to compile BigEndian -O2 does not work

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-12 07:33 --- The problem is that -EB and -EL are not recognized by the compiler because of a bug. you can work around this issue by using -meb or -mel. Anyways this is a dup of bug 29413 which shows the problem and shows what

[Bug c++/29388] [4.0/4.1/4.2 regression] ICE with invalid nested name specifier

2006-10-12 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-10-12 08:13 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29433] using boost::MPL requires lots of memory

2006-10-12 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2006-10-12 08:20 --- Execution times (seconds) garbage collection: 0.88 ( 1%) usr 0.00 ( 0%) sys 0.87 ( 1%) wall 0 kB ( 0%) ggc preprocessing : 0.10 ( 0%) usr 0.04 ( 1%) sys 0.22 ( 0%) wall 796 kB (

[Bug preprocessor/28709] [4.0/4.1/4.2 regression] Bad diagnostic pasting tokens with ##

2006-10-12 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2006-10-12 09:26 --- Subject: Bug 28709 Author: jakub Date: Thu Oct 12 09:25:59 2006 New Revision: 117664 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117664 Log: PR preprocessor/28709 * macro.c (paste_tokens): Do

[Bug c++/29433] using boost::MPL requires lots of memory

2006-10-12 Thread grayyoga at gmail dot com
--- Comment #7 from grayyoga at gmail dot com 2006-10-12 09:51 --- Created an attachment (id=12415) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12415action=view) preprocessed source file (version 2) The previous test case had common C++ error in it, which prevents it from being

[Bug driver/29430] Assembler messages: Error: invalid architecture -xarch=v8

2006-10-12 Thread geraldine-n dot bert at edfgdf dot fr
--- Comment #2 from geraldine-n dot bert at edfgdf dot fr 2006-10-12 09:57 --- (In reply to comment #1) This ../configure --with-mpfr=/logiciels/public/gmp-4.1.4/lib --enable-shared --with-gnu-as=/logiciels/public/binutils-2.9/bin/as

[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work

2006-10-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2006-10-12 11:15 --- Created an attachment (id=12416) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12416action=view) Patch for LBOUND/UBOUND This patch fixes this bug completely. It builds fine, regtest and works fine with a

[Bug tree-optimization/29122] ICE with -ipa-cp and -m64 (tail calls)

2006-10-12 Thread razya at il dot ibm dot com
--- Comment #3 from razya at il dot ibm dot com 2006-10-12 11:44 --- (In reply to comment #0) gcc -O3 test.c --ipa-cp -m64 test.c: #include stdio.h int bar (int b, int c) { printf (%d %d\n, b, c); } int foo (int a)

[Bug c++/29437] [decl.init.ref]/5 wrongly implemented

2006-10-12 Thread joseph dot rajesh at gmail dot com
--- Comment #4 from joseph dot rajesh at gmail dot com 2006-10-12 12:10 --- (In reply to comment #3) Forget this, the type of the rhs is of course an rvalue of type Base, there is no need to copy the entire Derived object. W. Hi, I was pointing to the same error. But I think I

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-12 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2006-10-12 12:18 --- (In reply to comment #5) I try as soon as possible. Thanks for your help. This subroutine is one of an open-source project which contains about 1.000.000 lines of fortran : http://www.code-aster.org. Mathieu,

[Bug c++/29438] New: Friendship problem

2006-10-12 Thread pcarlini at suse dot de
Hi. Today, while working on libstdc++/28277 I encountered this problem, which currently prevents me from extending the fix to ext/vstring. The below is a rather small self-contained testcase, which current mainline does not compile because of ambiguous overloading, whereas compilers based on the

[Bug fortran/25818] Problem with handling optional and entry master arguments

2006-10-12 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2006-10-12 12:31 --- (In reply to comment #8) Paul, Jakub, Is the patch in comment #7 considered to be the right approach? I tried applying to my local tree, but a few chunks were rejected. Jakub? What about it? Paul --

[Bug c++/29318] [4.0/4.1/4.2 Regression] ICE: type_info of pointer to VLA

2006-10-12 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-10-12 12:39 --- EDG chooses to reject the code with t.C(7): error: a variable-length array type is not allowed const std::type_info info(typeid(va)); ^ though I cannot find anything in

[Bug fortran/23060] %VAL construct not implemented

2006-10-12 Thread pault at gcc dot gnu dot org
-- pault at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Keywords|rejects-valid |

[Bug fortran/25818] Problem with handling optional and entry master arguments

2006-10-12 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2006-10-12 12:46 --- No, that sounds wrong. Not all dummy arguments have such type, so such a change just leads to strict aliasing violations and there are also dummy arguments that are larger than long. --

[Bug other/2873] [3.3 only][fixinclude] Bogus fixinclude of stdio.h from glibc 2.2.3

2006-10-12 Thread cvs-commit at developer dot classpath dot org
--- Comment #8 from cvs-commit at developer dot classpath dot org 2006-10-12 12:52 --- Subject: Bug 2873 CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke rabbit78 06/10/12 12:50:44 Modified files: javax/swing/plaf/basic:

[Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop )

2006-10-12 Thread pluto at agmk dot net
-include -c -O2 -fwrapv -march=x86-64 -gdwarf-2 -g2 -fPIC -W -Wall -gnatpg a-stwifi.adb -o a-stwifi.o +===GNAT BUG DETECTED==+ | 4.2.0 20061012 (experimental) (PLD-Linux) (x86_64-pld-linux-gnu) GCC error:| | tree check: expected integer_cst

[Bug c++/29433] using boost::MPL requires lots of memory

2006-10-12 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-10-12 13:09 --- No success yet: test_basic_metafunctions.hpp:176: instantiated from here ../src/sd/../static_component.hpp:57: error: 'process_outputs' is not a member of 'mpl_::void_' and other errors. --

[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work

2006-10-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2006-10-12 13:15 --- Created an attachment (id=12417) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12417action=view) New patch This updated patch is the result of re-reading the Standard about assumed-size arrays. --

[Bug fortran/23060] %VAL construct not implemented

2006-10-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2006-10-12 13:19 --- [Paul changed this bug into enhancement] I'm changing this back (again) into a bug, not an enhancement, because it was supported by g77, and we're trying to make a drop-in replacement for g77 in most cases. --

[Bug target/29413] -EB / -EL don't properly affect endian for Linux on MIPS

2006-10-12 Thread ralf at linux-mips dot org
--- Comment #6 from ralf at linux-mips dot org 2006-10-12 13:33 --- %{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} \ Shouldn't the combination of both -EB and -EL be legal that is later options override preceeding ones just like with other -ffoo / -fno-foo

[Bug target/29413] -EB / -EL don't properly affect endian for Linux on MIPS

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-10-12 14:11 --- (In reply to comment #6) %{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} \ Shouldn't the combination of both -EB and -EL be legal that is later options override preceeding ones just like

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-12 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #7 from sgk at troutmask dot apl dot washington dot edu 2006-10-12 14:13 --- Subject: Re: Internal Error: gfc_resolve_expr(): Bad expression type On Thu, Oct 12, 2006 at 12:18:30PM -, pault at gcc dot gnu dot org wrote: --- Comment #6 from pault at gcc dot

[Bug c++/29438] [4.0/4.1/4.2 Regression] Friendship problem

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-12 14:18 --- This looks very closely related to PR 29236. Confirmed, a regression from 2.95.3. I still want to say this is just another example of PR 29236 but the testcases are semi different. Though the use of templates with

[Bug c++/29438] [4.0/4.1/4.2 Regression] Friendship problem

2006-10-12 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-10-12 14:21 --- Indeed, I was about to add to the audit trail that the template template parameter is essential. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29438

[Bug c/29440] New: 4.2 20061007 experiemental misscompiles libavcodec/h264.o

2006-10-12 Thread poirierg at gmail dot com
4.2 misscompiles libavcodec/h264.o from FFmpeg project. The likely cause of this problem is lies in the file cabac.h (in attachment) gcc-4.0 and 4.1.0 compile this file correctly. Here's the commandline: /home/guillaume/Prgm/gcc/bin/gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64

[Bug c++/29438] [4.0/4.1/4.2 Regression] Friendship problem

2006-10-12 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-10-12 14:24 --- ... and I also agree that the issue seems *very* similar to 29236. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29438

[Bug c/29440] 4.2 20061007 experiemental misscompiles libavcodec/h264.o

2006-10-12 Thread poirierg at gmail dot com
--- Comment #1 from poirierg at gmail dot com 2006-10-12 14:25 --- Created an attachment (id=12418) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12418action=view) the offending file (results in a grey picture) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29440

[Bug c/29440] 4.2 20061007 experiemental misscompiles libavcodec/h264.o

2006-10-12 Thread poirierg at gmail dot com
--- Comment #2 from poirierg at gmail dot com 2006-10-12 14:28 --- Created an attachment (id=12419) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12419action=view) The header that seems to hold the code that's misscompiled -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29440

[Bug other/29439] ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop )

2006-10-12 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-10-12 14:30 --- I had ada included in the set of languages for the bootstrap regtest for PR28230. So you need to find another one ;) Or are you complaining about the next failure with a -fwrapv bootstrap? --

[Bug middle-end/29440] 4.2 20061007 experimental misscompiles libavcodec/h264.o

2006-10-12 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29440

[Bug middle-end/29440] 4.2 20061007 experimental misscompiles libavcodec/h264.o

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-12 14:34 --- Does it work when compiled with -O0 instead of -O4? How about -O1? Besies above, I noticed that the asm in get_cabac looks to be clobbering memory but is not marked as such. --

[Bug other/29439] ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop )

2006-10-12 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-10-12 14:38 --- (In reply to comment #1) I had ada included in the set of languages for the bootstrap regtest for PR28230. So you need to find another one ;) try to bootstrap C+ADA with CFLAGS='-O2 -fwrapv' ;) Or are you complaining

[Bug middle-end/29440] 4.2 20061007 experimental misscompiles libavcodec/h264.o

2006-10-12 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-10-12 14:40 --- (In reply to comment #3) Does it work when compiled with -O0 instead of -O4? How about -O1? Besies above, I noticed that the asm in get_cabac looks to be clobbering memory but is not marked as such. Andrew, this

[Bug middle-end/29440] 4.2 20061007 experimental misscompiles libavcodec/h264.o

2006-10-12 Thread poirierg at gmail dot com
--- Comment #5 from poirierg at gmail dot com 2006-10-12 14:53 --- Hello, (In reply to comment #3) Does it work when compiled with -O0 instead of -O4? How about -O1? The code compiles and produces the expected result with -O1, O2, but can't be compiled with -O0: In file included

[Bug fortran/29441] New: mathematical functions and constant expressions

2006-10-12 Thread kamaraju at gmail dot com
Hi conside the following code $cat const_math_func.f90 program printpi ! This program is not standard complaint real, parameter :: pi = 4.0*atan(1.0) write(*,*) pi end program This code is not Fortran 95 standard compliant (

[Bug middle-end/29440] 4.2 20061007 experimental misscompiles libavcodec/h264.o

2006-10-12 Thread poirierg at gmail dot com
--- Comment #6 from poirierg at gmail dot com 2006-10-12 15:03 --- (In reply to comment #4) (In reply to comment #3) Does it work when compiled with -O0 instead of -O4? How about -O1? Besies above, I noticed that the asm in get_cabac looks to be clobbering memory but is

[Bug fortran/29441] non-constant parameter (constant) accepted

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-12 15:10 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29441] non-constant parameter (constant) accepted

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-12 15:12 --- Actually adding -pedantic, and this is rejected: In file t.f90:3 real, parameter :: pi = 4.0*atan(1.0) 1 Error: Extension: Evaluation of nonstandard initialization expression at

[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work

2006-10-12 Thread paulthomas2 at wanadoo dot fr
--- Comment #11 from paulthomas2 at wanadoo dot fr 2006-10-12 15:57 --- Subject: Re: LBOUND(TRANSPOSE(I)) doesn't work FX ! if (upper) ! { ! cond1 = fold_build2 (GE_EXPR, boolean_type_node, ubound, lbound); ! cond2 = fold_build2 (LE_EXPR, boolean_type_node,

[Bug other/29442] New: insn-attrtab has grown too large

2006-10-12 Thread rick at hartmantech dot com
When compiling gcc-4.1.1, there is at least a serious slowdown, and on many machines a failure, when insn-attrtab is compiled. There are several threads on the Gentoo forums about this, some involving machines with 512M of memory. This file seems to be automatically generated, and has become so

[Bug bootstrap/29402] Parallel make fails with --disable-bootstrap

2006-10-12 Thread ghazi at gcc dot gnu dot org
--- Comment #2 from ghazi at gcc dot gnu dot org 2006-10-12 16:28 --- Patch posted here: http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00662.html -- ghazi at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29433] using boost::MPL requires lots of memory

2006-10-12 Thread grayyoga at gmail dot com
--- Comment #9 from grayyoga at gmail dot com 2006-10-12 16:50 --- Created an attachment (id=12420) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12420action=view) preprocessed source file (version 3) Compiles without errors on my laptop, but still eats a LOT of memory. --

[Bug testsuite/29093] gcc.dg/debug/dwarf2/dwarf-file1.c fails on targets that have .loc

2006-10-12 Thread sje at gcc dot gnu dot org
--- Comment #4 from sje at gcc dot gnu dot org 2006-10-12 16:52 --- Subject: Bug 29093 Author: sje Date: Thu Oct 12 16:52:33 2006 New Revision: 117667 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117667 Log: PR testsuite/29093 *

[Bug target/29292] configure produces strange gmp, mpfr lib directories.

2006-10-12 Thread dje at gcc dot gnu dot org
--- Comment #4 from dje at gcc dot gnu dot org 2006-10-12 16:58 --- You should be using --with-gmp=/usr/local Are you sure that /usr/local/lib/libgmp.a exists and was built correct? Use static libraries and make sure that you are building 32-bit libgmp and libmpfr. -- dje at gcc

[Bug c++/29117] Copy constructor is called with this == rhs

2006-10-12 Thread oschmidt at gmx dot net
--- Comment #6 from oschmidt at gmx dot net 2006-10-12 17:03 --- You therefore initialize a variable with itself. This is a documented way to generate uninitialized variables and Here's the right combination of flags that warns (for f3() only): Thank you for your answer, this is

[Bug c++/29117] Copy constructor is called with this == rhs

2006-10-12 Thread oschmidt at gmx dot net
--- Comment #7 from oschmidt at gmx dot net 2006-10-12 17:10 --- So a compiler warning for this makes really sense not only for f3() but also for f4(). So I think it would be a good idea to reopen this bug report. It is then not a bug report about inproper compiler behaviour but a bug

[Bug target/29250] internal compiler error: in extract_insn, at recog.c:2084

2006-10-12 Thread dje at gcc dot gnu dot org
--- Comment #4 from dje at gcc dot gnu dot org 2006-10-12 17:20 --- How is expand even generating this? This is completely invalid RTL for PPC. -- dje at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/28690] [4.2 Regression] Performace problem with indexed load/stores on powerpc

2006-10-12 Thread janis at gcc dot gnu dot org
--- Comment #23 from janis at gcc dot gnu dot org 2006-10-12 17:23 --- Subject: Bug 28690 Author: janis Date: Thu Oct 12 17:23:10 2006 New Revision: 117668 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117668 Log: PR middle-end/28690 * explow.c (force_reg): Set

[Bug testsuite/29093] gcc.dg/debug/dwarf2/dwarf-file1.c fails on targets that have .loc

2006-10-12 Thread sje at cup dot hp dot com
--- Comment #5 from sje at cup dot hp dot com 2006-10-12 17:36 --- Fixed with a testsuite change to check for File Entry: or .file. Platforms that set DWARF2_ASM_LINE_DEBUG_INFO will output a .file line but not a File Entry: line and the test now checks for either. -- sje at cup

[Bug c++/24056] failed lookup of static non-member operator function with certain templated arguments

2006-10-12 Thread pogonyshev at gmx dot net
--- Comment #5 from pogonyshev at gmx dot net 2006-10-12 18:58 --- OK, thanks for the help. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24056

[Bug target/29250] internal compiler error: in extract_insn, at recog.c:2084

2006-10-12 Thread dje at gcc dot gnu dot org
--- Comment #5 from dje at gcc dot gnu dot org 2006-10-12 19:15 --- The expander is producing invalid RTL. If the index variable offs is changed from long long to long, the code compiles correctly and the memory loads are placed in temporary pseudos. Only with long long does GCC punt

[Bug other/29439] ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop )

2006-10-12 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-10-12 19:45 --- cwd: ada/rts: $ ../../gnat1 -quiet -dumpbase a-stwifi.adb -O1 -fwrapv -ftree-vrp \ -gnatpg a-stwifi.adb -o a-stwifi.s (gdb) bt #0 int_const_binop (code=PLUS_EXPR, arg1=0x2b8302f027b0, arg2=0x2b8302f02810,

[Bug c++/29117] Copy constructor is called with this == rhs

2006-10-12 Thread bangerth at dealii dot org
--- Comment #8 from bangerth at dealii dot org 2006-10-12 19:55 --- (In reply to comment #6) Thank you for your answer, this is very interesting (but where is it documented?). In the gcc manual. But still *very* dangerous, because the destructor of this unitialized object is

[Bug c++/29433] using boost::MPL requires lots of memory

2006-10-12 Thread grayyoga at gmail dot com
--- Comment #10 from grayyoga at gmail dot com 2006-10-12 19:56 --- Subject: Re: using boost::MPL requires lots of memory Try preprocessed source file v3. It compiles without error on my laptop, but still takes a LOT of memory and time to compile. On 12 Oct 2006 13:09:02 -,

[Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs

2006-10-12 Thread tbm at cyrius dot com
I get the following ICE with -gstabs with gcc 4.1.2 20060901 (Debian 4.1.1-13) but not with 4.0 and 4.2. (sid)1186:[EMAIL PROTECTED]: ~] g++-4.1 -O -fPIC -gstabs libapt-front-state.cpp libapt-front-state.cpp: In member function ‘std::string aptFront::cache::component::State::sizeString(double)’:

[Bug debug/29443] [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs

2006-10-12 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-10-12 19:58 --- Created an attachment (id=12421) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12421action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443

[Bug c++/27961] [4.1/4.2 regression] ICE on invalid template declaration

2006-10-12 Thread lmillward at gcc dot gnu dot org
--- Comment #5 from lmillward at gcc dot gnu dot org 2006-10-12 20:03 --- Subject: Bug 27961 Author: lmillward Date: Thu Oct 12 20:02:53 2006 New Revision: 117671 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117671 Log: PR c++/27961 * decl.c (start_decl): Return

[Bug c++/27961] [4.1/4.2 regression] ICE on invalid template declaration

2006-10-12 Thread lmillward at gcc dot gnu dot org
--- Comment #6 from lmillward at gcc dot gnu dot org 2006-10-12 20:06 --- Subject: Bug 27961 Author: lmillward Date: Thu Oct 12 20:06:36 2006 New Revision: 117672 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117672 Log: PR c++/27961 * g++.dg/template/crash60.C:

[Bug c++/27961] [4.1 regression] ICE on invalid template declaration

2006-10-12 Thread lmillward at gcc dot gnu dot org
--- Comment #7 from lmillward at gcc dot gnu dot org 2006-10-12 20:06 --- Fixed on mainline. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/24649] Hello world c++ prog core dumps

2006-10-12 Thread steve at telxio dot com
--- Comment #15 from steve at telxio dot com 2006-10-12 20:27 --- Subject: RE: Hello world c++ prog core dumps I have found the cause of the problem. It isn't a problem with gcc. I use the binutils shipped with Solaris10 to strip the binaries and create separate debug symbol files.

[Bug c/29444] New: parser bug for variable declaration immediately following case statement in switch block

2006-10-12 Thread alx at gotnull dot net
The following code: int main( int argc, char** argv ) { switch ( 1 ) { case 1: int bug = 0; break; } return 0; } is valid C syntax and should compile, but gcc gives the error: bug.c: In function

[Bug target/24649] Hello world c++ prog core dumps

2006-10-12 Thread ebotcazou at gcc dot gnu dot org
--- Comment #16 from ebotcazou at gcc dot gnu dot org 2006-10-12 20:31 --- I have found the cause of the problem. It isn't a problem with gcc. I use the binutils shipped with Solaris10 to strip the binaries and create separate debug symbol files. If I do not strip g++/libstdc++,

  1   2   >