http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
--- Comment #14 from Jakub Jelinek 2012-12-06
14:37:16 UTC ---
Author: jakub
Date: Thu Dec 6 14:37:09 2012
New Revision: 194250
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194250
Log:
PR c++/55137
* fold-const.c (f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
Paolo Carlini changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
--- Comment #12 from Jason Merrill 2012-11-22
14:42:06 UTC ---
Author: jason
Date: Thu Nov 22 14:42:00 2012
New Revision: 193727
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193727
Log:
PR c++/55137
* semantics.c (ve
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
--- Comment #11 from Jakub Jelinek 2012-11-08
20:16:54 UTC ---
(In reply to comment #10)
> (In reply to comment #3)
> > If it is valid, the series of foldings that result into the overflow are
> > first
> > folding sizeof (int) - 1UL int
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
--- Comment #10 from Jason Merrill 2012-11-08
20:10:09 UTC ---
(In reply to comment #3)
> If it is valid, the series of foldings that result into the overflow are first
> folding sizeof (int) - 1UL into sizeof (int) + 18446744073709551615U
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
--- Comment #9 from Sebastian Huber
2012-11-08 10:19:33 UTC ---
(In reply to comment #8)
> Created attachment 28624 [details]
> gcc48-pr55137.patch
>
> Untested patch.
I tried this patch and GCC Git version 5838c24a86ac8a8afe77285f22
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
--- Comment #8 from Jakub Jelinek 2012-11-06
17:11:21 UTC ---
Created attachment 28624
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28624
gcc48-pr55137.patch
Untested patch.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
--- Comment #7 from Sebastian Huber
2012-11-06 15:50:38 UTC ---
(In reply to comment #6)
> What I mean that for your testcase while you have s: .zero 8
> instead of s: .long 4, 16399, there is also dynamic initialization:
> movl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
--- Comment #6 from Jakub Jelinek 2012-11-06
15:37:09 UTC ---
What I mean that for your testcase while you have s: .zero 8
instead of s: .long 4, 16399, there is also dynamic initialization:
movl$4, s(%rip)
movl$16
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
--- Comment #5 from Sebastian Huber
2012-11-06 15:34:57 UTC ---
(In reply to comment #3)
> enum E { E1 = -1 + (int) (sizeof (int) - 1) };
> errors while it used to be accepted before.
> Dunno if that is valid or not.
> If it is valid, th
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
--- Comment #4 from Sebastian Huber
2012-11-06 15:31:42 UTC ---
(In reply to comment #2)
> The change is that now the struct is dynamically initialized rather than
> statically as it used to.
What do you mean with dynamically initialize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|--- |4.7.4
--- Comment #3 from Jakub
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
Paolo Carlini changed:
What|Removed |Added
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
15 matches
Mail list logo