[Bug c++/30225] builtins's decl is copied in some cases where it is not needed to be copied

2006-12-22 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-12-22 08:31 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/30225] builtins's decl is copied in some cases where it is not needed to be copied

2006-12-22 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-12-22 08:31 --- Subject: Bug 30225 Author: pinskia Date: Fri Dec 22 08:31:03 2006 New Revision: 120145 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=120145 Log: 2006-12-21 Andrew Pinski [EMAIL PROTECTED] PR

[Bug c++/30274] [4.2/4.3 Regression] bool bit-field: wrong increment and decremenet

2006-12-22 Thread s__nakayama at infoseek dot jp
--- Comment #3 from s__nakayama at infoseek dot jp 2006-12-22 08:39 --- (In reply to comment #2) When is the justification that we expect a value of 2? Bool in C++ is a one-bit type and when you do x.x++ I would imagine that you overflow the range of that type. The fact that you

[Bug c++/30274] [4.2/4.3 Regression] bool bit-field: wrong increment and decremenet

2006-12-22 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-12-22 08:45 --- This is a very simple patch to fix this issue also: -if (same_type_p (TREE_TYPE (arg), boolean_type_node)) +if (TREE_CODE (TREE_TYPE (arg)) == BOOLEAN_TYPE) -- pinskia at gcc dot gnu dot org

[Bug target/9539] [Windows] builtin [long/set]jmp not working properly with signals

2006-12-22 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Last reconfirmed|2005-09-24 17:04:36 |2006-12-22

[Bug c++/30274] [4.2/4.3 Regression] bool bit-field: wrong increment and decremenet

2006-12-22 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-12-22 09:24 --- Actually I was wrong in saying this is an easy fix. That part of the fix is still needed but there is another issue in that we are getting the wrong type for the increment: component_ref 0xb7d2a118 type

[Bug fortran/30276] New: gfortran include problem

2006-12-22 Thread aog at terma dot com
This bug has similarities with bug no 20811. For some reason the gfortran compilier cannot locate a file when its absolute path is included. See below: My operating system: $ uname -a Linux lylt0061.terma.com 2.6.18-1.2868.fc6 #1 SMP Fri Dec 15 17:31:29 EST 2006 i686 i686 i386 GNU/Linux The

[Bug target/29682] ICE: in change_pattern, at haifa-sched.c:4066 with -O3 -msched-control-spec

2006-12-22 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2006-12-22 10:43 --- What's the status of this patch? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29682

[Bug c++/30277] New: bit-filed: wrong overload resolution

2006-12-22 Thread s__nakayama at infoseek dot jp
test case #include iostream struct S { signed long l: 32; }; void foo(long) { std::cout NG\n; } void foo(int) { std::cout OK\n; } int main() { S x = {1}; foo(x.l+0); return 0; } result $g++ a.c -o a; ./a NG According to ISO/IEC 14882 4.5 p3, type of `x.l+0' becomes int by

[Bug rtl-optimization/29840] [4.3 Regression] build/genconditions ../../gcc/gcc/config/pa/pa.md tmp-condmd.c: /bin/sh: 13354 Memory fault(coredump)

2006-12-22 Thread bonzini at gcc dot gnu dot org
--- Comment #35 from bonzini at gnu dot org 2006-12-22 12:29 --- Subject: Bug 29840 Author: bonzini Date: Fri Dec 22 12:28:52 2006 New Revision: 120147 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=120147 Log: 2006-12-22 Paolo Bonzini [EMAIL PROTECTED] PR

[Bug rtl-optimization/29840] [4.3 Regression] build/genconditions ../../gcc/gcc/config/pa/pa.md tmp-condmd.c: /bin/sh: 13354 Memory fault(coredump)

2006-12-22 Thread bonzini at gnu dot org
--- Comment #36 from bonzini at gnu dot org 2006-12-22 12:52 --- Should be fixed now (by inspection of the reduced test case). Patch committed is at this URL: http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01378.html -- bonzini at gnu dot org changed: What|Removed

[Bug fortran/30276] gfortran include problem

2006-12-22 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2006-12-22 12:56 --- Confirmed. I think the following patch should work. I'll take the bug next year (if I don't forget). Otherwise, if someone wants to take it, feel free to do so. The problem is that only for include_path in

[Bug fortran/30278] New: Inconsistencies with backslash handling

2006-12-22 Thread tobi at gcc dot gnu dot org
A testcase provided by Eef van Beveren, notice the difference between the handling of backslash in the format string and in the regular string: [EMAIL PROTECTED]:~/src cat backslash.f call wrt('\backslash') call wrt('\\backslash') write (*,100) write (*,200) stop 100

[Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags

2006-12-22 Thread manu at gcc dot gnu dot org
--- Comment #10 from manu at gcc dot gnu dot org 2006-12-22 15:54 --- Subject: Bug 7651 Author: manu Date: Fri Dec 22 15:54:05 2006 New Revision: 120151 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=120151 Log: 2006-12-22 Manuel Lopez-Ibanez [EMAIL PROTECTED] PR

[Bug c++/30279] New: Not finding pointer to function

2006-12-22 Thread antonio dot bulgheroni at gmail dot com
I have a friend sorting function defined in my class and the compiler complains it has not been declared. It works perfectly on a i686-redhat-linux-gnu with gcc 4.0.2. The compiler has been installed from the RPM distributed with Fedora Core 5. The command line used is the following: g++

[Bug c++/30279] Not finding pointer to function

2006-12-22 Thread antonio dot bulgheroni at gmail dot com
--- Comment #1 from antonio dot bulgheroni at gmail dot com 2006-12-22 16:27 --- Created an attachment (id=12833) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12833action=view) The intermediate temporary file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30279

[Bug c++/30279] Not finding pointer to function

2006-12-22 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-22 17:10 --- Please read: http://gcc.gnu.org/gcc-4.1/changes.html ARM-style name-injection of friend declarations is no longer the default. For example: struct S { friend void f(); };

[Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111

2006-12-22 Thread Jean-pierre dot vial at wanadoo dot fr
--- Comment #16 from Jean-pierre dot vial at wanadoo dot fr 2006-12-22 19:20 --- Created an attachment (id=12836) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12836action=view) complet error message x86_64 suse linux 10.1 in case it may help, here is the list of conflicting

[Bug libstdc++/30280] New: SIGSEGV on operator==(valarraybool, bool)

2006-12-22 Thread sebor at roguewave dot com
The (strictly speaking ill-formed) program below successfully compiles with gcc 4.1.0 but fails with a SIGSEGV at runtime. I think it should either fail to compile or, if it compiles because of a gcc extension, it should also run successfully to completion. $ cat u.cpp g++ u.cpp ./a.out

[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)

2006-12-22 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-22 19:52 --- What target is this one, all I get is: t.cc:8: error: cannot convert 'std::_Exprstd::_UnClosstd::__logical_not, std::_Expr, std::_UnClosstd::__logical_not, std::_Expr, std::_BinClosstd::__equal_to, std::_ValArray,

[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)

2006-12-22 Thread sebor at roguewave dot com
--- Comment #2 from sebor at roguewave dot com 2006-12-22 20:22 --- (In reply to comment #1) This was gcc 4.1.0 on sparc-sun-solaris2.9. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280

[Bug fortran/30084] segmentation fault when compiling certain code

2006-12-22 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2006-12-22 20:49 --- Subject: Bug 30084 Author: pault Date: Fri Dec 22 20:49:00 2006 New Revision: 120155 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=120155 Log: 2006-12-22 Paul Thomas [EMAIL PROTECTED] PR

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

2006-12-22 Thread pault at gcc dot gnu dot org
--- Comment #21 from pault at gcc dot gnu dot org 2006-12-22 20:49 --- Subject: Bug 25818 Author: pault Date: Fri Dec 22 20:49:00 2006 New Revision: 120155 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=120155 Log: 2006-12-22 Paul Thomas [EMAIL PROTECTED] PR

[Bug c++/30281] New: [reject valid?] mismatch type of virtual method.

2006-12-22 Thread pluto at agmk dot net
#include stdexcept struct my_error : public std::runtime_error { my_error( std::string const ); }; template typename T struct wrapper { template typename R void add_method( R ( T::* )() const ); }; void test() { wrapper my_error ().add_method( my_error::what );

[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)

2006-12-22 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-12-22 21:42 --- Hi. In fact, I'm getting the same as Andrew on x86-linux, x86_64-linux and powerpc-darwin. Seems a really weird target-dependent issue, I hope Eric can help, a minimum of debugging, a backtrace (thanks in advance, anyway)

[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)

2006-12-22 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2006-12-22 22:17 --- No SIGSEGV for me with 4.1.1: gax% ./pr30280 Assertion failed: a == false, file pr30280.C, line 7 zsh: IOT instruction (core dumped) ./pr30280 Please provide the missing info as per

[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)

2006-12-22 Thread sebor at roguewave dot com
--- Comment #5 from sebor at roguewave dot com 2006-12-22 22:25 --- Regardless of whether the program aborts with SIGSEGV or SIGABRT, the point is that it should either not compile or it should run succesfully to completion. Here's the output of g++ -v if it helps: $ g++ -v Using

[Bug target/30272] Build failure under SGI Irix (GFortran)

2006-12-22 Thread dfranke at gcc dot gnu dot org
-- dfranke at gcc dot gnu dot org changed: What|Removed |Added Component|bootstrap |target GCC build triplet|

[Bug libgomp/28209] None of the GOMP_* environment variables are documented

2006-12-22 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2006-12-22 22:49 --- Documented in trunk. Backport to 4.2 will follow soon. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)

2006-12-22 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2006-12-22 23:01 --- Yes, the crazy thing is that apparently the snippet *compiles* only on sparc-solaris (and shouldn't, of course). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280

[Bug preprocessor/30001] out-of-bounds access when processing empty file

2006-12-22 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2006-12-23 03:00 --- Subject: Bug number PR preprocessor/30001 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-12/msg01602.html --