Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: fefer.ivan at gmail dot com
Target Milestone: ---
Created attachment 44785
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44785&action=edit
Minimal sour
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87519
--- Comment #1 from Ivan Fefer ---
Created attachment 44786
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44786&action=edit
Full stderr of compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87519
--- Comment #2 from Ivan Fefer ---
Created attachment 44787
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44787&action=edit
Code after preprocessing
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87519
--- Comment #3 from Ivan Fefer ---
Created attachment 44788
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44788&action=edit
Temp compiler file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87519
--- Comment #4 from Ivan Fefer ---
Sorry, hit the Submit button too early by accident.
Source code and compiler output are attached.
Bug is -Wsign-conversion warning triggerring:
bug.cpp:5:11: error: conversion to ‘long unsigned int’ from ‘int
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87519
--- Comment #5 from Ivan Fefer ---
Same code at Godbolt.org: https://gcc.godbolt.org/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87519
--- Comment #6 from Ivan Fefer ---
https://gcc.godbolt.org/z/hOpMyc