public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/94116] New: GCC regression - unexpected AST of kind lrotate_expr
@ 2020-03-10 10:15 antonio.di.monaco at sap dot com
  2020-03-10 10:26 ` [Bug c++/94116] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: antonio.di.monaco at sap dot com @ 2020-03-10 10:15 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94116
           Summary: GCC regression - unexpected AST of kind lrotate_expr
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antonio.di.monaco at sap dot com
  Target Milestone: ---

Since commit aaa26bf496a646778ac861aed124d960b5bf549f, "c++: Use constexpr to
avoid wrong -Wsign-compare (PR90691)", GCC 10 fails to compile the following
code:

main.cpp:
#pragma GCC diagnostic error "-Wfloat-conversion"

int main() {
  unsigned long a;
  ((a >> 50| a << 14) * 0xDEADBEEFDEADBEEFULL;
}


g++ -std=c++17 -Werror -Wall -o main.o -c main.cpp

main.cpp: In function ‘int main()’:
main.cpp:5:25: sorry, unimplemented: unexpected AST of kind lrotate_expr
    5 |   ((a >> 50| a << 14) * 0xDEADBEEFDEADBEEFULL;
      |                         ^~~~~~~~~~~~~~~~~~~~~
main.cpp:5: confused by earlier errors, bailing out

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

* [Bug c++/94116] GCC regression - unexpected AST of kind lrotate_expr
  2020-03-10 10:15 [Bug c/94116] New: GCC regression - unexpected AST of kind lrotate_expr antonio.di.monaco at sap dot com
@ 2020-03-10 10:26 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-03-10 10:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed yesterday. See PR 94067

*** This bug has been marked as a duplicate of bug 94067 ***

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

end of thread, other threads:[~2020-03-10 10:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 10:15 [Bug c/94116] New: GCC regression - unexpected AST of kind lrotate_expr antonio.di.monaco at sap dot com
2020-03-10 10:26 ` [Bug c++/94116] " pinskia 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).