public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/89996] [avr] ICE in expand_expr_real_2 with -O3 and address spaces
       [not found] <bug-89996-4@http.gcc.gnu.org/bugzilla/>
@ 2023-07-10  4:35 ` pinskia at gcc dot gnu.org
  2023-07-10  4:38 ` [Bug tree-optimization/89996] " pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-10  4:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89996

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |tree-optimization
            Summary|[avr] ICE in                |[avr] ICE in
                   |expand_expr_real_2 with -O3 |expand_expr_real_2 with -O3
                   |                            |and address spaces
      Known to fail|                            |9.2.0

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
With -fchecking we get:

<source>:23:13: error: type mismatch in 'pointer_plus_expr'
   23 | static void send_document(DESC *d, short err, const char __flash
*err_string,
      |             ^~~~~~~~~~~~~
const <address-space-1> char[5] *

const struct 
{
  char ext[5];
  const <address-space-1> char * desc;
  _Bool subst;
}[3] *

sizetype

_5 = &mime_types + _9;
<source>:23: confused by earlier errors, bailing out

This is from laddress.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/89996] ICE in expand_expr_real_2 with -O3 and address spaces
       [not found] <bug-89996-4@http.gcc.gnu.org/bugzilla/>
  2023-07-10  4:35 ` [Bug tree-optimization/89996] [avr] ICE in expand_expr_real_2 with -O3 and address spaces pinskia at gcc dot gnu.org
@ 2023-07-10  4:38 ` pinskia at gcc dot gnu.org
  2023-07-10  4:39 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-10  4:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89996

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|avr                         |avr x86_64
            Summary|[avr] ICE in                |ICE in expand_expr_real_2
                   |expand_expr_real_2 with -O3 |with -O3 and address spaces
                   |and address spaces          |

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Can reproduce on x86_64 with __seg_gs will attach the code in a second.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/89996] ICE in expand_expr_real_2 with -O3 and address spaces
       [not found] <bug-89996-4@http.gcc.gnu.org/bugzilla/>
  2023-07-10  4:35 ` [Bug tree-optimization/89996] [avr] ICE in expand_expr_real_2 with -O3 and address spaces pinskia at gcc dot gnu.org
  2023-07-10  4:38 ` [Bug tree-optimization/89996] " pinskia at gcc dot gnu.org
@ 2023-07-10  4:39 ` pinskia at gcc dot gnu.org
  2023-07-10  4:41 ` pinskia at gcc dot gnu.org
  2023-12-05 12:52 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-10  4:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89996

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 55509
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55509&action=edit
x86_64 testcase

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/89996] ICE in expand_expr_real_2 with -O3 and address spaces
       [not found] <bug-89996-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2023-07-10  4:39 ` pinskia at gcc dot gnu.org
@ 2023-07-10  4:41 ` pinskia at gcc dot gnu.org
  2023-12-05 12:52 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-10  4:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89996

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |6.1.0
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-07-10
     Ever confirmed|0                           |1

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. At least for x86_64, it is not a regression.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/89996] ICE in expand_expr_real_2 with -O3 and address spaces
       [not found] <bug-89996-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2023-07-10  4:41 ` pinskia at gcc dot gnu.org
@ 2023-12-05 12:52 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-12-05 12:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89996

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Possibly also fixed by r14-6133-ge00c00730912cd, confirmed (x86 testcase) on
the GCC 13 branch.  Fixed on trunk.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-05 12:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-89996-4@http.gcc.gnu.org/bugzilla/>
2023-07-10  4:35 ` [Bug tree-optimization/89996] [avr] ICE in expand_expr_real_2 with -O3 and address spaces pinskia at gcc dot gnu.org
2023-07-10  4:38 ` [Bug tree-optimization/89996] " pinskia at gcc dot gnu.org
2023-07-10  4:39 ` pinskia at gcc dot gnu.org
2023-07-10  4:41 ` pinskia at gcc dot gnu.org
2023-12-05 12:52 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).