Re: Windows Unicode and GCC

2006-04-28 Thread Zack Weinberg
On Thu, Apr 27, 2006 at 05:16:10PM -0700, Joe Buck wrote: On Thu, Apr 27, 2006 at 07:58:29PM -0400, Zack Weinberg wrote: [ Unicode, UTF-{8,16}, BOMs, etc ] It would also be good to take advantage of the fact that 95+% of C source files start with /*, //, #i, or #d to distinguish ASCII from

About vtable generation on ia64

2006-04-28 Thread Guo Zhenyu
Hi all, I'am tring to understand how g++ generate vtable for c++ on ia64. Here is what I got in the CONSTRUCTOR_ELTS in a constructor node: (with g++ 3.3.2 fe) === source code === Class A { Public: Virtual void f(){} Virtual void g(){} }; === result === VAL: 0 SYMOFF: _ZTI1A(0x1901)+0(0x0)

RE: detecting non-PIC in shared lib on Darwin?

2006-04-28 Thread Dave Korn
On 27 April 2006 20:02, Mike Stump wrote: On Apr 26, 2006, at 6:26 PM, Jack Howarth wrote: readelf -d foo.so | grep TEXTREL Does anyone know if some mechanism like this is possible for Darwin shared libraries? A man page is a terrible thing to waste: Yes, but it's an even more

H8300-elf Toolchain based on gcc-4.1 is not working on gdb-6.4.50.20060425.

2006-04-28 Thread Pradeep Sanchana
Hi We have built h8300-elf toolchain based on gcc-4.1 (released). This toolchain is based on following sources, Binutils-2.16.92 Gcc-4.1-20060407 Newlib-1.14.0 Also we have built, GDB for h8300-elf using gdb-6.4.50.20060425 We have found following problems for all varients of h8 target, 1.

Re: gcc.gnu.org mirror (was: Update of mirrors web page)

2006-04-28 Thread Gerald Pfeifer
On Sat, 8 Apr 2006, Gerald Pfeifer wrote: ftp://ftp.club-internet.fr/pub/gcc/ - severly out of date (3.3 is latest) ftpmaster, I just confirmed this. Would you mind having a look and letting us know how to proceed? If this was this a technical glitch, and you plan to restart mirroring

dwarf2 compiling problem

2006-04-28 Thread Nemanja Popov
Hi all. When compiling simple example (even c file with no code in it) with dlx-elf-gcc -c -gdwarf-2 foo.c I get the following error message: internal compiler error: in assemble_integer, at varasm.c:2148 I've defined debugging support in the following way: #define DBX_DEBUGGING_INFO

Re: Gosh, GCC 3.4.6 does so exist...

2006-04-28 Thread Bernard Leak
Dear List, Dave Korn wrote Well, at least the front page of gcc.gnu.org is now self-contradictory: Previous release series: GCC 3.4.5 (released 2005-11-30) Branch status: GCC 3.4.6 is the last release from the 3.4 series; the branch has been closed after the release. Not unless

Re: PIC for mcore

2006-04-28 Thread Mike Stump
On Apr 27, 2006, at 7:05 PM, Qiuker wrote: Is there much difference from different PIC implement? They all do exactly the same thing, allow code to be run at different addresses, so they are all identical, or, yeah, they can be totally different from just doing normal codegen and saving

RE: Gosh, GCC 3.4.6 does so exist...

2006-04-28 Thread Dave Korn
On 28 April 2006 17:45, Bernard Leak wrote: Dear List, Dave Korn wrote Well, at least the front page of gcc.gnu.org is now self-contradictory: Previous release series: GCC 3.4.5 (released 2005-11-30) Branch status: GCC 3.4.6 is the last release from the 3.4 series; the branch

Re: detecting non-PIC in shared lib on Darwin?

2006-04-28 Thread Mike Stump
On Apr 28, 2006, at 3:18 AM, Dave Korn wrote: Yes, but it's an even more terrible thing to wrap: Welcome to format=flowed. :-( Apparently some companies think that everyone uses an intelligent mail reader. I believe that if you read it with just the right software, you'd see it as

Richard G. appointed libgcc-math maintainer

2006-04-28 Thread Gerald Pfeifer
It is my pleasure to announce that the steering committee has appointed Richard Guenther libgcc-math maintainer. Please adjust the MAINTAINERS file accordingly, Richard, and Happy Hacking! Gerald

What is the expected behavior of attribute nonnull for C++

2006-04-28 Thread Steven Bosscher
Hello, Consider the following test case: struct A { bool g(int*, int*) __attribute__((nonnull (2))); }; bool A::g(int* a, int* b) { if (a) return 0; return this; } G++ produces the following code for this snippet: ;; Function bool A::g(int*, int*) (_ZN1A1gEPiS0_) bool A::g(int*,

Re: What is the expected behavior of attribute nonnull for C++

2006-04-28 Thread Mark Mitchell
Steven Bosscher wrote: The documentation of the nonnull attribute says: `nonnull (ARG-INDEX, ...)' The `nonnull' attribute specifies that some function parameters should be non-null pointers. For instance, the declaration: extern void * my_memcpy (void

Re: What is the expected behavior of attribute nonnull for C++

2006-04-28 Thread Mark Mitchell
Steven Bosscher wrote: That is why I was looking at this. We have http://gcc.gnu.org/PR27336, and part of the fix could be to make the 'this' pointer always non-NULL. So far I haven't found anyone who can think of a situation where 'this' can be NULL... It can't be NULL. (There are ways to

Re: libstdc++ in a combined tree

2006-04-28 Thread Mark Mitchell
DJ Delorie wrote: Another one like libssp. In libstdc++-v3's configure.ac, we see this: # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no. GLIBCXX_ENABLE_SYMVERS([yes]) The comment lies. If we haven't yet checked the linker features, it will check them, and

Maintainers and new contributions

2006-04-28 Thread Mark Mitchell
The SC would like to ensure that before we accept any major contribution, like a new runtime library or back end we have a maintainer lined up for that component. The purpose of this policy is to avoid taking code for which, for whatever reason, we cannot find an available maintainer, or which

Re: libstdc++ in a combined tree

2006-04-28 Thread DJ Delorie
The key problem is that we have two ways And then he lists *three* ;-) * Hard-coded information about the target I seem to recall a long time ago, talk of a global target capabilities database. It proved too unwieldy to implement. However, a toplevel configury snippet (aka config.gcc)

gcc-4.1-20060428 is now available

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

Re: libstdc++ in a combined tree

2006-04-28 Thread DJ Delorie
Right, I understand. Assuming that they exist at this point, you could theoretically pass enough options to make it work -- although, as you say, it's hard to know what those options ought to be. If everything is set up right, it's -I options (for libc headers), -L options (for libc and

Re: libstdc++ in a combined tree

2006-04-28 Thread Mark Mitchell
DJ Delorie wrote: Right, I understand. Assuming that they exist at this point, you could theoretically pass enough options to make it work -- although, as you say, it's hard to know what those options ought to be. If everything is set up right, it's -I options (for libc headers), -L options

Re: libstdc++ in a combined tree

2006-04-28 Thread DJ Delorie
Well, that sounds like an autoconf bug. If it refuses to work when presented with a pile of compiler options, that just sounds bad. No, I think it's our bug - we do this: GCC_NO_EXECUTABLES GLIBCXX_ENABLE_SYMVERS([yes]) You can't logically expect that to work, no matter how many compiler

Re: libstdc++ in a combined tree

2006-04-28 Thread Mark Mitchell
DJ Delorie wrote: Well, that sounds like an autoconf bug. If it refuses to work when presented with a pile of compiler options, that just sounds bad. No, I think it's our bug - we do this: GCC_NO_EXECUTABLES GLIBCXX_ENABLE_SYMVERS([yes]) You can't logically expect that to work, no

Re: libstdc++ in a combined tree

2006-04-28 Thread DJ Delorie
I see -- but why did we set GCC_NO_EXECUTABLES? Don't we only do that when we've failed to link things? No, it's explicit: if test $build != $host; then # We are being configured with some form of cross compiler. GLIBCXX_IS_NATIVE=false case $host,$target in

Re: libstdc++ in a combined tree

2006-04-28 Thread Mark Mitchell
DJ Delorie wrote: I see -- but why did we set GCC_NO_EXECUTABLES? Don't we only do that when we've failed to link things? No, it's explicit: I apologize; I didn't realize that. In that case, you're right; the current approach is just busted. It should become an --enable option, or a

Re: libstdc++ in a combined tree

2006-04-28 Thread Joseph S. Myers
On Fri, 28 Apr 2006, DJ Delorie wrote: I see -- but why did we set GCC_NO_EXECUTABLES? Don't we only do that when we've failed to link things? No, it's explicit: if test $build != $host; then # We are being configured with some form of cross compiler. GLIBCXX_IS_NATIVE=false

Summer of Code: proposal to participate with Partial Transitions

2006-04-28 Thread Eder L. Marques
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, Its my first message to the list. I am happy for this year found the FSF, and more especially, the gcc project, in the Google Summer of Code[1]. Let me introduce myself, I'm 23 years old Brazilian student of Management, but I also did a

Re: libstdc++ in a combined tree

2006-04-28 Thread Daniel Jacobowitz
On Fri, Apr 28, 2006 at 08:36:50PM -0400, DJ Delorie wrote: Well, that sounds like an autoconf bug. If it refuses to work when presented with a pile of compiler options, that just sounds bad. No, I think it's our bug - we do this: GCC_NO_EXECUTABLES GLIBCXX_ENABLE_SYMVERS([yes])

Re: libstdc++ in a combined tree

2006-04-28 Thread DJ Delorie
What are you building here? A combined tree including newlib? If so, I bet you aren't specifying --with-newlib; that turns off a bunch The toplevel configure automatically adds that in a combined tree (or at least it should), if newlib is being built. The two targets I'm currently working

Re: libstdc++ in a combined tree

2006-04-28 Thread Benjamin Kosnik
I apologize; I didn't realize that. In that case, you're right; the current approach is just busted. It should become an --enable option, or a hard-coded case statement, or an autoconf test that doesn't require linking stuff. Really? Like --enable-symvers[=style]?

re: Summer of Code: proposal to participate with Partial Transitions

2006-04-28 Thread Dan Kegel
Eder wrote: Partial Transitions[http://gcc.gnu.org/wiki/Partial%20Transitions] called my attention. I am very interested in submitting a project for the SoC in this category. I read the general ideas and have a project in my mind to execute the task listed in the wiki. You might want to

Re: libstdc++ in a combined tree

2006-04-28 Thread Daniel Jacobowitz
On Fri, Apr 28, 2006 at 11:21:18PM -0400, DJ Delorie wrote: What are you building here? A combined tree including newlib? If so, I bet you aren't specifying --with-newlib; that turns off a bunch The toplevel configure automatically adds that in a combined tree (or at least it

[Bug c++/27257] Error integer compare in g++ 4.1.0

2006-04-28 Thread johnzhang at tencent dot com
--- Comment #3 from johnzhang at tencent dot com 2006-04-28 06:36 --- Ok, you are right. it would be nice if g++ 4.1.0 acts as what g++ 3.3.4 does. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27257

[Bug fortran/24813] ICE with scalarization LEN of character types

2006-04-28 Thread patchapp at dberlin dot org
--- Comment #6 from patchapp at dberlin dot org 2006-04-28 08:00 --- Subject: Bug number PR24813 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/2006-04/msg01075.html --

[Bug tree-optimization/27144] [4.2 regression] segfault with -O2 on x86_64 (and powerpc64)

2006-04-28 Thread rakdver at gcc dot gnu dot org
--- Comment #6 from rakdver at gcc dot gnu dot org 2006-04-28 08:44 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2006-04/msg01078.html -- rakdver at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27336] this pointer is not assumed to be not null

2006-04-28 Thread guillaume dot melquiond at ens-lyon dot fr
--- Comment #2 from guillaume dot melquiond at ens-lyon dot fr 2006-04-28 09:03 --- I tried setting the nonnull attribute, it indeed allowed the optimization. In particular, codes containing dynamic casts are now straight lines. This is a nice improvement. Unfortunately GCC was not

[Bug fortran/27269] Segfault with EQUIVALENCEs in modules together with ONLY clauses

2006-04-28 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2006-04-28 09:15 --- Subject: Bug number PR27269 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/2006-04/msg01079.html --

[Bug middle-end/27328] ICE with -fopenmp and goto

2006-04-28 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug c++/27336] this pointer is not assumed to be not null

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-04-28 09:33 --- VRP could extract this information just like it does for loads in void bar(int); int foo(int *i) { bar(*i); return i == NULL; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27336

[Bug middle-end/27310] ICE in duplicate_eh_regions

2006-04-28 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug c++/27347] New: static array member specialization failure

2006-04-28 Thread maxim dot yegorushkin at gmail dot com
$ cat exp.cpp templateclass T struct type_name { static char const name[]; }; templateclass T char const type_nameT::name[] = ; template char const type_nameint::name[] = int; $ g++ -v exp.cpp Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr

[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions

2006-04-28 Thread marc dot glisse at normalesup dot org
--- Comment #2 from marc dot glisse at normalesup dot org 2006-04-28 10:33 --- (In reply to comment #1) Both libc and libstdc++ are considered part of the implementation which means both are valid to use this name space. Which means both should take care not to use a name (in this

[Bug middle-end/27325] ICE with enabled exceptions and -fopenmp

2006-04-28 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug tree-optimization/27218] [4.1 regression] ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1515, inlining produces non-gimple

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2006-04-28 11:43 --- Subject: Bug 27218 Author: rguenth Date: Fri Apr 28 11:43:43 2006 New Revision: 113343 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113343 Log: 2006-04-28 Andrew Pinski [EMAIL PROTECTED] Richard

[Bug tree-optimization/27236] [4.1 Regression] inliner creates an INDIRECT_REF without TREE_THIS_VOLATILE set for *a

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-04-28 11:43 --- Subject: Bug 27236 Author: rguenth Date: Fri Apr 28 11:43:43 2006 New Revision: 113343 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113343 Log: 2006-04-28 Andrew Pinski [EMAIL PROTECTED] Richard

[Bug middle-end/26869] [4.1 Regression] Segfault in find_lattice_value() for complex operands.

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2006-04-28 11:43 --- Subject: Bug 26869 Author: rguenth Date: Fri Apr 28 11:43:43 2006 New Revision: 113343 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113343 Log: 2006-04-28 Andrew Pinski [EMAIL PROTECTED] Richard

[Bug other/27348] New: memcmp reads past end of strings

2006-04-28 Thread gcc-bugzilla at gcc dot gnu dot org
If you use memcmp to compare strings, it does not stop reading when it finds the terminating null byte of the shortest string, which can trigger an attempt to read unallocated memory. I'd recommend replacing instances of memcmp on strings with strncmp, which won't attempt to read past the end

[Bug tree-optimization/27236] [4.1 Regression] inliner creates an INDIRECT_REF without TREE_THIS_VOLATILE set for *a

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2006-04-28 12:11 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug middle-end/26869] [4.1 Regression] Segfault in find_lattice_value() for complex operands.

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2006-04-28 12:11 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/27218] [4.1 regression] ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1515, inlining produces non-gimple

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2006-04-28 12:12 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27347] [4.0/4.1/4.2 Regression] static array member specialization failure

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-28 13:33 --- Confirmed. Regression with the new C++ parser. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/27348] memcmp reads past end of strings

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-28 13:36 --- In this particular case this should not happen as the memcmp is guarded by the length comparison before. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27348

[Bug other/27348] memcmp reads past end of strings

2006-04-28 Thread fnf at specifix dot com
--- Comment #3 from fnf at specifix dot com 2006-04-28 13:54 --- Subject: Re: memcmp reads past end of strings On Friday 28 April 2006 09:36, rguenth at gcc dot gnu dot org wrote: --- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-28 13:36 --- In this particular

[Bug tree-optimization/20643] [4.0/4.1/4.2 Regression] Tree loop optimizer does worse job than RTL loop optimizer

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-04-28 14:06 --- This is really because we do not decompose structs pointed to by parameters for their elements, so a write to an int clobbers all of plan7_s. With -O2 timings on i686 are for me (averages of three runs) 3.4.6

[Bug c/27349] New: Fortran function returns are not correct in c on X86_64

2006-04-28 Thread ray at ultramarine dot com
-- Summary: Fortran function returns are not correct in c on X86_64 Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org

[Bug c/27350] New: Fortran function returns are not correct in c on X86_64

2006-04-28 Thread ray at ultramarine dot com
gcc3.4.4 on x86_64 When a c program calls a fortran function which returns a real value the c program gets the wrong answer. -- Summary: Fortran function returns are not correct in c on X86_64 Product: gcc Version: 3.4.4 Status: UNCONFIRMED

[Bug c/27350] Fortran function returns are not correct in c on X86_64

2006-04-28 Thread ray at ultramarine dot com
--- Comment #1 from ray at ultramarine dot com 2006-04-28 14:25 --- Created an attachment (id=11343) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11343action=view) All necessary files to produce the bug go is a csh script that compiles the fortran, compiles the c, links and runs.

[Bug fortran/27351] New: [4.2 Regression]: -ffixed-line-length-132 ICE on 178.galgel in SPEC CPU 2K

2006-04-28 Thread hjl at lucon dot org
I got [EMAIL PROTECTED] 0001]$ /usr/gcc-4.2/bin/gcc -ffixed-form -ffixed-line-length-132 -O2 bifoag.f90 -c bifoag.f90: In function âbifoagâ: bifoag.f90:127: internal compiler error: in gfc_conv_array_transpose, at fortran/trans-array.c:726 Please submit a full bug report, with preprocessed

[Bug tree-optimization/26726] -fivopts producing out of bounds array refs

2006-04-28 Thread patchapp at dberlin dot org
--- Comment #11 from patchapp at dberlin dot org 2006-04-28 14:35 --- Subject: Bug number PR26726 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/2006-04/msg01095.html --

[Bug target/26826] [4.1 Regression] ICE in reg_or_subregno, at jump.c:2011

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2006-04-28 14:36 --- Subject: Bug 26826 Author: rguenth Date: Fri Apr 28 14:36:14 2006 New Revision: 113348 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113348 Log: 2006-04-28 Richard Guenther [EMAIL PROTECTED] PR

[Bug target/26826] [4.1 Regression] ICE in reg_or_subregno, at jump.c:2011

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2006-04-28 14:40 --- Subject: Bug 26826 Author: rguenth Date: Fri Apr 28 14:40:51 2006 New Revision: 113349 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113349 Log: 2006-04-28 Richard Guenther [EMAIL PROTECTED] PR

[Bug c/27349] Fortran function returns are not correct in c on X86_64

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-28 14:46 --- *** This bug has been marked as a duplicate of 27350 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/27350] Fortran function returns are not correct in c on X86_64

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-28 14:46 --- *** Bug 27349 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27350

[Bug libgcj/27352] New: SecurityManager.checkPermission() called unnecessarily

2006-04-28 Thread aph at gcc dot gnu dot org
With the attached testcase, SecurityManager.checkPermission() is called three times when it should only be called once. In genral, we make far too many invocations of SecurityManager.checkPermission(). -- Summary: SecurityManager.checkPermission() called unnecessarily

[Bug c/27350] Fortran function returns are not correct in c on X86_64

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-04-28 15:02 --- Confirmed with 3.3-hammer. Fortran returns as double if using xmm registers, so your C prototype is wrong in this case. It is fixed with gfortran in 4.1.0 at least, and 3.4 is no longer maintained. -- rguenth

[Bug middle-end/27325] ICE with enabled exceptions and -fopenmp

2006-04-28 Thread Georg dot Baum at post dot rwth-aachen dot de
--- Comment #2 from Georg dot Baum at post dot rwth-aachen dot de 2006-04-28 15:05 --- The patch at http://gcc.gnu.org/ml/gcc-patches/2006-04/msg01084.html fixes the problem for me. Now my code compiles without optimization, but with -O1 or higher I get a different ICE without file

[Bug c++/26943] [gomp] firstprivate not working properly with non-POD

2006-04-28 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2006-04-28 15:07 --- One incremental fix for the global var case is: --- omp-low.c.jj5 2006-04-28 13:29:49.0 +0200 +++ omp-low.c 2006-04-28 16:22:36.0 +0200 @@ -674,9 +674,6 @@ omp_copy_decl (tree var,

[Bug libgcj/27352] SecurityManager.checkPermission() called unnecessarily

2006-04-28 Thread aph at gcc dot gnu dot org
--- Comment #1 from aph at gcc dot gnu dot org 2006-04-28 15:16 --- Created an attachment (id=11344) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11344action=view) Test case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27352

[Bug libgcj/27352] SecurityManager.checkPermission() called unnecessarily

2006-04-28 Thread aph at gcc dot gnu dot org
--- Comment #2 from aph at gcc dot gnu dot org 2006-04-28 15:18 --- The output of this test should be something like: java.lang.Throwable at MySecurityManager.checkPermission(t.java:33) at java.lang.Class.getClassLoader(Class.java:580) at trial.x(trial.java:5)

[Bug c++/27257] Error integer compare in g++ 4.1.0

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-28 16:29 --- (In reply to comment #3) Ok, you are right. it would be nice if g++ 4.1.0 acts as what g++ 3.3.4 does. Use -fwrapv if you want defined wrapping. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27257

[Bug fortran/27351] [4.2 Regression]: -ffixed-line-length-132 ICE on 178.galgel in SPEC CPU 2K

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-28 16:34 --- We need a testcase, not every one has access to galgel. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27315] ICE with ill-placed #pragma omp parallel

2006-04-28 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2006-04-28 16:38 --- Doesn't seem to be openmp specific: struct A ! { templateint void foo(); }; template void A::foo0(); ICEs the same way. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27315

[Bug c++/27316] ICE with two ill-placed #pragma omp parallel

2006-04-28 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2006-04-28 16:39 --- Doesn't seem to be openmp specific. struct A {}; struct B : A ! {}; struct B : A ! {}; ICEs the same way. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27329] ICE with misplaced #pragma omp parallel

2006-04-28 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2006-04-28 16:42 --- Neither of the testcases are openmp specific, after s/#pragma omp parallel/!/g they crash the same way without -fopenmp. -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug c++/27316] [4.0/4.1/4.2 Regression] ICE with two ill-placed #pragma omp parallel

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-04-28 16:44 --- Then this is a regression since that testcase did not produce an ICE in 3.4.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/27342] GCC-bootstrap using ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c

2006-04-28 Thread malitzke at metronets dot com
--- Comment #6 from malitzke at metronets dot com 2006-04-28 16:46 --- After compiling gcc-4.1.1 successfully on a powerpc and another pentium3 machine it appears that the problem reported was due to bit-rot in the server and not caught by svn updates. This appears to be confirmed by

[Bug c++/27315] ICE with ill-placed #pragma omp parallel

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-04-28 16:46 --- This does not ICE with checking turned off and it has failed since 3.4.0 (and I don't have a checking build before the 3.4.0). -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/27329] [4.1/4.2 Regression] ICE with misplaced #pragma omp parallel

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-28 16:48 --- Confirmed, a regression from at least 3.4.0 (I have only a 4.0.0 right before the branch of 4.0). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/27348] memcmp reads past end of strings in gengtype

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-28 16:57 --- This is interesting because this might be a regression as people have run with valgrind before. It might also be a valgrind bug. Or maybe just an off by one bug. Anyways changing to use strncmp is not correct

[Bug target/25519] [4.0/4.1/4.2 Regression] Intel (SSE/MMX) intrinsics should only be mentioned instead of the builtins

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-04-28 17:39 --- This is a documentation regression as now, the builtins are inconstaint with the source. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/23218] missing documentation for sse2 built-in functions

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-28 17:41 --- This is a dup of bug 25519. SSE3 (and when SSE4 support gets checked in, it will also have the same issue). *** This bug has been marked as a duplicate of 25519 *** -- pinskia at gcc dot gnu dot org changed:

[Bug target/25519] [4.0/4.1/4.2 Regression] Intel (SSE/MMX) intrinsics should only be mentioned instead of the builtins

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-28 17:41 --- *** Bug 23218 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/27351] [4.2 Regression]: -ffixed-line-length-132 ICE on 178.galgel in SPEC CPU 2K

2006-04-28 Thread hjl at lucon dot org
--- Comment #2 from hjl at lucon dot org 2006-04-28 17:52 --- Failed: gcc version 4.2.0 20060417 (experimental) [trunk revision 113003 clean] Worked: gcc version 4.2.0 20060416 (experimental) [trunk revision 112982 clean] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27351

[Bug tree-optimization/26626] [4.2 Regression] ICE in in add_virtual_operand

2006-04-28 Thread dannyb at google dot com
--- Comment #21 from dberlin at gcc dot gnu dot org 2006-04-28 18:26 --- Subject: Bug 26626 Try this patch, it should work :) --- Comment #22 from dberlin at gcc dot gnu dot org 2006-04-28 18:26 --- Created an attachment (id=11345) --

[Bug fortran/27351] [4.2 Regression]: -ffixed-line-length-132 ICE on 178.galgel in SPEC CPU 2K

2006-04-28 Thread hjl at lucon dot org
--- Comment #3 from hjl at lucon dot org 2006-04-28 18:32 --- This patch http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00537.html causes this regression. But galgel doesn't fail on ia64 nor x86-64. -- hjl at lucon dot org changed: What|Removed

[Bug fortran/27351] [4.2 Regression]: -ffixed-line-length-132 ICE on 178.galgel in SPEC CPU 2K

2006-04-28 Thread hjl at lucon dot org
--- Comment #4 from hjl at lucon dot org 2006-04-28 18:38 --- Even more interesting, gcc -m32 works fine on x86-64: [EMAIL PROTECTED] 0001]$ /usr/gcc-4.2/bin/gfortran-ffixed-form -ffixed-line-length-132 -m32 -O2 bifoag.f90 -S [EMAIL PROTECTED] 0001]$

[Bug fortran/27351] -ffixed-line-length-132 ICE on 178.galgel in SPEC CPU 2K

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-04-28 18:57 --- Looks related to PR 26119 which is hard to reproduce. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libmudflap/27348] memcmp reads past end of strings in gengtype

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-04-28 19:02 --- Actually I thought you were using valgrind. Anyways this is a mudflap issue so reopening since mudflap is part of GCC. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/26751] [4.2 Regression] Some OpenMP semantics are caught too late (in the gimplifier)

2006-04-28 Thread dnovillo at gcc dot gnu dot org
--- Comment #1 from dnovillo at gcc dot gnu dot org 2006-04-28 19:02 --- (In reply to comment #0) The gimplifier should not be emitting errors. Why, exactly? Some diagnostics are impossible to emit early enough. Is this a documented requirement? What's the rationale? --

[Bug c/26751] [4.2 Regression] Some OpenMP semantics are caught too late (in the gimplifier)

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-28 19:05 --- (In reply to comment #1) Why, exactly? Some diagnostics are impossible to emit early enough. Is this a documented requirement? What's the rationale? Read the comments in PR 24222 but basicially the

[Bug libmudflap/27348] mudflap produces a bogus error with memcmp that goes over the size

2006-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-04-28 19:06 --- Small testcase: char a[] = tree.h; char b[] = treelang; int main(void) { return memcmp (a, b, strlen(b)) != 0; } -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/27181] Does not fold access to base with cast to different derived type

2006-04-28 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug c/26751] [4.2 Regression] Some OpenMP semantics are caught too late (in the gimplifier)

2006-04-28 Thread dnovillo at gcc dot gnu dot org
--- Comment #3 from dnovillo at gcc dot gnu dot org 2006-04-28 19:17 --- (In reply to comment #2) Read the comments in PR 24222 but basicially the gimplifier is not should not being doing any semantic anlyasis, that is the job of the front-end. Well, some of the structural

Re: [Bug c/26751] [4.2 Regression] Some OpenMP semantics are caught too late (in the gimplifier)

2006-04-28 Thread Andrew Pinski
--- Comment #3 from dnovillo at gcc dot gnu dot org 2006-04-28 19:17 --- Well, some of the structural analysis for which emit errors is done even later than that, so it would be naive to pretend that we can catch everything during parsing. I don't understand why it is hard.

[Bug c/26751] [4.2 Regression] Some OpenMP semantics are caught too late (in the gimplifier)

2006-04-28 Thread pinskia at physics dot uc dot edu
--- Comment #4 from pinskia at physics dot uc dot edu 2006-04-28 19:20 --- Subject: Re: [4.2 Regression] Some OpenMP semantics are caught too late (in the gimplifier) --- Comment #3 from dnovillo at gcc dot gnu dot org 2006-04-28 19:17 --- Well, some of the

[Bug middle-end/27181] Does not fold access to base with cast to different derived type

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-28 19:26 --- The code is invalid. Anybody knows a trick to have a POD storage for non-POD n-dimensional object which individual elements can be accessed using a specialized 1-dimensional non-POD object? POD storage to avoid

[Bug c/25309] [4.0/4.1/4.2 Regression] ICE on initialization of a huge array

2006-04-28 Thread sayle at gcc dot gnu dot org
--- Comment #7 from sayle at gcc dot gnu dot org 2006-04-28 20:00 --- Subject: Bug 25309 Author: sayle Date: Fri Apr 28 19:59:57 2006 New Revision: 113355 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113355 Log: PR c/25309 * c-typeck.c (struct spelling): Make I

[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions

2006-04-28 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-04-28 20:01 --- (In reply to comment #2) (In reply to comment #1) Both libc and libstdc++ are considered part of the implementation which means both are valid to use this name space. Which means both should take care not to use

[Bug middle-end/27181] Does not fold access to base with cast to different derived type

2006-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-04-28 20:22 --- Ok, this one does it, just for the curious: template int Dim struct Loc; struct LocStorage { int x; }; template struct Loc1 : public LocStorage { Loc() {} Loc(int i) { this-x = i; } Loc1 operator[](int)

[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions

2006-04-28 Thread marc dot glisse at normalesup dot org
--- Comment #4 from marc dot glisse at normalesup dot org 2006-04-28 20:43 --- (In reply to comment #3) Well, I think Andrew has a point: suppose we rename all those functions to _M_cos and co. Then, later, we discover that a third libc (not Solaris, not GNU) conflicts with those

[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions

2006-04-28 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2006-04-28 21:18 --- (In reply to comment #4) Convinced of what? Of course convinced that before renaming and re-renaming (endlessly, in principle) we should really give some serious tought to those issues, figure out what we are trying to

  1   2   >