[Bug ada/39515] New: Malformed parent spec causes bomb in child compilation

2009-03-21 Thread simon at pushface dot org
foo.ads contained a bad comment (starting %- instead of --). Compiling foo-main.adb resulted in this bomb: $ gnatmake -c -u -f foo-main.adb gcc -c foo-main.adb +===GNAT BUG DETECTED==+ | 4.3.3 (i386-apple-darwin9.6.0) Assert_Failure sinfo.adb:272

[Bug ada/39515] Malformed parent spec causes bomb in child compilation

2009-03-21 Thread simon at pushface dot org
--- Comment #1 from simon at pushface dot org 2009-03-21 08:49 --- Created an attachment (id=17506) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17506&action=view) Reproducer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39515

[Bug ada/39515] [4.0/4.1/4.2/4.3/4.4 regression] Malformed parent spec causes bomb in child compilation

2009-03-21 Thread laurent at guerby dot net
--- Comment #2 from laurent at guerby dot net 2009-03-21 09:16 --- Confirmed on x86_64-linux with 4.1/4.2/4.3/4.4 and on i686-linux 4.0. i686-linux 3.4.0 to 6 give a proper error so this is a regression. gue...@gcc01:~$ /opt/cfarm/release/3.4.6/bin/gcc -c foo-main.adb foo.ads:3:01: comp

[Bug middle-end/35305] Speculative PRE support missing

2009-03-21 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-03-21 10:53 --- Wouldn't this be a candidate for forming a superblock from hot traces of a function? Thus in the testcase if (k && m) { g1 = a + b; g2 = a + b; } else { ... old code } which would a

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

2009-03-21 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-03-21 11:00 --- I agree that we need to document this change. And I agree that the new behavior is more reasonable. Can we add this example to changes.html? It looks different enough than the existing one. Did behavior change if

[Bug ada/39515] [4.2/4.3/4.4 Regression] Malformed parent spec causes bomb in child compilation

2009-03-21 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P5 Summary|[4.0/4.1/4.2/4.3/4.4|[4.2/4.3/4.4 Regre

[Bug pch/39492] [4.3/4.4 Regression] Parallel compilation fail using PCH on Windows NT>= 5.0

2009-03-21 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-03-21 12:53 --- patches to gcc should be sent to the gcc-patc...@gcc.gnu.org mailing list together with a changelog entry (see gcc/ChangeLog for examples). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39492

[Bug tree-optimization/39516] New: internal compiler error: in copy_to_mode_reg, at explow.c:623

2009-03-21 Thread howarth at nitro dot med dot uc dot edu
The clisot fortran subroutine from the arical.f fortran sourcefile of xplor-nih 2.22 triggers an internal compiler error of the form... testcase.f: In function ‘clisot’: testcase.f:3: internal compiler error: in copy_to_mode_reg, at explow.c:623 when the testcase is compiled with... gfortran -c

[Bug tree-optimization/39516] internal compiler error: in copy_to_mode_reg, at explow.c:623

2009-03-21 Thread howarth at nitro dot med dot uc dot edu
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2009-03-21 14:03 --- Created an attachment (id=17507) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17507&action=view) testcase for ICE when function ‘clisot’ is compiled at -m32 with -ftree-loop-linear -- http://gc

[Bug tree-optimization/39516] internal compiler error: in copy_to_mode_reg, at explow.c:623

2009-03-21 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-03-21 14:03 --- Using built-in specs. Target: i686-apple-darwin10 Configured with: ../gcc-4.4-20090321/configure --prefix=/sw --prefix=/sw/lib/gcc4.4 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c

[Bug tree-optimization/39516] [4.4 Regression] internal compiler error: in copy_to_mode_reg, at explow.c:623

2009-03-21 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-03-21 15:19 --- Confirmed on x86_64-*-linux with -O2 -fdefault-integer-8 -ftree-loop-linear. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-21 Thread hjl dot tools at gmail dot com
--- Comment #38 from hjl dot tools at gmail dot com 2009-03-21 16:13 --- (In reply to comment #37) > Looking at the ICE some more, I see that the backtrace shown in the original > report involves the code added by Honza in revision 144529. The loc value > in frame 1 appears a somewhat

[Bug target/36834] structure return ABI for windows targets differs from native MSVC

2009-03-21 Thread mattias at virtutech dot se
--- Comment #9 from mattias at virtutech dot se 2009-03-21 16:45 --- Created an attachment (id=17508) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17508&action=view) Functions in libstdc++ returning aggregates > 8 bytes These are the functions in libstdc++ that contain the instru

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2009-03-21 Thread eric dot weddington at atmel dot com
--- Comment #3 from eric dot weddington at atmel dot com 2009-03-21 16:52 --- Please try using gcc 4.4 (HEAD). Anatoly Sokolov (AVR port maintainer) has indicated to me that he does not see this bug when using HEAD/4.4. -- eric dot weddington at atmel dot com changed: Wh

[Bug fortran/38915] wrong results for structure assignment of character components when left and right sides overlap

2009-03-21 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2009-03-21 16:56 --- Copy of http://gcc.gnu.org/ml/fortran/2009-01/msg00333.html: > Bootstrapped and regtested on FC9/x86_64 - OK for 4.5? Works as advertised on i686-apple-darwin9 (32 and 64 bit modes) without regression. Since the pat

[Bug tree-optimization/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-21 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #39 from dave at hiauly1 dot hia dot nrc dot ca 2009-03-21 17:24 --- Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c > --- Comment #38 from hjl dot tools at gmail dot com 2009-03-21 16:13 > --- > (In reply to comment #37) > > Looking at th

[Bug tree-optimization/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-21 Thread hjl dot tools at gmail dot com
--- Comment #40 from hjl dot tools at gmail dot com 2009-03-21 18:04 --- (In reply to comment #39) > Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c > The tree stmt is created in remap_block. At this point, I think the > problem is in remap_decls since before

[Bug tree-optimization/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-21 Thread hjl dot tools at gmail dot com
--- Comment #41 from hjl dot tools at gmail dot com 2009-03-21 18:08 --- (In reply to comment #40) > (In reply to comment #39) > > Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c > > > The tree stmt is created in remap_block. At this point, I think the > > pro

[Bug tree-optimization/39516] [4.4 Regression] internal compiler error: in copy_to_mode_reg, at explow.c:623

2009-03-21 Thread howarth at nitro dot med dot uc dot edu
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2009-03-21 18:21 --- Created an attachment (id=17509) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17509&action=view) reduced testcase in single fortran file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39516

[Bug tree-optimization/39516] [4.4 Regression] internal compiler error: in copy_to_mode_reg, at explow.c:623

2009-03-21 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2009-03-21 18:24 --- Created an attachment (id=17510) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17510&action=view) reduced testcase in single fortran file v2 -- howarth at nitro dot med dot uc dot edu changed:

[Bug tree-optimization/39516] [4.4 Regression] internal compiler error: in copy_to_mode_reg, at explow.c:623

2009-03-21 Thread howarth at nitro dot med dot uc dot edu
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2009-03-21 18:28 --- Created an attachment (id=17511) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17511&action=view) reduced testcase in single fortran file v3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39516

[Bug tree-optimization/39516] [4.4 Regression] internal compiler error: in copy_to_mode_reg, at explow.c:623

2009-03-21 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2009-03-21 18:29 --- Created an attachment (id=17512) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17512&action=view) reduced testcase in single fortran file v3 -- howarth at nitro dot med dot uc dot edu changed:

[Bug tree-optimization/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-21 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #42 from dave at hiauly1 dot hia dot nrc dot ca 2009-03-21 18:32 --- Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c > remap_decls in revision 144529 was incorrect, see PR 39345. I > added remapped_type for PR 39345. Please found which remap_decls >

[Bug tree-optimization/39516] [4.4 Regression] internal compiler error: in copy_to_mode_reg, at explow.c:623

2009-03-21 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2009-03-21 18:36 --- Revision 138207, tuple merge: http://gcc.gnu.org/ml/gcc-cvs/2008-07/msg00919.html may be the cause since revision 138198 is OK and revision 138208 is bad. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39516

[Bug tree-optimization/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-21 Thread danglin at gcc dot gnu dot org
--- Comment #43 from danglin at gcc dot gnu dot org 2009-03-21 18:53 --- This is the decl passed to can_be_nonlocal: (gdb) p debug_tree (decl) unit size align 64 symtab 1614619136 alias set 22 canonical type 0x604ca578 precision 64 pointer_to_this

[Bug tree-optimization/39516] [4.4 Regression] internal compiler error: in copy_to_mode_reg, at explow.c:623

2009-03-21 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-03-21 19:54 --- We have wrong types in the comparison 1 + calcnt >= (integer(kind=8)) ivtmp.57. Appears in .ltrans first: integer(kind=4) uboundvar.43; integer(kind=8) perfectiv.42; : Invalid sum of outgoing probabilities 0.0

[Bug c++/28879] [4.2/4.3/4.4 regression] ICE with VLA in template function

2009-03-21 Thread jason at gcc dot gnu dot org
--- Comment #11 from jason at gcc dot gnu dot org 2009-03-21 20:16 --- Subject: Bug 28879 Author: jason Date: Sat Mar 21 20:15:41 2009 New Revision: 144988 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144988 Log: PR c++/28879 * parser.c (cp_parser_direct_declar

[Bug c++/28879] [4.2/4.3/4.4 regression] ICE with VLA in template function

2009-03-21 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2009-03-21 20:50 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/28879] [4.2/4.3 Regression] ICE with VLA in template function

2009-03-21 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2009-03-21 21:14 --- Re-open. Fixed on the trunk. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/36834] structure return ABI for windows targets differs from native MSVC

2009-03-21 Thread mattias at virtutech dot se
--- Comment #10 from mattias at virtutech dot se 2009-03-21 21:49 --- Note that C++ objects need not be larger than 8 bytes to qualify for returning on the stack (and thus subject to this cleanup problem). Any class with a copy constructor, for example, seems to be affected. Try compilin

[Bug tree-optimization/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-21 Thread danglin at gcc dot gnu dot org
--- Comment #44 from danglin at gcc dot gnu dot org 2009-03-21 21:59 --- The parm_decl at 0x60809ee0 first appears in memory after the call to cpp_push_include. I'm thinking it must come from PCH. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355

[Bug c++/28879] [4.2/4.3 Regression] ICE with VLA in template function

2009-03-21 Thread jason at gcc dot gnu dot org
--- Comment #14 from jason at gcc dot gnu dot org 2009-03-22 03:07 --- I'm not inclined to apply the fix to 4.2/4.3. -- jason at gcc dot gnu dot org changed: What|Removed |Added --