Bug 21920

Summary: aliasing violations
Product: gcc Reporter: Andrew Pinski <pinskia>
Component: cAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED INVALID    
Severity: normal CC: agamous, alexcher, andrew, attardi, baisjing, cdfrey, chiabaut, chuongdo, cuerob, daniel, dennis, Dries.Decock, dvt, gael.guennebaud, gcc-bugs, gcc2eran, gray, hans.buchmann, hazeman, honza, jacob, jsworley, lucifer_ww, maister, mueller, muller, myan, rajamukherji, ricardo, rosenfeld, sb, schendel, sergei_lus, songyulu, sorenj, stillzhang, takahisa.yokota, tamas_gaal, tompa-l, vkolluri, zephyrtronium
Priority: P2    
Version: 4.1.0   
Target Milestone: ---   
URL: http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/Optimize-Options.html#index-fstrict_002daliasing-749
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed:
Bug Depends on: 14024    
Bug Blocks:    

Description Andrew Pinski 2005-06-05 08:22:16 UTC
A bug for marking as a dup for alias violations in people's code.
Comment 1 Andrew Pinski 2005-06-05 08:22:30 UTC
Marking as invalid.
Comment 2 Andrew Pinski 2005-06-05 08:23:17 UTC
*** Bug 11011 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Pinski 2005-06-05 08:24:14 UTC
*** Bug 11066 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Pinski 2005-06-05 08:25:13 UTC
*** Bug 11423 has been marked as a duplicate of this bug. ***
Comment 5 Andrew Pinski 2005-06-05 08:25:58 UTC
*** Bug 9787 has been marked as a duplicate of this bug. ***
Comment 6 Andrew Pinski 2005-06-05 08:27:37 UTC
*** Bug 11855 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Pinski 2005-06-05 08:28:17 UTC
*** Bug 11863 has been marked as a duplicate of this bug. ***
Comment 8 Andrew Pinski 2005-06-05 08:32:01 UTC
*** Bug 13343 has been marked as a duplicate of this bug. ***
Comment 9 Andrew Pinski 2005-06-05 08:32:58 UTC
*** Bug 13028 has been marked as a duplicate of this bug. ***
Comment 10 Andrew Pinski 2005-06-05 08:33:44 UTC
*** Bug 13418 has been marked as a duplicate of this bug. ***
Comment 11 Andrew Pinski 2005-06-05 08:34:46 UTC
*** Bug 13453 has been marked as a duplicate of this bug. ***
Comment 12 Andrew Pinski 2005-06-05 08:37:01 UTC
*** Bug 10823 has been marked as a duplicate of this bug. ***
Comment 13 Andrew Pinski 2005-06-05 08:39:17 UTC
*** Bug 13992 has been marked as a duplicate of this bug. ***
Comment 14 Andrew Pinski 2005-06-05 08:40:03 UTC
*** Bug 13411 has been marked as a duplicate of this bug. ***
Comment 15 Andrew Pinski 2005-06-05 08:40:58 UTC
*** Bug 14299 has been marked as a duplicate of this bug. ***
Comment 16 Andrew Pinski 2005-06-05 08:42:17 UTC
*** Bug 14725 has been marked as a duplicate of this bug. ***
Comment 17 Andrew Pinski 2005-06-05 08:42:55 UTC
*** Bug 14750 has been marked as a duplicate of this bug. ***
Comment 18 Andrew Pinski 2005-06-05 08:43:54 UTC
*** Bug 11973 has been marked as a duplicate of this bug. ***
Comment 19 Andrew Pinski 2005-06-05 08:44:47 UTC
*** Bug 14862 has been marked as a duplicate of this bug. ***
Comment 20 Andrew Pinski 2005-06-05 08:45:34 UTC
*** Bug 11915 has been marked as a duplicate of this bug. ***
Comment 21 Andrew Pinski 2005-06-05 08:47:15 UTC
*** Bug 15837 has been marked as a duplicate of this bug. ***
Comment 22 Andrew Pinski 2005-06-05 08:51:52 UTC
*** Bug 10125 has been marked as a duplicate of this bug. ***
Comment 23 Andrew Pinski 2005-06-05 08:53:23 UTC
*** Bug 16918 has been marked as a duplicate of this bug. ***
Comment 24 Andrew Pinski 2005-06-05 08:54:49 UTC
*** Bug 17333 has been marked as a duplicate of this bug. ***
Comment 25 Andrew Pinski 2005-06-05 08:55:40 UTC
*** Bug 17394 has been marked as a duplicate of this bug. ***
Comment 26 Andrew Pinski 2005-06-05 08:57:13 UTC
*** Bug 17665 has been marked as a duplicate of this bug. ***
Comment 27 Andrew Pinski 2005-06-05 08:58:37 UTC
*** Bug 17765 has been marked as a duplicate of this bug. ***
Comment 28 Andrew Pinski 2005-06-05 08:59:49 UTC
*** Bug 17865 has been marked as a duplicate of this bug. ***
Comment 29 Andrew Pinski 2005-06-05 09:01:16 UTC
*** Bug 17998 has been marked as a duplicate of this bug. ***
Comment 30 Andrew Pinski 2005-06-05 09:02:16 UTC
*** Bug 18074 has been marked as a duplicate of this bug. ***
Comment 31 Andrew Pinski 2005-06-05 09:03:19 UTC
*** Bug 18156 has been marked as a duplicate of this bug. ***
Comment 32 Andrew Pinski 2005-06-05 09:04:53 UTC
*** Bug 18468 has been marked as a duplicate of this bug. ***
Comment 33 Andrew Pinski 2005-06-05 09:06:52 UTC
*** Bug 20053 has been marked as a duplicate of this bug. ***
Comment 34 Andrew Pinski 2005-06-05 09:07:54 UTC
*** Bug 20185 has been marked as a duplicate of this bug. ***
Comment 35 Andrew Pinski 2005-06-05 09:08:47 UTC
*** Bug 20269 has been marked as a duplicate of this bug. ***
Comment 36 Andrew Pinski 2005-06-05 09:09:51 UTC
*** Bug 18806 has been marked as a duplicate of this bug. ***
Comment 37 Andrew Pinski 2005-06-05 09:10:53 UTC
*** Bug 20445 has been marked as a duplicate of this bug. ***
Comment 38 Andrew Pinski 2005-06-05 09:11:48 UTC
*** Bug 20479 has been marked as a duplicate of this bug. ***
Comment 39 Andrew Pinski 2005-06-05 09:12:25 UTC
*** Bug 20487 has been marked as a duplicate of this bug. ***
Comment 40 Andrew Pinski 2005-06-05 09:14:48 UTC
*** Bug 20729 has been marked as a duplicate of this bug. ***
Comment 41 Andrew Pinski 2005-06-05 09:17:19 UTC
*** Bug 11376 has been marked as a duplicate of this bug. ***
Comment 42 Andrew Pinski 2005-06-05 09:18:17 UTC
*** Bug 21461 has been marked as a duplicate of this bug. ***
Comment 43 Andrew Pinski 2005-06-05 09:19:21 UTC
*** Bug 21666 has been marked as a duplicate of this bug. ***
Comment 44 Andrew Pinski 2005-06-05 09:20:51 UTC
*** Bug 21699 has been marked as a duplicate of this bug. ***
Comment 45 Andrew Pinski 2005-06-05 09:21:56 UTC
*** Bug 21402 has been marked as a duplicate of this bug. ***
Comment 46 Andrew Pinski 2005-06-05 09:23:13 UTC
*** Bug 21788 has been marked as a duplicate of this bug. ***
Comment 47 Andrew Pinski 2005-06-05 09:29:58 UTC
*** Bug 1910 has been marked as a duplicate of this bug. ***
Comment 48 Andrew Pinski 2005-06-05 09:30:47 UTC
*** Bug 2911 has been marked as a duplicate of this bug. ***
Comment 49 Andrew Pinski 2005-06-05 09:31:50 UTC
*** Bug 4069 has been marked as a duplicate of this bug. ***
Comment 50 Andrew Pinski 2005-06-05 09:32:55 UTC
*** Bug 4733 has been marked as a duplicate of this bug. ***
Comment 51 Andrew Pinski 2005-06-05 09:33:37 UTC
*** Bug 4888 has been marked as a duplicate of this bug. ***
Comment 52 Andrew Pinski 2005-06-05 09:34:48 UTC
*** Bug 5186 has been marked as a duplicate of this bug. ***
Comment 53 Andrew Pinski 2005-06-05 09:37:27 UTC
*** Bug 5398 has been marked as a duplicate of this bug. ***
Comment 54 Andrew Pinski 2005-06-05 09:41:15 UTC
*** Bug 6164 has been marked as a duplicate of this bug. ***
Comment 55 Andrew Pinski 2005-06-05 09:44:33 UTC
*** Bug 6377 has been marked as a duplicate of this bug. ***
Comment 56 Andrew Pinski 2005-06-05 09:46:33 UTC
*** Bug 6609 has been marked as a duplicate of this bug. ***
Comment 57 Andrew Pinski 2005-06-05 09:52:00 UTC
*** Bug 3046 has been marked as a duplicate of this bug. ***
Comment 58 Andrew Pinski 2005-06-05 09:52:13 UTC
*** Bug 6893 has been marked as a duplicate of this bug. ***
Comment 59 Andrew Pinski 2005-06-05 09:52:21 UTC
*** Bug 4620 has been marked as a duplicate of this bug. ***
Comment 60 Andrew Pinski 2005-06-05 09:52:37 UTC
*** Bug 7728 has been marked as a duplicate of this bug. ***
Comment 61 Andrew Pinski 2005-06-05 09:52:52 UTC
*** Bug 8284 has been marked as a duplicate of this bug. ***
Comment 62 Andrew Pinski 2005-06-05 09:53:09 UTC
*** Bug 697 has been marked as a duplicate of this bug. ***
Comment 63 Andrew Pinski 2005-06-26 14:31:11 UTC
*** Bug 22190 has been marked as a duplicate of this bug. ***
Comment 64 Andrew Pinski 2005-06-27 15:23:44 UTC
*** Bug 22198 has been marked as a duplicate of this bug. ***
Comment 65 Andrew Pinski 2005-07-26 14:37:01 UTC
*** Bug 23077 has been marked as a duplicate of this bug. ***
Comment 66 Andrew Pinski 2005-08-16 12:35:15 UTC
*** Bug 23421 has been marked as a duplicate of this bug. ***
Comment 67 Andrew Pinski 2005-08-31 12:29:15 UTC
*** Bug 23650 has been marked as a duplicate of this bug. ***
Comment 68 Andrew Pinski 2005-09-09 12:29:03 UTC
*** Bug 23793 has been marked as a duplicate of this bug. ***
Comment 69 Andrew Pinski 2005-09-16 14:18:40 UTC
*** Bug 23913 has been marked as a duplicate of this bug. ***
Comment 70 Andrew Pinski 2005-09-19 07:09:29 UTC
*** Bug 23961 has been marked as a duplicate of this bug. ***
Comment 71 Andrew Pinski 2005-09-19 07:12:30 UTC
For anyone else.
Read http://gcc.gnu.org/bugs.html
The non bug section: "Casting does not work as expected when optimization is turned on." part.
Also 14024 is the bug for C++ front-end not reporting possible aliasing violations.
Comment 72 Andrew Pinski 2005-09-19 20:25:39 UTC
*** Bug 23972 has been marked as a duplicate of this bug. ***
Comment 73 Andrew Pinski 2005-11-10 03:51:35 UTC
*** Bug 6985 has been marked as a duplicate of this bug. ***
Comment 74 Andrew Pinski 2005-11-10 03:52:00 UTC
*** Bug 6917 has been marked as a duplicate of this bug. ***
Comment 75 Andrew Pinski 2005-11-10 03:55:37 UTC
*** Bug 7632 has been marked as a duplicate of this bug. ***
Comment 76 Andrew Pinski 2005-11-10 03:59:46 UTC
*** Bug 4570 has been marked as a duplicate of this bug. ***
Comment 77 Andrew Pinski 2005-11-10 04:01:53 UTC
*** Bug 8302 has been marked as a duplicate of this bug. ***
Comment 78 Andrew Pinski 2005-12-02 23:32:50 UTC
*** Bug 25235 has been marked as a duplicate of this bug. ***
Comment 79 Andrew Pinski 2005-12-05 15:23:09 UTC
*** Bug 25267 has been marked as a duplicate of this bug. ***
Comment 80 Andrew Pinski 2005-12-11 17:58:25 UTC
*** Bug 25355 has been marked as a duplicate of this bug. ***
Comment 81 Andrew Pinski 2006-01-06 14:20:46 UTC
*** Bug 25692 has been marked as a duplicate of this bug. ***
Comment 82 Andrew Pinski 2006-01-19 18:59:35 UTC
*** Bug 25862 has been marked as a duplicate of this bug. ***
Comment 83 Andrew Pinski 2006-02-09 01:02:08 UTC
*** Bug 26144 has been marked as a duplicate of this bug. ***
Comment 84 Andrew Pinski 2006-02-10 18:11:31 UTC
*** Bug 26214 has been marked as a duplicate of this bug. ***
Comment 85 Andrew Pinski 2006-02-17 12:49:12 UTC
*** Bug 26337 has been marked as a duplicate of this bug. ***
Comment 86 Richard Biener 2006-03-13 13:37:57 UTC
*** Bug 26663 has been marked as a duplicate of this bug. ***
Comment 87 Richard Biener 2006-03-20 10:08:14 UTC
*** Bug 26767 has been marked as a duplicate of this bug. ***
Comment 88 Richard Biener 2006-03-25 16:14:25 UTC
*** Bug 26867 has been marked as a duplicate of this bug. ***
Comment 89 Volker Reichelt 2006-03-30 14:56:43 UTC
*** Bug 26941 has been marked as a duplicate of this bug. ***
Comment 90 Andrew Pinski 2006-04-05 16:13:56 UTC
*** Bug 27045 has been marked as a duplicate of this bug. ***
Comment 91 Richard Biener 2006-04-11 10:33:35 UTC
*** Bug 27114 has been marked as a duplicate of this bug. ***
Comment 92 Andrew Pinski 2006-04-21 23:06:56 UTC
*** Bug 27241 has been marked as a duplicate of this bug. ***
Comment 93 Richard Biener 2006-04-25 12:21:09 UTC
*** Bug 27306 has been marked as a duplicate of this bug. ***
Comment 94 Andrew Pinski 2006-05-03 23:27:38 UTC
*** Bug 27412 has been marked as a duplicate of this bug. ***
Comment 95 Andrew Pinski 2006-05-04 16:02:50 UTC
*** Bug 27426 has been marked as a duplicate of this bug. ***
Comment 96 Volker Reichelt 2006-05-10 14:59:09 UTC
*** Bug 27533 has been marked as a duplicate of this bug. ***
Comment 97 Andrew Pinski 2006-05-23 20:42:24 UTC
*** Bug 27744 has been marked as a duplicate of this bug. ***
Comment 98 Andreas Schwab 2006-05-31 13:04:37 UTC
*** Bug 27838 has been marked as a duplicate of this bug. ***
Comment 99 Andrew Pinski 2006-06-08 14:23:08 UTC
*** Bug 27955 has been marked as a duplicate of this bug. ***
Comment 100 Andrew Pinski 2006-06-17 14:56:23 UTC
*** Bug 28073 has been marked as a duplicate of this bug. ***
Comment 101 Steven Bosscher 2006-06-17 22:06:46 UTC
Release folks from the I-use-C-but-do-not-understand-its-semantics punishment list.

Seriously, though...  There is no reason to spam every one of these people every time there is another duplicate of this bug.
Comment 102 Daniel Berlin 2006-06-17 23:42:22 UTC
Subject: Re:  alias violating

steven at gcc dot gnu dot org wrote:
> ------- Comment #101 from steven at gcc dot gnu dot org  2006-06-17 22:06 -------
> Release folks from the I-use-C-but-do-not-understand-its-semantics punishment
> list.
> 
> Seriously, though...  There is no reason to spam every one of these people
> every time there is another duplicate of this bug.
> 
> 

Uh, they are free to remove themselves from the cc list if they like.

I'm certainly not going to special case the bugzilla cc list merging
code just for this bug :)


Comment 103 Andrew Pinski 2006-06-19 16:54:23 UTC
*** Bug 28073 has been marked as a duplicate of this bug. ***
Comment 104 Andrew Pinski 2006-07-03 03:36:06 UTC
*** Bug 28228 has been marked as a duplicate of this bug. ***
Comment 105 Andrew Pinski 2006-08-21 15:23:14 UTC
*** Bug 28792 has been marked as a duplicate of this bug. ***
Comment 106 Andrew Pinski 2006-08-26 20:46:25 UTC
*** Bug 28727 has been marked as a duplicate of this bug. ***
Comment 107 Andrew Pinski 2006-10-28 07:57:10 UTC
*** Bug 29626 has been marked as a duplicate of this bug. ***
Comment 108 Andreas Schwab 2006-11-27 09:51:33 UTC
*** Bug 29991 has been marked as a duplicate of this bug. ***
Comment 109 Andrew Pinski 2006-12-14 04:53:34 UTC
*** Bug 30208 has been marked as a duplicate of this bug. ***
Comment 110 Andrew Pinski 2007-01-23 05:08:49 UTC
*** Bug 30553 has been marked as a duplicate of this bug. ***
Comment 111 Andrew Pinski 2007-02-07 06:51:53 UTC
*** Bug 30724 has been marked as a duplicate of this bug. ***
Comment 112 Andrew Pinski 2007-02-19 02:12:33 UTC
*** Bug 30855 has been marked as a duplicate of this bug. ***
Comment 113 Andrew Pinski 2007-06-11 03:41:47 UTC
*** Bug 32281 has been marked as a duplicate of this bug. ***
Comment 114 Richard Biener 2007-06-11 12:23:41 UTC
*** Bug 32281 has been marked as a duplicate of this bug. ***
Comment 115 Andrew Pinski 2007-06-19 07:56:00 UTC
*** Bug 32397 has been marked as a duplicate of this bug. ***
Comment 116 Andrew Pinski 2007-07-08 18:23:38 UTC
*** Bug 32677 has been marked as a duplicate of this bug. ***
Comment 117 Andreas Schwab 2007-07-09 13:35:29 UTC
*** Bug 32697 has been marked as a duplicate of this bug. ***
Comment 118 Richard Biener 2007-07-10 09:23:39 UTC
*** Bug 32714 has been marked as a duplicate of this bug. ***
Comment 119 Richard Biener 2007-09-03 15:20:58 UTC
*** Bug 33292 has been marked as a duplicate of this bug. ***
Comment 120 Andrew Pinski 2007-09-10 14:44:53 UTC
*** Bug 33379 has been marked as a duplicate of this bug. ***
Comment 121 Andrew Pinski 2007-11-05 22:25:53 UTC
*** Bug 33999 has been marked as a duplicate of this bug. ***
Comment 122 Andrew Pinski 2007-11-21 00:18:12 UTC
*** Bug 34169 has been marked as a duplicate of this bug. ***
Comment 123 Richard Biener 2007-11-29 16:54:50 UTC
*** Bug 34295 has been marked as a duplicate of this bug. ***
Comment 124 Richard Biener 2007-12-07 23:14:16 UTC
*** Bug 34385 has been marked as a duplicate of this bug. ***
Comment 125 Andrew Pinski 2007-12-14 17:33:28 UTC
*** Bug 34463 has been marked as a duplicate of this bug. ***
Comment 126 Andrew Pinski 2007-12-22 05:38:53 UTC
*** Bug 34552 has been marked as a duplicate of this bug. ***
Comment 127 Andrew Pinski 2008-04-29 21:24:28 UTC
*** Bug 36082 has been marked as a duplicate of this bug. ***
Comment 128 Andrew Pinski 2008-05-27 09:57:51 UTC
*** Bug 36340 has been marked as a duplicate of this bug. ***
Comment 129 Andreas Schwab 2008-08-23 23:07:15 UTC
*** Bug 37214 has been marked as a duplicate of this bug. ***
Comment 130 Andreas Schwab 2008-10-16 13:30:00 UTC
*** Bug 37849 has been marked as a duplicate of this bug. ***
Comment 131 Andrew Pinski 2008-11-28 02:20:58 UTC
*** Bug 38297 has been marked as a duplicate of this bug. ***
Comment 132 Andrew Pinski 2008-11-28 16:52:56 UTC
*** Bug 38297 has been marked as a duplicate of this bug. ***
Comment 133 Mihai Don&#539;u 2008-11-28 16:58:04 UTC
removed myself from the CC list
Comment 134 Andrew Pinski 2008-11-28 23:32:15 UTC
*** Bug 38297 has been marked as a duplicate of this bug. ***
Comment 135 Andreas Schwab 2008-12-14 20:36:26 UTC
*** Bug 38527 has been marked as a duplicate of this bug. ***
Comment 136 Andrew Pinski 2008-12-21 01:58:59 UTC
*** Bug 38588 has been marked as a duplicate of this bug. ***
Comment 137 Andreas Schwab 2009-02-04 09:33:57 UTC
*** Bug 39093 has been marked as a duplicate of this bug. ***
Comment 138 Andrew Pinski 2009-02-20 23:56:11 UTC
*** Bug 39255 has been marked as a duplicate of this bug. ***
Comment 139 Andrew Pinski 2009-02-21 00:44:12 UTC
*** Bug 39255 has been marked as a duplicate of this bug. ***
Comment 140 Andrew Pinski 2009-04-11 07:20:19 UTC
*** Bug 39734 has been marked as a duplicate of this bug. ***
Comment 141 Uroš Bizjak 2009-06-25 09:03:30 UTC
*** Bug 40537 has been marked as a duplicate of this bug. ***
Comment 142 Andrew Pinski 2009-07-08 18:22:49 UTC
*** Bug 40686 has been marked as a duplicate of this bug. ***
Comment 143 Jakub Jelinek 2009-07-09 13:50:56 UTC
*** Bug 40698 has been marked as a duplicate of this bug. ***
Comment 144 Manuel López-Ibáñez 2009-07-09 15:20:36 UTC
I added in the URL field the relevant section in the GCC manual.
Comment 145 Richard Biener 2009-07-09 15:26:13 UTC
*** Bug 40698 has been marked as a duplicate of this bug. ***
Comment 146 Andrew Pinski 2009-08-14 19:10:30 UTC
*** Bug 41072 has been marked as a duplicate of this bug. ***
Comment 147 Richard Biener 2009-08-18 09:18:32 UTC
*** Bug 41072 has been marked as a duplicate of this bug. ***
Comment 148 Andrew Pinski 2009-10-29 05:49:30 UTC
*** Bug 41864 has been marked as a duplicate of this bug. ***
Comment 149 Andrew Pinski 2009-11-15 19:02:07 UTC
*** Bug 42052 has been marked as a duplicate of this bug. ***
Comment 150 Paolo Carlini 2009-11-27 16:53:09 UTC
*** Bug 42197 has been marked as a duplicate of this bug. ***
Comment 151 Paolo Carlini 2010-05-12 15:29:18 UTC
*** Bug 44098 has been marked as a duplicate of this bug. ***
Comment 152 Andreas Schwab 2010-05-24 15:48:31 UTC
*** Bug 44260 has been marked as a duplicate of this bug. ***
Comment 153 Andrew Pinski 2010-11-11 23:53:31 UTC
*** Bug 46443 has been marked as a duplicate of this bug. ***
Comment 154 Andrew Pinski 2011-02-03 21:24:12 UTC
*** Bug 47603 has been marked as a duplicate of this bug. ***
Comment 155 Andrew Pinski 2011-02-12 07:26:12 UTC
*** Bug 47708 has been marked as a duplicate of this bug. ***