[Bug c++/36833] unexpected warning: guard 13936 owner may be used uninitialized in this function

2008-08-10 Thread gcc at dpinol dot com
--- Comment #3 from gcc at dpinol dot com 2008-08-11 06:33 --- (In reply to comment #2) > This warning is valid as far as I can tell as the compiler does not know > ACE_OS::mutex_lock does not throw. > Hi, then why removing any of these 3 lines from CircularBuffer's constructor causes

[Bug middle-end/36983] Trunk 138207 miscompiles 172.mgrid on x86-64

2008-08-10 Thread Joey dot ye at intel dot com
--- Comment #6 from Joey dot ye at intel dot com 2008-08-11 05:52 --- (In reply to comment #4) > If you remove -ffast-math, does it miscompare? Passes without -ffast-math. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36983

[Bug fortran/37077] Implement Internal Unit I/O for character KIND=4

2008-08-10 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2008-08-11 05:14 --- Currently the Fortran front end does not recognize an internal unit of KIND=4. Fixing this is a follow up to the UTF-8 patch. -- jvdelisle at gcc dot gnu dot org changed: What|Removed

[Bug fortran/37077] New: Implement Internal Unit I/O for character KIND=4

2008-08-10 Thread jvdelisle at gcc dot gnu dot org
-- Summary: Implement Internal Unit I/O for character KIND=4 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org R

[Bug fortran/37076] New: Concatenation of KIND=4 strings with KIND=4 parameters fails

2008-08-10 Thread jvdelisle at gcc dot gnu dot org
This program illustrates the problem. I think this is a rejects valid. At the point of failure in resolve.c, one of the operands has kind=1 for some reason. program test3 integer,parameter :: u = 4 character(1,u),parameter :: nen=char(int(z'5e74'),u) !year character(25,u) :: string strin

[Bug middle-end/36983] Trunk 138207 miscompiles 172.mgrid on x86-64

2008-08-10 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2008-08-11 03:29 --- More info: 1. Revision 138207 introduced ICE. 2. Revision 138318 fixed ICE, but miscompiled mgrid. 3. Revision 138207 + change in revision 138318 also miscompiled mgrid. -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug target/36436] -ftree-vrp -O1 -msse5 -ftree-vectorize leads to segfault during garbage collection

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-08-11 02:40 --- Hmm, the attributes are being mishandled for some builtins: unit size align 64 symtab 0 alias set -1 canonical type 0x42d1e620 precision 64 pointer_to_this > QI s

[Bug target/36436] -ftree-vrp -O1 -msse5 -ftree-vectorize leads to segfault during garbage collection

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-11 02:35 --- Reduced testcase: extern unsigned char vec1[1024]; extern unsigned char vec2_char[1024]; void sse5_div_const2_uns_char () { unsigned i; for (i = 0; i < 1024; i++) vec1[i] = vec2_char[i] / 2; } --- CUT --- Com

[Bug tree-optimization/36436] -ftree-vrp -O1 -msse5 -ftree-vectorize leads to segfault during garbage collection

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 02:22 --- Reducing this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36436

[Bug preprocessor/7263] __extension__ keyword doesn't suppress warning on LL or ULL constants

2008-08-10 Thread tromey at gcc dot gnu dot org
--- Comment #14 from tromey at gcc dot gnu dot org 2008-08-11 02:18 --- Just FYI -- I was thinking of PR 36478. I'll respond to the rest later. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7263

[Bug middle-end/37075] gimple 003t.original dump duplicates initialisation statements

2008-08-10 Thread bje at gcc dot gnu dot org
--- Comment #2 from bje at gcc dot gnu dot org 2008-08-11 02:17 --- Thanks for the clarification, Andrew. -- bje at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36393] Copy constructor not used but required

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 02:14 --- >When binding an rvalue of class type to a reference, the copy constructor of >the class must be accessible. For instance, consider the following code: >From http://gcc.gnu.org/gcc-3.4/changes.html -- pinskia a

[Bug tree-optimization/36389] [tuples] gimplify_cond_expr should be smarter

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-08-11 02:13 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug target/36358] -mvrsave / -mno-vrsave ignored

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 02:10 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug middle-end/37075] gimple 003t.original dump duplicates initialisation statements

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 02:08 --- This comes down to DECL_EXPR and BIND_EXPR. The BIND_EXPR is printing out the first "char * c = 0B;" while the DECL_EXPR is printing out the second one. This is expected as not all decls have a DECL_EXPR, only ones

[Bug middle-end/37075] New: gimple 003t.original dump duplicates initialisation statements

2008-08-10 Thread bje at gcc dot gnu dot org
Running gcc with -fdump-tree-all to get the gimple dumps, I see duplicate statements in the .003t.original dump: [bug.c] int foo () { char *c = 0; return 0; } [bug.c.003t.original] ;; Function foo (foo) ;; enabled by -tree-original { char * c = 0B; char * c = 0B; return 0; } (the fac

[Bug pch/36277] Please allow directing pch file localization/usage via direct compiler flag.

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-08-11 02:02 --- Use -iquote for "" paths. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36277

[Bug driver/36272] Please add support for google-breakpad or build own system.

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 02:00 --- (In reply to comment #1) > Redhat has patches that automatically tries to compile again and then produce > a > preprocessed source which makes this easier. I can contribute an updated patch for this too if needed.

[Bug middle-end/36817] [4.3 Regression] internal compiler error: in compare_values_warnv

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug target/36798] internal compiler error: in arm_expand_binop_builtin, at config/arm/arm.c:12548

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36798

[Bug middle-end/36802] pop_gimplify_context ICE using openmp task construct

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 01:44 --- Confirmed, this worked in 4.3.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/36545] Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c

2008-08-10 Thread andry at inbox dot ru
--- Comment #2 from andry at inbox dot ru 2008-08-11 01:42 --- I don't know already. At now i have no this error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36545

[Bug target/36756] [4.4 Regression] g++.dg/tls-3.C ICE with section-anchors, unit-at-a-time, no-toplevel-reorder

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 01:41 --- Confirmed, it is at least an user visible regression for 4.4.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/36688] [4.3/4.4 Regression] Incorrect struct assignments with nested const initializers

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 01:38 --- Confirmed, target independent. > t_foo x = init_x; This is getting compiled down to just x = {} for some reason inside the gimplifier. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug target/36732] Internal compiller bug

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 01:33 --- This works on the trunk on x86_64-darwin. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36732

[Bug target/36733] Wery interesting compilation way (if no -Ox option)

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-11 01:32 --- This is expected -O0 resulting code generation. We need it for getting good debugging information in some cases. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/36693] missed optimization for pointer access with offset on powerpc

2008-08-10 Thread pinskia at gcc dot gnu dot org
.ident "GCC: (GNU) 4.4.0 20080810 (experimental) [trunk revision 138922]" .section.note.GNU-stack,"",@progbits -- pinskia at gcc dot gnu dot org changed: Wha

[Bug target/36629] [4.4 Regression] ICE in _lshrdi3 when compiling 06/20/08 snapshot on x86_64

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 01:27 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug target/36722] ICE with inline asm in 64bit mode because of type size

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 01:26 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug libgcj/36640] Build gcc-4.2.1 release fails when configured with --with-xmlj using Sun's ld

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36640

[Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2008-08-11 01:22 --- *** Bug 36529 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug rtl-optimization/36529] -fsee causes ICE

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-08-11 01:22 --- *** This bug has been marked as a duplicate of 34408 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2008-08-11 01:21 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/36556] OpenMP: incorrect 'not specified in enclosing parallel'

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 01:12 --- If I remove default(none), then it works. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/36555] #pragma omp sections reduction-clause causes internal error

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 01:09 --- *** This bug has been marked as a duplicate of 36506 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/36506] [4.3/4.4 Regression] Broken #pragma omp sections reduction (+:x)

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-08-11 01:09 --- *** Bug 36555 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/36555] #pragma omp sections reduction-clause causes internal error

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Component|c |middle-end h

[Bug bootstrap/36545] Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 01:07 --- How did you configure GCC and how did you invoke make? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/36531] -Wno-packed appears to be disconnected/ignored

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 01:06 --- Can you provide a source which is able to reproduce this warning? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/35468] [4.2/4.3/4.4 Regression] LHS of assignment can be folded to a constant causing ICE

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug tree-optimization/35468] LHS of assignment can be folded to a constant causing ICE

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-08-11 01:02 --- This happens with the short testcase which does not need -fno-tree-dce and it only needs -O0: int main() { *"c" = 'x'; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35468

[Bug tree-optimization/35468] LHS of assignment can be folded to a constant causing ICE

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-08-11 01:01 --- *** Bug 36532 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/36532] ICE in simplify_subreg at simplify-rtx.c:4484

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 01:01 --- *** This bug has been marked as a duplicate of 35468 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug bootstrap/36853] Compiling gcc 4.3.1 with Ada fails with Gnat bug detection

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-11 00:56 --- >make profiledbootstrap Don't use make profiledbootstrap and that will make it through. *** This bug has been marked as a duplicate of 32581 *** -- pinskia at gcc dot gnu dot org changed: What|R

[Bug middle-end/32581] make profiledbootstrap - stageprofile - gcc/ada/a-except.adb:1301: error: control flow in the middle of basic block 20

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2008-08-11 00:56 --- *** Bug 36853 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/36827] [4.3/4.4 Regression] newlib:libm/math/k_rem_pio2.c fails in reload

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #17 from pinskia at gcc dot gnu dot org 2008-08-11 00:54 --- Isn't this fixed now? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36827

[Bug fortran/36854] [meta] fortran front-end optimization

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 00:53 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug web/36850] missing onlinedocs for 4.3.1

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 00:53 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug target/36831] sparc-sun-solaris2.6: Bootstrap comparison failure

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-08-11 00:51 --- Most likely stage1 is being miscompiled. This is hard to debug without knowing what version of GCC you are starting with. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/36849] IMA rejects to merge (function)decls with va_args

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 00:50 --- The error message is correct as the function types are not compatible. If in fact this is invalid C even though we don't currently diagnostic it without -combine. Closing as invalid as -combine is doing the correct

[Bug bootstrap/36838] [4.4 Regression] ICE: (__frame_state_for) unwind-dw2.c:1194

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-08-11 00:46 --- Does this work now? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Sta

[Bug c++/36833] unexpected warning: guard 13936 owner may be used uninitialized in this function

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 00:44 --- This warning is valid as far as I can tell as the compiler does not know ACE_OS::mutex_lock does not throw. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36833

[Bug c/36823] Fails to warn about possibly uninitialized variables

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 00:37 --- So what is happening is that we are saying pp is another name for p so it gets optimized as that. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/36938] [4.4 Regression] Revision 138140 caused FAIL: gcc.dg/20040206-1.c

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 00:30 --- Fixed by: 2008-07-29 Jan Hubicka <[EMAIL PROTECTED]> * gcc.dg/20040206-1.c: Expect frontend warning now. -- pinskia at gcc dot gnu dot org changed: What|Removed |Add

[Bug preprocessor/36906] #pragma GNU poison index()

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 00:28 --- Let me expand on what I mean by the attribute deprecated. See http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Function-Attributes.html: deprecated The deprecated attribute results in a warning if the function is used an

[Bug tree-optimization/36891] [4.2/4.3/4.4 Regression] ICE with vector division and -ffast-math and LIM

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-11 00:26 --- Mine, this is a regression as 4.0.1 did not ICE. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/36889] [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 00:24 --- I don't that many folks who don't have a SSE2 compatible machine any more ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug debug/37033] [4.4 Regression] Revision 138733 breaks PCH

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37033

[Bug other/36968] [4.4 regression] malloc corruption building jv-convert.exe

2008-08-10 Thread aaronavay62 at aaronwl dot com
--- Comment #2 from aaronavay62 at aaronwl dot com 2008-08-11 00:22 --- Fixed. -- aaronavay62 at aaronwl dot com changed: What|Removed |Added Status|ASSIGNED

[Bug c++/37037] ICE on template class member function definition after explciit template class instantation

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 00:21 --- It compiled with 4.0.1. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/36983] Trunk 138207 miscompiles 172.mgrid on x86-64

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-08-11 00:19 --- If you remove -ffast-math, does it miscompare? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36983

[Bug middle-end/36990] [4.4 Regression] -fipa-cp vs function pointers and extern template

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-11 00:18 --- This is related to PR 37046. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/36990] [4.4 Regression] -fipa-cp vs extern template

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 00:09 --- Reduced testcase: template class cla; typedef cla <1> clas1; template struct cla { int& f1(int& (*__pf)(const int&)) { return __pf(1); } }; int& endl(const int& __os); extern template class cl

[Bug c++/37047] Missing warning for deprecated use of static

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-10 23:36 --- I don't think this is a good warning really as static is used all over the place. In system headers and really in almost all C++ code in general. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37047

[Bug c++/36971] Portability issue from gcc 2.96 to gcc 4.1.1 for c++ casting

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-10 23:28 --- >d *ptr = reinterpret_cast (c1); You are violating C/C++ aliasing rules as *c1 here is a c and not a d. Even though d inherits from c, this is undefined behavior still as it is not the opposite way around. -- p

[Bug other/36968] [4.4 regression] malloc corruption building jv-convert.exe

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Component|driver |other Targe

[Bug bootstrap/36995] [4.3 Regression] cannot build combined tree from 4.3 branch + trunk binutils

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-10 23:26 --- As mentioned this is not a bug as you have to make sure that the dependent libraries are compatible. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/32305] ICE in initialize_flags_in_bb with -O -fipa-pta

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-08-10 23:25 --- *** Bug 36600 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/36600] ICE while building e2fsprogs with -fipa-pta -O2

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-10 23:25 --- *** This bug has been marked as a duplicate of 32305 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/32305] ICE in initialize_flags_in_bb with -O -fipa-pta

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-08-10 23:24 --- *** Bug 36985 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/36985] initialize_flags_in_bb, at tree-into-ssa.c:437

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-08-10 23:24 --- -fipa-pta is the cause, don't use that option as it does nothing to the generated code anyways. *** This bug has been marked as a duplicate of 32305 *** -- pinskia at gcc dot gnu dot org changed: Wha

[Bug c++/36982] Unfolding of template function (in namesspace) using overloads (in same namespace) requires forward declarations

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-10 23:21 --- This is correct behavior as MyType is not in the namespace so Read is not found after the call. If you want Read to be found, you can put it in the same namespace as MyType. -- pinskia at gcc dot gnu dot org cha

[Bug c++/36979] 'sizeof' wrong when using typedef ... __attribute__((mode(*I))) in a template

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-10 23:20 --- This was fixed with the patch that fixed PR 36662. *** This bug has been marked as a duplicate of 36662 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36662] [4.3/4.4 Regression] vector vs template

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-08-10 23:20 --- *** Bug 36979 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/29143] address-of overloaded function does not work in function call

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-10 23:15 --- *** Bug 36975 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

gcc-bugs@gcc.gnu.org

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-10 23:15 --- *** This bug has been marked as a duplicate of 29143 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/36973] ICE when compiling legal(at least compiles with 4.1.2) code

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal Component|c |target http:

[Bug preprocessor/7263] __extension__ keyword doesn't suppress warning on LL or ULL constants

2008-08-10 Thread manu at gcc dot gnu dot org
--- Comment #13 from manu at gcc dot gnu dot org 2008-08-10 23:13 --- (In reply to comment #12) > > I am not sure how that will work. How do you specify a different value of > > system_header for a single location? My understanding is that sysp is for a > > whole line_map, so you cannot

[Bug tree-optimization/36956] [4.4 Regression] Revision 138207 causes some regressions

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-10 23:13 --- The matrix-*.c ones have been fixed now by: 2008-08-01 Doug Kwan <[EMAIL PROTECTED]> * matrix-reorg.c: Re-enable all code. ... bitfld-1* were fixed by: 2008-07-29 Jakub Jelinek <[EMAIL PROTECTED]>

[Bug c++/35158] g++ does not compile valid C++ for loops with -fopenmp

2008-08-10 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2008-08-10 22:50 --- A patch was posted here: http://gcc.gnu.org/ml/gcc-patches/2008-08/msg00442.html (I miss the patch tracker!!!) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35158

[Bug c++/35158] g++ does not compile valid C++ for loops with -fopenmp

2008-08-10 Thread danny dot dyk at tu-dortmund dot de
--- Comment #7 from danny dot dyk at tu-dortmund dot de 2008-08-10 22:49 --- Applicable to a subset of C++ doesn't equal C++ compatibility. I'm fine with OpenMP unable to successfully parallelise a majority of possible for loops. It's quite understandable. However, instead of throwing

[Bug target/37029] Exception from shared library's functions or methods that return float (double, long double) value cannot be caught on HP-UX.

2008-08-10 Thread danglin at gcc dot gnu dot org
--- Comment #6 from danglin at gcc dot gnu dot org 2008-08-10 22:30 --- I tried this 4.1.2, 4.2.4 and 4.3.1. 4.1.2 aborts, the others don't. Also checked the test on HP-UX 11.00 with 4.3.1. As the 4.1 branch is closed, I am closing this patch as fixed. Regarding patches, I have essent

[Bug c++/35158] g++ does not compile valid C++ for loops with -fopenmp

2008-08-10 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2008-08-10 22:28 --- No idea how do you infer that from this. If you use #pragma omp for before a loop construct, there are many restrictions you need to honor to have a valid OpenMP program, this is just one of them. To list just some oth

[Bug c++/35158] g++ does not compile valid C++ for loops with -fopenmp

2008-08-10 Thread danny dot dyk at tu-dortmund dot de
--- Comment #5 from danny dot dyk at tu-dortmund dot de 2008-08-10 22:17 --- That means - contrary to popular knowledge - that OpenMP is not C++ compatible. Fair enough! Just don't announce it as such, then. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35158

[Bug preprocessor/7263] __extension__ keyword doesn't suppress warning on LL or ULL constants

2008-08-10 Thread tromey at gcc dot gnu dot org
--- Comment #12 from tromey at gcc dot gnu dot org 2008-08-10 22:17 --- > I am not sure how that will work. How do you specify a different value of > system_header for a single location? My understanding is that sysp is for a > whole line_map, so you cannot just change its value for a si

[Bug c++/35158] g++ does not compile valid C++ for loops with -fopenmp

2008-08-10 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-08-10 21:46 --- This is invalid OpenMP code. See 2.5.1 (in OpenMP 3.0, similar wording is in 2.5 standard too): init-expr One of the following: var = lb integer-type var = lb random-a

[Bug java/37051] Random failures running ECJ 3.4 (threading problem?)

2008-08-10 Thread chewi at aura-online dot co dot uk
--- Comment #2 from chewi at aura-online dot co dot uk 2008-08-10 20:57 --- Can this please be verified? They have already closed the bug on their end and I don't have the knowledge to do this myself. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37051

[Bug middle-end/37046] [4.4 Regression] Inlining produces calls which gimple_call_fndecl cannot handle correctly

2008-08-10 Thread rguenther at suse dot de
--- Comment #7 from rguenther at suse dot de 2008-08-10 20:44 --- Subject: Re: [4.4 Regression] Inlining produces calls which gimple_call_fndecl cannot handle correctly On Sun, 10 Aug 2008, pinskia at gcc dot gnu dot org wrote: > --- Comment #6 from pinskia at gcc dot gnu dot org

[Bug libfortran/18985] opening unit 6 messes up print

2008-08-10 Thread tobi at gcc dot gnu dot org
--- Comment #12 from tobi at gcc dot gnu dot org 2008-08-10 20:43 --- The GFORTRAN_STDOUT_UNIT environment variable mentioned above should make your life a lot easier. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18985

[Bug ada/37038] Bogus warning from GCC

2008-08-10 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 reconfi

[Bug ada/37038] Bogus warning from GCC

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-08-10 20:34 --- Oh I see it now: /* If the comparison is being folded and the operand on the LHS is being compared against a constant value that is outside of the natural range of OP0's type, then the predica

[Bug ada/37038] Bogus warning from GCC

2008-08-10 Thread sam at gcc dot gnu dot org
--- Comment #6 from sam at gcc dot gnu dot org 2008-08-10 20:30 --- Subject: Re: Bogus warning from GCC >> The warning is likely to come from tree-vrp.c. > The only place which emits this warning is from c-common.c so I > think someone needs to debug this a little bit. Place a breakp

[Bug middle-end/37046] [4.4 Regression] Inlining produces calls which gimple_call_fndecl cannot handle correctly

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-08-10 20:27 --- Parts of it is fixed by: http://gcc.gnu.org/ml/gcc-patches/2008-08/msg00549.html Or is it a full fix, I can't tell anymore :). -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/37044] Heisenbug: SVN of gcc throws internal compiler error on PPC

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Component|c |middle-end

[Bug ada/37038] Bogus warning from GCC

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-08-10 20:17 --- (In reply to comment #4) > The warning is likely to come from tree-vrp.c. The only place which emits this warning is from c-common.c so I think someone needs to debug this a little bit. Place a breakpoint on warnin

[Bug testsuite/37074] gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2

2008-08-10 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2008-08-10 20:23 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2008-08/msg00664.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug libobjc/37054] undefined reference to `objc_exception_throw'

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-10 20:22 --- Mine, there are other functions missing from libobjc.def. I have to look into which ones are missing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug java/37051] Random failures running ECJ 3.4 (threading problem?)

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-10 20:22 --- This sounds like there is a race condition inside ecj and not a bug in GCJ. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37051

[Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Summary|ICE for h264ref in |[4.

[Bug target/37048] [4.4 Regression] Revision 138835 breaks bootstrap

2008-08-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added GCC target triplet||i?86-*-* Keywords||build, ice-o

  1   2   >