[Bug fortran/40737] Pointer references sometimes fail to define "span" symbols

2009-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-07-22 07:10 --- Reduced test case. The crucial part is the span ("1:2") in the assignment - and that "Ro" is use-associated. Dump: tf_ad_splitting_driver_plane () { [...] extern integer(kind=8) span.0 = 0; [...] span.0 =

[Bug fortran/40737] Pointer references sometimes fail to define "span" symbols

2009-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2009-07-22 07:12 --- Paul, do you immediately see what goes wrong here? If not, I can also dig myself. -- burnus at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/40796] Invalid code when returning unallocated component of derived type

2009-07-22 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2009-07-22 07:13 --- This fix bootstraps and regtests on x86_64/FC9. I will commit it as "obvious" tonight. Paul Index: gcc/fortran/trans-decl.c === --- gcc/fortran/trans-d

[Bug fortran/40728] Bogus error "Error: Can't convert UNKNOWN to REAL(8) at (1)"

2009-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-07-22 08:11 --- The error comes about since with -std=2003, asinh is not an available intrinsic. Solution for the testcase/attached file: "-fall-intrinsics" or removal of a(sin,cos,tan)h - which were added only with F2008 though the

[Bug fortran/40796] Invalid code when returning unallocated component of derived type

2009-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-07-22 08:14 --- The patch is indeed obvious (and OK). Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40796

[Bug fortran/40728] Bogus error "Error: Can't convert UNKNOWN to REAL(8) at (1)"

2009-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-07-22 08:38 --- Found it: In "resolve_function" one has: switch (procedure_kind (sym)) { case PTYPE_GENERIC: ... case PTYPE_SPECIFIC: ... case PTYPE_UNKNOWN: ... The correct branch would be "PT

[Bug c++/40799] [4.5 Regression] Revision 149750 failed 483.xalancbmk in SPEC CPU 2006

2009-07-22 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-07-22 08:43 --- Subject: Bug 40799 Author: rguenth Date: Wed Jul 22 08:43:19 2009 New Revision: 149919 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149919 Log: 2009-07-22 Richard Guenther PR c++/40799

[Bug c++/40799] [4.5 Regression] Revision 149750 failed 483.xalancbmk in SPEC CPU 2006

2009-07-22 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-07-22 08:44 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug fortran/40737] Pointer references sometimes fail to define "span" symbols

2009-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2009-07-22 09:20 --- My current understanding is that "span" is only created (in gfc_get_symbol_decl) if (sym->attr.subref_array_pointer) is true - and is then assumed to live at the same place as the symbol (array descriptor) itself. B

[Bug fortran/40822] New: Internal compiler error when Fortran intrinsic LEN referenced before explicit declaration

2009-07-22 Thread mathewc at nag dot co dot uk
$ uname -a Linux glasgow.nag.co.uk 2.6.27.24-170.2.68.fc10.x86_64 #1 SMP Wed May 20 22:47:23 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux $ gfortran --version GNU Fortran (GCC) 4.5.0 20090716 (experimental) $ cat search.f90 SUBROUTINE SEARCH(ITEMVAL) CHARACTER (*) :: ITEMVAL CHARACTER (LEN(ITEMVA

[Bug fortran/40822] [4.5 Regression] Internal compiler error when Fortran intrinsic LEN referenced before explicit declaration

2009-07-22 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2009-07-22 10:15 --- A 4.5 Regression with the following bt Program received signal SIGSEGV, Segmentation fault. 0x0050f5a4 in resolve_symbol (sym=0x12dd060) at /data03/vondele/gcc_trunk/gcc/gcc/fortran/resolve.c:7873 7873

[Bug fortran/40822] [4.5 Regression] Internal compiler error when Fortran intrinsic LEN referenced before explicit declaration

2009-07-22 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40822

[Bug debug/37022] internal compiler error: in compute_barrier_args_size

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37022

[Bug middle-end/36143] [4.4/4.5 Regression]: FAIL: g++.dg/tree-ssa/pr19637.C

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36143

[Bug middle-end/36201] [4.4 Regression] NVR in the front-end causes missed optimization later on ( thought to alias arguments)

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36201

[Bug rtl-optimization/37272] [4.4/4.5 Regression] IRA has caused ppc64-double-1.c to fail

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37272

[Bug rtl-optimization/37273] [4.4/4.5 Regression] IRA does not re-materializes addresses (loads from the TOC)

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37273

[Bug target/38306] [4.4/4.5 Regression] 15% slowdown w.r.t. 4.3 of computational kernel on some architectures

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38306

[Bug rtl-optimization/37534] [4.4/4.5 Regression] IRA causes 17% degradation in 187.facerec benchmark

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37534

[Bug rtl-optimization/37490] [4.4/4.5 Regression] IRA causes FP code to have more spills

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37490

[Bug middle-end/38878] [4.4/4.5 Regression] gcc.dg/tree-ssa/foldaddr-1.c XFAILed

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38878

[Bug target/38134] [4.4/4.5 Regression] speed regression with many loop invariants

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38134

[Bug target/39254] [4.4 Regression] gcc.c-torture/execute/va-arg-trap-1.c ICEs on powerpc-apple-darwin9

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39254

[Bug middle-end/38671] [4.4/4.5 Regression] extra code for setting up loops (IV-opts and 32bits vs 64bits)

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38671

[Bug testsuite/39297] [4.4/4.5 Regression] gcc.dg/tree-ssa/loop-31.c

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39297

[Bug tree-optimization/39390] [4.4/4.5 Regression] Bogus aliasing warning with std::set

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39390

[Bug tree-optimization/39355] [4.4/4.5 Regression] Revision 144529: ICE due to missing or incorrectly relocated DECL_VALUE_EXPR in PCH header for PARM_DECL

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355

[Bug tree-optimization/39612] [4.3/4.4/4.5 Regression] LIM inserts loads from uninitialized local memory

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39612

[Bug debug/39412] [4.2/4.3 Regression] ICE in gen_tagged_type_instantiation_die

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39412

[Bug target/38384] shared link/execute fails for cross gcc from linux to target hppa64-hp-hpux11.00

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38384

[Bug middle-end/39514] [4.4/4.5 Regression] unreported change to packed bitfields

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39514

[Bug c++/33979] support for char16_t, char32_t

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33979

[Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38156

[Bug fortran/34199] segfault for TRANSFER integer to TYPE(C_PTR)

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34199

[Bug libgcj/39747] [4.4/4.5 Regression] Installation documentation should suggest building libgmp as PIC

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39747

[Bug c++/38522] -Wconversion does not handle complex bitwise expressions

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38522

[Bug libstdc++/38678] [DR XXX] istream::read() calls streambuf::sgetn()

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678

[Bug debug/39372] [4.3 Regression] Missing DW_AT_location for constructor static variable

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39372

[Bug c++/4926] C++ ABI needs clarification on mangling of complex expressions

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4926

[Bug c++/39219] attribute doesn't work with enums properly

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39219

[Bug c++/40497] invalid std::next / std::prev declaration

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497

[Bug target/40266] march-native gives -mno-sse4, but cpuinfo sse4_1

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40266

[Bug debug/40521] [4.4/4.5 Regression] -g causes GCC to generate .eh_frame

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40521

[Bug c++/33492] [4.2/4.3 regression] Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33492

[Bug bootstrap/37304] [4.4/4.5 Regression]: in-tree-binutils gcc configure tests fail because of unexpanded $(objdir)

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37304

[Bug ada/37430] [4.4/4.5 Regression] C974013 gives exception

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37430

[Bug tree-optimization/35629] [4.4/4.5 Regression] gcc.dg/tree-ssa/loop-25.c scan-tree-dump-times profile fails

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35629

[Bug target/37367] [4.4/4.5 Regression] gcc-4.4/4.5 speed regression

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37367

[Bug testsuite/38036] [4.4/4.5 Regression][AVR] FAIL: gcc.c-torture/execute/pr37573.c execution

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38036

[Bug target/37633] [4.4/4.5 Regression] wrong register use on sh64

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37633

[Bug target/37942] [4.4/4.5 Regression] FAIL: gcc.c-torture/compile/930618-1.c

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37942

[Bug libgcj/38251] [4.4/4.5 Regression] tools.zip doesn't build on systems with short command lines

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38251

[Bug rtl-optimization/38603] [4.4/4.5 Regression] IRA does not accommodate LOAD_EXTEND_OP transformations done by combine

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38603

[Bug testsuite/38946] [4.4/4.5 Regression] gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38946

[Bug libgcj/40180] [4.4/4.5 regression] regressions in libjava testsuite on ia64-linux

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40180

[Bug libgcj/40181] [4.4 Regression] regressions in libjava testsuite on s390-linux

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40181

[Bug libgcj/40182] [4.4/4.5 regression] regressions in libjava testsuite on sparc-linux

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40182

[Bug middle-end/37165] [4.4/4.5 Regression] FAIL: gcc.dg/matrix/matrix-1.c scan-ipa-dump-times matrix-reorg "Flattened 3 dimensions" 1

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37165

[Bug c++/22488] [4.2/4.3/4.4/4.5 Regression] push_fields_onto_fieldstack calculates offset incorrectly

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22488

[Bug middle-end/38059] [4.4/4.5 Regression] Compile time regression for gcc.dg/20020425-1.c

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38059

[Bug ada/37440] [4.4/4.5 Regression] GNAT Bug Box a-ngcefu.adb:397

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37440

[Bug target/36851] [4.4/4.5 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX

2009-07-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36851

[Bug c++/39219] attribute doesn't work with enums properly

2009-07-22 Thread alex dot gcc dot gnu dot org at firetree dot net
--- Comment #10 from alex dot gcc dot gnu dot org at firetree dot net 2009-07-22 10:55 --- This problem seems to affect all enum attributes that are declared with the "preferred" syntax. For example, the following enum is not packed, not is a warning emitted: enum __attribute__((packed

[Bug c++/14124] enum definition with __attribute__((packed)) gives syntax errors

2009-07-22 Thread alex dot gcc dot gnu dot org at firetree dot net
--- Comment #7 from alex dot gcc dot gnu dot org at firetree dot net 2009-07-22 10:57 --- There are still problems with packed enums. John Cooper's example program compiles on g++ 4.3.2, but testEnum2 is still not packed. More details in Bug #39219. -- alex dot gcc dot gnu dot org a

[Bug fortran/40766] this fortran program is too slow

2009-07-22 Thread eres at il dot ibm dot com
--- Comment #14 from eres at il dot ibm dot com 2009-07-22 11:15 --- (In reply to comment #0) > program main > implicit none > integer :: i,j > integer,parameter :: N=5000 > real :: x(N)=0.0 > do j=1,20 > do i=1,N > x(i)=x(i)+sin(real(i))+cos(real(i))-tan(real(i)) >

[Bug debug/40823] New: debug info points to unexpected line

2009-07-22 Thread jv244 at cam dot ac dot uk
the observation is that profiling tools (like callgrind/valgrind) will assign a fraction of the instructions to line 2 (PUBLIC S1) in a profile, similarly a debugger will jump to line 2 if one steps through the execution of this program. This is not particularly intuitive (since this line just sp

[Bug fortran/40822] [4.5 Regression] Internal compiler error when Fortran intrinsic LEN referenced before explicit declaration

2009-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-07-22 11:53 --- Crash happens at: resolve_fl_variable (gfc_symbol *sym, int mp_flag) [...] if (sym->ts.type == BT_CHARACTER) { /* Make sure that character string variables with assumed length are dummy arguments

[Bug rtl-optimization/323] optimized code gives strange floating point results

2009-07-22 Thread nszabolcs at gmail dot com
--- Comment #130 from nszabolcs at gmail dot com 2009-07-22 12:10 --- (In reply to comment #129) > I am a bit wondering if this bug is also for the case (a < b) && (b < a) == > true. Is it? i guess so, see: #include #include #define axiom_order(a,b) !(a < b && b < a) #define axi

[Bug driver/39356] assembler isn't called

2009-07-22 Thread rainer at emrich-ebersheim dot de
--- Comment #15 from rainer at emrich-ebersheim dot de 2009-07-22 12:24 --- Is there a chance that we get this fixed soon? Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39356

[Bug fortran/40824] New: F2003: GENERIC interface with generic name = derived-type name

2009-07-22 Thread burnus at gcc dot gnu dot org
Cf. http://groups.google.com/group/comp.lang.fortran/msg/3ff093de4ed9e7c0 The following program is valid as F2003 has: "12.3.2.1 Interface block "A generic name may be the same as a derived-type name, in which case all of the procedures in the interface block shall be functions." Currently, it i

[Bug fortran/40822] [4.5 Regression] Internal compiler error when Fortran intrinsic LEN referenced before explicit declaration

2009-07-22 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-07-22 12:41 --- This was indeed caused by my r146554. Here's a patch: Index: gcc/fortran/symbol.c === --- gcc/fortran/symbol.c(revision 149848) +++ gcc/fortran/s

[Bug c++/40825] New: mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2

2009-07-22 Thread jbeulich at novell dot com
Compiling this file for NetWare, or, after pre-processing it and stripping down to a reasonably small one, natively for Linux produces "'d' is used uninitialized in this function". While the original code in libstdc++ looks broken (which will be reported as a separate bug), the warning and the gen

[Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2

2009-07-22 Thread jbeulich at novell dot com
--- Comment #1 from jbeulich at novell dot com 2009-07-22 14:06 --- Created an attachment (id=18238) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18238&action=view) example source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40825

[Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2

2009-07-22 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-07-22 14:08 --- Can you give a hint on what exactly is miscompiled? (the testcase isn't an executable one that fails if miscompiled...) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40825

[Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2

2009-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-07-22 14:09 --- The library issue is PR40654. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40825

[Bug libstdc++/40826] New: atomic_flag_{test_and_set,clear}_explicit() are apparently broken

2009-07-22 Thread jbeulich at novell dot com
They act on local object 'd' only, rather than (as should be expected) *__a. That is, __a->_M_i will never get set/cleared through these functions. -- Summary: atomic_flag_{test_and_set,clear}_explicit() are apparently broken Product: gcc Vers

[Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2

2009-07-22 Thread jbeulich at novell dot com
--- Comment #4 from jbeulich at novell dot com 2009-07-22 14:17 --- Just as the warning says - construction of 'd' is missing. The warning lead me to look at the generated code, just to see that they are in sync (and hence perhaps have the same root cause). -- http://gcc.gnu.org/bug

[Bug fortran/40822] [4.5 Regression] Internal compiler error when Fortran intrinsic LEN referenced before explicit declaration

2009-07-22 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2009-07-22 14:21 --- The patch in comment #3 even survives a regtest on x86_64-unknown-linux-gnu. Ok to commit with the reporter's test case? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40822

[Bug libstdc++/40826] [C++0x] atomic_flag_{test_and_set,clear}_explicit() are apparently broken

2009-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-07-22 14:23 --- Maybe CC Benjamin about this one too... Note, as I very often repeat, things in C++0x headers are experimental, part of an ongoing effort, no guarantees, no promises of conformance, etc... -- paolo dot car

[Bug middle-end/40827] New: [4.5 regression] galgel in SPEC CPU 2K is miscompiled

2009-07-22 Thread hjl dot tools at gmail dot com
on Linux/ia32, galgel in SPEC CPU 2K is miscompiled by revision 149782 at -O2. It never finishes: 27395 ?R5123:33 ../0002/galgel_base.o2x87 Revision 149763 is OK. -- Summary: [4.5 regression] galgel in SPEC CPU 2K is miscompiled Product: gcc Ver

[Bug libstdc++/40654] [C++0x] atomic.cc: 'd' is used uninitialized warning

2009-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-07-22 14:28 --- See also PR40825. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40654

[Bug tree-optimization/40321] [4.4 Regression] internal compiler error: in compute_antic, at tree-ssa-pre.c:2501

2009-07-22 Thread rguenth at gcc dot gnu dot org
--- Comment #29 from rguenth at gcc dot gnu dot org 2009-07-22 14:45 --- Subject: Bug 40321 Author: rguenth Date: Wed Jul 22 14:45:21 2009 New Revision: 149935 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149935 Log: 2009-07-22 Richard Guenther PR tree-optimizatio

[Bug tree-optimization/40321] [4.4 Regression] internal compiler error: in compute_antic, at tree-ssa-pre.c:2501

2009-07-22 Thread rguenth at gcc dot gnu dot org
--- Comment #30 from rguenth at gcc dot gnu dot org 2009-07-22 14:47 --- And for 4.4.2. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/40799] [4.5 Regression] Revision 149750 failed 483.xalancbmk in SPEC CPU 2006

2009-07-22 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2009-07-22 14:56 --- Testcase fails on Linux/ia32 and Linux/x86-64: FAIL: g++.dg/lookup/using21.C (test for excess errors) -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug c++/40799] [4.5 Regression] Revision 149750 failed 483.xalancbmk in SPEC CPU 2006

2009-07-22 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-07-22 15:02 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED

GCC build error - previous bug

2009-07-22 Thread Tovrea, George W (US SSA)
The errors described below are similar to a previous bug noted at http://gcc.gnu.org/install/specific.html#sparcv9-x-solaris2 Paragraph sparc-sun-solaris2.7 My system tov...@siamese%uname -a SunOS siamese 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Blade-1500 My configure script ${FFMPEG_BASE}/

[Bug tree-optimization/35229] Vectorizer doesn't support dependence created by predictive commoning

2009-07-22 Thread matz at gcc dot gnu dot org
--- Comment #4 from matz at gcc dot gnu dot org 2009-07-22 15:31 --- Subject: Bug 35229 Author: matz Date: Wed Jul 22 15:30:50 2009 New Revision: 149942 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149942 Log: PR tree-optimization/35229 PR tree-optimization/393

[Bug tree-optimization/39300] vectorizer confused by predictive commoning and PRE

2009-07-22 Thread matz at gcc dot gnu dot org
--- Comment #7 from matz at gcc dot gnu dot org 2009-07-22 15:31 --- Subject: Bug 39300 Author: matz Date: Wed Jul 22 15:30:50 2009 New Revision: 149942 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149942 Log: PR tree-optimization/35229 PR tree-optimization/393

[Bug tree-optimization/39300] vectorizer confused by predictive commoning and PRE

2009-07-22 Thread matz at gcc dot gnu dot org
--- Comment #8 from matz at gcc dot gnu dot org 2009-07-22 15:40 --- So, the immediate problem is now fixed, but I'd suggest leaving this enhancement request open, in case anybody wants to work on extending the vectorizer to deal with these loop-carried dependencies, because in that case

[Bug driver/39356] assembler isn't called

2009-07-22 Thread ktietz at gcc dot gnu dot org
--- Comment #16 from ktietz at gcc dot gnu dot org 2009-07-22 16:06 --- (In reply to comment #15) > Is there a chance that we get this fixed soon? > > Rainer > Well, I would like to fix this. Better now then later. But I couldn't find the real reason for this issue. The patch above so

[Bug tree-optimization/23821] [4.3/4.4/4.5 Regression] DOM and VRP creating harder to optimize code

2009-07-22 Thread spop at gcc dot gnu dot org
--- Comment #21 from spop at gcc dot gnu dot org 2009-07-22 16:27 --- I will let Richi to solve this problem: http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01187.html Sebastian -- spop at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/40827] [4.5 regression] galgel in SPEC CPU 2K is miscompiled

2009-07-22 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-07-22 17:09 --- Pilot error. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNC

[Bug bootstrap/37739] [4.4 Regression] bootstrap broken with core gcc > gcc-4.2.x

2009-07-22 Thread giffordj at la dot twcbc dot com
--- Comment #22 from giffordj at la dot twcbc dot com 2009-07-22 17:21 --- Work around doesn't work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37739

[Bug rtl-optimization/323] optimized code gives strange floating point results

2009-07-22 Thread vincent at vinc17 dot org
--- Comment #131 from vincent at vinc17 dot org 2009-07-22 17:33 --- (In reply to comment #130) > #define axiom_order(a,b) !(a < b && b < a) > #define axiom_eq(a) a == a > #define third ((double)atoi("1")/atoi("3")) [...] > in C99 (+TC1,TC2,TC3) different precision

[Bug fortran/40726] [4.5 Regression] miscompilation at -O1

2009-07-22 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2009-07-22 18:12 --- Subject: Bug 40726 Author: pault Date: Wed Jul 22 18:12:35 2009 New Revision: 149952 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149952 Log: 2009-07-22 Paul Thomas PR fortran/40796 * tr

[Bug fortran/40796] Invalid code when returning unallocated component of derived type

2009-07-22 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-07-22 18:12 --- Subject: Bug 40796 Author: pault Date: Wed Jul 22 18:12:35 2009 New Revision: 149952 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149952 Log: 2009-07-22 Paul Thomas PR fortran/40796 * tra

[Bug c++/40828] New: Rejected valid specialization of member class template

2009-07-22 Thread andhow at gmail dot com
This is similar to bug 14494. The following member code is rejected: template class Outer { template class Inner {}; }; template template <> class Outer::Inner {}; /* error */ with error: test.cpp:7: error: invalid explicit specialization before ‘>’ token test.cpp:7: error: enclosi

[Bug fortran/40796] Invalid code when returning unallocated component of derived type

2009-07-22 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-07-22 19:13 --- Fixed on trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug tree-optimization/23821] [4.3/4.4/4.5 Regression] DOM and VRP creating harder to optimize code

2009-07-22 Thread rguenth at gcc dot gnu dot org
--- Comment #22 from rguenth at gcc dot gnu dot org 2009-07-22 19:33 --- I will have a look. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Assig

[Bug lto/40392] ICE in lto_end_uncompression, at lto-compress.c:282

2009-07-22 Thread rmansfield at qnx dot com
--- Comment #3 from rmansfield at qnx dot com 2009-07-22 19:50 --- Yes, the patch resolves the ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40392

  1   2   >