[Bug c++/43943] warning: no return statement in function returning non-void should be an error

2010-04-30 Thread david at rothlis dot net


--- Comment #3 from david at rothlis dot net  2010-04-30 06:05 ---
 a function with a missing return is valid

I just can't reconcile that with the following line from the C++ standard: It
is now invalid to return (explicitly or implicitly) from a function which is
declared to return a value without actually returning a value.  Any insights?

Thanks for the -Werror=return-type tip.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43943



[Bug c++/43779] Parts of message not available for translation

2010-04-30 Thread pzhao at gcc dot gnu dot org


--- Comment #2 from pzhao at gcc dot gnu dot org  2010-04-30 06:16 ---
Subject: Bug 43779

Author: pzhao
Date: Fri Apr 30 06:16:26 2010
New Revision: 158919

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158919
Log:
2010-04-30  Shujing Zhao  pearly.z...@oracle.com

PR c++/43779
* typeck.c (warn_args_num): New function.
(convert_arguments): Use warn_args_num to print the diagnostic
messages.

Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43779



[Bug fortran/41829] [OOP] Runtime error with dynamic dispatching

2010-04-30 Thread pault at gcc dot gnu dot org


--- Comment #7 from pault at gcc dot gnu dot org  2010-04-30 06:51 ---
Fixed on trunk.

Thanks for the help, Salvatore - I hope that it will continue.

Paul and Janus


-- 

pault at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41829



[Bug target/43810] [4.5 Regression] linking results in undefined references to _savegpr_* _restgpr_*_x

2010-04-30 Thread patrick at motec dot com dot au


--- Comment #9 from patrick at motec dot com dot au  2010-04-30 06:57 
---
Khem,

Your libgcc.a looks fine. As far as I know, libgcc.a is supposed to be the last
library listed when linking so the behaviour you are seeing is normal.

My problem is that libgcc.a does not contain _savegpr_* and _restgpr_*
functions at all. It looks like they are only built for linux and gnu targets,
not eabispe.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810



[Bug inline-asm/37195] different variables get the same overlapping memory address in inline assembly

2010-04-30 Thread jdemeyer at cage dot ugent dot be


--- Comment #8 from jdemeyer at cage dot ugent dot be  2010-04-30 07:24 
---
On first sight, it looks fixed in gcc 4.6.0 SVN.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37195



[Bug tree-optimization/43879] -fipa-pta causes various miscompilations

2010-04-30 Thread rguenth at gcc dot gnu dot org


--- Comment #11 from rguenth at gcc dot gnu dot org  2010-04-30 08:23 
---
Subject: Bug 43879

Author: rguenth
Date: Fri Apr 30 08:22:15 2010
New Revision: 158924

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158924
Log:
2010-04-30  Richard Guenther  rguent...@suse.de

PR tree-optimization/43879
* tree-ssa-structalias.c (get_constraint_for_1): Properly
handle non-zero initializers.

* gcc.dg/torture/pr43879_1.c: New testcase.

Added:
trunk/gcc/testsuite/gcc.dg/torture/pr43879_1.c
trunk/gcc/testsuite/gcc.dg/torture/pr43879_2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-structalias.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43879



[Bug middle-end/43853] [4.6 Regression] FAIL: gcc.dg/lto/20090126-1 c_lto_20090126-1_0.o-c_lto_20090126-1_0.o

2010-04-30 Thread hubicka at ucw dot cz


--- Comment #2 from hubicka at ucw dot cz  2010-04-30 08:45 ---
Subject: Re:  [4.6 Regression] FAIL:
gcc.dg/lto/20090126-1 c_lto_20090126-1_0.o-c_lto_20090126-1_0.o

Hi,
the problem here is that the testcase combine -O0 module into -O3 module.  This
results in optimization summaries to be missing and thus ipa-pure-const reads
in nothing and later ICE on uninitialized datastructure.  I sent patch for this
that I need to modify, just did not get into it. WHOPR needs significant
reorganization (well pretty much rewrite of all WHOPR specific bits) to be
correct and it is difficult to do so without some fallout
- fixing one problem enabling a transform usually uncovers new one.  The
testcase should ICE on release branch alsi when -fwhopr is replaced by -flto
so it is a bug in LTO implementation overall.  Trying to optimize -O0 compiled
modules is in general not very sane anyway.

But it should be attributed to the change enabling ipa-pure-const at -fwhopr.
I will handle this over weekend.

Honza


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43853



[Bug libgomp/43706] scheduling two threads on one core leads to starvation

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43706



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39372



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22488



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678



[Bug tree-optimization/41454] [4.4 Regression] DOM miscompiles gcc.c-torture/execute/990513-1.c at -O2 -fno-tree-vrp

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41454



[Bug middle-end/41043] [4.4 Regression] virtual memory exhausted: Cannot allocate memory

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41043



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36143



[Bug tree-optimization/43845] [4.4 Regression] Segfault when using __attribute__((const)), versions 4.4.3 and 4.6

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43845



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37022



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37272



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36201



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37273



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37534



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38134



[Bug middle-end/38671] [4.3/4.4/4.5/4.6 Regression] selecting one IV instead of three

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38671



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38306



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39390



[Bug tree-optimization/38747] [4.4 Regression] Wrong code due to VIEW_CONVERT_EXPR

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38747



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39612



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39514



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355



[Bug middle-end/40106] [4.4 Regression] Weird interaction between optimize_insn_for_speed_p and -funsafe-math-optimizations

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40106



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38878



[Bug target/41176] [4.4/4.5/4.6 Regression] ICE in reload_cse_simplify_operands at postreload.c:396

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41176



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39747



[Bug rtl-optimization/41619] [4.4/4.5/4.6 regression] ICE in insert_save (caller-save.c) for SPEC CPU2000's 252.eon

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41619



[Bug tree-optimization/42108] [4.4/4.5/4.6 Regression] 50% performance regression

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42108



[Bug fortran/42169] [4.4/4.5/4.6 Regression] gfortran.dg/pr41928.f90:47: internal compiler error: in store_can_be_removed_p, at ira-emit.c:371

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42169



[Bug rtl-optimization/42502] [4.4/4.5/4.6 Regression] Bad register allocation in a very simple code

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42502



[Bug tree-optimization/42438] [4.4 Regression] Fix for PR38819 is too conservative

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42438



[Bug middle-end/42577] [4.4 Regression] array bounds false positive with -O3, goes away with -O2

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42577



[Bug target/42536] [4.4/4.5/4.6 regression] ICE in spill_failure, at reload1.c:2141

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42536



[Bug middle-end/42973] [4.4 regression] IRA apparently systematically making reload too busy on 2 address instructions with 3 operands

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42973



[Bug debug/43370] [4.4/4.5/4.6 Regression] ICE gen_type_die_with_usage, at dwarf2out.c:14745

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43370



[Bug middle-end/42505] [4.4/4.5/4.6 Regression] loop canonicalization causes a lot of unnecessary temporary variables

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42505



[Bug rtl-optimization/42621] [4.4 Regression] Computed gotos on AMD 800% slower

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42621



[Bug target/43668] [4.6 Regression] -fschedule-insns causes FAIL: gcc.target/i386/vararg-1.c execution test

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43668



[Bug target/43671] [4.4/4.5/4.6 Regression] -fsched2-use-superblocks -m32 produces wrong code with vectorization

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43671



[Bug target/43700] [4.4/4.5/4.6 Regression] global register variables defect

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43700



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33979



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38384



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34199



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39219



[Bug libstdc++/40497] [C++0x] troubles with std::next / std::prev declarations

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497



[Bug other/39979] [4.4/4.5/4.6 Regression] possible wrong code at all -0x levels.

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39979



[Bug middle-end/41738] [4.3/4.4 Regression] optabs expands rotate using wrong mode

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41738



[Bug target/41156] [4.4/4.5/4.6 Regression] zlib segfault in inflate_table() compiled w/ -O -msse2 ftree-vectorize

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41156



[Bug ada/42073] [4.4 regression] Infinite loop when parsing a project file, alpha only

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42073



[Bug ada/41321] Ada runtime not initializing fpu (finit)

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41321



[Bug tree-optimization/42494] [4.4 Regression] Missed dead-code-elimination

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42494



[Bug middle-end/42509] [4.4 Regression] nonoverlapping_memrefs_p misinterprets NULL MEM_OFFSET as const0_rtx

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42509



[Bug testsuite/42856] [4.4 Regression] FAIL: gcc.dg/torture/pr41555.c -O0 (test for excess errors)

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42856



[Bug middle-end/43323] [4.4 Regression] Wrong code with bitfields and type casting.

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43323



[Bug target/43297] [4.4 regression] -O2 -fPIC breaks htmlnorm.c

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43297



[Bug target/43722] [4.4 only] ICE when passing NEON registers using const refrences

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43722



[Bug target/43884] [4.4/4.5/4.6 Regression] Performance degradation for simple fibonacci numbers calculation

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43884



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35629



[Bug c++/43911] [4.4/4.5 Regression] g++ can't compile any even trivial c++ source: undefined reference to `_Unwind_GetIPInfo'

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43911



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37304



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37430



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37633



[Bug rtl-optimization/38603] [4.4/4.5/4.6 Regression] reload inheritance mucks up LOAD_EXTEND_OP transformations done by combine

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38603



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37942



[Bug preprocessor/39533] [4.4/4.5/4.6 Regression] -MM may list a header file twice

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39533



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38946



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40181



[Bug middle-end/40154] [4.4/4.5/4.6 Regression] internal compiler error: in do_SUBST, at combine.c:681

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40154



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40180



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40182



[Bug objc/41617] [4.4/4.5/4.6 regression] ObjC: Error: symbol `_OBJC_CLASS_AppController' is already defined

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41617



[Bug bootstrap/40894] [4.4/4.5/4.6 Regression] bootstrap4-lean failed crtfastmath.o comparision

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40894



[Bug target/40454] [4.4 regression] zlib is about 20% slower when compiled with GCC 4.4.1

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40454



[Bug middle-end/43013] [4.5/4.6 Regression] warning: 'saved_stack.1' is used uninitialized in this function with -fstack-check

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43013



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37165



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38059



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

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37440



[Bug ada/42168] [4.4/4.5/4.6 Regression] GNAT bug box with invalid anonymous access declaration

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168



[Bug target/43701] [4.4/4.5/4.6 Regression] ICE: SIGSEGV (too deep recursion) with -mno-sse and __float128

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43701



[Bug tree-optimization/43879] -fipa-pta causes various miscompilations

2010-04-30 Thread rguenth at gcc dot gnu dot org


--- Comment #12 from rguenth at gcc dot gnu dot org  2010-04-30 09:00 
---
With the last patch we are down to

=== libstdc++ tests ===


Running target unix/-fipa-pta/
FAIL: 23_containers/bitset/operations/1.cc execution test
FAIL: 23_containers/bitset/to_ullong/1.cc execution test

plus some gfortran procedure pointer tests (might be invalid or require
-fwhole-file to work) and 

FAIL: gcc.c-torture/execute/frame-address.c execution,  -O2

which is an invalid testcase with -fipa-pta (it gets optimized too far,
the stack frame is elided).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43879



[Bug bootstrap/43936] [4.6 regression] Revision 158896 fails to bootstrap

2010-04-30 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43936



[Bug ada/38832] Main program runs fine but hangs on exit when linked with Ada shared lib

2010-04-30 Thread silkensedai at online dot fr


--- Comment #5 from silkensedai at online dot fr  2010-04-30 09:06 ---
I got the same eror from a recent version of gnatpro: GNAT Pro 6.4.0w
(20100131-43)
Could someone look into this bug?

thanks.


-- 

silkensedai at online dot fr changed:

   What|Removed |Added

 CC||silkensedai at online dot fr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38832



[Bug target/43941] Impossible to build any version beyond 4.2.4

2010-04-30 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-04-30 09:08 ---
You have at least to state how exactly you configured the compiler.  Please
also specify what host compiler you used.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
  Component|bootstrap   |target
   Keywords||build


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43941



[Bug target/43883] missed optimization of constant __int128_t modulus

2010-04-30 Thread ubizjak at gmail dot com


--- Comment #2 from ubizjak at gmail dot com  2010-04-30 09:12 ---
(In reply to comment #1)
 There isn't any pattern for the TImode variant.

Huh? Expansion uses TImode where appropriate:

(insn 10 9 11 ttt.c:3 (parallel [
(set (reg:DI 66)
(ashiftrt:DI (subreg:DI (reg/v:TI 60 [ x ]) 8)
(const_int 63 [0x3f])))
(clobber (reg:CC 17 flags))
]) -1 (nil))

(insn 11 10 12 ttt.c:3 (set (subreg:DI (reg:TI 65) 0)
(reg:DI 66)) -1 (nil))

(insn 12 11 13 ttt.c:3 (parallel [
(set (reg:DI 67)
(ashiftrt:DI (reg:DI 66)
(const_int 63 [0x3f])))
(clobber (reg:CC 17 flags))
]) -1 (nil))

(insn 13 12 14 ttt.c:3 (set (subreg:DI (reg:TI 65) 8)
(reg:DI 67)) -1 (nil))

(insn 14 13 15 ttt.c:3 (parallel [
(set (reg:TI 68)
(lshiftrt:TI (reg:TI 65)
(const_int 127 [0x7f])))
(clobber (reg:CC 17 flags))
]) -1 (nil))

(insn 15 14 16 ttt.c:3 (parallel [
(set (reg:TI 69)
(plus:TI (reg/v:TI 60 [ x ])
(reg:TI 68)))
(clobber (reg:CC 17 flags))
]) -1 (nil))

(insn 16 15 17 ttt.c:3 (parallel [
(set (subreg:DI (reg:TI 70) 0)
(and:DI (subreg:DI (reg:TI 69) 0)
(const_int 1 [0x1])))
(clobber (reg:CC 17 flags))
]) -1 (nil))

(insn 17 16 18 ttt.c:3 (parallel [
(set (subreg:DI (reg:TI 70) 8)
(and:DI (subreg:DI (reg:TI 69) 8)
(const_int 0 [0x0])))
(clobber (reg:CC 17 flags))
]) -1 (nil))

(insn 18 17 19 ttt.c:3 (parallel [
(set (reg:TI 71)
(minus:TI (reg:TI 70)
(reg:TI 68)))
(clobber (reg:CC 17 flags))
]) -1 (nil))

(insn 19 18 20 ttt.c:2 (set (reg:TI 59 [ retval ])
(reg:TI 71)) -1 (nil))

Are you sure that proposed solution will cover all corner cases?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43883



[Bug target/43941] Impossible to build any version beyond 4.2.4

2010-04-30 Thread h dot m dot brand at xs4all dot nl


--- Comment #2 from h dot m dot brand at xs4all dot nl  2010-04-30 09:15 
---
I did state that I use gcc-4.2.4 as host compiler.

configure sequence:
--8---
export LD_PXDB=/usr/bin/true

export CONFIG_SITE=
export CC=gcc
export CFLAGS=-mlp64 -fPIC
export CCFLAGS=-mlp64 -fPIC
export CXXFLAGS=-mlp64 -fPIC
export PATH=/pro/3gl/GNU/gcc/bin:.:/usr/local/ia64/bin:/pro/local/bin
export PATH=$PATH:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/langtools/bin
export PATH=$PATH:/opt/imake/bin

rm -rf obj
mkdir obj
cd obj
../src/configure \
--enable-languages=c,c++ \
--prefix=/usr/local/ia64 --with-local-prefix=/usr/local/ia64 \
--with-gnu-as --with-as=/usr/local/ia64/bin/as \
--with-ld=/usr/ccs/bin/ld \
--disable-shared \
--disable-nls \
--with-mpfr=/usr/local/ia64 \
--with-gmp=/usr/local/ia64 \
--with-mpc=/usr/local/ia64
--8---

$ gcc -dumpversion
4.2.4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43941



[Bug fortran/43945] New: [OOP] Derived type with GENERIC: resolved to the wrong specific TBP

2010-04-30 Thread burnus at gcc dot gnu dot org
Another OOP problem found by Salvatore.

Jim Xia confirms that NAG f95 gives the correct result, cf.
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/e18d0434c46598e2

The GENERIC is Fortran is designed as such that the invocation is resolved at
compile time to a specific binding.  In your case, af2%do() and af2%get() both
are solved to call binding a2f%doit() and af2%getit(). These two calls are
equivalent to af2%doit() and af2%getit().  And based on the dynamic type of
af2, routines doit2() and getit2() are both called.


The following program shows (GCC trunk after fortran-dev merge):

 FOO%DOIT base version
 Getit value :1


Expect result (as with NAG):

 FOO2%DOIT derived version
 Getit value :  3

This result is also obtained with gfortran if lines with !!$ are uncommented
- which is also the result with NAG f95 5.2. (NAG v5.1 rejects the latter code
with a seemingly bogus ambiguous specific type-bound procedures.)


! --- testd15.f03
module foo_mod
  type foo
integer :: i
  contains
procedure, pass(a) :: doit
procedure, pass(a) :: getit
generic, public :: do  = doit
generic, public :: get = getit
  end type foo
  private doit,getit
contains
  subroutine  doit(a)
class(foo) :: a
a%i = 1
write(*,*) 'FOO%DOIT base version'
  end subroutine doit
  function getit(a) result(res)
class(foo) :: a
integer :: res
res = a%i
  end function getit
end module foo_mod

module foo2_mod
  use foo_mod
  type, extends(foo) :: foo2
integer :: j
  contains
procedure, pass(a) :: doit  = doit2
procedure, pass(a) :: getit = getit2
!!$generic, public :: do  = doit
!!$generic, public :: get = getit
  end type foo2
  private doit2, getit2

contains

  subroutine  doit2(a)
class(foo2) :: a
a%i = 2
a%j = 3
write(*,*) 'FOO2%DOIT derived version'
  end subroutine doit2
  function getit2(a) result(res)
class(foo2) :: a
integer :: res
res = a%j
  end function getit2
end module foo2_mod

program testd15
  use foo2_mod
  type(foo2) :: af2

  call af2%do()
  write(*,*) 'Getit value : ', af2%get()

end program testd15


-- 
   Summary: [OOP] Derived type with GENERIC: resolved to the wrong
specific TBP
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Keywords: wrong-code
  Severity: normal
  Priority: P3
 Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43945



[Bug fortran/43945] [OOP] Derived type with GENERIC: resolved to the wrong specific TBP

2010-04-30 Thread sfilippone at uniroma2 dot it


--- Comment #1 from sfilippone at uniroma2 dot it  2010-04-30 09:23 ---
(In reply to comment #0)
 Another OOP problem found by Salvatore.
 
 
Whoa, you beat me in opening the bug! 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43945



[Bug libstdc++/36231] ostream includes unistd.h outside namespace std, polluting

2010-04-30 Thread paolo dot carlini at oracle dot com


--- Comment #7 from paolo dot carlini at oracle dot com  2010-04-30 09:31 
---
To be clear: by definition closing something as WONTFIX is *never* wrong.
Closing something as INVALID or FIXED can be wrong. The reason being that it's
up to the maintainers to decide that something will not be fixed any time soon
and should be simply resolved in the bug database as WONTFIX. Thus it's
perfectly ok for the maintainers (like Jon and me) to close this as WONTFIX,
even if, in principle, some time in the far future, say breaking the ABI at the
same time, one can imagine including fewer C headers as implementation detail.
I hope now you understand. That said, if you like seeing your baby around,
let's keep in around, but, as I said, don't expect any substantive changes any
time soon.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36231



[Bug fortran/43945] [OOP] Derived type with GENERIC: resolved to the wrong specific TBP

2010-04-30 Thread burnus at gcc dot gnu dot org


--- Comment #2 from burnus at gcc dot gnu dot org  2010-04-30 09:35 ---
4.5.7.3 Type-bound procedure overriding (F2008 FDIS):

If a specific type-bound procedure specified in a type definition has the same
binding name as a type-bound procedure from the parent type then the binding
specified in the type definition overrides the one from the parent type.

If a generic binding specified in a type definition has the same generic-spec
as an inherited binding, it extends the generic interface and shall satisfy the
requirements specified in 12.4.3.4.5.

A binding of a type and a binding of an extension of that type correspond if
the latter binding is the same binding as the former, overrides a corresponding
binding, or is an inherited corresponding binding.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43945



[Bug ada/38832] Main program runs fine but hangs on exit when linked with Ada shared lib

2010-04-30 Thread charlet at gcc dot gnu dot org


--- Comment #6 from charlet at gcc dot gnu dot org  2010-04-30 09:36 ---
The bug is in your manual build procedure (the patch to
s-finimp.adb is a kludge that would only hide the wrong build procedure) which
is
bypassing the gnat toolset normal operations.

I would suggest using stand alone library project files which are designed
for exactly this purpose, and will create a proper executable without calling
elaboration twice, see the GNAT documentation for more details.


-- 

charlet at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38832



[Bug fortran/43945] [OOP] Derived type with GENERIC: resolved to the wrong specific TBP

2010-04-30 Thread sfilippone at uniroma2 dot it


--- Comment #3 from sfilippone at uniroma2 dot it  2010-04-30 09:41 ---
(In reply to comment #1)
 (In reply to comment #0)
  Another OOP problem found by Salvatore.
  
  
 Whoa, you beat me in opening the bug! 
 
If I modify the source code as in the next attachment, I get an ICE (nice,
since I was going to cut another source for the same problem, and now I can
save the effort). 
Do you want me to open a separate PR? 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43945



[Bug fortran/43945] [OOP] Derived type with GENERIC: resolved to the wrong specific TBP

2010-04-30 Thread sfilippone at uniroma2 dot it


--- Comment #4 from sfilippone at uniroma2 dot it  2010-04-30 09:42 ---
Created an attachment (id=20522)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20522action=view)
test case


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43945



[Bug fortran/43945] [OOP] Derived type with GENERIC: resolved to the wrong specific TBP

2010-04-30 Thread sfilippone at uniroma2 dot it


--- Comment #5 from sfilippone at uniroma2 dot it  2010-04-30 09:43 ---
(In reply to comment #3)
 (In reply to comment #1)
  (In reply to comment #0)
   Another OOP problem found by Salvatore.
   
   
  Whoa, you beat me in opening the bug! 
  
 If I modify the source code as in the next attachment, I get an ICE (nice,
 since I was going to cut another source for the same problem, and now I can
 save the effort). 
 Do you want me to open a separate PR? 
 
And the ICE in full glory...

[sfili...@donald bug15]$ gfortran -v 
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/gnu46/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gnu46
--enable-languages=c,c++,fortran : (reconfigured) ../gcc/configure
--prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran : (reconfigured)
../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu46
--enable-languages=c,c++,fortran,lto --no-create --no-recursion :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu46
--enable-languages=c,c++,fortran,lto --no-create --no-recursion :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu46
--enable-languages=c,c++,fortran,lto --no-create --no-recursion :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu46
--enable-languages=c,c++,fortran,lto --no-create --no-recursion
Thread model: posix
gcc version 4.6.0 20100430 (experimental) (GCC) 
[sfili...@donald bug15]$ gfortran -o testd15 testd15.f03 
testd15.f03:73:0: internal compiler error: in gfc_add_component_ref, at
fortran/expr.c:703
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43945



[Bug libstdc++/36231] ostream includes unistd.h outside namespace std, polluting

2010-04-30 Thread redi at gcc dot gnu dot org


--- Comment #8 from redi at gcc dot gnu dot org  2010-04-30 09:51 ---
 I guess I'm still not being clear. I'm not using *any* of those names; I'm not

If you're not using the names why do you care?

 using C; I'm not using POSIX. I'm only using ostream, which is a plain old C++
 library, but when I include ostream I'm getting C library functions like
 open() - not C++ open, C open() - added to my global space, where they 
 conflict
 with application identifiers.

There is not C++ open, and you're on a POSIX platform, so there are POSIX
interfaces defined, which yes, are defined in terms of C functions.

But how do they conflict with application identifiers if you're not using the
names?

 Including a C++ include file should not cause any identifiers from the C or
 POSIX to be gratuitously added to the the user's global space. This is a bug. 
 
 Please check with your colleagues if you still do not understand the problem.

I understand it, but I'm not going to fix it.

 Andrew says 4.3 has fixed this; if so it can be closed FIXED, if verified. But
 closing it WONTFIX is wrong.

No, he suggested you /try/ 4.3, as it has some reductions in header
dependencies, fixes LIKE this.  

As it's not fixed, FIXED is wrong. I agree the situation isn't ideal, so it's
not INVALID, but as I don't plan to do anything about it, WONTFIX seems
appropriate. Check with
http://gcc.gnu.org/bugzilla/page.cgi?id=fields.html#resolution if you still
don't understand the words.

You could consider sending a request to the POSIX C++ working group, requesting
that POSIX interfaces do not pollute the global namespace when used by C++
programs. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36231



  1   2   >