[Bug middle-end/28498] fstack-protector causes crash in combination with -Os

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28498

Andrew Pinski  changed:

   What|Removed |Added

  Known to fail||
   Target Milestone|--- |4.4.7
 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Andrew Pinski  ---
There is no way to reproduce this issue post 4.4.7. So closing

[Bug middle-end/28498] fstack-protector causes crash in combination with -Os

2006-07-27 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2006-07-27 11:31 ---
With checking enabled you get

/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:
In function '_RandomAccessIterator
std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, _Tp)
[with _RandomAccessIterator = __gnu_cxx::__normal_iteratorQRect*,
std::vectorQRect, std::allocatorQRect  , _Tp = QRect]':
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:2182:
error: NOTE_INSN_BASIC_BLOCK is missing for block 1
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:2182:
error: NOTE_INSN_BASIC_BLOCK 21 in middle of basic block 1
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:2182:
error: insn outside basic block
(insn 19 17 21 1 (parallel [
(set (reg/f:SI 7 sp)
(plus:SI (reg/f:SI 7 sp)
(const_int 12 [0xc])))
(clobber (reg:CC 17 flags))
]) -1 (nil)
(nil))
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:2182:
internal compiler error: in rtl_verify_flow_info, at cfgrtl.c:2250
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.

not a regression, since 4.0 did not have -fstack-protector.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu dot
   ||org
   Keywords||ice-on-valid-code
  Known to fail||4.1.0 4.1.1 4.2.0


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



[Bug middle-end/28498] fstack-protector causes crash in combination with -Os

2006-07-27 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2006-07-27 12:48 ---
Created an attachment (id=11956)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11956action=view)
reduced testcase


-- 


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



[Bug middle-end/28498] fstack-protector causes crash in combination with -Os

2006-07-27 Thread rguenth at gcc dot gnu dot org


--- Comment #4 from rguenth at gcc dot gnu dot org  2006-07-27 12:48 ---
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-07-27 12:48:21
   date||


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



[Bug middle-end/28498] fstack-protector causes crash in combination with -Os

2006-07-26 Thread m dot b dot lankhorst at gmail dot com


--- Comment #1 from m dot b dot lankhorst at gmail dot com  2006-07-26 
17:42 ---
Created an attachment (id=11949)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11949action=view)
The source mentioned in description

Source that won't compile


-- 


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