--- Comment #30 from dave at hiauly1 dot hia dot nrc dot ca 2009-03-20
13:17 ---
Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c
> With todays, head, it seems the miscompilation is related to the inlining
> of check_promotion. Adding noinline attribute makes t
--- Comment #29 from dave at hiauly1 dot hia dot nrc dot ca 2009-03-20
01:30 ---
Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c
> I'd say first try to add noinline attribute on all callers of num_positive, if
> it fails even with those, add also __attribute__(
--- Comment #28 from jakub at gcc dot gnu dot org 2009-03-17 10:42 ---
Better just do that with the latest trunk.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355
--- Comment #27 from hjl dot tools at gmail dot com 2009-03-16 17:26
---
(In reply to comment #26)
>
> Probably, I should rebuild 144529 and try Jakub's suggestions.
You need the fix for PR 39345 on top of revision 144529.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355
--- Comment #26 from dave at hiauly1 dot hia dot nrc dot ca 2009-03-16
17:20 ---
Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c
> Since revision 144529:
>
> http://gcc.gnu.org/ml/gcc-patches/2009-03/msg0.html
>
> is the cause and it is inline related, I
--- Comment #25 from jakub at gcc dot gnu dot org 2009-03-16 07:52 ---
I'd say first try to add noinline attribute on all callers of num_positive, if
it fails even with those, add also __attribute__((__optimize__(0))) to them one
by one. If the noinline attribute to those makes the misc
--- Comment #24 from rguenth at gcc dot gnu dot org 2009-03-15 19:51
---
Well, that change cannot possibly cause a miscompilation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355
--- Comment #23 from hjl dot tools at gmail dot com 2009-03-15 18:47
---
(In reply to comment #22)
> Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c
>
> > Since revision 144529:
> >
> > http://gcc.gnu.org/ml/gcc-patches/2009-03/msg0.html
> >
> > is the ca
--- Comment #22 from dave at hiauly1 dot hia dot nrc dot ca 2009-03-15
18:07 ---
Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c
> Since revision 144529:
>
> http://gcc.gnu.org/ml/gcc-patches/2009-03/msg0.html
>
> is the cause and it is inline related, I
--- Comment #21 from hjl dot tools at gmail dot com 2009-03-15 17:37
---
(In reply to comment #19)
> I did find that the ICE doesn't occur with the following change to
> libcpp/expr.c:
>
> Index: expr.c
> ===
> --- expr.c
10 matches
Mail list logo